org-mode-ox-odt
org-mode-ox-odt copied to clipboard
Exporting test-new.org, with unfiltered bibiliography fails.
- Customize
org-jabref-citation-styles
's"Chicago (full-note)"
style with:dont-filter t
.
(custom-set-variables
'(org-jabref-citation-styles
(quote
(("odt"
("Chicago (author-date)" :in-text
(:jabref-format "chicago.ODF.text" :formatter "Simple (but strip braces)")
:bibliography
(:jabref-format "chicago.ODF.reference" :formatter "Bibliography"))
("Chicago (full-note)" :in-text
(:jabref-format
("chicago.ODF.footend" . "chicago.ODF.footend.short")
:formatter "Footnote")
:bibliography
(:jabref-format "chicago.ODF.biblio" :dont-filter t :formatter "Bibliography"))
("Numeric" :in-text
(:jabref-format "Numeric" :formatter "Simple")
:bibliography
(:jabref-format "chicago.ODF.reference" :formatter "Bibliography (Numbered)")))))))
-
Export test-new.org and open the resulting with LibreOffice.
-
Note that LibreOffice complains about malformed content.xml.
<text:p text:style-name="Bibliography">
<text:bookmark-start text:name="cite-iliad"/>
Homer.
<text:span text:style-name="Emphasis">Die Ilias</text:span>.
3
Düsseldorf and Zürich:
Artemis & Winkler,
2004.
<text:bookmark-end text:name="cite-iliad"/>
</text:p>
To fix this issue, don't use &
in XML output, but replace it with &
After applying the above update, LibreOffice continues to complain about malformed content.xml
. Here is a partial set of malformed content.xml.
Hint: Note the absence of trailing ;
in ,
, Aksı, n,, Ö, zge
etc,
<text:p text:style-name="Footnote">
de Geer, and Ingrid Earl, Saint, Bishop, Skald – and Music.
, Uppsala Universitet
, Uppsala
(1985)
.</text:p>
<text:p text:style-name="Bibliography">
<text:bookmark-start text:name="cite-aksin"/>
Aksı, n,, Ö, zge, Tü, rkmen,, Hayati, Artok,, Levent, Ç, etinkaya,, Bekir, Ni,, Chaoying, Bü, yü, kgü, ngö, r,, Orhan, Ö, zkal, and Erhan.
"Effect of immobilization on catalytic characteristics of saturated Pd-N-heterocyclic carbenes in Mizoroki-Heck reactions." <text:span text:style-name="Emphasis">J. Organomet. Chem.</text:span>
691
, no. 13
(
2006)
: 3027-3036.
<text:bookmark-end text:name="cite-aksin"/>
</text:p>
I am using the following version of JabRef
.
$ dpkg -l jabref
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
ii jabref 3.8.2+ds-2 all graphical frontend to manage BibTeX and BibLaTeX databases