Skip to content

unhammer/writer2latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project contains a patched version of Writer2LaTeX that should be able to handle Zotero references in OpenOffice.org Writer documents, in order to import them into LyX for use with Zotero and LyZ.

Relevant links:

Compilation:

$ cd trunk
$ edit build.xml # set OFFICE_CLASSES and URE_CLASSES
$ ant oxt

Also be sure to use this patched version of LyZ, in order to get the correct bibtex keys from Zotero. Compile it with:

$ zip -r lyz.xpi ./*

You might also want this patched BibTeX translator for Zotero, which adds the “lastchecked” field correctly in order to work with natbib (and empties the “howpublished” field), also adding {} around titles to capitalise them as in Zotero.

Usage:

$ cd trunk/target
$ java -jar lib/writer2latex.jar -config=classes/writer2latex/latex/config/zotero.xml -latex in.odt out.tex

Now import the document as LaTeX from LyX, and change the citekey format in LyZ to “writer2latex”.

Issues:

LyZ at the moment does not notice references that haven’t been used before in the document, so you’ll have to first make one citation of your whole library (which you can then delete).

There is a small chance of name-collisions if you cite from several libraries, since we delete the library ID from the bibtex key. However, I don’t use this with more than one library myself, and don’t see a way to include the library ID in the bibtex key unless the Zotero OOo plugin changes its output format.

About

a fork with support for Zotero reference-marks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages