Writer4LaTeX partial help content
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@45 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
9627e8b57c
commit
d57907d505
15 changed files with 361 additions and 13 deletions
12
.classpath
Normal file
12
.classpath
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="source/java"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="/usr/share/java/openoffice/juh.jar"/>
|
||||
<classpathentry kind="lib" path="/usr/share/java/openoffice/jurt.jar"/>
|
||||
<classpathentry kind="lib" path="/usr/share/java/openoffice/ridl.jar"/>
|
||||
<classpathentry kind="lib" path="/usr/share/java/openoffice/unoil.jar"/>
|
||||
<classpathentry kind="lib" path="source/idl/writer2latex"/>
|
||||
<classpathentry kind="lib" path="source/idl/writer2xhtml"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
|
@ -2,6 +2,13 @@ Changelog for Writer2LaTeX version 1.0 -> 1.2
|
|||
|
||||
---------- version 1.1.1 ----------
|
||||
|
||||
[w4l] Added help files
|
||||
|
||||
[w2x] Bugfix: A textposition of 0% is no longer considered to be superscript
|
||||
|
||||
[all] OFFICE_HOME and URE_HOME in build.xml renamed to OFFICE_CLASSES and URE_CLASSES,
|
||||
which should now point directly to the directory containing the jars
|
||||
|
||||
[w2x] Added support for text:start-value in outline numbering and list styles (the latter
|
||||
is only relevant if use_list_hack is true)
|
||||
|
||||
|
|
Binary file not shown.
|
@ -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-02-14)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -240,6 +240,7 @@ public class TextStyleConverter extends StyleWithPropertiesConverterHelper {
|
|||
if (sPos==null) return false;
|
||||
if (sPos.startsWith("sub")) return false;
|
||||
if (sPos.startsWith("-")) return false;
|
||||
if (sPos.startsWith("0%")) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -354,7 +355,9 @@ public class TextStyleConverter extends StyleWithPropertiesConverterHelper {
|
|||
}
|
||||
if (s!=null) { props.addValue("font-size",Misc.multiply(s4,scale(s))); }
|
||||
else { props.addValue("font-size",s4); }
|
||||
props.addValue("vertical-align",s3);
|
||||
if (!"0%".equals(s3)) {
|
||||
props.addValue("vertical-align",s3);
|
||||
}
|
||||
}
|
||||
else if (s!=null) {
|
||||
props.addValue("font-size",scale(s));
|
||||
|
|
|
@ -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-22)
|
||||
* Version 1.2 (2010-02-14)
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
@ -28,5 +28,5 @@
|
|||
<manifest:file-entry
|
||||
manifest:full-path="writer2xhtml.rdb"
|
||||
manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB"/>
|
||||
|
||||
|
||||
</manifest:manifest>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<version value="1.1.1" />
|
||||
|
||||
<dependencies>
|
||||
<OpenOffice.org-minimal-version value="2.2" d:name="OpenOffice.org 2.2"/>
|
||||
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>
|
||||
</dependencies>
|
||||
|
||||
<publisher>
|
||||
|
|
|
@ -44,6 +44,10 @@
|
|||
<manifest:file-entry
|
||||
manifest:full-path="W4LDialogs/"
|
||||
manifest:media-type="application/vnd.sun.star.basic-library"/>
|
||||
|
||||
<manifest:file-entry
|
||||
manifest:full-path="help"
|
||||
manifest:media-type="application/vnd.sun.star.help"/>
|
||||
|
||||
</manifest:manifest>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!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="Configuration" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="101" dlg:closeable="true" dlg:moveable="true" dlg:title="Writer4LaTeX Configuration" dlg:withtitlebar="false">
|
||||
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Configuration" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="101" dlg:closeable="true" dlg:moveable="true" dlg:title="Writer4LaTeX Configuration" dlg:withtitlebar="false" dlg:help-url="org.openoffice.da.writer4latex.oxt:ConfigurationDialog">
|
||||
<dlg:bulletinboard>
|
||||
<dlg:text dlg:id="ExternalAppsLabel" dlg:tab-index="0" dlg:left="6" dlg:top="4" dlg:width="210" dlg:height="12" dlg:value="External Applications"/>
|
||||
<dlg:text dlg:id="AppLabel" dlg:tab-index="1" dlg:left="12" dlg:top="18" dlg:width="55" dlg:height="12" dlg:value="Application"/>
|
||||
|
@ -8,7 +8,7 @@
|
|||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:BrowseClick" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:text dlg:id="ExecutableLabel" dlg:tab-index="3" dlg:left="12" dlg:top="32" dlg:width="55" dlg:height="12" dlg:value="Executable"/>
|
||||
<dlg:menulist dlg:id="Application" dlg:tab-index="2" dlg:left="72" dlg:top="17" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="9">
|
||||
<dlg:menulist dlg:id="Application" dlg:tab-index="2" dlg:left="72" dlg:top="17" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer4latex.oxt:ConfigurationApplication">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="LaTeX" dlg:selected="true"/>
|
||||
<dlg:menuitem dlg:value="PdfLaTeX"/>
|
||||
|
@ -23,16 +23,15 @@
|
|||
</dlg:menupopup>
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ApplicationChange" script:language="UNO"/>
|
||||
</dlg:menulist>
|
||||
<dlg:textfield dlg:id="Executable" dlg:tab-index="4" dlg:left="72" dlg:top="31" dlg:width="120" dlg:height="12">
|
||||
<dlg:textfield dlg:id="Executable" dlg:tab-index="4" dlg:left="72" dlg:top="31" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer4latex.oxt:ConfigurationExecutable">
|
||||
<script:event script:event-name="on-blur" script:macro-name="vnd.sun.star.UNO:ExecutableUnfocus" script:language="UNO"/>
|
||||
</dlg:textfield>
|
||||
<dlg:textfield dlg:id="Options" dlg:tab-index="7" dlg:left="72" dlg:top="45" dlg:width="120" dlg:height="12">
|
||||
<dlg:textfield dlg:id="Options" dlg:tab-index="7" dlg:left="72" dlg:top="45" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer4latex.oxt:ConfigurationOptions">
|
||||
<script:event script:event-name="on-blur" script:macro-name="vnd.sun.star.UNO:OptionsUnfocus" script:language="UNO"/>
|
||||
</dlg:textfield>
|
||||
<dlg:button dlg:id="AutoButton" dlg:tab-index="8" dlg:left="72" dlg:top="65" dlg:width="120" dlg:height="14" dlg:value="Automatic configuration">
|
||||
<dlg:button dlg:id="AutoButton" dlg:tab-index="8" dlg:left="72" dlg:top="65" dlg:width="120" dlg:height="14" dlg:value="Automatic configuration" dlg:help-url="org.openoffice.da.writer4latex.oxt:ConfigurationAutoButton">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:AutomaticClick" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:button dlg:id="CommandButton1" dlg:tab-index="9" dlg:left="205" dlg:top="85" dlg:width="2" dlg:height="0" dlg:value="CommandButton1"/>
|
||||
<dlg:text dlg:id="OptionsLabel" dlg:tab-index="6" dlg:left="12" dlg:top="46" dlg:width="55" dlg:height="12" dlg:value="Options"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
10
source/oxt/writer4latex/help/en/help.tree
Normal file
10
source/oxt/writer4latex/help/en/help.tree
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tree_view version="14-feb-2010">
|
||||
<help_section application="writer4latex" id="w4l01" title="Writer4LaTeX">
|
||||
<topic id="writer4latex/org.openoffice.da.writer4latex.oxt/introduction.xhp">Introduction</topic>
|
||||
<topic id="writer4latex/org.openoffice.da.writer4latex.oxt/configuration.xhp">Configuration</topic>
|
||||
<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>
|
||||
</help_section>
|
||||
</tree_view>
|
|
@ -0,0 +1,81 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<helpdocument version="1.0">
|
||||
<meta>
|
||||
<topic id="writer4latex-configuration" indexer="include">
|
||||
<title xml-lang="en-US">Configuration</title>
|
||||
<filename>org.openoffice.da.writer4latex.oxt/configuration.xhp</filename>
|
||||
</topic>
|
||||
</meta>
|
||||
<body>
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer4latex.oxt:ConfigurationDialog" id="bm_configurationdialog"/>
|
||||
<paragraph role="heading" level="1" xml-lang="en-US">Configuration</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Before you can use Writer4LaTeX you must configure it to use your LaTeX
|
||||
distribution as well as viewers for the different output formats.</paragraph>
|
||||
<table>
|
||||
<tablerow>
|
||||
<tablecell>
|
||||
<paragraph role="tablecontent" xml-lang="en-US">To access this function...</paragraph>
|
||||
</tablecell>
|
||||
</tablerow>
|
||||
<tablerow>
|
||||
<tablecell>
|
||||
<paragraph role="tablecontent" xml-lang="en-US">Select <emph>Tools - Extension Manager - Writer4LaTeX</emph>
|
||||
and click <emph>Configure</emph></paragraph>
|
||||
<paragraph role="tablecontent" xml-lang="en-US">Select <emph>Tools - Options - %PRODUCTNAME Writer - Writer4LaTeX</emph>
|
||||
</paragraph>
|
||||
</tablecell>
|
||||
</tablerow>
|
||||
</table>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer4latex.oxt:ConfigurationAutoButton" id="bm_configurationautobutton"/>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Automatic Configuration</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">If you click this button, Writer4LaTeX will try to locate the external programs
|
||||
and configure them. You will be presented with a short report of the results. Any applications that Writer4LaTeX cannot find for
|
||||
you must be configured manually.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer4latex.oxt:ConfigurationAutoButton" visibility="hidden">Click here to let Writer4LaTeX configure your external applications automatically</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer4latex.oxt:ConfigurationApplication" id="bm_configurationapplication"/>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Application</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Select the external application you wish to configure in the list.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">The available applications are:</paragraph>
|
||||
<list type="unordered">
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">PdfLaTeX: The pdflatex executable (used if you select PDF as your backend format)</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">LaTeX: The latex executable (used for other backend formats)</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Dvips: The DVI to PostScript converter dvips (used if you select PostScript as your backend format)</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">BibTeX: The bibtex executable (used if your document contains a bibliography)</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">MakeIndex: The makeindex executable (used if your document contains an alphabetical index)</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">DVI Viewer: Application to view DVI files</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">PDF Viewer: Application to view PDF files</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">PostScript Viewer: Application to view PostScript files</paragraph>
|
||||
</listitem>
|
||||
</list>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer4latex.oxt:ConfigurationApplication" visibility="hidden">Select the external application you wish to configure here</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer4latex.oxt:ConfigurationExecutable" id="bm_configurationexecutable"/>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Executable</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Type the full path to the executable or click <emph>Browse</emph> to find
|
||||
the executable in your file system</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer4latex.oxt:ConfigurationExecutable" visibility="hidden">Type the full path to the executable here or find it using the Browse button</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer4latex.oxt:ConfigurationOptions" id="bm_configurationoptions"/>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Options</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Fill out any additional options here. Often you will only need the file name,
|
||||
which is denoted %s.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer4latex.oxt:ConfigurationOptions" visibility="hidden">Fill out any additional options here, using %s to represent the file name</ahelp></paragraph>
|
||||
</body>
|
||||
</helpdocument>
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<helpdocument version="1.0">
|
||||
<meta>
|
||||
<topic id="writer4latex-guidelines" indexer="include">
|
||||
<title xml-lang="en-US">Guidelines</title>
|
||||
<filename>org.openoffice.da.writer4latex.oxt/guidelines.xhp</filename>
|
||||
</topic>
|
||||
</meta>
|
||||
<body>
|
||||
<paragraph role="heading" level="1" xml-lang="en-US">Guidelines</paragraph>
|
||||
</body>
|
||||
</helpdocument>
|
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<helpdocument version="1.0">
|
||||
<meta>
|
||||
<topic id="writer4latex-introduction" indexer="include">
|
||||
<title xml-lang="en-US">Introduction</title>
|
||||
<filename>org.openoffice.da.writer4latex.oxt/introduction.xhp</filename>
|
||||
</topic>
|
||||
</meta>
|
||||
<body>
|
||||
<paragraph role="heading" level="1" xml-lang="en-US">About Writer4LaTeX</paragraph>
|
||||
|
||||
<paragraph role="paragraph" xml-lang="en-US">The purpose of the Writer4LaTeX extension is to turn Writer into a frontend for LaTeX.
|
||||
By installing Writer4LaTeX you will thus be available to author well-structured LaTeX documents using (almost) the full power of
|
||||
%PRODUCTNAME Writer.
|
||||
The functionality of %PRODUCTNAME Writer with Writer4LaTeX can be compared to the application
|
||||
<link href="http://www.lyx.org" name="Link to the Lyx Website">LyX</link>.
|
||||
</paragraph>
|
||||
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Authoring LaTeX files with Writer4LaTeX</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can use Writer4LaTeX in two different ways
|
||||
</paragraph>
|
||||
<list type="unordered" bullet="disc">
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can prepare your documents with Writer as you usually do,
|
||||
keeping a few
|
||||
<link href="org.openoffice.da.writer4latex.oxt/guidelines.xhp" name="Guidelines">guidelines</link> in mind.
|
||||
You can then invoke Writer4LaTeX to convert your document into LaTeX, process the LaTeX document and display the final result. You are free to create either a LaTeX document that preserves as much of your formatting as possible – or create a clean LaTeX document that will resemble a LaTeX document created by hand.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can use some special
|
||||
<link href="org.openoffice.da.writer4latex.oxt/templates.xhp" name="Using the templates">Writer templates</link>
|
||||
provided with Writer4LaTeX to
|
||||
create your documents. Using the styles supported by these templates, you can easily create standard LaTeX documents
|
||||
using the opportunities of standard LaTeX document classes.
|
||||
</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">For this initial version, templates for the standard LaTeX classes article
|
||||
are provided. More templates will be added later (report, book, beamer...), and you can also add your own templates.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
</list>
|
||||
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">LaTeX import</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can import existing LaTeX documents into Writer.
|
||||
This feature uses Eitan M. Gurari's excellent TeX4ht system. Note however, that this doesn't mean that roundtrip
|
||||
editing %PRODUCTNAME Writer ↔ LaTeX is possible. The intended use of the import feature is to be able to work on documents
|
||||
that were orginally authored in LaTeX.
|
||||
</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
|
||||
<link href="org.openoffice.da.writer4latex.oxt/configuration.xhp" name="Configuration">configure</link> it.
|
||||
This requires that you have
|
||||
a working TeX installation on your system such as MikTeX for Windows or TeX Live for unix/linux.
|
||||
</paragraph>
|
||||
</body>
|
||||
</helpdocument>
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<helpdocument version="1.0">
|
||||
<meta>
|
||||
<topic id="writer4latex-menu" indexer="include">
|
||||
<title xml-lang="en-US">The LaTeX menu</title>
|
||||
<filename>org.openoffice.da.writer4latex.oxt/menu.xhp</filename>
|
||||
</topic>
|
||||
</meta>
|
||||
<body>
|
||||
<paragraph role="heading" level="1" xml-lang="en-US">The LaTeX menu</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Writer4LaTeX offers the top level menu <emph>LaTeX</emph> in Writer
|
||||
with the following commands.</paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer4latex:ProcessDocument" id="bm_processdocument"/>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Run LaTeX...</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">...</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer4latex:ProcessDocument" visibility="hidden">Run LaTeX</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer4latex:ProcessDirectly" id="bm_processdirectly"/>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Run LaTeX directly</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">...</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer4latex:ProcessDirectly" visibility="hidden">Run LaTeX directly</ahelp></paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer4latex:ViewLog" id="bm_viewlog"/>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">View Log files</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">...</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer4latex:ViewLog" visibility="hidden">View log files</ahelp></paragraph>
|
||||
</body>
|
||||
</helpdocument>
|
|
@ -0,0 +1,134 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<helpdocument version="1.0">
|
||||
<meta>
|
||||
<topic id="writer4latex-templates" indexer="include">
|
||||
<title xml-lang="en-US">Using the templates</title>
|
||||
<filename>org.openoffice.da.writer4latex.oxt/templates.xhp</filename>
|
||||
</topic>
|
||||
</meta>
|
||||
<body>
|
||||
<paragraph role="heading" level="1" xml-lang="en-US">Using the templates</paragraph>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">The article template</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">This template contains a number of styles that corresponds to LaTeX code.
|
||||
If you use these styles and makes sure to use the configuration <emph>W4L: Article</emph> when you convert your document
|
||||
(this is selected automatically) with Writer2LaTeX, you will get a result that resembles a handwritten LaTeX file.
|
||||
Note that hard formatting and any other styles will be ignored. The available styles are summarized in the following table.</paragraph>
|
||||
|
||||
<table>
|
||||
<tablerow>
|
||||
<tablecell>
|
||||
<paragraph role="tablehead" xml-lang="en-US">%PRODUCTNAME Writer Style</paragraph>
|
||||
</tablecell>
|
||||
<tablecell>
|
||||
<paragraph role="tablehead" xml-lang="en-US">LaTeX code</paragraph>
|
||||
</tablecell>
|
||||
</tablerow>
|
||||
<tablerow>
|
||||
<tablecell>
|
||||
<paragraph role="tablecontent" xml-lang="en-US">Title</paragraph>
|
||||
</tablecell>
|
||||
<tablecell>
|
||||
<paragraph role="tablecontent" xml-lang="en-US">\title{...}</paragraph>
|
||||
</tablecell>
|
||||
</tablerow>
|
||||
<tablerow>
|
||||
<tablecell>
|
||||
<paragraph role="tablecontent" xml-lang="en-US"></paragraph>
|
||||
</tablecell>
|
||||
<tablecell>
|
||||
<paragraph role="tablecontent" xml-lang="en-US"></paragraph>
|
||||
</tablecell>
|
||||
</tablerow>
|
||||
</table>
|
||||
<!--author
|
||||
\author{...}
|
||||
date
|
||||
\date{...}
|
||||
abstract title
|
||||
renews \abstractname
|
||||
abstract
|
||||
abstract environment
|
||||
part
|
||||
\part{...}
|
||||
Heading 2
|
||||
\section{...}
|
||||
Heading 3
|
||||
\subsection{...}
|
||||
Heading 4
|
||||
\subsubsection{...}
|
||||
Heading 5
|
||||
\paragraph{...}
|
||||
Heading 6
|
||||
\subparagraph{...}
|
||||
flushleft
|
||||
flushleft environment
|
||||
flushright
|
||||
flushright environment
|
||||
center
|
||||
center environment
|
||||
verse
|
||||
verse environment
|
||||
quote
|
||||
quote environment
|
||||
quotation
|
||||
quotation environment
|
||||
Preformatted text
|
||||
verbatim environment3
|
||||
theorem
|
||||
theorem environment
|
||||
itemize
|
||||
itemize list
|
||||
enumerate
|
||||
enurerate list
|
||||
List Heading
|
||||
description list (item label)
|
||||
List Contents
|
||||
description list (item text)
|
||||
verb
|
||||
\verb|...|
|
||||
Emphasis
|
||||
\emph{...}
|
||||
Strong Emphasis
|
||||
\textbf{...}
|
||||
textrm
|
||||
\textrm{...}
|
||||
textsf
|
||||
\textsf{...}
|
||||
texttt
|
||||
\texttt{...}
|
||||
textup
|
||||
\textup{...}
|
||||
textsl
|
||||
\textsl{...}
|
||||
textit
|
||||
\textit{...}
|
||||
textsc
|
||||
\textsc{...}
|
||||
textmd
|
||||
\textmd{...}
|
||||
textbf
|
||||
\textbf{...}
|
||||
tiny
|
||||
{\tiny ...}
|
||||
scriptsize
|
||||
{\sciptsize ...}
|
||||
footnotesize
|
||||
{\footnotesize ...}
|
||||
small
|
||||
{\small ...}
|
||||
normalsize
|
||||
{\normalsize ...}
|
||||
large
|
||||
{\large ...}
|
||||
Large
|
||||
{\Large ...}
|
||||
LARGE
|
||||
{\LARGE ...}
|
||||
huge
|
||||
{\huge ...}
|
||||
Huge
|
||||
{\Huge ...}-->
|
||||
|
||||
|
||||
</body>
|
||||
</helpdocument>
|
Loading…
Add table
Reference in a new issue