Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.6 released

Current and Proposed Bibliographic enhancements to the contents of the writer save package

Current Writer save file contents.xml example

Proposed Writer save file contents.xml example

Document Header Stuff

<?xml version="1.0" encoding="UTF-8"?>
<office:document-content xmlns:office=
"urn:oasis:names:tc:opendocument:xmlns:office:1.0
" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0
" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0
" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0
" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0
" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0
" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc=
"http://purl.org/dc/elements/1.1/" 
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" 

xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0
" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0
" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0
" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0
" xmlns:math="http://www.w3.org/1998/Math/MathML
" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0
" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0
" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow=
"http://openoffice.org/2004/writer" xmlns:oooc=
"http://openoffice.org/2004/calc" xmlns:dom=
"http://www.w3.org/2001/xml-events" xmlns:xforms=
"http://www.w3.org/2002/xforms" xmlns:xsd=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=

"http://www.w3.org/2001/XMLSchema-instance" office:version="1.0">
<office:scripts/>
<office:font-face-decls>
<style:font-face style:name="Tahoma1" svg:font-family="Tahoma"/>
<style:font-face style:name=
"Gothic" svg:font-family="Gothic" style:font-pitch="variable"/>
<style:font-face style:name=
"Mincho" svg:font-family="Mincho" style:font-pitch="variable"/>
<style:font-face style:name=
"Tahoma" svg:font-family="Tahoma" style:font-pitch="variable"/>
<style:font-face style:name=
"Times New Roman" svg:font-family=
"&apos;Times New Roman&apos;" style:font-family-generic="roman" 
style:font-pitch="variable"/>
<style:font-face style:name="Arial" svg:font-family="Arial"
 style:font-family-generic="swiss" style:font-pitch="variable"/>
</office:font-face-decls>
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph" 
style:parent-style-name="Bibliography_20_1">
<style:paragraph-properties>
<style:tab-stops/>
</style:paragraph-properties>
</style:style>
<style:style style:name="Sect1" style:family="section">
<style:section-properties style:editable="false">
<style:columns fo:column-count="0" fo:column-gap="0cm"/>
</style:section-properties>
</style:style>
</office:automatic-styles>
<office:body>
<office:text>
<text:sequence-decls>
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
<text:sequence-decl text:display-outline-level="0" text:name="Table"/>
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
Document Header Stuff



The same with added-





<style:Biblio biblio-style:name=
"APA-en" 
biblio-style-type=”intext-author-date”/>

The document style, selected by the user to determine the style
sheet used to format the citations and bibliographic table.

Biblio-style-types could be

  • intext-author-date

  • number

  • footnote

Document Text Contents 

<text:p text:style-name="Standard">

Sample document with a citation 

<text:bibliography-mark text:identifier="Veer1996a" 
text:bibliography-type="book" text:address="New York" 
text:author="Peter van der Veer" text:booktitle="Riots and Pogroms" 
text:editor="Paul Brass" 
text:pages="154-76" 
text:publisher="NYU Press" 
text:title="The Construction of Violence and Public Space in 
Hindu Nationalism" 
text:year="1996" 
text:isbn="1223213123">

[Veer1996a]

</text:bibliography-mark> 

and a bibliographic table.

</text:p>


<text:p text:style-name="Standard"/>
        

Note: that the bibliographic reference data is copied in for each citation. The only way to to change or correct this data is to fix the data in the database and delete and re-insert the citation.

Document Text Contents 

<text:p text:style-name="Standard">

Sample document with a citation 

<text:bibliography-mark text:id="bib3">
        
<cite:citation> 
<cite:citation-source>
<cite:biblioref cite:key="Veer1996a">
<cite:detail cite:units="pages" cite:begin="23" cite:end="24"/>
</cite:biblioref> 
</cite:citation-source>
<text:citation-body text:style-name="citation">
(Veer, 1996:23-24)
</text:citation-body>

</cite:citation>
</text:bibliography-mark>

and a bibliographic table.

</text:p>


<text:p text:style-name="Standard"/>

Note: The bibliographic reference data is not included with the citation.
It is contained a bibliographic data file, and access by the key “Veer1996a”
See bottom of document for an example.


Bibliographic Table 

<text:bibliography text:style-name="Sect1" 
text:protected="true" 
text:name="Bibliography1">
<text:bibliography-source>

Format description for each document type supported in the table.
Only “book” has been changed from the default.

<text:index-title-template text:style-name=
"Bibliography_20_Heading">Bibliography</text:index-title-template>

<text:bibliography-entry-template text:bibliography-type="article" 
text:style-name="Bibliography_20_1">
<text:index-entry-bibliography text:bibliography-data-field="author"/>
<text:index-entry-bibliography text:bibliography-data-field="title"/>
<text:index-entry-bibliography text:bibliography-data-field="year"/>
</text:bibliography-entry-template>

<text:bibliography-entry-template text:bibliography-type="book" 
text:style-name="Bibliography_20_1">
<text:index-entry-bibliography text:bibliography-data-field="author"/>
<text:index-entry-span> (</text:index-entry-span>
<text:index-entry-bibliography text:bibliography-data-field="year"/>
<text:index-entry-span>)</text:index-entry-span>
<text:index-entry-bibliography text:bibliography-data-field="title"/>
<text:index-entry-span>, In</text:index-entry-span>
<text:index-entry-bibliography text:bibliography-data-field="editor"/>
<text:index-entry-span> Ed.,</text:index-entry-span>
<text:index-entry-bibliography text:bibliography-data-field="booktitle"/>
<text:index-entry-span> (</text:index-entry-span>
<text:index-entry-bibliography text:bibliography-data-field="address"/>
<text:index-entry-span>:</text:index-entry-span>
<text:index-entry-bibliography text:bibliography-data-field="publisher"/>
<text:index-entry-span>)</text:index-entry-span>
<text:index-entry-bibliography text:bibliography-data-field="pages"/>
</text:bibliography-entry-template>

