From e4eafbf87c0488ed53fcef09b771bfdf363a184d Mon Sep 17 00:00:00 2001 From: henrikjust Date: Mon, 25 Oct 2010 09:00:40 +0000 Subject: [PATCH] Zotero support git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@74 f0f2a975-2e09-46c8-9428-3b39399b9f3c --- .../comp/w2lcommon/tex/tokenizer/Mouth.java | 20 ++++-- .../comp/w2lcommon/tex/tokenizer/Token.java | 16 ++++- .../writer4latex/W4LDialogs/Bibliography.xdl | 14 ++--- source/oxt/writer4latex/help/en/help.tree | 5 +- .../{configuration.xhp => applications.xhp} | 12 ++-- .../bibliography.xhp | 62 +++++++++++++++++++ .../introduction.xhp | 2 +- 7 files changed, 107 insertions(+), 24 deletions(-) rename source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/{configuration.xhp => applications.xhp} (92%) create mode 100644 source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/bibliography.xhp diff --git a/source/java/org/openoffice/da/comp/w2lcommon/tex/tokenizer/Mouth.java b/source/java/org/openoffice/da/comp/w2lcommon/tex/tokenizer/Mouth.java index 584de2f..48f3191 100644 --- a/source/java/org/openoffice/da/comp/w2lcommon/tex/tokenizer/Mouth.java +++ b/source/java/org/openoffice/da/comp/w2lcommon/tex/tokenizer/Mouth.java @@ -16,11 +16,11 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * - * Copyright: 2002-2009 by Henrik Just + * Copyright: 2002-2010 by Henrik Just * * All Rights Reserved. * - * Version 1.2 (2009-06-18) + * Version 1.2 (2010-10-25) * */ @@ -142,7 +142,7 @@ public class Mouth { if (nIndex+3 - + - - + + - + - + - - + + diff --git a/source/oxt/writer4latex/help/en/help.tree b/source/oxt/writer4latex/help/en/help.tree index 772d65a..1d35ef7 100644 --- a/source/oxt/writer4latex/help/en/help.tree +++ b/source/oxt/writer4latex/help/en/help.tree @@ -2,7 +2,10 @@ Introduction - Configuration + + Applications + Bibliography + Menu reference Guidelines Using the templates diff --git a/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/configuration.xhp b/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/applications.xhp similarity index 92% rename from source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/configuration.xhp rename to source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/applications.xhp index 012e432..bd34fb0 100644 --- a/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/configuration.xhp +++ b/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/applications.xhp @@ -1,20 +1,18 @@ - - Configuration - org.openoffice.da.writer4latex.oxt/configuration.xhp + + Applications + org.openoffice.da.writer4latex.oxt/applications.xhp - Configuration + Configuration of applications Before you can use Writer4LaTeX you must configure it to use your LaTeX distribution as well as viewers for the different output formats.
- Select Tools - Extension Manager - Writer4LaTeX - and click Configure
- Select Tools - Options - %PRODUCTNAME Writer - Writer4LaTeX + Select Tools - Options - %PRODUCTNAME Writer - Writer4LaTeX - Applications
diff --git a/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/bibliography.xhp b/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/bibliography.xhp new file mode 100644 index 0000000..9be127e --- /dev/null +++ b/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/bibliography.xhp @@ -0,0 +1,62 @@ + + + + + Bibliography + org.openoffice.da.writer4latex.oxt/bibliography.xhp + + + + + Configuration of bibliography + On this page you can define . +
+ Select Tools - Options - %PRODUCTNAME Writer - Writer4LaTeX - Bibliography +
+ + Zotero support + Zotero + is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources. + Zotero provides a plugin for %PRODUCTNAME which permits you to insert citations from Zotero in your %PRODUCTNAME Writer document + using a selection of citation schemes. + + + Convert Zotero citations + Check this if you want to convert Zotero citations to LaTeX using the package natbib.sty. + This enables you to format the citations using a BibTeX style of your choice. If you do not check this option, the original + citation text inserted by Zotero will be used. + Check this to convert Zotero citations using natbib.sty + + + BibTeX folder + To use this feature you also have to export your Zotero bibliography databse to BibTeX. + (TODO). + Type the full path to the directory containing the exported database or click + Browse to find the directory in your file system. + Enter the path to the directory containing the BibTeX file exported from Zotero + + + Natbib Options + Enter any options to the package natbib.sty here. + Enter any options to the package natbib.sty here + + External BibTeX files + + + Use external BibTeX files + Check this if the citations in your document refers to one or more external BibTeX files. + (The keys used in the document must match up with the keys in the external BibTeX files.) + This feature is for users that maintain their references in BibTeX, for example using + a tool like JabRef. + It enables you to use the original BibTeX files in the LaTeX document rather than converting the inserted + references back into BibTeX. + Check this if your citations refer to external BibTeX file(s) + + + BibTeX folder + Type the full path to the directory containing the BibTeX database(s) or click + Browse to find the directory in your file system. + Enter the path to the directory containing the BibTeX files + + +
\ No newline at end of file diff --git a/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/introduction.xhp b/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/introduction.xhp index c95d6bf..cb4fb8b 100644 --- a/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/introduction.xhp +++ b/source/oxt/writer4latex/help/en/org.openoffice.da.writer4latex.oxt/introduction.xhp @@ -53,7 +53,7 @@ Before you start Before you can use Writer4LaTeX, you need to - configure it. + configure it. This requires that you have installed certain software on your system.