W2L help content, hiding postponed features, some bugfixes

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@64 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2010-05-17 07:42:33 +00:00
parent 83f0c7d224
commit 86e0b8d693
40 changed files with 885 additions and 142 deletions

View file

@ -2,6 +2,25 @@ Changelog for Writer2LaTeX version 1.0 -> 1.2
---------- version 1.1.3 ----------
[w2l] Added help content for custom format
[all] Filter: Fixed bug with filenames containing spaces and other special characters
[w2x] EPUB bugfix: URL encode links to document parts in the .ncx and .opf files
[w2x] EPUB export no longer generates a title page reference if there is no title page
[w2x] Added (temporary) option zen_hack to support a special requirement from the ePub Zen Garden styles
(own style for number prefix. This should be replaced by a style map scheme later..)
[w2x] Ignore linked images in EPUB export (EPUB files cannot reference external resources)
[w2x] Added support for break-after and break-before
[w2l] Features that were postponed to w2l 1.4 has been hidden from the UI
[w4l] TeX import has been hidden from the UI (postponed to w2l 1.4)
[w2l] Now exports apostrophe, single and double quotes using ' and ` characters (this creates nicer looking LaTeX files and
fixes a problem with hyphenation of words containing apostrophes)

Binary file not shown.

View file

@ -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-09-06)
* Version 1.2 (2010-05-17)
*
*/
@ -54,6 +54,7 @@ import writer2latex.api.Converter;
import writer2latex.api.ConverterFactory;
import writer2latex.api.ConverterResult;
import writer2latex.api.OutputFile;
import writer2latex.util.Misc;
import java.util.Iterator;
//import java.util.Enumeration;
@ -367,7 +368,7 @@ public abstract class ExportFilterBase implements
ConverterResult dataOut = null;
//try {
dataOut = converter.convert(xis,sName);
dataOut = converter.convert(xis,Misc.makeFileName(sName));
//}
//catch (IOException e) {
// Fail silently
@ -402,7 +403,7 @@ public abstract class ExportFilterBase implements
// Additional documents are written directly using ucb
// Get the file name and the (optional) directory name
String sFullFileName = docOut.getFileName();
String sFullFileName = Misc.makeHref(docOut.getFileName());
String sDirName = "";
String sFileName = sFullFileName;
int nSlash = sFileName.indexOf("/");

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-04-12)
* Version 1.2 (2010-05-13)
*
*/
@ -40,12 +40,8 @@ import com.sun.star.awt.XDialog;
import com.sun.star.awt.XDialogProvider2;
import com.sun.star.awt.XWindow;
import com.sun.star.beans.XPropertySet;
import com.sun.star.lang.XComponent;
import com.sun.star.lang.XMultiComponentFactory;
import com.sun.star.lang.XServiceInfo;
import com.sun.star.ui.dialogs.ExecutableDialogResults;
import com.sun.star.ui.dialogs.XExecutableDialog;
import com.sun.star.ui.dialogs.XFilePicker;
import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XComponentContext;
@ -320,7 +316,7 @@ public final class ConfigurationDialog
configureMikTeX(sMikTeXPath, ExternalApps.DVIPS, "dvips", "%s", info, true);
configureMikTeX(sMikTeXPath, ExternalApps.BIBTEX, "bibtex", "%s", info, true);
configureMikTeX(sMikTeXPath, ExternalApps.MAKEINDEX, "makeindex", "%s", info, true);
configureMikTeX(sMikTeXPath, ExternalApps.MK4HT, "mk4ht", "%c %s", info, true);
//configureMikTeX(sMikTeXPath, ExternalApps.MK4HT, "mk4ht", "%c %s", info, true);
configureMikTeX(sMikTeXPath, ExternalApps.DVIVIEWER, "yap", "--single-instance %s", info, true);
// MikTeX 2.8 provides texworks for pdf viewing
bFoundTexworks = configureMikTeX(sMikTeXPath, ExternalApps.PDFVIEWER, "texworks", "%s", info, true);
@ -334,7 +330,7 @@ public final class ConfigurationDialog
externalApps.setApplication(ExternalApps.DVIPS, "dvips", "%s");
externalApps.setApplication(ExternalApps.BIBTEX, "bibtex", "%s");
externalApps.setApplication(ExternalApps.MAKEINDEX, "makeindex", "%s");
externalApps.setApplication(ExternalApps.MK4HT, "mk4ht", "%c %s");
//externalApps.setApplication(ExternalApps.MK4HT, "mk4ht", "%c %s");
externalApps.setApplication(ExternalApps.DVIVIEWER, "yap", "--single-instance %s");
}
info.append("\n");
@ -368,7 +364,7 @@ public final class ConfigurationDialog
configureApp(ExternalApps.DVIPS, "dvips", "%s",info);
configureApp(ExternalApps.BIBTEX, "bibtex", "%s",info);
configureApp(ExternalApps.MAKEINDEX, "makeindex", "%s",info);
configureApp(ExternalApps.MK4HT, "mk4ht", "%c %s",info);
//configureApp(ExternalApps.MK4HT, "mk4ht", "%c %s",info);
// We have several possible viewers
String[] sDviViewers = {"evince", "okular", "xdvi"};
configureApp(ExternalApps.DVIVIEWER, sDviViewers, "%s",info);
@ -398,10 +394,10 @@ public final class ConfigurationDialog
case 3: return ExternalApps.DVIPS;
case 4: return ExternalApps.BIBTEX;
case 5: return ExternalApps.MAKEINDEX;
case 6: return ExternalApps.MK4HT;
case 7: return ExternalApps.DVIVIEWER;
case 8: return ExternalApps.PDFVIEWER;
case 9: return ExternalApps.POSTSCRIPTVIEWER;
//case 6: return ExternalApps.MK4HT;
case 6: return ExternalApps.DVIVIEWER;
case 7: return ExternalApps.PDFVIEWER;
case 8: return ExternalApps.POSTSCRIPTVIEWER;
}
return "???";
}

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-05-11)
* Version 1.2 (2010-05-17)
*
*/
@ -33,7 +33,7 @@ public class ConverterFactory {
// Version information
private static final String VERSION = "1.1.3";
private static final String DATE = "2010-05-11";
private static final String DATE = "2010-05-17";
/** Return the Writer2LaTeX version in the form
* (major version).(minor version).(patch level)<br/>

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* version 1.2 (2010-03-30)
* version 1.2 (2010-05-13)
*
*/
@ -39,6 +39,7 @@ import org.w3c.dom.Element;
import writer2latex.api.ContentEntry;
import writer2latex.api.ConverterResult;
import writer2latex.util.Misc;
import writer2latex.xmerge.NewDOMDocument;
/** This class creates the required NXC file for an EPUB document
@ -141,7 +142,7 @@ public class NCXWriter extends NewDOMDocument {
Element navPointContent = contentDOM.createElement("content");
String sHref = entry.getFile().getFileName();
if (entry.getTarget()!=null) { sHref+="#"+entry.getTarget(); }
navPointContent.setAttribute("src", sHref);
navPointContent.setAttribute("src", Misc.makeHref(sHref));
navPoint.appendChild(navPointContent);
nDepth = Math.max(nDepth, nCurrentLevel);

View file

@ -20,14 +20,13 @@
*
* All Rights Reserved.
*
* version 1.2 (2010-03-29)
* version 1.2 (2010-05-13)
*
*/
package writer2latex.epub;
import java.util.Iterator;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
@ -41,6 +40,7 @@ import org.w3c.dom.Element;
import writer2latex.api.ContentEntry;
import writer2latex.api.ConverterResult;
import writer2latex.api.OutputFile;
import writer2latex.util.Misc;
import writer2latex.xmerge.NewDOMDocument;
/** This class writes an OPF-file for an EPUB document (see http://www.idpf.org/2007/opf/OPF_2.0_final_spec.html).
@ -105,7 +105,7 @@ public class OPFWriter extends NewDOMDocument {
OutputFile file = iterator.next();
Element item = contentDOM.createElement("item");
manifest.appendChild(item);
item.setAttribute("href",file.getFileName());
item.setAttribute("href",Misc.makeHref(file.getFileName()));
item.setAttribute("media-type", file.getMIMEType());
if (file.isMasterDocument()) {
String sId = "text"+(++nMasterCount);
@ -147,7 +147,7 @@ public class OPFWriter extends NewDOMDocument {
reference.setAttribute("title", entry.getTitle());
String sHref = entry.getFile().getFileName();
if (entry.getTarget()!=null) { sHref+="#"+entry.getTarget(); }
reference.setAttribute("href", sHref);
reference.setAttribute("href", Misc.makeHref(sHref));
guide.appendChild(reference);
}
}

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-05-04)
* Version 1.2 (2010-05-13)
*
*/
@ -99,15 +99,25 @@ public class ListCounter {
}
public String getLabel() {
return getPrefix()+getLabelAndSuffix();
}
public String getPrefix() {
if (style.isNumber(nLevel)) {
String sPrefix = style.getLevelProperty(nLevel,XMLString.STYLE_NUM_PREFIX);
return sPrefix!=null ? sPrefix : "";
}
return "";
}
public String getLabelAndSuffix() {
if (style.isNumber(nLevel)) {
String sLabel="";
if (sNumFormat[nLevel]==null) return "";
int nLevels = Misc.getPosInteger(style.getLevelProperty(nLevel,
XMLString.TEXT_DISPLAY_LEVELS),1);
String sPrefix = style.getLevelProperty(nLevel,XMLString.STYLE_NUM_PREFIX);
String sSuffix = style.getLevelProperty(nLevel,XMLString.STYLE_NUM_SUFFIX);
String sSpace = "nothing".equals(style.getLevelStyleProperty(nLevel, XMLString.TEXT_LABEL_FOLLOWED_BY)) ? "" : " ";
String sLabel="";
if (sPrefix!=null) { sLabel+=sPrefix; }
for (int j=nLevel-nLevels+1; j<nLevel; j++) {
sLabel+=formatNumber(nCounter[j],sNumFormat[j],true)+".";
}
@ -122,7 +132,7 @@ public class ListCounter {
}
else {
return "";
}
}
}
// Utility method to generate number

View file

@ -16,17 +16,18 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2008 by Henrik Just
* Copyright: 2002-2010 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.0 (2008-11-22)
* Version 1.2 (2010-05-17)
*
*/
package writer2latex.util;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.InputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
@ -331,6 +332,22 @@ public class Misc{
}
return "error";
}
/* utility method to convert a *relative* URL to a file name
(ie. replace %20 with spaces etc.)
*/
public static String makeFileName(String sURL) {
try {
File file = new File(new java.net.URI("file:///"+sURL));
return file.getName();
}
catch (Exception e) {
e.printStackTrace();
}
return "error";
}
/** <p>Read an <code>InputStream</code> into a <code>byte</code>array</p>
* @param is the <code>InputStream</code> to read

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-05-09)
* Version 1.2 (2010-05-17)
*
*/
@ -227,10 +227,12 @@ public class Converter extends ConverterBase {
converterResult.addContentEntry(new ContentEntryImpl("Text", 1, outFiles.get(0), null));
}
else {
// The title page is the first page
converterResult.setTitlePageFile(new ContentEntryImpl("Title page", 1, outFiles.get(0), null));
// The text page is the one containing the first heading
ContentEntry firstHeading = converterResult.getContent().get(0);
// The title page is the first page, unless the first page starts with a heading
if (outFiles.get(0)!=firstHeading.getFile() || firstHeading.getTarget()!=null) {
converterResult.setTitlePageFile(new ContentEntryImpl("Title page", 1, outFiles.get(0), null));
}
// The text page is the one containing the first heading
converterResult.setTextFile(new ContentEntryImpl("Text", 1, firstHeading.getFile(), firstHeading.getTarget()));
}
@ -397,7 +399,6 @@ public class Converter extends ConverterBase {
if (nIndex>=0 && nIndex<=nOutFileIndex) {
Element a = dom.createElement("a");
a.setAttribute("href",Misc.makeHref(getOutFileName(nIndex,true)));
a.setAttribute("href",getOutFileName(nIndex,true));
a.appendChild(dom.createTextNode(s));
//node.appendChild(dom.createTextNode("["));
node.appendChild(a);

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-03-03)
* Version 1.2 (2010-05-13)
*
*/
@ -376,12 +376,14 @@ public class DrawConverter extends ConverterHelper {
if (sHref!=null && sHref.length()>0 && !ofr.isInPackage(sHref)) {
// Linked image is not yet handled by ImageLoader. This is a temp.
// solution (will go away when ImageLoader is finished)
sFileName = sHref;
// In OpenDocument *package* format ../ means "leave the package"
if (ofr.isOpenDocument() && ofr.isPackageFormat() && sFileName.startsWith("../")) {
sFileName=sFileName.substring(3);
}
//String sExt = sHref.substring(sHref.lastIndexOf(".")).toLowerCase();
if (!converter.isOPS()) { // Cannot have linked images in EPUB, ignore the image
sFileName = sHref;
// In OpenDocument *package* format ../ means "leave the package"
if (ofr.isOpenDocument() && ofr.isPackageFormat() && sFileName.startsWith("../")) {
sFileName=sFileName.substring(3);
}
//String sExt = sHref.substring(sHref.lastIndexOf(".")).toLowerCase();
}
}
else { // embedded or base64 encoded image
BinaryGraphicsDocument bgd = converter.getImageLoader().getImage(onode);

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-05-09)
* Version 1.2 (2010-05-13)
*
*/
@ -80,6 +80,7 @@ public class ParStyleConverter extends StyleWithPropertiesConverterHelper {
* @param bInherit true if properties should be inherited from parent style(s)
*/
public void applyProperties(StyleWithProperties style, CSVList props, boolean bInherit) {
cssPageBreak(style,props,bInherit);
getFrameSc().cssMargins(style,props,bInherit);
getFrameSc().cssBorder(style,props,bInherit);
getFrameSc().cssPadding(style,props,bInherit);
@ -104,6 +105,15 @@ public class ParStyleConverter extends StyleWithPropertiesConverterHelper {
if (style==null || !style.isAutomatic()) { return sStyleName; }
return style.getParentName();
}
public void cssPageBreak(StyleWithProperties style, CSVList props, boolean bInherit) {
if ("page".equals(style.getProperty(XMLString.FO_BREAK_BEFORE, bInherit))) {
props.addValue("page-break-before", "always");
}
else if ("page".equals(style.getProperty(XMLString.FO_BREAK_AFTER, bInherit))) {
props.addValue("page-break-after", "always");
}
}
public void cssPar(StyleWithProperties style, CSVList props, boolean bInherit){
String s;

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2008 by Henrik Just
* Copyright: 2002-2010 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.0 (2008-09-08)
* Version 1.2 (2010-05-13)
*
*/
@ -74,6 +74,8 @@ public class TableStyleConverter extends StyleWithPropertiesConverterHelper {
* @param bInherit true if properties should be inherited from parent style(s)
*/
public void applyProperties(StyleWithProperties style, CSVList props, boolean bInherit) {
// Page break
getParSc().cssPageBreak(style, props, bInherit);
// Apply background
getFrameSc().cssBackground(style,props,bInherit);
// Table-specific properties

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-05-09)
* Version 1.2 (2010-05-13)
*
*/
@ -470,9 +470,10 @@ public class TextConverter extends ConverterHelper {
if (nDontSplitLevel>1) { // we cannot split due to a nested structure
return node;
}
if (bAfterHeading && nLevel-nLastSplitLevel<=nRepeatLevels) {
if (!converter.isOPS() && bAfterHeading && nLevel-nLastSplitLevel<=nRepeatLevels) {
// we cannot split because we are right after a heading and the
// maximum number of parent headings on the page is not reached
// maximum number of parent headings on the page is not reached
// TODO: Something wrong here....nLastSplitLevel is never set???
return node;
}
if (nSplit>=nLevel && converter.outFileHasContent()) {
@ -562,7 +563,14 @@ public class TextConverter extends ConverterHelper {
ListCounter counter = getListCounter(listStyle);
if (bRestart) { counter.restart(nListLevel,nStartValue); }
String sLabel = counter.step(nListLevel).getLabel();
insertListLabel(listStyle,nListLevel,"SectionNumber",sLabel,heading);
if (config.zenHack() && nLevel==2) {
// Hack for ePub Zen Garden: Special style for the prefix at level 2
// TODO: Replace by some proper style map construct...
insertListLabel(listStyle,nListLevel,"SectionNumber",counter.getPrefix(),counter.getLabelAndSuffix(),heading);
}
else {
insertListLabel(listStyle,nListLevel,"SectionNumber",null,sLabel,heading);
}
// Add to toc
if (!bInToc) {
@ -642,7 +650,7 @@ public class TextConverter extends ConverterHelper {
if (!bIsEmpty) {
par = createTextBackground(par, sStyleName);
if (config.listFormatting()==XhtmlConfig.HARD_LABELS) {
insertListLabel(currentListStyle, nCurrentListLevel, "ItemNumber", sCurrentListLabel, par);
insertListLabel(currentListStyle, nCurrentListLevel, "ItemNumber", null, sCurrentListLabel, par);
}
sCurrentListLabel = null;
traverseInlineText(onode,par);
@ -694,8 +702,14 @@ public class TextConverter extends ConverterHelper {
}
// Helper: Insert a list label formatted with a list style
private void insertListLabel(ListStyle style, int nLevel, String sDefaultStyle, String sLabel, Element hnode) {
private void insertListLabel(ListStyle style, int nLevel, String sDefaultStyle, String sPrefix, String sLabel, Element hnode) {
if (sLabel!=null && sLabel.length()>0) {
if (sPrefix!=null) {
Element prefix = converter.createElement("span");
prefix.setAttribute("class", "chapter-name");
hnode.appendChild(prefix);
prefix.appendChild( converter.createTextNode(sPrefix));
}
StyleInfo info = new StyleInfo();
if (style!=null) {
String sTextStyleName = style.getLevelProperty(nLevel,XMLString.TEXT_STYLE_NAME);

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-05-09)
* Version 1.2 (2010-05-13)
*
*/
@ -41,7 +41,7 @@ import writer2latex.util.Misc;
public class XhtmlConfig extends writer2latex.base.ConfigBase {
// Implement configuration methods
protected int getOptionCount() { return 42; }
protected int getOptionCount() { return 43; }
protected String getDefaultConfigPath() { return "/writer2latex/xhtml/config/"; }
// Override setOption: To be backwards compatible, we must accept options
@ -119,6 +119,7 @@ public class XhtmlConfig extends writer2latex.base.ConfigBase {
private static final int UPLINK = 39;
private static final int DIRECTORY_ICON = 40;
private static final int DOCUMENT_ICON = 41;
private static final int ZEN_HACK = 42; // temporary hack for ePub Zen Garden styles
protected ComplexOption xheading = addComplexOption("heading-map");
protected ComplexOption xpar = addComplexOption("paragraph-map");
@ -197,6 +198,7 @@ public class XhtmlConfig extends writer2latex.base.ConfigBase {
options[UPLINK] = new Option("uplink","");
options[DIRECTORY_ICON] = new Option("directory_icon","");
options[DOCUMENT_ICON] = new Option("document_icon","");
options[ZEN_HACK] = new BooleanOption("zen_hack", "false");
}
protected void readInner(Element elm) {
@ -309,6 +311,7 @@ public class XhtmlConfig extends writer2latex.base.ConfigBase {
public String getXhtmlUplink() { return options[UPLINK].getString(); }
public String getXhtmlDirectoryIcon() { return options[DIRECTORY_ICON].getString(); }
public String getXhtmlDocumentIcon() { return options[DOCUMENT_ICON].getString(); }
public boolean zenHack() { return ((BooleanOption) options[ZEN_HACK]).getValue(); }
public XhtmlStyleMap getXParStyleMap() { return getStyleMap(xpar); }
public XhtmlStyleMap getXHeadingStyleMap() { return getStyleMap(xheading); }

View file

@ -2,14 +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="Characters" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Characters" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:checkbox dlg:id="UseHyperref" dlg:tab-index="0" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use hyperref.sty (support for hyperlinks)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseColor" dlg:tab-index="1" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Use color.sty (color support)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseSoul" dlg:tab-index="2" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Use soul.sty (underline and strike out text)" dlg:checked="false">
<dlg:checkbox dlg:id="UseHyperref" dlg:tab-index="0" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use hyperref.sty (support for hyperlinks)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseHyperref"/>
<dlg:checkbox dlg:id="UseColor" dlg:tab-index="1" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Use color.sty (color support)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseColor"/>
<dlg:checkbox dlg:id="UseSoul" dlg:visible="false" dlg:tab-index="3" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Use soul.sty (underline and strike out text)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseSoul">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseSoulChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:checkbox dlg:id="UseUlem" dlg:tab-index="3" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Use ulem.sty (underline and strike out text)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseUlem" dlg:tab-index="2" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Use ulem.sty (underline and strike out text)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseUlem"/>
<dlg:text dlg:id="FormattingAttributeLabel" dlg:tab-index="4" dlg:left="10" dlg:top="92" dlg:width="100" dlg:height="12" dlg:value="Formatting attribute"/>
<dlg:menulist dlg:id="FormattingAttribute" dlg:tab-index="5" dlg:left="120" dlg:top="90" dlg:width="130" dlg:height="12" dlg:spin="true">
<dlg:menulist dlg:id="FormattingAttribute" dlg:tab-index="5" dlg:left="120" dlg:top="90" dlg:width="130" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigFormattingAttribute">
<dlg:menupopup>
<dlg:menuitem dlg:value="Bold"/>
<dlg:menuitem dlg:value="Italics"/>
@ -19,13 +19,13 @@
</dlg:menupopup>
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:FormattingAttributeChange" script:language="UNO"/>
</dlg:menulist>
<dlg:checkbox dlg:id="CustomAttribute" dlg:tab-index="6" dlg:left="15" dlg:top="106" dlg:width="235" dlg:height="12" dlg:value="Apply custom LaTeX code" dlg:checked="false">
<dlg:checkbox dlg:id="CustomAttribute" dlg:tab-index="6" dlg:left="15" dlg:top="106" dlg:width="235" dlg:height="12" dlg:value="Apply custom LaTeX code" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigCustomAttribute">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:CustomAttributeChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:text dlg:id="BeforeLabel" dlg:tab-index="7" dlg:left="15" dlg:top="120" dlg:width="95" dlg:height="12" dlg:value="LaTeX code before"/>
<dlg:textfield dlg:id="Before" dlg:tab-index="8" dlg:left="120" dlg:top="118" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="Before" dlg:tab-index="8" dlg:left="120" dlg:top="118" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigAttributeBefore"/>
<dlg:text dlg:id="AfterLabel" dlg:tab-index="9" dlg:left="15" dlg:top="134" dlg:width="95" dlg:height="12" dlg:value="LaTeX code after"/>
<dlg:textfield dlg:id="After" dlg:tab-index="10" dlg:left="120" dlg:top="132" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="After" dlg:tab-index="10" dlg:left="120" dlg:top="132" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigAttributeAfter"/>
<dlg:text dlg:id="CharacterPackageLabel" dlg:tab-index="11" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="Character formatting packages"/>
<dlg:text dlg:id="AttributeHeadingLabel" dlg:tab-index="12" dlg:left="5" dlg:top="78" dlg:width="245" dlg:height="12" dlg:value="Formatting attributes"/>
</dlg:bulletinboard>

View file

@ -2,14 +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="Documentclass" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Documentclass" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:checkbox dlg:id="NoPreamble" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="240" dlg:height="12" dlg:value="Do not include preamble" dlg:checked="false">
<dlg:checkbox dlg:id="NoPreamble" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="240" dlg:height="12" dlg:value="Do not include preamble" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigNoPreamble">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:NoPreambleChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:text dlg:id="DocumentclassLabel" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="100" dlg:height="12" dlg:value="Documentclass"/>
<dlg:textfield dlg:id="Documentclass" dlg:tab-index="2" dlg:left="120" dlg:top="20" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="Documentclass" dlg:tab-index="2" dlg:left="120" dlg:top="20" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigDocumentclass"/>
<dlg:text dlg:id="GlobalOptionsLabel" dlg:tab-index="3" dlg:left="10" dlg:top="36" dlg:width="100" dlg:height="12" dlg:value="Global options"/>
<dlg:textfield dlg:id="GlobalOptions" dlg:tab-index="4" dlg:left="120" dlg:top="34" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="GlobalOptions" dlg:tab-index="4" dlg:left="120" dlg:top="34" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigGlobalOptions"/>
<dlg:text dlg:id="CustomPreambleLabel" dlg:tab-index="5" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Custom preamble"/>
<dlg:textfield dlg:id="CustomPreamble" dlg:tab-index="6" dlg:left="20" dlg:top="64" dlg:width="230" dlg:height="110" dlg:hscroll="true" dlg:vscroll="true" dlg:multiline="true"/>
<dlg:textfield dlg:id="CustomPreamble" dlg:tab-index="6" dlg:left="20" dlg:top="64" dlg:width="230" dlg:height="110" dlg:hscroll="true" dlg:vscroll="true" dlg:multiline="true" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigCustomPreamble"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -3,16 +3,16 @@
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Figures" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Figures" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:text dlg:id="GeneralLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="General"/>
<dlg:checkbox dlg:id="UseCaption" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use caption.sty to format captions (also for tables)" dlg:checked="false"/>
<dlg:checkbox dlg:id="AlignFrames" dlg:tab-index="2" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Center figures" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseCaption" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use caption.sty to format captions (also for tables)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseCaption"/>
<dlg:checkbox dlg:id="AlignFrames" dlg:tab-index="2" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Center figures" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigAlignFrames"/>
<dlg:text dlg:id="FigureSequenceLabel" dlg:tab-index="3" dlg:left="10" dlg:top="50" dlg:width="90" dlg:height="12" dlg:value="Figure sequence name"/>
<dlg:textfield dlg:id="FigureSequenceName" dlg:tab-index="4" dlg:left="120" dlg:top="48" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="FigureSequenceName" dlg:tab-index="4" dlg:left="120" dlg:top="48" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigFigureSequenceName"/>
<dlg:text dlg:id="GraphicsLabel" dlg:tab-index="5" dlg:left="5" dlg:top="64" dlg:width="245" dlg:height="12" dlg:value="Graphics"/>
<dlg:checkbox dlg:id="NoImages" dlg:tab-index="6" dlg:left="10" dlg:top="78" dlg:width="240" dlg:height="12" dlg:value="Do not export graphics" dlg:checked="false">
<dlg:checkbox dlg:id="NoImages" dlg:tab-index="6" dlg:left="10" dlg:top="78" dlg:width="240" dlg:height="12" dlg:value="Do not export graphics" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigNoImages">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:NoImagesChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:checkbox dlg:id="RemoveGraphicsExtension" dlg:tab-index="7" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Omit file extension" dlg:checked="false"/>
<dlg:checkbox dlg:id="RemoveGraphicsExtension" dlg:tab-index="7" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Omit file extension" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigRemoveGraphicsExtension"/>
<dlg:text dlg:id="ImageOptionsLabel" dlg:tab-index="8" dlg:left="10" dlg:top="106" dlg:width="90" dlg:height="12" dlg:value="Graphic options"/>
<dlg:textfield dlg:id="ImageOptions" dlg:tab-index="9" dlg:left="120" dlg:top="104" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="ImageOptions" dlg:tab-index="9" dlg:left="120" dlg:top="104" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigImageOptions"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -2,14 +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="Fonts" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Fonts" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:text dlg:id="XeTeXLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="XeTeX"/>
<dlg:checkbox dlg:id="UseFontspec" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use original fonts (fontspec.sty)" dlg:checked="false"/>
<dlg:text dlg:id="OtherLabel" dlg:tab-index="2" dlg:left="5" dlg:top="36" dlg:width="245" dlg:height="12" dlg:value="Other TeX variants"/>
<dlg:checkbox dlg:id="UsePifont" dlg:tab-index="3" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Use pifont.sty (dingbats)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseTipa" dlg:tab-index="4" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Use tipa.sty and tipax.sty (phonetic symbols)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseEurosym" dlg:tab-index="5" dlg:left="10" dlg:top="78" dlg:width="240" dlg:height="12" dlg:value="Use eurosym.sty (euro currency symbol)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseWasysym" dlg:tab-index="6" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Use wasysym.sty (various symbols)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseIfsym" dlg:tab-index="7" dlg:left="10" dlg:top="106" dlg:width="240" dlg:height="12" dlg:value="Use ifsym.sty (geometric shapes)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseBbding" dlg:tab-index="8" dlg:left="10" dlg:top="120" dlg:width="240" dlg:height="12" dlg:value="Use bbding.sty (metafont dingbats)" dlg:checked="false"/>
<dlg:text dlg:id="OtherLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="Font packages (not used for XeTeX)"/>
<dlg:checkbox dlg:id="UsePifont" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use pifont.sty (dingbats)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUsePifont"/>
<dlg:checkbox dlg:id="UseTipa" dlg:tab-index="2" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Use tipa.sty and tipax.sty (phonetic symbols)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseTipa"/>
<dlg:checkbox dlg:id="UseEurosym" dlg:tab-index="3" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Use eurosym.sty (euro currency symbol)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseEurosym"/>
<dlg:checkbox dlg:id="UseWasysym" dlg:tab-index="4" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Use wasysym.sty (various symbols)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseWasysym"/>
<dlg:checkbox dlg:id="UseIfsym" dlg:tab-index="5" dlg:left="10" dlg:top="78" dlg:width="240" dlg:height="12" dlg:value="Use ifsym.sty (geometric shapes)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseIfsym"/>
<dlg:checkbox dlg:id="UseBbding" dlg:tab-index="6" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Use bbding.sty (metafont dingbats)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseBbding"/>
<dlg:text dlg:id="XeTeXLabel" dlg:visible="false" dlg:tab-index="7" dlg:left="5" dlg:top="106" dlg:width="245" dlg:height="12" dlg:value="XeTeX"/>
<dlg:checkbox dlg:id="UseFontspec" dlg:visible="false" dlg:tab-index="8" dlg:left="10" dlg:top="120" dlg:width="240" dlg:height="12" dlg:value="Use original fonts (fontspec.sty)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseFontspec"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -4,7 +4,7 @@
<dlg:bulletinboard>
<dlg:text dlg:id="HeadingsLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="120" dlg:height="12" dlg:value="Headings"/>
<dlg:text dlg:id="MaxLevelLabel" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="120" dlg:height="12" dlg:value="Heading levels to export"/>
<dlg:menulist dlg:id="MaxLevel" dlg:tab-index="2" dlg:left="140" dlg:top="20" dlg:width="40" dlg:height="12" dlg:spin="true" dlg:linecount="11">
<dlg:menulist dlg:id="MaxLevel" dlg:tab-index="2" dlg:left="140" dlg:top="20" dlg:width="40" dlg:height="12" dlg:spin="true" dlg:linecount="11" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigMaxLevel">
<dlg:menupopup>
<dlg:menuitem dlg:value="0"/>
<dlg:menuitem dlg:value="1"/>
@ -21,7 +21,7 @@
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:MaxLevelChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="WriterLevelLabel" dlg:tab-index="3" dlg:left="10" dlg:top="42" dlg:width="100" dlg:height="12" dlg:value="Writer level"/>
<dlg:menulist dlg:id="WriterLevel" dlg:tab-index="4" dlg:left="140" dlg:top="40" dlg:width="40" dlg:height="12" dlg:spin="true" dlg:linecount="10">
<dlg:menulist dlg:id="WriterLevel" dlg:tab-index="4" dlg:left="140" dlg:top="40" dlg:width="40" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigWriterLevel">
<dlg:menupopup>
<dlg:menuitem dlg:value="1"/>
<dlg:menuitem dlg:value="2"/>
@ -37,7 +37,7 @@
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:WriterLevelChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="LaTeXLevelLabel" dlg:tab-index="5" dlg:left="15" dlg:top="56" dlg:width="95" dlg:height="12" dlg:value="LaTeX level"/>
<dlg:combobox dlg:id="LaTeXLevel" dlg:tab-index="6" dlg:left="140" dlg:top="54" dlg:width="40" dlg:height="12" dlg:spin="true" dlg:linecount="7">
<dlg:combobox dlg:id="LaTeXLevel" dlg:tab-index="6" dlg:left="140" dlg:top="54" dlg:width="40" dlg:height="12" dlg:spin="true" dlg:linecount="7" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigLaTeXLevel">
<dlg:menupopup>
<dlg:menuitem dlg:value="-1"/>
<dlg:menuitem dlg:value="0"/>
@ -49,7 +49,7 @@
</dlg:menupopup>
</dlg:combobox>
<dlg:text dlg:id="LaTeXNameLabel" dlg:tab-index="7" dlg:left="15" dlg:top="70" dlg:width="95" dlg:height="12" dlg:value="LaTeX heading name"/>
<dlg:combobox dlg:id="LaTeXName" dlg:tab-index="8" dlg:left="140" dlg:top="68" dlg:width="100" dlg:height="12" dlg:spin="true" dlg:linecount="7">
<dlg:combobox dlg:id="LaTeXName" dlg:tab-index="8" dlg:left="140" dlg:top="68" dlg:width="100" dlg:height="12" dlg:spin="true" dlg:linecount="7" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigLaTeXName">
<dlg:menupopup>
<dlg:menuitem dlg:value="part"/>
<dlg:menuitem dlg:value="chapter"/>
@ -61,10 +61,10 @@
</dlg:menupopup>
</dlg:combobox>
<dlg:text dlg:id="IndexesAndTablesLabel" dlg:tab-index="10" dlg:left="5" dlg:top="100" dlg:width="120" dlg:height="12" dlg:value="Indexes and tables"/>
<dlg:checkbox dlg:id="NoIndex" dlg:tab-index="11" dlg:left="10" dlg:top="114" dlg:width="240" dlg:height="12" dlg:value="Do not include indexes" dlg:checked="false">
<dlg:checkbox dlg:id="NoIndex" dlg:tab-index="11" dlg:left="10" dlg:top="114" dlg:width="240" dlg:height="12" dlg:value="Do not include indexes" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigNoIndex">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:NoIndexChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:checkbox dlg:id="UseTitlesec" dlg:tab-index="9" dlg:left="10" dlg:top="86" dlg:width="240" dlg:height="12" dlg:value="Use titlesec.sty to format headings" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseTitletoc" dlg:tab-index="12" dlg:left="10" dlg:top="128" dlg:width="240" dlg:height="12" dlg:value="Use titlesec.sty to format indexes" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseTitlesec" dlg:tab-index="9" dlg:visible="false" dlg:left="10" dlg:top="86" dlg:width="240" dlg:height="12" dlg:value="Use titlesec.sty to format headings" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseTitletoc" dlg:tab-index="12" dlg:visible="false" dlg:left="10" dlg:top="128" dlg:width="240" dlg:height="12" dlg:value="Use titlesec.sty to format indexes" dlg:checked="false"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -3,18 +3,18 @@
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Pages" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Pages" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:text dlg:id="GeometryLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="Page geometry (page size and margins)"/>
<dlg:checkbox dlg:id="ExportGeometry" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Export page geometry" dlg:checked="false">
<dlg:checkbox dlg:id="ExportGeometry" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Export page geometry" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigExportGeometry">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ExportGeometryChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:checkbox dlg:id="UseGeometry" dlg:tab-index="2" dlg:left="20" dlg:top="36" dlg:width="230" dlg:height="12" dlg:value="Use geometry.sty" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseGeometry" dlg:tab-index="2" dlg:left="20" dlg:top="36" dlg:width="230" dlg:height="12" dlg:value="Use geometry.sty" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseGeometry"/>
<dlg:text dlg:id="HeaderFooterLabel" dlg:tab-index="3" dlg:left="5" dlg:top="50" dlg:width="245" dlg:height="12" dlg:value="Header and footer"/>
<dlg:checkbox dlg:id="ExportHeaderFooter" dlg:tab-index="4" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Export header and footer" dlg:checked="false">
<dlg:checkbox dlg:id="ExportHeaderFooter" dlg:tab-index="4" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Export header and footer" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigExportHeaderFooter">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ExportHeaderAndFooterChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:checkbox dlg:id="UseFancyhdr" dlg:tab-index="5" dlg:left="20" dlg:top="78" dlg:width="230" dlg:height="12" dlg:value="Use fancyhdr.sty" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseFancyhdr" dlg:tab-index="5" dlg:left="20" dlg:top="78" dlg:width="230" dlg:height="12" dlg:value="Use fancyhdr.sty" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseFancyhdr"/>
<dlg:text dlg:id="PageNumberLabel" dlg:tab-index="6" dlg:left="5" dlg:top="92" dlg:width="245" dlg:height="12" dlg:value="Page numbers"/>
<dlg:checkbox dlg:id="UseLastpage" dlg:tab-index="7" dlg:left="10" dlg:top="106" dlg:width="240" dlg:height="12" dlg:value="Use lastpage.sty" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseLastpage" dlg:tab-index="7" dlg:left="10" dlg:top="106" dlg:width="240" dlg:height="12" dlg:value="Use lastpage.sty" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseLastpage"/>
<dlg:text dlg:id="EndnoteLabel" dlg:tab-index="8" dlg:left="5" dlg:top="120" dlg:width="245" dlg:height="12" dlg:value="Endnotes"/>
<dlg:checkbox dlg:id="UseEndnotes" dlg:tab-index="9" dlg:left="10" dlg:top="134" dlg:width="240" dlg:height="12" dlg:value="Use endnotes.sty" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseEndnotes" dlg:tab-index="9" dlg:left="10" dlg:top="134" dlg:width="240" dlg:height="12" dlg:value="Use endnotes.sty" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseEndnotes"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -3,7 +3,7 @@
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Styles" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Styles" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:text dlg:id="StyleFamilyLabel" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="60" dlg:height="12" dlg:value="Style family"/>
<dlg:menulist dlg:id="StyleFamily" dlg:tab-index="1" dlg:left="80" dlg:top="6" dlg:width="170" dlg:height="12" dlg:spin="true">
<dlg:menulist dlg:id="StyleFamily" dlg:tab-index="1" dlg:left="80" dlg:top="6" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigStyleFamily">
<dlg:menupopup>
<dlg:menuitem dlg:value="Character"/>
<dlg:menuitem dlg:value="Paragraph"/>
@ -13,38 +13,42 @@
</dlg:menupopup>
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:StyleFamilyChange" script:language="UNO"/>
</dlg:menulist>
<dlg:menulist dlg:id="StyleName" dlg:tab-index="2" dlg:left="80" dlg:top="26" dlg:width="80" dlg:height="12" dlg:spin="true" dlg:linecount="10">
<dlg:menulist dlg:id="StyleName" dlg:tab-index="2" dlg:left="80" dlg:top="26" dlg:width="80" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigStyleName">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:StyleNameChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="StyleNameLabel" dlg:tab-index="3" dlg:left="10" dlg:top="28" dlg:width="60" dlg:height="12" dlg:value="Style name"/>
<dlg:button dlg:id="NewStyleButton" dlg:tab-index="4" dlg:left="165" dlg:top="26" dlg:width="40" dlg:height="12" dlg:value="New...">
<dlg:button dlg:id="NewStyleButton" dlg:tab-index="4" dlg:left="165" dlg:top="26" dlg:width="40" dlg:height="12" dlg:value="New..." dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigNewStyle">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:NewStyleClick" script:language="UNO"/>
</dlg:button>
<dlg:button dlg:id="DeleteStyleButton" dlg:tab-index="5" dlg:left="210" dlg:top="26" dlg:width="40" dlg:height="12" dlg:value="Delete...">
<dlg:button dlg:id="DeleteStyleButton" dlg:tab-index="5" dlg:left="210" dlg:top="26" dlg:width="40" dlg:height="12" dlg:value="Delete..." dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigDeleteStyle">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:DeleteStyleClick" script:language="UNO"/>
</dlg:button>
<dlg:text dlg:id="BeforeLabel" dlg:tab-index="6" dlg:left="15" dlg:top="42" dlg:width="60" dlg:height="12" dlg:value="LaTeX code before"/>
<dlg:textfield dlg:id="Before" dlg:tab-index="7" dlg:left="80" dlg:top="40" dlg:width="170" dlg:height="12"/>
<dlg:textfield dlg:id="Before" dlg:tab-index="7" dlg:left="80" dlg:top="40" dlg:width="170" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigBefore"/>
<dlg:text dlg:id="AfterLabel" dlg:tab-index="8" dlg:left="15" dlg:top="56" dlg:width="60" dlg:height="12" dlg:value="LaTeX code after"/>
<dlg:textfield dlg:id="After" dlg:tab-index="9" dlg:left="80" dlg:top="54" dlg:width="170" dlg:height="12"/>
<dlg:menulist dlg:id="Next" dlg:tab-index="10" dlg:left="80" dlg:top="68" dlg:width="80" dlg:height="12" dlg:spin="true"/>
<dlg:button dlg:id="AddNextButton" dlg:tab-index="11" dlg:left="165" dlg:top="68" dlg:width="40" dlg:height="12" dlg:value="Add...">
<dlg:textfield dlg:id="After" dlg:tab-index="9" dlg:left="80" dlg:top="54" dlg:width="170" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigAfter"/>
<dlg:menulist dlg:id="Next" dlg:tab-index="10" dlg:left="80" dlg:top="68" dlg:width="80" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigNext"/>
<dlg:button dlg:id="AddNextButton" dlg:tab-index="11" dlg:left="165" dlg:top="68" dlg:width="40" dlg:height="12" dlg:value="Add..." dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigAddNext">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:AddNextClick" script:language="UNO"/>
</dlg:button>
<dlg:button dlg:id="RemoveNextButton" dlg:tab-index="12" dlg:left="210" dlg:top="68" dlg:width="40" dlg:height="12" dlg:value="Remove...">
<dlg:button dlg:id="RemoveNextButton" dlg:tab-index="12" dlg:left="210" dlg:top="68" dlg:width="40" dlg:height="12" dlg:value="Remove..." dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigRemoveNext">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:RemoveNextClick" script:language="UNO"/>
</dlg:button>
<dlg:text dlg:id="NextLabel" dlg:tab-index="13" dlg:left="15" dlg:top="70" dlg:width="60" dlg:height="12" dlg:value="Next style(s)"/>
<dlg:checkbox dlg:id="LineBreak" dlg:tab-index="15" dlg:left="15" dlg:top="98" dlg:width="235" dlg:height="12" dlg:value="Line break inside" dlg:checked="false"/>
<dlg:checkbox dlg:id="Verbatim" dlg:tab-index="14" dlg:left="15" dlg:top="84" dlg:width="235" dlg:height="12" dlg:value="Verbatim content" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigVerbatim"/>
<dlg:checkbox dlg:id="LineBreak" dlg:tab-index="15" dlg:left="15" dlg:top="98" dlg:width="235" dlg:height="12" dlg:value="Line break inside" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigLineBreak"/>
<dlg:button dlg:id="LoadDefaults" dlg:tab-index="16" dlg:left="10" dlg:top="112" dlg:width="120" dlg:height="14" dlg:value="Load default mappings" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigLoadDefaults">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:LoadDefaultsClick" script:language="UNO"/>
</dlg:button>
<dlg:text dlg:id="OtherStylesLabel" dlg:tab-index="17" dlg:left="10" dlg:top="138" dlg:width="65" dlg:height="12" dlg:value="Other styles"/>
<dlg:menulist dlg:id="OtherStyles" dlg:tab-index="18" dlg:left="80" dlg:top="136" dlg:width="170" dlg:height="12" dlg:spin="true">
<dlg:menulist dlg:id="OtherStyles" dlg:tab-index="18" dlg:left="80" dlg:top="136" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigOtherStyles">
<dlg:menupopup>
<dlg:menuitem dlg:value="Ignore"/>
<dlg:menuitem dlg:value="Convert"/>
</dlg:menupopup>
</dlg:menulist>
<dlg:checkbox dlg:id="Verbatim" dlg:tab-index="14" dlg:left="15" dlg:top="84" dlg:width="235" dlg:height="12" dlg:value="Verbatim content" dlg:checked="false"/>
<dlg:menulist dlg:id="Formatting" dlg:tab-index="20" dlg:left="80" dlg:top="150" dlg:width="170" dlg:height="12" dlg:spin="true">
<dlg:text dlg:id="FormattingLabel" dlg:tab-index="19" dlg:left="10" dlg:top="152" dlg:width="65" dlg:height="12" dlg:value="Other formatting"/>
<dlg:menulist dlg:id="Formatting" dlg:tab-index="20" dlg:left="80" dlg:top="150" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigFormatting">
<dlg:menupopup>
<dlg:menuitem dlg:value="Ignore all"/>
<dlg:menuitem dlg:value="Ignore most"/>
@ -53,9 +57,5 @@
<dlg:menuitem dlg:value="Convert all"/>
</dlg:menupopup>
</dlg:menulist>
<dlg:text dlg:id="FormattingLabel" dlg:tab-index="19" dlg:left="10" dlg:top="152" dlg:width="65" dlg:height="12" dlg:value="Other formatting"/>
<dlg:button dlg:id="LoadDefaults" dlg:tab-index="16" dlg:left="10" dlg:top="112" dlg:width="120" dlg:height="14" dlg:value="Load default mappings">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:LoadDefaultsClick" script:language="UNO"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>

View file

@ -2,27 +2,27 @@
<!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="Tables" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Tables" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:checkbox dlg:id="NoTables" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="240" dlg:height="12" dlg:value="Do not export tables" dlg:checked="false">
<dlg:checkbox dlg:id="NoTables" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="240" dlg:height="12" dlg:value="Do not export tables" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigNoTables">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:NoTablesChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:checkbox dlg:id="UseTabulary" dlg:tab-index="2" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Use tabulary.sty (automatic column width)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseMultirow" dlg:tab-index="3" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Use multirow.sty (support for rowspan)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseSupertabular" dlg:tab-index="4" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Use supertabular.sty (multipage tables)" dlg:checked="false">
<dlg:checkbox dlg:id="UseTabulary" dlg:tab-index="2" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Use tabulary.sty (automatic column width)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseTabulary"/>
<dlg:checkbox dlg:id="UseMultirow" dlg:visible="false" dlg:tab-index="3" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Use multirow.sty (support for rowspan)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseMultirow"/>
<dlg:checkbox dlg:id="UseSupertabular" dlg:tab-index="4" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Use supertabular.sty (multipage tables)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseSupertabular">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseSupertabularChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:checkbox dlg:id="UseLongtable" dlg:tab-index="5" dlg:left="10" dlg:top="78" dlg:width="240" dlg:height="12" dlg:value="Use longtable.sty (multipage tables)" dlg:checked="false">
<dlg:checkbox dlg:id="UseLongtable" dlg:tab-index="5" dlg:left="10" dlg:top="78" dlg:width="240" dlg:height="12" dlg:value="Use longtable.sty (multipage tables)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseLongtable">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseLongtableChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:text dlg:id="TableFirstHeadLabel" dlg:tab-index="6" dlg:left="25" dlg:top="92" dlg:width="90" dlg:height="12" dlg:value="Style for first head"/>
<dlg:text dlg:id="TableHeadLabel" dlg:tab-index="7" dlg:left="25" dlg:top="106" dlg:width="90" dlg:height="12" dlg:value="Style for head"/>
<dlg:text dlg:id="TableFootLabel" dlg:tab-index="8" dlg:left="25" dlg:top="120" dlg:width="90" dlg:height="12" dlg:value="Style for foot"/>
<dlg:text dlg:id="TableLastFootLabel" dlg:tab-index="9" dlg:left="25" dlg:top="134" dlg:width="90" dlg:height="12" dlg:value="Style for last foot"/>
<dlg:textfield dlg:id="TableFirstHeadStyle" dlg:tab-index="10" dlg:left="120" dlg:top="90" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="TableHeadStyle" dlg:tab-index="11" dlg:left="120" dlg:top="104" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="TableFootStyle" dlg:tab-index="12" dlg:left="120" dlg:top="118" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="TableLastFootStyle" dlg:tab-index="13" dlg:left="120" dlg:top="132" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="TableFirstHeadStyle" dlg:tab-index="10" dlg:left="120" dlg:top="90" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigTableFirstHeadStyle"/>
<dlg:textfield dlg:id="TableHeadStyle" dlg:tab-index="11" dlg:left="120" dlg:top="104" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigTableHeadStyle"/>
<dlg:textfield dlg:id="TableFootStyle" dlg:tab-index="12" dlg:left="120" dlg:top="118" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigTableFootStyle"/>
<dlg:textfield dlg:id="TableLastFootStyle" dlg:tab-index="13" dlg:left="120" dlg:top="132" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigTableLastFootStyle"/>
<dlg:text dlg:id="TableSequenceLabel" dlg:tab-index="14" dlg:left="10" dlg:top="150" dlg:width="90" dlg:height="12" dlg:value="Table sequence name"/>
<dlg:textfield dlg:id="TableSequenceName" dlg:tab-index="15" dlg:left="120" dlg:top="148" dlg:width="130" dlg:height="12"/>
<dlg:checkbox dlg:id="UseColortbl" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use colortbl.sty (background color in cells)" dlg:checked="false"/>
<dlg:textfield dlg:id="TableSequenceName" dlg:tab-index="15" dlg:left="120" dlg:top="148" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigTableSequenceName"/>
<dlg:checkbox dlg:id="UseColortbl" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use colortbl.sty (background color in cells)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseColortbl"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -3,35 +3,35 @@
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="TextAndMath" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="TextAndMath" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:text dlg:id="MathPackageLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="Math packages"/>
<dlg:checkbox dlg:id="UseOoomath" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use ooomath.sty (custom package supporting OpenOffice.org equations)" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseOoomath" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Use ooomath.sty (custom package supporting OpenOffice.org equations)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigUseOoomath"/>
<dlg:text dlg:id="MathSymbolsLabel" dlg:tab-index="2" dlg:left="5" dlg:top="36" dlg:width="245" dlg:height="12" dlg:value="Math symbols"/>
<dlg:text dlg:id="MathSymbolNameLabel" dlg:tab-index="3" dlg:left="10" dlg:top="50" dlg:width="50" dlg:height="12" dlg:value="Name"/>
<dlg:menulist dlg:id="MathSymbolName" dlg:tab-index="4" dlg:left="70" dlg:top="48" dlg:width="90" dlg:height="12" dlg:spin="true" dlg:linecount="10">
<dlg:menulist dlg:id="MathSymbolName" dlg:tab-index="4" dlg:left="70" dlg:top="48" dlg:width="90" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigMathSymbolName">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:MathSymbolNameChange" script:language="UNO"/>
</dlg:menulist>
<dlg:button dlg:id="NewSymbolButton" dlg:tab-index="5" dlg:left="165" dlg:top="48" dlg:width="40" dlg:height="12" dlg:value="New...">
<dlg:button dlg:id="NewSymbolButton" dlg:tab-index="5" dlg:left="165" dlg:top="48" dlg:width="40" dlg:height="12" dlg:value="New..." dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigNewSymbol">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:NewSymbolClick" script:language="UNO"/>
</dlg:button>
<dlg:button dlg:id="DeleteSymbolButton" dlg:tab-index="6" dlg:left="210" dlg:top="48" dlg:width="40" dlg:height="12" dlg:value="Delete...">
<dlg:button dlg:id="DeleteSymbolButton" dlg:tab-index="6" dlg:left="210" dlg:top="48" dlg:width="40" dlg:height="12" dlg:value="Delete..." dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigDeleteSymbol">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:DeleteSymbolClick" script:language="UNO"/>
</dlg:button>
<dlg:text dlg:id="MathLaTeXLabel" dlg:tab-index="7" dlg:left="10" dlg:top="64" dlg:width="50" dlg:height="12" dlg:value="LaTeX code"/>
<dlg:textfield dlg:id="MathLaTeX" dlg:tab-index="8" dlg:left="70" dlg:top="62" dlg:width="180" dlg:height="12"/>
<dlg:textfield dlg:id="MathLaTeX" dlg:tab-index="8" dlg:left="70" dlg:top="62" dlg:width="180" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigMathLaTeX"/>
<dlg:text dlg:id="TextReplaceLabel" dlg:tab-index="9" dlg:left="5" dlg:top="78" dlg:width="245" dlg:height="12" dlg:value="Text replace"/>
<dlg:text dlg:id="InputLabel" dlg:tab-index="10" dlg:left="10" dlg:top="92" dlg:width="50" dlg:height="12" dlg:value="Input"/>
<dlg:menulist dlg:id="TextInput" dlg:tab-index="11" dlg:left="70" dlg:top="90" dlg:width="90" dlg:height="12" dlg:spin="true" dlg:linecount="10">
<dlg:menulist dlg:id="TextInput" dlg:tab-index="11" dlg:left="70" dlg:top="90" dlg:width="90" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigTextInput">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:TextInputChange" script:language="UNO"/>
</dlg:menulist>
<dlg:button dlg:id="NewTextButton" dlg:tab-index="12" dlg:left="165" dlg:top="90" dlg:width="40" dlg:height="12" dlg:value="New...">
<dlg:button dlg:id="NewTextButton" dlg:tab-index="12" dlg:left="165" dlg:top="90" dlg:width="40" dlg:height="12" dlg:value="New..." dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigNewText">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:NewTextClick" script:language="UNO"/>
</dlg:button>
<dlg:button dlg:id="DeleteTextButton" dlg:tab-index="13" dlg:left="210" dlg:top="90" dlg:width="40" dlg:height="12" dlg:value="Delete...">
<dlg:button dlg:id="DeleteTextButton" dlg:tab-index="13" dlg:left="210" dlg:top="90" dlg:width="40" dlg:height="12" dlg:value="Delete..." dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigDeleteText">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:DeleteTextClick" script:language="UNO"/>
</dlg:button>
<dlg:text dlg:id="LaTeXLabel" dlg:tab-index="14" dlg:left="10" dlg:top="106" dlg:width="50" dlg:height="12" dlg:value="LaTeX code"/>
<dlg:textfield dlg:id="LaTeX" dlg:tab-index="15" dlg:left="70" dlg:top="104" dlg:width="180" dlg:height="12"/>
<dlg:textfield dlg:id="LaTeX" dlg:tab-index="15" dlg:left="70" dlg:top="104" dlg:width="180" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigTextLaTeX"/>
<dlg:text dlg:id="TabStopLabel" dlg:tab-index="16" dlg:left="5" dlg:top="120" dlg:width="245" dlg:height="12" dlg:value="Tab stops"/>
<dlg:text dlg:id="TabStopLaTeXLabel" dlg:tab-index="17" dlg:left="10" dlg:top="134" dlg:width="50" dlg:height="12" dlg:value="LaTeX code"/>
<dlg:textfield dlg:id="TabStopLaTeX" dlg:tab-index="18" dlg:left="70" dlg:top="132" dlg:width="180" dlg:height="12"/>
<dlg:textfield dlg:id="TabStopLaTeX" dlg:tab-index="18" dlg:left="70" dlg:top="132" dlg:width="180" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigTabStopLaTeX"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -2,5 +2,17 @@
<tree_view version="15-apr-2010">
<help_section application="writer2latex" id="w2l01_writer" title="Writer2LaTeX">
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/export.xhp">LaTeX Export</topic>
<node id="w2l01_writer_configuration" title="Custom format">
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Introduction.xhp">Introduction</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Documentclass.xhp">Documentclass</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Headings.xhp">Headings</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Styles.xhp">Styles</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Characters.xhp">Characters</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Fonts.xhp">Fonts</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Pages.xhp">Pages</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Tables.xhp">Tables</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Figures.xhp">Figures</topic>
<topic id="writer2latex/org.openoffice.da.writer2latex.oxt/Configuration/Textandmath.xhp">Text and math</topic>
</node>
</help_section>
</tree_view>

View file

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-configuration-characters" indexer="include">
<title xml-lang="en-US">Characters</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Characters.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Characters</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define how to convert character formatting</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Characters</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Character formatting packages</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseHyperref" id="bm_configusehyperref"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use hyperref.sty (support for hyperlinks)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to export hyperlinks using the LaTeX package
hyperref.sty. As a side effect this package will create links for cross references etc.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseColor" id="bm_configusecolor"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use color.sty (color support)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want color support (text color only) using the
LaTeX package color.sty.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseUlem" id="bm_configuseulem"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use ulem.sty (underline and strike out text)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to support underlined and striked out text using the LaTeX
package ulem.sty. Note that this does not work well for longer passages of text. Writer2LaTeX will never export
underline and strike out for entire paragraphs.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigFormattingAttribute" id="bm_configformattingattribute"/>
<paragraph role="heading" level="2" xml-lang="en-US">Formatting attributes</paragraph>
<paragraph role="paragraph" xml-lang="en-US">For some formatting attributes you can directly control the generated LaTeX
code.</paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Formatting attribute</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select the formatting attribute:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Bold</emph>: Boldface text</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Italics</emph>: Italics text</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Small caps</emph>: Text formatted as small caps.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Superscript</emph>: Text formatted as superscript.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Subscript</emph>: Text formatted as subscript.</paragraph>
</listitem>
</list>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigCustomAttribute" id="bm_configcustomattribute"/>
<paragraph role="heading" level="3" xml-lang="en-US">Apply custom LaTeX code</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to define custom LaTeX code for the currently selected
attribute. Otherwise Writer2LaTeX will use default code, e.g. \textbf for boldface text.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigAttributeBefore" id="bm_configattributebefore"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX code before</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the LaTeX code to add before the text, e.g. <emph>\emph{</emph></paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigAttributeAfter" id="bm_configattributeafter"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX code after</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the LaTeX code to add after the text, e.g. <emph>}</emph></paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-documentclass" indexer="include">
<title xml-lang="en-US">Documentclass</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Documentclass.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Documentclass</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define the documentclass for the LaTeX document</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Documentclass</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigNoPreamble" id="bm_confignopreamble"/>
<paragraph role="heading" level="3" xml-lang="en-US">Do not include preamble</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you check this option, Writer2LaTeX will not create the a LaTeX preamble,
nor include \begin{document} and \end{document}. This is useful if the document is to be included in another LaTeX document.
Note that in this case you will have to make sure that all packages/definitions needed are available in the master
LaTeX document.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigDocumentclass" id="bm_configdocumentclass"/>
<paragraph role="heading" level="3" xml-lang="en-US">Documentclass</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Type the name of the LaTeX documentclass to use (e.g.
<emph>article</emph>, <emph>book</emph>).</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigGlobalOptions" id="bm_configglobaloptions"/>
<paragraph role="heading" level="3" xml-lang="en-US">Global options</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Type a list of global options to add to the documentclass, e.g. <emph>landscape</emph>
to get \documentclass[landscape]{article}.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigCustomPreamble" id="bm_configcustompreamble"/>
<paragraph role="heading" level="3" xml-lang="en-US">Custom preamble</paragraph>
<paragraph role="paragraph" xml-lang="en-US">The text you type here will be copied verbatim into the LaTeX preamble.
For example <emph>\usepackage{palatino}</emph> to typeset your document using the postscript font Palatino.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-configuration-figures" indexer="include">
<title xml-lang="en-US">Styles</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Figures.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Figures</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define how to convert figures</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Figures</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">General</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseCaption" id="bm_configusecaption"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use caption.sty to format captions (also for tables)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to take advantage of the LaTeX package caption.sty.
Currently Writer2LaTeX only uses the support for non-floating captions from this package.
This applies to all captions (figure and table captions).</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigAlignFrames" id="bm_configalignframes"/>
<paragraph role="heading" level="3" xml-lang="en-US">Center figures</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you check this, all graphics and text boxes will be centered.
Otherwise standard formatting is applied (this normally means that they will appear flush left).</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigFigureSequenceName" id="bm_configfiguresequencename"/>
<paragraph role="heading" level="3" xml-lang="en-US">Figure sequence names</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This option can be set to a sequence name in the source document.
OpenDocument has a very weak sense of figure captions: A figure caption is a paragraph containing a sequence number.
If you use %PRODUCTNAME's defaults, Writer2LaTeX can guess which sequence name to use.
If it fails, you can type the name here. Normally it should be left empty.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Graphics</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigNoImages" id="bm_confignoimages"/>
<paragraph role="heading" level="3" xml-lang="en-US">Do not export graphics</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to ignore all graphics in the export.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigRemoveGraphicsExtension" id="bm_configremovegraphicsextension"/>
<paragraph role="heading" level="3" xml-lang="en-US">Omit file extension</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to export file names for images without file extension.
You will thus get eg. \includegraphics{myimage} rather than \includegraphics{myimage.png}.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigImageOptions" id="bm_configimageoptions"/>
<paragraph role="heading" level="3" xml-lang="en-US">Graphic options</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Type any options that should be applied to all images
(ie. all \includegraphics commands). For example <emph>width=\linewidth</emph>.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-configuration-fonts" indexer="include">
<title xml-lang="en-US">Fonts</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Fonts.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Fonts</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define the font packages to use in the exported LaTeX document</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Fonts</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Font packages (not used for XeTeX)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">These options have no effect if the backend is XeTeX, which handles
fonts quite differently from "classic" LaTeX.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUsePifont" id="bm_configusepifont"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use pifont.sty (dingbats)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use of symbol font Zapf Dingbats using the LaTeX package
pifont.sty.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseTipa" id="bm_configusetipa"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use tipa.sty and tipax.sty (phonetic symbols)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use phonetic symbols using the LaTeX packages
tipa.sty and tipx.sty.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseEurosym" id="bm_configuseeurosym"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use eurosym.sty (euro currency symbol)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the eurosym font using the LaTeX package
eurosym.sty. This package provides a slightly better euro symbol than standard LaTeX.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseWasysym" id="bm_configusewasysym"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use wasysym.sty (various symbols)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the wasy symbol font using the LaTeX package
wasysym.sty.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseIfsym" id="bm_configuseifsym"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use ifsym.sty (geometric shapes)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the ifsym symbol font using the LaTeX package
ifsym.sty.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseBbding" id="bm_configusebbding"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use bbding.sty (metafont dingbats)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the bbding symbol font (a clone of Zapf Dingbats)
using the LaTeX package bbding.sty.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-export" indexer="include">
<title xml-lang="en-US">Headings</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Headings.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Headings</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define the conversion of headings in the document</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Headings</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Headings</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigMaxLevel" id="bm_configmaxlevel"/>
<paragraph role="heading" level="3" xml-lang="en-US">Heading levels to export</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Choose the number of heading levels you want to export as LaTeX sectioning commands.
Other headings are exported as ordinary paragraphs.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigWriterLevel" id="bm_configwriterlevel"/>
<paragraph role="heading" level="3" xml-lang="en-US">Writer level</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Choose a heading level to configure.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigLaTeXLevel" id="bm_configlatexlevel"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX level</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Choose the heading level in LaTeX to use for the selected Writer level.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">The standard document classes uses this level numbering</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>\part</emph>: Level -1</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>\chapter</emph>: Level 0</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>\section</emph>: Level 1</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>\subsection</emph>: Level 2</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>\subsubsection</emph>: Level 3</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>\paragraph</emph>: Level 4</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>\supparagraph</emph>: Level 5</paragraph>
</listitem>
</list>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigLaTeXName" id="bm_configLaTeXName"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX heading name</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the name of the section command in LaTeX, e.g. <emph>section</emph> to
produce a \section, or select a standard section command from the list.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Indexes and tables</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigNoIndex" id="bm_confignoindex"/>
<paragraph role="heading" level="3" xml-lang="en-US">Do not include indexes</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you check this option, Writer2LaTeX will not export indexes
(e.g. table of contents, bibliopgrahy). This option is intended for the case that the document is to be part
of a larger LaTeX document, which may contain global indexes.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-configuration-introduction" indexer="include">
<title xml-lang="en-US">Custom format</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Introduction.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Custom format</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define a custom format for the LaTeX export</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigIntroduction" id="bm_configintroduction"/>
<paragraph role="paragraph" xml-lang="en-US">Writer2LaTeX comes with a number of predefined LaTeX formats.
A format defines the kind of LaTeX document to generate (the document class to use and the packages to load).
It also defines a set of rules defining how content and formatting should be exported to LaTeX. Advanced users can define
their own format on these pages. This requires some knowledge of LaTeX.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">To use the custom format, choose <emph>Custom</emph> in the export dialog.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-configuration-pages" indexer="include">
<title xml-lang="en-US">Pages</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Pages.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Pages</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define how to convert page formatting</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Pages</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Page geometry (page size and margins)</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigExportGeometry" id="bm_configexportgeometry"/>
<paragraph role="heading" level="3" xml-lang="en-US">Export page geometry</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to export the page geometry. Otherwise the default
page geometry of the documentclass will be used.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseGeometry" id="bm_configusegeometry"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use geometry.sty</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use package geometry.sty to export the geometry of the page.
Otherwise the geometry will be exported using low level LaTeX commands.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigExportHeaderFooter" id="bm_configexportheaderfooter"/>
<paragraph role="heading" level="2" xml-lang="en-US">Export header and footer</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to export the contents of the header and the footer.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseFancyhdr" id="bm_configusefancyhdr"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use fancyhdr.sty</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the package fancyhdr.sty to export the header and footer of the page.
Otherwise the header and footer will be exported using low level LaTeX page style commands.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Page numbers</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseLastpage" id="bm_configuselastpage"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use lastpage.sty</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this option to use the package lastpage.sty to represent the page count.
Otherwise the page count is not exported (e.g. content like "page 3 of 7" cannot be exported).</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Endnotes</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseEndnotes" id="bm_configuseendnotes"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use endnotes.sty</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the package endnotes.sty to format the endnotes in the
LaTeX document. Otherwise endnotes will be converted to footnotes.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-configuration-styles" indexer="include">
<title xml-lang="en-US">Styles</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Styles.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Styles</paragraph>
<paragraph role="paragraph" xml-lang="en-US">On this page you can define mappings from styles in %PRODUCTNAME Writer
to your own LaTeX styles.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Styles</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigStyleFamily" id="bm_configstylefamily"/>
<paragraph role="heading" level="3" xml-lang="en-US">Style family</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select a style family:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Character</emph>: Define LaTeX code for character styles</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Paragraph</emph>: Define LaTeX code for paragraph styles</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Paragraph block</emph>: Define LaTeX code for a block of paragraphs
starting with a specific paragraph style.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>List</emph>: Define LaTeX code for list styles
(e.g. enumerate or itemize).</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>List item</emph>: Define LaTeX code for individual list items.</paragraph>
</listitem>
</list>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigStyleName" id="bm_configstylename"/>
<paragraph role="heading" level="3" xml-lang="en-US">Style name</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select an %PRODUCTNAME Writer style name from the list.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigNewStyle" id="bm_confignewstyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">New...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this button to add a new style to the list. Select a style in the list
or type a style name.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigDeleteStyle" id="bm_configdeletestyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">Delete...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this button to delete the current style name from the list.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigBefore" id="bm_configbefore"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX code before</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the LaTeX code to add before this particular style, e.g.
<emph>\begin{center}</emph> or <emph>\textbf{</emph>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigAfter" id="bm_configafter"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX code after</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the LaTeX code to add after this particular style, e.g.
<emph>\end{center}</emph> or <emph>}</emph>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigNext" id="bm_confignext"/>
<paragraph role="heading" level="3" xml-lang="en-US">Next style(s)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This is only used for paragraph blocks: Paragraphs formatted with a style from
this list are included in the block.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigAddNext" id="bm_configaddnext"/>
<paragraph role="heading" level="3" xml-lang="en-US">Add...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this button to add another style to the list of next styles.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigRemoveNext" id="bm_configremovenext"/>
<paragraph role="heading" level="3" xml-lang="en-US">Remove...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this button to remove the current style from the list of next styles.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigVerbatim" id="bm_configverbatim"/>
<paragraph role="heading" level="3" xml-lang="en-US">Verbatim content</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to export the content as verbatim LaTeX. This implies that
characters not available in the inputencoding are converted to question marks and that other content is discarded,
eg. footnotes.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigLineBreak" id="bm_configlinebreak"/>
<paragraph role="heading" level="3" xml-lang="en-US">Line break inside</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to add line breaks inside the LaTeX construction surrounding
this element. You will probably want this for a construction like <emph>\begin{center}...\end{center}</emph> but not for
a construction like <emph>\textbf{...}</emph>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigLoadDefaults" id="bm_configloaddefaults"/>
<paragraph role="heading" level="3" xml-lang="en-US">Load default mappings</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Writer2LaTeX comes with a set of default style mappings corresponding to
some of the predefined styles in %PRODUCTNAME Writer. Click this button to add these mappings to the current set. You will get
a warning if this will overwrite one or more existing mappings.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigOtherStyles" id="bm_configotherstyles"/>
<paragraph role="heading" level="3" xml-lang="en-US">Other styles</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select how you want to export paragraphs and text with a style for which no style
mapping has been defined. This enables you to ensure that only content with accepted styles is exported.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Ignore</emph>: The content is ignored silently.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Convert</emph>: The content is converted as normal.</paragraph>
</listitem>
</list>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigFormatting" id="bm_configformatting"/>
<paragraph role="heading" level="3" xml-lang="en-US">Other formatting</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select how you want to export formatting for styles that does not have
a style mapping.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Ignore all</emph>: Ignore all character, paragraph,
heading, list and footnote formatting contained in the document.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Ignore most</emph>: Convert basic character
formatting.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Convert basic</emph>: Convert basic character formatting,
paragraph justification and all numberings (lists, headings, footnotes).</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Convert most</emph>: Convert all supported formatting, except
that paragraph formatting and font size is only converted if it is set by a style. To be able to preserve
formatting, an environment is created for all paragraph styles, custom lists are used for listings, headings are
reformatted using the \@startsection command etc.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Convert all</emph>: Convert all supported formatting.</paragraph>
</listitem>
</list>
</body>
</helpdocument>

View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-configuration-tables" indexer="include">
<title xml-lang="en-US">Tables</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Tables.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Tables</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define how to convert tables</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Tables</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigNoTables" id="bm_confignotables"/>
<paragraph role="heading" level="3" xml-lang="en-US">Do not export tables</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this option to ignore all tables in the export.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseColortbl" id="bm_configusecolortbl"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use colortbl.sty (background color in cells)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to apply background color to tables using the
package colortbl.sty. This option has no effect unless you also check <emph>Use color.sty</emph> on the page
<emph>Characters</emph>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseTabulary" id="bm_configusetabulary"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use tabulary.sty (automatic column width)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if tabulary.sty should be used to export tables.
This package determines column widths automatically which can be useful for tables with a lot of text in each cell.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseSupertabular" id="bm_configusesupertabular"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use supertabular.sty (multipage tables)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the package supertabular.sty to export tables which may break
across pages.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseLongtable" id="bm_configuselongtable"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use longtable.sty (multipage tables)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the package longtable.sty to export tables which may break
across pages.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigTableFirstHeadStyle" id="bm_configtablefirstheadstyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">Style for first head</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This option is used to produce advanced tables, that are not supported in
%PRODUCTNAME Writer. Enter the name of a paragraph style. If the first paragraph of the first cell in a row is formatted
with this paragraph style, the row in question will be used for the first head in a multipage table.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigTableHeadStyle" id="bm_configtableheadstyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">Style for head</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Likewise this option specifies a paragraph style that identifies a
repeating head in a multipage table (like a normal table head in %PRODUCTNAME Writer).</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigTableFootStyle" id="bm_configtablefootstyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">Style for foot</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This option specifies a paragraph style that identifies a repeating foot in a
multipage table.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigTableLastFootStyle" id="bm_configtablelastfootstyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">Style for last foot</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This option specifies a paragraph style that identifies the last foot in a
multipage table.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigTableSequenceName" id="bm_configtablesequencename"/>
<paragraph role="heading" level="3" xml-lang="en-US">Table sequence name</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This option can be set to a sequence name in the source document.
OpenDocument has a very weak sense of table captions: A table caption is a paragraph containing a sequence number.
If you use %PRODUCTNAME's defaults, Writer2LaTeX can guess which sequence name to use.
If it fails, you can type the name here. Normally it should be left empty.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2latex-configuration-textandmath" indexer="include">
<title xml-lang="en-US">Text and math</title>
<filename>org.openoffice.da.writer2latex.oxt/Configuration/Textandmath.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Text and math</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define how to convert text strings and math content.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2LaTeX - Text and math</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Math packages</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigUseOoomath" id="bm_configuseooomath"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use ooomath.sty (custom package supporting %PRODUCTNAME equations)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the LaTeX package ooomath.sty. This package defines a number of
LaTeX macros used to convert formulas from %PRODUCTNAME to LaTeX. If this package is not used, the necessary definitions will
be included in the LaTeX preamble, which may become quite long. Hence using ooomath.sty is recommended for documents with
formulas. The package is part of the complete
<link href="http://writer2latex.sourceforge.net" name="Writer2LaTeX home page">Writer2LaTeX distribution</link>.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Math symbols</paragraph>
<paragraph role="paragraph" xml-lang="en-US">In %PRODUCTNAME Math you can add user-defined symbols. Writer2LaTeX already
understands the predefined symbols such as %alpha. If you define your own symbols, you can define corresponding LaTeX
code here.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigMathSymbolName" id="bm_configmathsymbolname"/>
<paragraph role="heading" level="3" xml-lang="en-US">Name</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select the name of the user-defined symbol.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigNewSymbol" id="bm_configdeletesymbol"/>
<paragraph role="heading" level="3" xml-lang="en-US">New...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this button to add a new symbol to the list. Select a symbol from the list
or type the name.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigDeleteSymbol" id="bm_configdeletesymbol"/>
<paragraph role="heading" level="3" xml-lang="en-US">Delete...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this button to delete the current symbol from the list.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigMathLaTeX" id="bm_configmathlatex"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX code</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the LaTeX code corresponding to this symbol, e.g.
<emph>\Downarrow</emph>.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Text replace</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Often LaTeX requires special care to typeset certain constructions. For example
according to German typographical rules, an abbreviation like z.B. should be typeset with a small space before the B, which in
LaTeX code will be <emph>z.\,B</emph>. Another example is French quotations marks (« Je parle français ») which should be
converted to the LaTeX macros <emph>\fg</emph> and <emph>\og</emph>. A final example is translation of the text LaTeX to
<emph>\LaTeX</emph> to properly typeset the LaTeX logo.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigTextInput" id="bm_configtextinput"/>
<paragraph role="heading" level="3" xml-lang="en-US">Input</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select a text string from the list</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigNewText" id="bm_confignewtext"/>
<paragraph role="heading" level="3" xml-lang="en-US">New...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this button to add a new text string to the list. Enter the original text as it appears
in the %PRODUCTNAME Writer document, or paste text from the clipboard.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigDeleteText" id="bm_configdeletetext"/>
<paragraph role="heading" level="3" xml-lang="en-US">Delete...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this button to the delete the current text string. Writer2LaTeX has
a few predefined strings that cannot be deleted.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigTextLaTeX" id="bm_configtextlatex"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX code</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the LaTeX code to export for this text string.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Tab stops</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:ConfigTabStopLaTeX" id="bm_configtabstoplatex"/>
<paragraph role="heading" level="3" xml-lang="en-US">LaTeX code</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Normally tab stops are converted to spaces, but in this field you can enter any
LaTeX code, that should be used instead. For example <emph>\quad{}</emph> or <emph>\hspace{2em}</emph>.</paragraph>
</body>
</helpdocument>

View file

@ -51,7 +51,8 @@
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Custom</emph> is a user defined format. To configure the custom format,
choose <emph>Tools - Options - Writer2LaTeX</emph>.
choose <emph><link href="org.openoffice.da.writer2latex.oxt/Configuration/Introduction.xhp"
name="Custom configuration">Tools - Options - Writer2LaTeX</link></emph>.
</paragraph>
</listitem>
</list>

View file

@ -16,7 +16,7 @@
<dlg:menuitem dlg:value="Dvips"/>
<dlg:menuitem dlg:value="BibTeX"/>
<dlg:menuitem dlg:value="MakeIndex"/>
<dlg:menuitem dlg:value="Mk4ht (TeX4ht)"/>
<!--<dlg:menuitem dlg:value="Mk4ht (TeX4ht)"/>-->
<dlg:menuitem dlg:value="DVI Viewer"/>
<dlg:menuitem dlg:value="PDF Viewer"/>
<dlg:menuitem dlg:value="PostScript Viewer"/>

View file

@ -6,6 +6,6 @@
<topic id="writer4latex/org.openoffice.da.writer4latex.oxt/menu.xhp">Menu reference</topic>
<topic id="writer4latex/org.openoffice.da.writer4latex.oxt/guidelines.xhp">Guidelines</topic>
<topic id="writer4latex/org.openoffice.da.writer4latex.oxt/templates.xhp">Using the templates</topic>
<topic id="writer4latex/org.openoffice.da.writer4latex.oxt/import.xhp">Importing TeX files</topic>
<!--<topic id="writer4latex/org.openoffice.da.writer4latex.oxt/import.xhp">Importing TeX files</topic>-->
</help_section>
</tree_view>

View file

@ -7,7 +7,7 @@
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Importing TeX files</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Coming soon to an extension near you!</paragraph>
<!--<paragraph role="heading" level="1" xml-lang="en-US">Importing TeX files</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Coming soon to an extension near you!</paragraph>-->
</body>
</helpdocument>

View file

@ -40,7 +40,7 @@
</listitem>
</list>
<paragraph role="heading" level="2" xml-lang="en-US">LaTeX import</paragraph>
<!--<paragraph role="heading" level="2" xml-lang="en-US">LaTeX import</paragraph>
<paragraph role="paragraph" xml-lang="en-US">You can
<link href="org.openoffice.da.writer4latex.oxt/import.xhp" name="Import TeX files">import</link>
existing LaTeX documents into Writer.
@ -49,7 +49,7 @@
system. Note however, that this feature doesn't make roundtrip
editing %PRODUCTNAME Writer ↔ LaTeX is possible. The intended use of the import feature to make documents
that were originally authored in LaTeX.
</paragraph>
</paragraph>-->
<paragraph role="heading" level="2" xml-lang="en-US">Before you start</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Before you can use Writer4LaTeX, you need to
@ -64,7 +64,7 @@
<link href="http://extensions.services.openoffice.org/project/writer2latex" name="Writer2LaTeX download">http://extensions.services.openoffice.org/project/writer2latex</link>.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US">Writer4LaTeX needs a working LaTeX distribution including TeX4ht.
<paragraph role="paragraph" xml-lang="en-US">Writer4LaTeX needs a working LaTeX distribution<!-- including TeX4ht-->.
MikTeX is recommended and can be downloaded from
<link href="http://www.miktex.org" name="MikTeX download">http://www.miktex.org</link>.</paragraph>
</listitem>
@ -84,14 +84,14 @@
<link href="http://extensions.services.openoffice.org/project/writer2latex" name="Writer2LaTeX download">http://extensions.services.openoffice.org/project/writer2latex</link>.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US">Writer4LaTeX needs a working LaTeX distribution which includes TeX4ht.
<paragraph role="paragraph" xml-lang="en-US">Writer4LaTeX needs a working LaTeX distribution<!-- which includes TeX4ht-->.
<link href="http://www.tug.org/texlive/" name="TeX live">TeX live</link>
is recommended and is available for most UNIX-like systems. The installation depends on your system.
If you are using Debian or Ubuntu you can for example install the required packages by typing these commands from a terminal window:</paragraph>
<paragraph role="code" xml-lang="en-US">sudo apt-get install texlive
<br/>sudo apt-get install texlive-latex-extra
<br/>sudo apt-get install texlive-xetex
<br/>sudo apt-get install tex4ht</paragraph>
<!--<br/>sudo apt-get install tex4ht--></paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US">Finally you should install viewers for DVI, PDF and PostScript files.