BibTeX support
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@232 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
e16d5edd12
commit
9afccba92a
9 changed files with 242 additions and 163 deletions
|
@ -4,19 +4,22 @@ Changelog for Writer2LaTeX version 1.4 -> 1.6
|
|||
|
||||
Items marked with * are work in progress
|
||||
|
||||
[all] The position of message boxes has changed from (0,0) to (200,100)
|
||||
|
||||
[w2l] Implementation detail: The dialog library W4LDialogs are now merged into W2LDialogs2. This avoids conflicts with
|
||||
the old Writer4LaTeX extension if this happens to be installed.
|
||||
|
||||
[all] *Document the use of soffice --headless --convert-to
|
||||
[all] *Document the use of soffice --headless --convert-to
|
||||
|
||||
[w2x] *Added EPUB 3 as export format and changed the toolbar to export to EPUB 3
|
||||
|
||||
[all] The position of message boxes has changed from (0,0) to (200,100)
|
||||
|
||||
[w2l] Implementation detail: The dialog library W4LDialogs is now merged into W2LDialogs2. This avoids conflicts with
|
||||
the old Writer4LaTeX extension if this happens to be installed.
|
||||
|
||||
[all] Fixed typo in export dialogs: The text on the help button was in danish.
|
||||
|
||||
[w2x] New boolean option embed_img (default false). If set to true, the binary contents of img elements are included
|
||||
directly on the src attribute as base64.
|
||||
|
||||
[w2l] The bibliography configuration is slightly modified: The options to convert Zotero or JabRef citations are now
|
||||
only available if the option to use external BibTeX files is selected
|
||||
|
||||
[w2l] Added new BibTeX dialog to insert a bibliographic reference to a BibTeX file. The BibTeX files are located as
|
||||
defined in the configuration, and the reference is inserted as an ordinary reference mark.
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.6 (2015-02-15)
|
||||
* Version 1.6 (2015-02-18)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -131,7 +131,7 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
|
|||
}
|
||||
|
||||
@Override public void initialize() {
|
||||
refreshDialog(null);
|
||||
reload(null);
|
||||
}
|
||||
|
||||
@Override public void endDialog() {
|
||||
|
@ -148,10 +148,6 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
|
|||
// The user has selected another BibTeX entry
|
||||
entryChange();
|
||||
}
|
||||
else if (sMethod.equals("InsertReference")) {
|
||||
// Insert a reference to the current BibTeX entry
|
||||
insertReference();
|
||||
}
|
||||
else if (sMethod.equals("New")) {
|
||||
// Create a new BibTeX file
|
||||
newFile();
|
||||
|
@ -160,23 +156,30 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
|
|||
// Edit the current BibTeX file
|
||||
edit();
|
||||
}
|
||||
else if (sMethod.equals("Refresh")) {
|
||||
// Refresh the dialog and update all bibliographic references
|
||||
refreshDialog(null);
|
||||
refreshReferences();
|
||||
else if (sMethod.equals("Reload")) {
|
||||
// Reload the BibTeX files in the dialog
|
||||
reload(null);
|
||||
}
|
||||
else if (sMethod.equals("InsertReference")) {
|
||||
// Insert a reference to the current BibTeX entry
|
||||
insertReference();
|
||||
}
|
||||
else if (sMethod.equals("Update")) {
|
||||
// Update all reference in the document
|
||||
update();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override public String[] getSupportedMethodNames() {
|
||||
String[] sNames = { "FileChange", "EntryChange", "InsertReference", "Edit", "Refresh" };
|
||||
String[] sNames = { "FileChange", "EntryChange", "New", "Edit", "Reload", "InsertReference", "Update" };
|
||||
return sNames;
|
||||
}
|
||||
|
||||
// **** Implement the UI functions
|
||||
|
||||
// (Re)load the list of BibTeX files
|
||||
private void refreshDialog(String sSelectedFileName) {
|
||||
private void reload(String sSelectedFileName) {
|
||||
String sFile = null;
|
||||
if (sSelectedFileName!=null) {
|
||||
// Select a new file name
|
||||
|
@ -217,6 +220,7 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
|
|||
setControlEnabled("Entry",true);
|
||||
setControlEnabled("Edit",true);
|
||||
setControlEnabled("Insert",true);
|
||||
setControlEnabled("Update",true);
|
||||
|
||||
fileChange();
|
||||
|
||||
|
@ -231,6 +235,7 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
|
|||
setControlEnabled("Entry",false);
|
||||
setControlEnabled("Edit",false);
|
||||
setControlEnabled("Insert",false);
|
||||
setControlEnabled("Update",false);
|
||||
setLabelText("EntryInformation","No BibTeX files were found");
|
||||
}
|
||||
|
||||
|
@ -251,6 +256,7 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
|
|||
} catch (IOException e) {
|
||||
currentFile = null;
|
||||
} catch (ParseException e) {
|
||||
System.out.println(e.getMessage());
|
||||
currentFile = null;
|
||||
}
|
||||
|
||||
|
@ -322,15 +328,21 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
|
|||
private void newFile() {
|
||||
String sFileName = getFileName();
|
||||
if (sFileName!=null) {
|
||||
File file = new File(bibTeXDirectory,sFileName);
|
||||
try {
|
||||
if (!file.createNewFile() && xFrame!=null) {
|
||||
MessageBox msgBox = new MessageBox(xContext, xFrame);
|
||||
msgBox.showMessage("Writer2LaTeX","The file "+sFileName+" already exists");
|
||||
}
|
||||
refreshDialog(sFileName);
|
||||
} catch (IOException e) {
|
||||
}
|
||||
if (!sFileName.equals(".bib")) {
|
||||
File file = new File(bibTeXDirectory,sFileName);
|
||||
try {
|
||||
if (!file.createNewFile() && xFrame!=null) {
|
||||
MessageBox msgBox = new MessageBox(xContext, xFrame);
|
||||
msgBox.showMessage("Writer2LaTeX","The file "+sFileName+" already exists");
|
||||
}
|
||||
reload(sFileName);
|
||||
} catch (IOException e) {
|
||||
}
|
||||
}
|
||||
else if (xFrame!=null) {
|
||||
MessageBox msgBox = new MessageBox(xContext, xFrame);
|
||||
msgBox.showMessage("Writer2LaTeX","The file name is empty");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -412,8 +424,8 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
|
|||
}
|
||||
}
|
||||
|
||||
// Refresh all bibliographic fields in the document
|
||||
private void refreshReferences() {
|
||||
// Update all bibliographic fields in the document
|
||||
private void update() {
|
||||
if (xFrame!=null) {
|
||||
BibTeXReader[] readers = parseAllBibTeXFiles();
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* Copyright: 2002-2014 by Henrik Just
|
||||
* Copyright: 2002-2015 by Henrik Just
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.6 (2014-10-29)
|
||||
* Version 1.6 (2015-02-18)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -254,16 +254,18 @@ public final class BibliographyDialog
|
|||
}
|
||||
|
||||
private void enableBibTeXSettings(DialogAccess dlg) {
|
||||
boolean bConvertZoteroJabRef = dlg.getCheckBoxStateAsBoolean("ConvertZoteroCitations")
|
||||
boolean bEnableSettings = dlg.getCheckBoxStateAsBoolean("UseExternalBibTeXFiles");
|
||||
boolean bEnableOriginalCitations = dlg.getCheckBoxStateAsBoolean("ConvertZoteroCitations")
|
||||
|| dlg.getCheckBoxStateAsBoolean("ConvertJabRefCitations");
|
||||
boolean bEnableLocation = dlg.getCheckBoxStateAsBoolean("UseExternalBibTeXFiles") || bConvertZoteroJabRef;
|
||||
boolean bEnableDir = dlg.getListBoxSelectedItem("BibTeXLocation")<2;
|
||||
dlg.setControlEnabled("IncludeOriginalCitations", bConvertZoteroJabRef);
|
||||
dlg.setControlEnabled("BibTeXLocationLabel", bEnableLocation);
|
||||
dlg.setControlEnabled("BibTeXLocation", bEnableLocation);
|
||||
dlg.setControlEnabled("BibTeXDirLabel", bEnableLocation && bEnableDir);
|
||||
dlg.setControlEnabled("BibTeXDir", bEnableLocation && bEnableDir);
|
||||
dlg.setControlEnabled("BibTeXDirButton", bEnableLocation && bEnableDir);
|
||||
dlg.setControlEnabled("BibTeXLocationLabel", bEnableSettings);
|
||||
dlg.setControlEnabled("BibTeXLocation", bEnableSettings);
|
||||
dlg.setControlEnabled("BibTeXDirLabel", bEnableSettings && bEnableDir);
|
||||
dlg.setControlEnabled("BibTeXDir", bEnableSettings && bEnableDir);
|
||||
dlg.setControlEnabled("BibTeXDirButton", bEnableSettings && bEnableDir);
|
||||
dlg.setControlEnabled("ConvertZoteroCitations", bEnableSettings);
|
||||
dlg.setControlEnabled("ConvertJabRefCitations", bEnableSettings);
|
||||
dlg.setControlEnabled("IncludeOriginalCitations", bEnableSettings && bEnableOriginalCitations);
|
||||
}
|
||||
|
||||
private String getDocumentDirURL() {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.6 (2015-02-16)
|
||||
* Version 1.6 (2015-02-18)
|
||||
*
|
||||
*/
|
||||
package org.openoffice.da.comp.writer2latex;
|
||||
|
@ -105,14 +105,14 @@ public class LaTeXUNOPublisher extends UNOPublisher {
|
|||
XPropertySet xProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class,view);
|
||||
String sBibTeXFiles = getFileList(XPropertySetHelper.getPropertyValueAsShort(xProps, "BibTeXLocation"),
|
||||
XPropertySetHelper.getPropertyValueAsString(xProps, "BibTeXDir"));
|
||||
if (XPropertySetHelper.getPropertyValueAsBoolean(xProps, "ConvertZoteroCitations")) {
|
||||
filterHelper.put("zotero_bibtex_files", sBibTeXFiles);
|
||||
}
|
||||
if (XPropertySetHelper.getPropertyValueAsBoolean(xProps, "ConvertJabRefCitations")) {
|
||||
filterHelper.put("jabref_bibtex_files", sBibTeXFiles);
|
||||
}
|
||||
if (XPropertySetHelper.getPropertyValueAsBoolean(xProps, "UseExternalBibTeXFiles")) {
|
||||
filterHelper.put("external_bibtex_files", sBibTeXFiles);
|
||||
if (XPropertySetHelper.getPropertyValueAsBoolean(xProps, "ConvertZoteroCitations")) {
|
||||
filterHelper.put("zotero_bibtex_files", sBibTeXFiles);
|
||||
}
|
||||
if (XPropertySetHelper.getPropertyValueAsBoolean(xProps, "ConvertJabRefCitations")) {
|
||||
filterHelper.put("jabref_bibtex_files", sBibTeXFiles);
|
||||
}
|
||||
}
|
||||
filterHelper.put("include_original_citations",
|
||||
Boolean.toString(XPropertySetHelper.getPropertyValueAsBoolean(xProps, "IncludeOriginalCitations")));
|
||||
|
|
|
@ -20,20 +20,25 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.6 (2015-02-09)
|
||||
* Version 1.6 (2015-02-18)
|
||||
*
|
||||
*/
|
||||
|
||||
package org.openoffice.da.comp.writer2latex;
|
||||
|
||||
import com.sun.star.beans.XPropertySet;
|
||||
import com.sun.star.frame.XFrame;
|
||||
import com.sun.star.lib.uno.helper.WeakBase;
|
||||
import com.sun.star.ui.dialogs.ExecutableDialogResults;
|
||||
import com.sun.star.ui.dialogs.XExecutableDialog;
|
||||
import com.sun.star.uno.Exception;
|
||||
import com.sun.star.uno.UnoRuntime;
|
||||
import com.sun.star.uno.XComponentContext;
|
||||
|
||||
import org.openoffice.da.comp.w2lcommon.filter.UNOPublisher.TargetFormat;
|
||||
import org.openoffice.da.comp.w2lcommon.helper.MessageBox;
|
||||
import org.openoffice.da.comp.w2lcommon.helper.RegistryHelper;
|
||||
import org.openoffice.da.comp.w2lcommon.helper.XPropertySetHelper;
|
||||
|
||||
/** This class implements the ui (dispatch) commands provided by the Writer2LaTeX toolbar.
|
||||
* The actual processing is done by the core classes <code>UNOPublisher</code>,
|
||||
|
@ -175,28 +180,48 @@ public final class Writer2LaTeX extends WeakBase
|
|||
}
|
||||
|
||||
private void insertBibTeX() {
|
||||
createUNOPublisher();
|
||||
if (unoPublisher.documentSaved()) {
|
||||
// Execute the BibTeX dialog
|
||||
try {
|
||||
// The dialog needs the current frame and the path to the BibTeX directory
|
||||
Object[] args = new Object[2];
|
||||
args[0] = m_xFrame;
|
||||
args[1] = unoPublisher.getBibTeXDirectory().getPath();
|
||||
Object dialog = m_xContext.getServiceManager()
|
||||
.createInstanceWithArgumentsAndContext(
|
||||
"org.openoffice.da.writer2latex.BibTeXDialog", args, m_xContext);
|
||||
XExecutableDialog xDialog = (XExecutableDialog)
|
||||
UnoRuntime.queryInterface(XExecutableDialog.class, dialog);
|
||||
if (xDialog.execute()==ExecutableDialogResults.OK) {
|
||||
// Closed with the close button
|
||||
}
|
||||
}
|
||||
catch (com.sun.star.uno.Exception e) {
|
||||
}
|
||||
}
|
||||
if (useExternalBibTeXFiles()) {
|
||||
createUNOPublisher();
|
||||
if (unoPublisher.documentSaved()) {
|
||||
// Execute the BibTeX dialog
|
||||
try {
|
||||
// The dialog needs the current frame and the path to the BibTeX directory
|
||||
Object[] args = new Object[2];
|
||||
args[0] = m_xFrame;
|
||||
args[1] = unoPublisher.getBibTeXDirectory().getPath();
|
||||
Object dialog = m_xContext.getServiceManager()
|
||||
.createInstanceWithArgumentsAndContext(
|
||||
"org.openoffice.da.writer2latex.BibTeXDialog", args, m_xContext);
|
||||
XExecutableDialog xDialog = (XExecutableDialog)
|
||||
UnoRuntime.queryInterface(XExecutableDialog.class, dialog);
|
||||
if (xDialog.execute()==ExecutableDialogResults.OK) {
|
||||
// Closed with the close button
|
||||
}
|
||||
}
|
||||
catch (com.sun.star.uno.Exception e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
MessageBox msgBox = new MessageBox(m_xContext, m_xFrame);
|
||||
msgBox.showMessage("Writer2LaTeX","Writer2LaTeX is not configured to use external BibTeX files for citations");
|
||||
}
|
||||
}
|
||||
|
||||
private boolean useExternalBibTeXFiles() {
|
||||
// Get the BibTeX settings from the registry
|
||||
RegistryHelper registry = new RegistryHelper(m_xContext);
|
||||
Object view;
|
||||
try {
|
||||
view = registry.getRegistryView(BibliographyDialog.REGISTRY_PATH, false);
|
||||
} catch (Exception e) {
|
||||
// Failed to get registry settings
|
||||
return false;
|
||||
}
|
||||
XPropertySet xProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class,view);
|
||||
return XPropertySetHelper.getPropertyValueAsBoolean(xProps, "UseExternalBibTeXFiles");
|
||||
}
|
||||
|
||||
private void createUNOPublisher() {
|
||||
if (unoPublisher==null) {
|
||||
unoPublisher = new LaTeXUNOPublisher(m_xContext,m_xFrame,"Writer2LaTeX");
|
||||
|
|
|
@ -16,14 +16,17 @@
|
|||
<dlg:button dlg:id="Edit" dlg:tab-index="4" dlg:left="205" dlg:top="24" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXEdit" dlg:value="Edit">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:Edit" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:button dlg:id="Reload" dlg:tab-index="5" dlg:left="205" dlg:top="38" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXReload" dlg:value="Reload">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:Reload" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:text dlg:id="EntryInformation" dlg:tab-index="10" dlg:left="10" dlg:top="40" dlg:width="255" dlg:height="34"/>
|
||||
<dlg:button dlg:id="Insert" dlg:tab-index="5" dlg:left="10" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXInsert" dlg:value="Insert reference" dlg:button-type="ok">
|
||||
<dlg:button dlg:id="Insert" dlg:tab-index="6" dlg:left="10" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXInsert" dlg:value="Insert reference" dlg:button-type="ok">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:InsertReference" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:button dlg:id="Refresh" dlg:tab-index="6" dlg:left="75" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXRefresh" dlg:value="Refresh">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:Refresh" script:language="UNO"/>
|
||||
<dlg:button dlg:id="Update" dlg:tab-index="7" dlg:left="75" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXUpdate" dlg:value="Update references">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:Update" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:button dlg:id="Close" dlg:tab-index="7" dlg:left="140" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXClose" dlg:value="Close" dlg:button-type="cancel"/>
|
||||
<dlg:button dlg:id="Help" dlg:tab-index="8" dlg:left="205" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXDialog" dlg:value="Help" dlg:button-type="help"/>
|
||||
<dlg:button dlg:id="Close" dlg:tab-index="8" dlg:left="140" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXClose" dlg:value="Close" dlg:button-type="cancel"/>
|
||||
<dlg:button dlg:id="Help" dlg:tab-index="9" dlg:left="205" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXDialog" dlg:value="Help" dlg:button-type="help"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
|
@ -2,27 +2,14 @@
|
|||
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
|
||||
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Bibliography" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyDialog" dlg:closeable="true" dlg:moveable="true" dlg:title="writer2latex Bibliography Configuration" dlg:withtitlebar="false">
|
||||
<dlg:bulletinboard>
|
||||
<dlg:checkbox dlg:id="ConvertZoteroCitations" dlg:tab-index="2" dlg:left="10" dlg:top="32" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" dlg:value="Convert Zotero citations" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ConvertZoteroCitationsChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:text dlg:id="NatbibOptionsLabel" dlg:tab-index="10" dlg:left="19" dlg:top="130" dlg:width="45" dlg:height="12" dlg:value="Options"/>
|
||||
<dlg:textfield dlg:id="NatbibOptions" dlg:tab-index="9" dlg:left="70" dlg:top="128" dlg:width="180" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyNatbibOptions"/>
|
||||
<dlg:checkbox dlg:id="UseExternalBibTeXFiles" dlg:tab-index="1" dlg:left="10" dlg:top="18" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyUseExternalBibTeXFiles" dlg:value="Use external BibTeX files for ordinary citations" dlg:checked="false">
|
||||
<dlg:text dlg:id="BibliographyLabel" dlg:tab-index="0" dlg:left="6" dlg:top="4" dlg:width="244" dlg:height="12" dlg:value="Citations and BibTeX files"/>
|
||||
|
||||
<dlg:checkbox dlg:id="UseExternalBibTeXFiles" dlg:tab-index="1" dlg:left="10" dlg:top="18" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyUseExternalBibTeXFiles" dlg:value="Use BibTeX as bibliography database" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseExternalBibTeXFilesChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:text dlg:id="BibTeXDirLabel" dlg:tab-index="11" dlg:left="10" dlg:top="88" dlg:width="55" dlg:height="12" dlg:value="BibTeX folder"/>
|
||||
<dlg:textfield dlg:id="BibTeXDir" dlg:tab-index="6" dlg:left="70" dlg:top="86" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDir"/>
|
||||
<dlg:button dlg:id="BibTeXDirButton" dlg:tab-index="7" dlg:left="210" dlg:top="86" dlg:width="40" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDirButton" dlg:value="Browse...">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:BibTeXDirClick" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:text dlg:id="BibliographyLabel" dlg:tab-index="0" dlg:left="6" dlg:top="4" dlg:width="244" dlg:height="12" dlg:value="Citations and BibTeX files"/>
|
||||
<dlg:checkbox dlg:id="ConvertJabRefCitations" dlg:tab-index="3" dlg:left="10" dlg:top="46" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyConvertJabRefCitations" dlg:value="Convert JabRef citations" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ConvertJabRefCitationsChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:checkbox dlg:id="UseNatbib" dlg:tab-index="8" dlg:left="10" dlg:top="116" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyUseNatbib" dlg:value="Use natbib.sty" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseNatbibChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:menulist dlg:id="BibTeXLocation" dlg:tab-index="5" dlg:left="70" dlg:top="72" dlg:width="180" dlg:height="13" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXLocation" dlg:spin="true" dlg:linecount="3">
|
||||
|
||||
<dlg:text dlg:id="BibTeXLocationLabel" dlg:tab-index="2" dlg:left="10" dlg:top="32" dlg:width="55" dlg:height="12" dlg:value="BibTeX location"/>
|
||||
<dlg:menulist dlg:id="BibTeXLocation" dlg:tab-index="3" dlg:left="70" dlg:top="30" dlg:width="180" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXLocation" dlg:spin="true" dlg:linecount="3">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="In central folder"/>
|
||||
<dlg:menuitem dlg:value="In subfolder of document folder"/>
|
||||
|
@ -30,8 +17,31 @@
|
|||
</dlg:menupopup>
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:BibTeXLocationChange" script:language="UNO"/>
|
||||
</dlg:menulist>
|
||||
<dlg:text dlg:id="BibTeXLocationLabel" dlg:tab-index="12" dlg:left="10" dlg:top="74" dlg:width="55" dlg:height="12" dlg:value="BibTeX location"/>
|
||||
<dlg:text dlg:id="NatbibLabel" dlg:tab-index="13" dlg:left="6" dlg:top="102" dlg:width="244" dlg:height="11" dlg:value="Natbib"/>
|
||||
<dlg:checkbox dlg:id="IncludeOriginalCitations" dlg:tab-index="4" dlg:left="10" dlg:top="60" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyIncludeOriginalCitations" dlg:value="Include original citations as comments" dlg:checked="false"/>
|
||||
|
||||
<dlg:text dlg:id="BibTeXDirLabel" dlg:tab-index="4" dlg:left="10" dlg:top="46" dlg:width="55" dlg:height="12" dlg:value="BibTeX folder"/>
|
||||
<dlg:textfield dlg:id="BibTeXDir" dlg:tab-index="5" dlg:left="70" dlg:top="44" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDir"/>
|
||||
<dlg:button dlg:id="BibTeXDirButton" dlg:tab-index="6" dlg:left="210" dlg:top="44" dlg:width="40" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDirButton" dlg:value="Browse...">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:BibTeXDirClick" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
|
||||
<dlg:checkbox dlg:id="ConvertZoteroCitations" dlg:tab-index="7" dlg:left="10" dlg:top="60" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" dlg:value="Convert Zotero citations" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ConvertZoteroCitationsChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
|
||||
<dlg:checkbox dlg:id="ConvertJabRefCitations" dlg:tab-index="8" dlg:left="10" dlg:top="74" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyConvertJabRefCitations" dlg:value="Convert JabRef citations" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ConvertJabRefCitationsChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
|
||||
<dlg:checkbox dlg:id="IncludeOriginalCitations" dlg:tab-index="9" dlg:left="10" dlg:top="88" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyIncludeOriginalCitations" dlg:value="Include original citations as comments" dlg:checked="false"/>
|
||||
|
||||
<dlg:text dlg:id="NatbibLabel" dlg:tab-index="10" dlg:left="6" dlg:top="102" dlg:width="244" dlg:height="11" dlg:value="Natbib"/>
|
||||
|
||||
<dlg:checkbox dlg:id="UseNatbib" dlg:tab-index="11" dlg:left="10" dlg:top="116" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyUseNatbib" dlg:value="Use natbib.sty" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseNatbibChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
|
||||
<dlg:text dlg:id="NatbibOptionsLabel" dlg:tab-index="12" dlg:left="19" dlg:top="130" dlg:width="45" dlg:height="12" dlg:value="Options"/>
|
||||
|
||||
<dlg:textfield dlg:id="NatbibOptions" dlg:tab-index="13" dlg:left="70" dlg:top="128" dlg:width="180" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyNatbibOptions"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
|
@ -9,84 +9,67 @@
|
|||
<body>
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyDialog" id="bm_bibliographydialog"/>
|
||||
<paragraph role="heading" level="1" xml-lang="en-US">Configuration of bibliography</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">On this page you can define the interaction between Writer2LaTeX and
|
||||
external bibliographic tools.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">On this page you can configure the use of BibTeX as bibliography
|
||||
database in %PRODUCTNAME Writer.</paragraph>
|
||||
<section id="howtoget" xml-lang="en-US">
|
||||
Select <emph>Tools - Options - %PRODUCTNAME Writer - Writer2LaTeX toolbar - Bibliography</emph>
|
||||
</section>
|
||||
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Citations and BibTeX files</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">There are several ways to handle bibliographic references in %PRODUCTNAME Writer.
|
||||
If you use the standard bibliographic tool provided by %PRODUCTNAME, Writer2LaTeX can convert the references to BibTeX if you
|
||||
choose to do so in the export dialog. In this case you should not make any settings on this page.</paragraph>
|
||||
|
||||
<paragraph role="paragraph" xml-lang="en-US">You may also use the Writer2LaTeX toolbar to insert bibliographic references from
|
||||
BibTeX files. In this case Writer2LaTeX can be configured to use the original BibTeX files.
|
||||
To use this feature, you have to define the location of your BibTeX files.</paragraph>
|
||||
|
||||
<paragraph role="paragraph" xml-lang="en-US">You may also use other tools such as Zotero or JabRef to handle your citations.
|
||||
If you want to use BibTeX to format references inserted by these tools, Writer2LaTeX can convert them for you. In this case
|
||||
you have to define the location of the BibTeX files produced by Zotero or JabRef.</paragraph>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Bibliography database</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">%PRODUCTNAME Writer comes with a standard bibliography database.
|
||||
Citations can be created from the content of the database.
|
||||
The Writer2LaTeX toolbar provides an alternative solution: On this page you can configure the use of BibTeX
|
||||
as bibliography database.</paragraph>
|
||||
|
||||
|
||||
|
||||
|
||||
<list type="unordered">
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">The standard bibliographic tool in Writer can
|
||||
be used to insert citations from the bibliography database</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">The Writer2LaTeX toolbar can be used to insert
|
||||
citations from BibTeX files</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><link href="http://jabref.sourceforge.net/" name="Link to the JabRef Website">JabRef</link>
|
||||
is an open source bibliography reference manager using BibTeX as native file format.
|
||||
|
||||
You can use JabRef to edit your BibTeX files.
|
||||
In addition JabRef provides a <link href="http://jabref.sourceforge.net/OOPlugin-jabref.php" name="JabRef OOo plugin">plugin</link>
|
||||
which permits you to insert citations from JabRef in your %PRODUCTNAME Writer document
|
||||
using a selection of citation schemes. You should use version 0.8.999 beta or later of the plugin.</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><link href="http://www.zotero.org" name="Link to the Zotero Website">Zotero</link>
|
||||
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.</paragraph>
|
||||
</listitem>
|
||||
</list>
|
||||
<paragraph role="paragraph" xml-lang="en-US">In the first case, you should not make any settings to this page.
|
||||
Writer2LaTeX can optionally convert to and format your citations with BibTeX if you choose so in the export
|
||||
dialog.
|
||||
</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">In the other cases it makes sense to use the original BibTeX files
|
||||
in the LaTeX document.
|
||||
</paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyUseExternalBibTeXFiles" id="bm_useexternalbibtexfiles"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Use external BibTeX files for ordinary citations</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Check this if you use the Writer2LaTeX toolbar to insert bibliographic references from BibTeX files.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">This enables you to use the original BibTeX files in the LaTeX document rather than converting the
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Use BibTeX as bibliography database</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Check this to use the original BibTeX files in the LaTeX document rather than converting the
|
||||
inserted references back into BibTeX.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyUseExternalBibTeXFiles" visibility="hidden">Check this if your citatations are inserted from BibTeX file(s)</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" id="bm_convertzoterocitations"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Convert Zotero citations</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><link href="http://www.zotero.org" name="Link to the Zotero Website">Zotero</link>
|
||||
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.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to convert Zotero citations to LaTeX.
|
||||
This enables you to format the citations using a BibTeX style of your choice.
|
||||
Also, the bibliography created by Zotero will be replaced with a BibTeX-generated bibliography.
|
||||
If you do not check this option, the original
|
||||
citation text inserted by Zotero will be used.</paragraph>
|
||||
<paragraph role="heading" level="4" xml-lang="en-US">Exporting your Zotero database to BibTeX</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">To use this feature you must export your Zotero database to the specified
|
||||
folder.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">The Writer2LaTeX distribution contains a folder named <emph>Zotero</emph>,
|
||||
which contains a file called <emph>BibTeX-Writer2LaTeX.js</emph>. This file must be added to Zotero to provide a suitable
|
||||
BibTeX export: In Zotero, choose <emph>Preferences</emph> - <emph>Advanced</emph> and click <emph>Show Data Directory</emph>.
|
||||
Open the subfolder <emph>Translators</emph>, and copy <emph>BibTeX-Writer2LaTeX.js</emph> to this location.
|
||||
Finally restart Firefox.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can now export your Zotero database: In Zotero, select
|
||||
<emph>Export Library</emph>, and choose <emph>BibTeX (Writer2LaTeX)</emph> (not <emph>BibTeX</emph>).
|
||||
Save the file in the folder, you have defined.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" visibility="hidden">Check this to convert Zotero citations to LaTeX</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyConvertJabRefCitations" id="bm_convertjabrefcitations"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Convert JabRef citations</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><link href="http://jabref.sourceforge.net/" name="Link to the JabRef Website">JabRef</link>
|
||||
is an open source bibliography reference manager using BibTeX as native file format.
|
||||
Zotero provides a <link href="http://jabref.sourceforge.net/OOPlugin-jabref.php" name="JabRef OOo plugin">plugin</link>
|
||||
which permits you to insert citations from JabRef in your %PRODUCTNAME Writer document
|
||||
using a selection of citation schemes. You should use version 0.8.999 beta or later of the plugin.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to convert JabRef citations to LaTeX.
|
||||
This enables you to format the citations using a BibTeX style of your choice.
|
||||
Also, the bibliography created by JabRef will be replaced with a BibTeX-generated bibliography.
|
||||
If you do not check this option, the original
|
||||
citation text inserted by JabRef will be used.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyConvertJabRefCitations" visibility="hidden">Check this to convert JabRef citations to LaTeX</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyIncludeOriginalCitations" id="bm_includeoriginalcitations"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Include original citations as comments</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to include the original citations produced by Zotero or
|
||||
JabRef as comments in the LaTeX source. This has no effect on the final result but might be helpful if you edit the LaTeX source.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyIncludeOriginalCitations" visibility="hidden">Check this to include the citations inserted by Zotero or JabRef as comments in the LaTeX source.</ahelp></paragraph>
|
||||
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyBibTeXLocation" id="bm_bibtexlocation"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">BibTeX location</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Writer2LaTeX will look for BibTeX files in the location you define.</paragraph>
|
||||
<list type="unordered">
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>In central folder</emph>: Select this option if you keep all your
|
||||
BibTeX files in a central location (this is usually recommended).</paragraph>
|
||||
BibTeX files in a central location.</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>In subfolder of document folder</emph>: Select this option if you
|
||||
|
@ -110,6 +93,42 @@
|
|||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDirButton" id="bm_bibtexdirbutton"/>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDirButton" visibility="hidden">Click to select the path to the folder containing the BibTeX files</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" id="bm_convertzoterocitations"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Convert Zotero citations</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to convert Zotero citations to LaTeX.
|
||||
This enables you to format the citations using a BibTeX style of your choice.
|
||||
Also, the bibliography created by Zotero will be replaced with a BibTeX-generated bibliography.
|
||||
If you do not check this option, the original
|
||||
citation text inserted by Zotero will be used.</paragraph>
|
||||
<paragraph role="heading" level="4" xml-lang="en-US">Exporting your Zotero database to BibTeX</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">To use this feature you must export your Zotero database to the specified
|
||||
folder.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">The Writer2LaTeX distribution contains a folder named <emph>Zotero</emph>,
|
||||
which contains a file called <emph>BibTeX-Writer2LaTeX.js</emph>. This file must be added to Zotero to provide a suitable
|
||||
BibTeX export: In Zotero, choose <emph>Preferences</emph> - <emph>Advanced</emph> and click <emph>Show Data Directory</emph>.
|
||||
Open the subfolder <emph>Translators</emph>, and copy <emph>BibTeX-Writer2LaTeX.js</emph> to this location.
|
||||
Finally restart Firefox.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can now export your Zotero database: In Zotero, select
|
||||
<emph>Export Library</emph>, and choose <emph>BibTeX (Writer2LaTeX)</emph> (not <emph>BibTeX</emph>).
|
||||
Save the file in the folder, you have defined.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" visibility="hidden">Check this to convert Zotero citations to LaTeX</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyConvertJabRefCitations" id="bm_convertjabrefcitations"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Convert JabRef citations</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to convert JabRef citations to LaTeX.
|
||||
This enables you to format the citations using a BibTeX style of your choice.
|
||||
Also, the bibliography created by JabRef will be replaced with a BibTeX-generated bibliography.
|
||||
If you do not check this option, the original
|
||||
citation text inserted by JabRef will be used.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyConvertJabRefCitations" visibility="hidden">Check this to convert JabRef citations to LaTeX</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyIncludeOriginalCitations" id="bm_includeoriginalcitations"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Include original citations as comments</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to include the original citations produced by Zotero or
|
||||
JabRef as comments in the LaTeX source. This has no effect on the final result but might be helpful if you edit the LaTeX source.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyIncludeOriginalCitations" visibility="hidden">Check this to include the citations inserted by Zotero or JabRef as comments in the LaTeX source.</ahelp></paragraph>
|
||||
|
||||
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Natbib</paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyUseNatbib" id="bm_usenatbib"/>
|
||||
|
|
|
@ -43,13 +43,13 @@
|
|||
the currently selected entry.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibTeXInsert" visibility="hidden">Click to insert a reference to the current entry</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibTeXRefresh" id="bm_bibtexrefresh"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Refresh</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Click this button to reload the BibTeX
|
||||
files and update all references. You should do this if you have edited a BibTeX file. This will ensure that
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibTeXUpdate" id="bm_bibtexupdate"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Update references</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Click this to update all bibliographic references in the document.
|
||||
You should do this if you have edited a BibTeX file. This will ensure that
|
||||
the content of all references is in sync with the current content of the BibTeX files.
|
||||
Writer2LaTeX will display an message to confirm the result.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibTeXRefresh" visibility="hidden">Click to refresh the dialog and all references</ahelp></paragraph>
|
||||
Writer2LaTeX will display a message to confirm the result.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibTeXUpdate" visibility="hidden">Click to update the content of all references</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibTeXClose" id="bm_bibtexclose"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Close</paragraph>
|
||||
|
@ -69,5 +69,10 @@
|
|||
an error message is displayed.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibTeXEdit" visibility="hidden">Click to edit the current file in your BibTeX editor</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibTeXReload" id="bm_bibtexreload"/>
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Reload</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Click this button to reload the BibTeX files in the dialog.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibTeXReload" visibility="hidden">Click to reload the BibTeX files</ahelp></paragraph>
|
||||
|
||||
</body>
|
||||
</helpdocument>
|
Loading…
Add table
Reference in a new issue