<text:bibliography-entry-template text:bibliography-type="booklet" 
text:style-name="Bibliography_20_1">
<text:index-entry-bibliography text:bibliography-data-field="author"/>
<text:index-entry-bibliography text:bibliography-data-field="title"/>
<text:index-entry-bibliography text:bibliography-data-field="year"/>
</text:bibliography-entry-template>

<text:bibliography-entry-template text:bibliography-type="conference"
 text:style-name="Bibliography_20_1">
<text:index-entry-bibliography text:bibliography-data-field="author"/>
<text:index-entry-bibliography text:bibliography-data-field="title"/>
<text:index-entry-bibliography text:bibliography-data-field="year"/>
</text:bibliography-entry-template>





To save space I have deleted the repetitive definitions for:

 
custom1, custom2, custom3, custom4, custom5, email, inbook, incollection,
 inproceedings, journal, manual, mastersthesis, misc, phdthesis,
 proceedings,techreport, unpublished, www

</text:bibliography-source>
<text:index-body>
<text:index-title text:style-name="Sect1" 
text:name="Bibliography1_Head">
<text:p text:style-name=
"Bibliography_20_Heading">Bibliography
</text:p>

The Actual generated text of the bibliographic table

</text:index-title>
<text:p text:style-name="P1">
Peter van der Veer (1996) The Construction of Violence and Public 
Space in Hindu Nationalism, In Paul Brass Ed., Riots and Pogroms 
(New York: NYU Press) 154-76
</text:p>

</text:index-body>
</text:bibliography>
<text:bibliography 

text:style-name="Sect1" 
text:protected="true" 
text:name="Bibliography1"

>
<text:bibliography-source>

</text:index-title>
<text:p text:style-name="P1">
Peter van der Veer (1996) The Construction of Violence and Public Space 
in Hindu Nationalism, In Paul Brass Ed., Riots and Pogroms (New York: NYU Press) 154-76
</text:p> </text:index-body> </text:bibliography>

Note: the text is generated using the Citproc formatter,
using the csl style sheet selected by user in a document style
selection GUI and stored in the save package.

End Stuff 

<text:p text:style-name="Standard"/>
</office:text>
</office:body>
</office:document-content>

Same


No current equivalent

Sample proposed bibliographic reference-data file biblio-data.xml.




Note the Format of this file is not fixed yet.
This is just an example of a possible format.

<?xml version="1.0" encoding="utf-8"?>
<?oxygen RNGSchema="file:/Users/darcusb/Projects/citeproc/schemas/
mods-tight.rnc" type="compact"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3" 
xmlns:xlink="http://www.w3.org/1999/xlink">

<!-- mods sample data -->

<mods ID="Veer1996a">
<name type="personal">
<namePart type="given">Peter</namePart>
<namePart type="family">van der Veer</namePart>
<role>
<roleTerm authority="marcrelator" type="text">author</roleTerm>
</role>
</name>
<titleInfo>
<title>Riots and Rituals</title>
<subTitle>The Construction of Violence and Public Space in Hindu
 Nationalism</subTitle>
</titleInfo>
<genre>chapter</genre>
<subject>
<topic>riots</topic>
<topic>public space</topic>
<geographic>India</geographic>
</subject>
<relatedItem type="host" xlink:type="simple" xlink:href="BrassP1996a">
<name type="personal">
<namePart type="given">Paul</namePart>
<namePart type="family">Brass</namePart>
<role>
<roleTerm type="text">editor</roleTerm>
</role>
</name>
<titleInfo>
<title>Riots and Pogroms</title>
</titleInfo>
<originInfo>
<dateIssued encoding="w3cdtf">1996</dateIssued>
<issuance>monographic</issuance>
<publisher>NYU Press</publisher>
<place>
<placeTerm>New York</placeTerm>
</place>
</originInfo>
<typeOfResource>text</typeOfResource>
<genre>book</genre>
<part>
<extent unit="page">
<start>154</start>
<end>176</end>
</extent>
</part>
</relatedItem>
<recordInfo>
<recordCreationDate encoding="w3cdtf">2004-01-24</recordCreationDate>
<recordIdentifier source="citekey">Veer199a</recordIdentifier>
</recordInfo>
</mods>

Current Manifest.xml

Proposed Manifest.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org
//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest=
"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
 <manifest:file-entry manifest:media-type=
"application/vnd.oasis.opendocument.text
" manifest:full-path="/"/>
 <manifest:file-entry manifest:media-type=
"application/vnd.sun.xml.ui.configuration" 
manifest:full-path="Configurations2/"/>
 <manifest:file-entry manifest:media-type="" 
manifest:full-path="Pictures/"/>
 <manifest:file-entry manifest:media-type=
"text/xml" manifest:full-path="content.xml"/>
 <manifest:file-entry manifest:media-type=
"text/xml" manifest:full-path="styles.xml"/>
 <manifest:file-entry manifest:media-type=
"text/xml" manifest:full-path="meta.xml"/>
 <manifest:file-entry manifest:media-type="" 
manifest:full-path="Thumbnails/thumbnail.png"/>
 <manifest:file-entry manifest:media-type="" 
manifest:full-path="Thumbnails/"/>
 <manifest:file-entry manifest:media-type=
"text/xml" manifest:full-path="settings.xml"/>
</manifest:manifest>

The same with the bibliographic reference data locator



<manifest:file-entry manifest:full-path=
"bibliographic/data/biblio-data.xml"/>

and the style sheet locator

<manifest:file-entry manifest:full-path=
"bibliographic/styles/APA-en.csl"/>



Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.