LaTeX Exportorg.openoffice.da.writer2latex.oxt/export.xhpLaTeX ExportExports the current document in LaTeX 2e format. A LaTeX document can be
typeset with the TeX typesetting system.
Choose File - Export - LaTeX 2eGeneralLaTeX formatSelect the general format for the LaTeX documentConceptually, %PRODUCTNAME Writer and LaTeX are quite different.
A LaTeX document is usually based on a certain "document class", that determines the general layout and formatting of the document.
In addition the use of several LaTeX packages may change various aspects of the LaTeX document.The result of a conversion into LaTeX will thus depend very much on which
LaTeX packages are used and how much formatting it is desired to preserve.Writer2LaTeX offers a number of default formats, all based on the standard LaTeX document class "article".
Each of the formats defines the LaTeX packages to use and the handling of formatting.Ultra-clean article will create a very basic LaTeX article,
with almost no formatting preserved.Clean article will also create a default LaTeX article,
but does preserve some basic formatting from the %PRODUCTNAME Writer document, such as boldface, color and hyperlinks.Default creates a LaTeX article preserving as much formatting
as it is possible without any significant deviations from LaTeX standards.Print optimized on the other hand creates a LaTeX article
preserving as much formatting as possible. The result will resemble the %PRODUCTNAME Writer document,
but will look slightly different from a standard LaTeX article (and the LaTeX code will be less readable).Screen optimized (pdf) also creates a LaTeX article preserving
most of the formatting, but optimized for screen viewing (using the package pdfscreen) rather than printing.Custom is a user defined format. To configure the custom format,
choose Tools - Options - Writer2LaTeX.
Expert users can extend the list with further formats using
configuration packages. See the documentation on the
web site for Writer2LaTeX.BackendSelect the final format of the exported documentWhen processing a LaTeX document, the final result is a document in a certain
backend format. The handling of certain aspects of the document, in particular graphics, depends on the backend.
With this option you can select the backend format.Generic will create a LaTeX document that can be processed
with any flavour of LaTeX, usually with a file in DVI format as the result. Graphics is not supported with this backend.Pdf (pdfTeX) will create a LaTeX document that is suitable
for processing with pdfLaTeX. Graphics are converted to a format that can be included in pdf files.Postscript (dvips) will create a LaTeX document that is
suitable for generating documents in Postscript format, usually by post processing with dvips.
Graphics will be converted to Encapsulated postscript format.Unspecified will create a LaTeX document with no
particular backend in mind. All graphics will be exported in the original format,
and it is up to the user to handle them.If you have selected the format Screen optiomized (pdf), you cannot select
the backend, which will always be pdf.EncodingSelect the character encoding of the LaTeX fileA LaTeX document is a text file, which always uses a certain character encoding.
The character encoding is important if the LaTeX file is going to be edited in a text editor:
You should select an encoding that is supported by your text editor. This setting is also important to get optimal support
for international characters: If you for example use pdfTeX, searching in the final pdf document will only work for
characters supported by the selected character encoding.
Currently, Writer2LaTeX supports 8 different encodings which together are suitable for a large number of languages written
with either latin, greek or cyrillic letters.The supported character encodings are US ASCII,
West European (ISO 8859-1), East European (ISO 8859-2), Latin/Greek (ISO 8859-7),
Microsoft East European (Cp1250), Microsoft Cyrillic (Cp1251), Russian (koi8-r)
and Unicode (UTF8).If you have selected XeTeX as your backed, the character encoding is always UTF-8.
XeTeX is needed for asian (CJK) and bidirectional (CTL) scripts.Enable multilingual supportCheck this if your document contains text in more than one languageIf you check this option, all the language settings in the %PRODUCTNAME Writer
document will be exported to LaTeX. Sometimes the language settings in a %PRODUCTNAME Writer document are not correct,
so if you have a document that is written in one language only you may want to uncheck this option.
This will produce a cleaner LaTeX file because you may avoid a large number of language selections.FontSelect a font scheme to use in the LaTeX documentUse this option to select a font scheme to use in the LaTeX document.
(TODO)Use greek letters as symbolsCheck this treat greek characters as symbols rather than as textGreek letters used in latin text are often used as symbols, such as the
number π or the word γ-radiation. By checking this option (not available if XeTeX is the backend),
all greek letters used within latin or cyrillic text
will be treated as mathematical symbols, which will produce a slightly better result – and also not require that
greek text fonts are available in the LaTeX installation. This option has no effect on greek text (provided the language
is set correctly in the %PRODUCTNAME Writer document).Support additional symbolsCheck this to add support for additonal symbols (e.g. phonetic symbols, smileys)If you select this option (not available if XeTeX is the backend),
LaTeX will load some additional packages containing support for various symbols:
A better looking euro-symbol, phonetic characters, dingbats and various other
symbols and geometric shapes.BibliographyUse BibTeX for bibliographyCheck this to export the bibliography to BibTeX formatUsually the bibliography in a LaTeX document is generated by the companion
program BibTeX. If you check this option, all the bibliographic references will be exported to BibTeX format for
later processing with the BibTeX program.BibTeX styleEnter the name of a BibTeX style to format the bibliographyIf you use BibTeX, you should also select a BibTeX style to be used when
generating the bibliography. Select one of the predefined styles plain, unsrt, alpha or
abbrv or type the name of any BibTeX style which is available
in your LaTeX installation.FilesWrap long linesCheck this if you want to wrap long lines in the LaTeX fileChecking this option wraps long lines in the generated LaTeX file.
This enhances the readability if the file is later edited in a text editor. If you use a text editor that wraps
lines automatically, you should uncheck this option.After charactersEnter the number of characters after which the lines should be wrappedIf you choose to wrap long lines, they will be wrapped as soon as possible
after this number of characters.Split document at linked sectionsCheck this to create a separate LaTeX file for each linked sectionChecking this option will create separate LaTeX files for sections in
the %PRODUCTNAME Writer document with linked content. This can be an advantage if the LaTeX document is later edited
in a text editor.Split document at top level sectionsCheck this to create a separate LaTeX file for all sections that are not nested inside another sectionChecking this option will create separate LaTeX files for all top level
sections in the %PRODUCTNAME Writer document (but not for nested sections).Save images in subdirectoryCheck this to save the images in a separate subdirectoryWriter2LaTeX normally saves images associated with the document in the same
directory as the LaTeX document. If the document contains a large number of images it may be more convenient to save
the images in a separate subdirectory. This option will create a subdirectory with the same name as the LaTeX document
to store the images.Special contentExport notesSelect how to export notes in the documentThis option determines how to export notes (also known as annotations)
in the %PRODUCTNAME Writer document.Do not export will ignore the notes.As comments will export the notes as comments in the LaTeX file.
They will not be visible in the final document after processing with LaTeX.As marginal notes will put the notes in the margin of the document.
In this case they will be visible in the final document, but beware that the notes will be lost if the margin
is too narrow.As pdf annotations will export the notes as pdf text
annotations. If the pdf viewer supports it, you will be able to read the notes. Adobe Reader displays text annotations
with a yellow icon, which allows you to open and read the note. If the document is not processed with pdfTeX,
the notes will be converted to marginal notes.Export document properties (metadata)Check this if you want to export meta data associated with the documentIf you check this option, Writer2LaTeX will export the title, author and date
of the document as found under File – Properties. Furthermore, if you have chosen pdf as the backend, the title, author,
subject and keywords will be exported to the pdf document and will be viewable if the pdf viewer supports it.
If the option is not checked, only the title will be exported.Display hidden textCheck this if you want to export text that is currently hidden in the documentIf you check this option, Writer2LaTeX will export all text in the
document, even if it is currently hidden.Figures and tablesUse original image sizeSelect this option to use the original image size (the size specified in the document will be ignored)Often images in a %PRODUCTNAME Writer document are scaled up or down
from their original size. Normally the same scaling will be used in the LaTeX document, but if you select this option,
the original (unscaled) image size will be used.Optimize simple tablesCheck this to optimize the width of tablesNormally Writer2LaTeX will generate tables with the same column widths
as in the original document. For tables with simple content it may be more desirable to create tables which are as
narrow as possible, with only one line of text per cell. Compare the table
If you check this option, Writer2LaTeX will try to optimize tables.Maximum width in charactersEnter the maximum width in characters of tables that should have optimized their widthIf you have chosen to optimize simple tables, you have to specify the maximum
width of the table, measured in the number of characters. If you for example set the number to 50, only tables with a total
width of 50 or fewer characters will be optimized.Float tablesCheck this to allow tables to flow in the documentIn %PRODUCTNAME Writer you can either choose that the rows of a table must
be kept together on one page or that the table may split across page breaks. Keeping a table on one page may be desirable
to increase the readability of the table, but it may also leave large white gaps at the bottom of the page.
In LaTeX this problem is solved with floating tables: A table can automatically move to another position which fixes
the whitespace problem. If you check this option, all tables that are not allowed to break across pages are exported as
floating tables.Float figuresCheck this to allow figures to flow in the documentA similar option is available for figures (graphics, text boxes).
If you check this option, figures are converted to floating figures which can move in the document to reduce whitespace.
This will not affect figures anchored as character.Float placementSelect placement of floating tables and figuresIf you choose to let either tables or figures float, use this option to
specify the placement of the floats:Top or bottom of page will place the floats either at
the top or the bottom of a page.Top of page will place floats at the top of a page.Bottom of page will place floats at the top of a page.Here or top of page will place floats at their original position,
if there is room left on the page, and otherwise at the top of a page.Here or bottom of page will place floats at their
original position, if there is room left on the page, and otherwise at the bottom of a page.In all cases it might happen that LaTeX creates some special pages which only
contains floats. This will usually be the case if there are many floats compared to the amount of text.AutoCorrectIgnore hard page breaksCheck this if you don't want to export manual page breaksHard (or manual) page breaks are often used to optimize page breaks in the
final editing of a document. In this case you will probably not want to export these page breaks, as LaTeX creates page
breaks that are quite different from the page breaks in %PRODUCTNAME Writer. If you select this option, hard page breaks
will be ignored when exporting the document.Ignore hard line breaksCheck this if you don't want to export manual line breaksFor similar reasons, you can select this option to ignore hard (manual) line
breaks during export.Ignore empty paragraphsCheck this if you don't want to export empty paragraphsEmpty paragraphs are sometimes used a simple means to create vertical spacing
in %PRODUCTNAME Writer. In a well-structured document, an empty paragraph is probably a mistake. Hence you can select this
option to ignore empty paragraphs in the document in the export. If you do not select the option, an empty paragraph is
exported as vertical space.Ignore double spacesCheck this if you don't want to export two consecutive space charactersFor similar reasons you can choose to ignore two or more spaces in a row using
this option.