<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jans</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jans"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Jans"/>
	<updated>2026-11-28T11:52:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=48897</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=48897"/>
		<updated>2007-10-02T08:33:08Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Most answers reference to the Writer2Latex configuration file.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to number the reference chapters with letters instead of numbers?===&lt;br /&gt;
Insert the following code into the Writer2Latex configuration file:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \renewcommand\bibsection{\section{\refname}}&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to define the title of the reference chapter to anything instead &amp;quot;References&amp;quot; when using bibtex?===&lt;br /&gt;
&lt;br /&gt;
Define in the configuration file:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \AtBeginDocument{\renewcommand\refname{Bibliography}}&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===What does the option &amp;quot;htbp&amp;quot; mean?===&lt;br /&gt;
&lt;br /&gt;
They are different placement options:&lt;br /&gt;
&lt;br /&gt;
* h means &amp;quot;put the float here, if there is enough room left on the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* t means &amp;quot;put the float on top of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* b mean &amp;quot;put the float at the bottom of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* p means &amp;quot;create a special page containing only floats&amp;quot;&lt;br /&gt;
&lt;br /&gt;
the possiblities are tried in the order they are given until a suitable one is found.&lt;br /&gt;
&lt;br /&gt;
===pdftex is not able to process my file without errors anymore: &amp;quot;LaTeX Error: Too many unprocessed floats.&amp;quot; What to do?===&lt;br /&gt;
&lt;br /&gt;
This is a well known problem with LaTeX when there is a huge amount of floats.&lt;br /&gt;
&lt;br /&gt;
You can give LaTeX some more placement options using&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;option name=&amp;quot;float_options&amp;quot; value=&amp;quot;htbp&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it&amp;#039;s probably a better idea not to float the tables&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;option name=&amp;quot;float_tables&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps a few experiments will show what you prefer.&lt;br /&gt;
&lt;br /&gt;
===I found out that draw objects are not included in Latex. The message &amp;quot;Warning: Draw object ignored&amp;quot; appears instead. Is there a way to include them?===&lt;br /&gt;
&lt;br /&gt;
If you have inserted drawing objects directly, they will be ignored.&lt;br /&gt;
One solution is to insert an object instead: Insert - object - OLE object - OpenOffice Drawing.&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \usepackage{natbib}&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
  &amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
  \hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
  \hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \makeatletter&lt;br /&gt;
  \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%{-3.25ex\@plus -1ex \@minus -.2ex}%{1.5ex \@plus .2ex}%{\normalfont\normalsize\bfseries}}&lt;br /&gt;
  \makeatother&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help Writer2Latex to identify the captions:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OpenOffice).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with Writer2Latex like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
  &amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
  &amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OpenOffice:&lt;br /&gt;
  &amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OpenOffice or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Is it possible to hack latex code directly in OpenOffice? How to use bibtex with Writer2Latex?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OpenOffice such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OpenOffice, and then configure Writer2Latex to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
  &amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OpenOffice add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
  &amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OpenOffice to represent a reference&lt;br /&gt;
Then instruct Writer2Latex to convert this to a reference:&lt;br /&gt;
  &amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
  &amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
  \\nocite{{key1,key2}}&lt;br /&gt;
  \\bibliographystyle{{plain}}&lt;br /&gt;
  \\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
  pdflatex document&lt;br /&gt;
  bibtex document&lt;br /&gt;
  pdflatex document&lt;br /&gt;
  pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct Writer2Latex to generate specific code for this, eg.&lt;br /&gt;
  &amp;lt;style-mape name=&amp;quot;the style name in OpenOffice&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
  &amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OpenOffice always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
  &amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \renewcommand\baselinestretch{1.25}&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
  &amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OpenOffice and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OpenOffice and adapt the tables to the new margins&lt;br /&gt;
* let Writer2Latex convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let Writer2Latex produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell Writer2Latex or OpenOffice to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with Writer2Latex). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
  \usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
  \begin{figure}&lt;br /&gt;
  ....&lt;br /&gt;
  \end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
  \begin{floatingfigure}{5cm}&lt;br /&gt;
  ....&lt;br /&gt;
  \end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. Writer2Latex currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). Writer2Latex will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
  \usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
  \usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. How to render charts properly?===&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s right - in fact the whole diagram is exported as a bitmap.&lt;br /&gt;
I should really export it as pdf, but this is not yet implemented. Here&amp;#039;s a workaround for this problem:&lt;br /&gt;
&lt;br /&gt;
You can create a pdf version as follows:&lt;br /&gt;
&lt;br /&gt;
1. Change the backend option to dvips&lt;br /&gt;
  &amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and then export your document. This will generate an eps-file with your diagram.&lt;br /&gt;
&lt;br /&gt;
2. Convert this file to pdf using ghostscript/ghostview&lt;br /&gt;
&lt;br /&gt;
3. Change the backend top pdftex again&lt;br /&gt;
  &amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and make sure also to include this option:&lt;br /&gt;
&amp;lt;option name=&amp;quot;remove_graphics_extension&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next time you export your document again, Writer2Latex will generate a png-file with your diagram.&lt;br /&gt;
Delete the png file before running the document through LaTeX: PdfTeX will then find the pdf version of the image and include it.&lt;br /&gt;
&lt;br /&gt;
This is not very elegant - of course I will implement automatic conversion of vector images to pdf later. This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=48896</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=48896"/>
		<updated>2007-10-02T08:28:18Z</updated>

		<summary type="html">&lt;p&gt;Jans: /* How to number the reference chapters with letters instead of numbers? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Most answers reference to the Writer2Latex configuration file.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to number the reference chapters with letters instead of numbers?===&lt;br /&gt;
Insert the following code into the Writer2Latex configuration file:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
  \renewcommand\bibsection{\section{\refname}}&lt;br /&gt;
  &amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to define the title of the reference chapter to anything instead &amp;quot;References&amp;quot; when using bibtex?===&lt;br /&gt;
&lt;br /&gt;
Define in the configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\refname{Bibliography}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===What does the option &amp;quot;htbp&amp;quot; mean?===&lt;br /&gt;
&lt;br /&gt;
They are different placement options:&lt;br /&gt;
&lt;br /&gt;
h means &amp;quot;put the float here, if there is enough room left on the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
t means &amp;quot;put the float on top of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
b mean &amp;quot;put the float at the bottom of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
p means &amp;quot;create a special page containing only floats&amp;quot;&lt;br /&gt;
&lt;br /&gt;
the possiblities are tried in the order they are given until a suitable one is found.&lt;br /&gt;
&lt;br /&gt;
===pdftex is not able to process my file without errors anymore: &amp;quot;LaTeX Error: Too many unprocessed floats.&amp;quot; What to do?===&lt;br /&gt;
&lt;br /&gt;
This is a well known problem with LaTeX when there is a huge amount of floats.&lt;br /&gt;
&lt;br /&gt;
You can give LaTeX some more placement options using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;float_options&amp;quot; value=&amp;quot;htbp&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it&amp;#039;s probably a better idea not to float the tables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;float_tables&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps a few experiments will show what you prefer.&lt;br /&gt;
&lt;br /&gt;
===I found out that draw objects are not included in Latex. The message &amp;quot;Warning: Draw object ignored&amp;quot; appears instead. Is there a way to include them?===&lt;br /&gt;
&lt;br /&gt;
If you have inserted drawing objects directly, they will be ignored.&lt;br /&gt;
One solution is to insert an object instead: Insert - object - OLE object - OpenOffice Drawing.&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\usepackage{natbib}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\makeatletter&lt;br /&gt;
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%{-3.25ex\@plus -1ex \@minus -.2ex}%{1.5ex \@plus .2ex}%{\normalfont\normalsize\bfseries}}&lt;br /&gt;
\makeatother&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help Writer2Latex to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OpenOffice).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with Writer2Latex like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OpenOffice:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OpenOffice or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Ias it possible to hack latex code directly in OpenOffice? How to use bibtex with Writer2Latex?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OpenOffice such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OpenOffice, and then configure Writer2Latex to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OpenOffice add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OpenOffice to represent a reference&lt;br /&gt;
Then instruct Writer2Latex to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct Writer2Latex to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OpenOffice&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OpenOffice always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OpenOffice and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OpenOffice and adapt the tables to the new margins&lt;br /&gt;
* let Writer2Latex convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let Writer2Latex produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell Writer2Latex or OpenOffice to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with Writer2Latex). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. Writer2Latex currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). Writer2Latex will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. How to render charts properly?===&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s right - in fact the whole diagram is exported as a bitmap.&lt;br /&gt;
I should really export it as pdf, but this is not yet implemented. Here&amp;#039;s a workaround for this problem:&lt;br /&gt;
&lt;br /&gt;
You can create a pdf version as follows:&lt;br /&gt;
&lt;br /&gt;
1. Change the backend option to dvips&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and then export your document. This will generate an eps-file with your diagram.&lt;br /&gt;
&lt;br /&gt;
2. Convert this file to pdf using ghostscript/ghostview&lt;br /&gt;
&lt;br /&gt;
3. Change the backend top pdftex again&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and make sure also to include this option:&lt;br /&gt;
&amp;lt;option name=&amp;quot;remove_graphics_extension&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next time you export your document again, Writer2Latex will generate a png-file with your diagram.&lt;br /&gt;
Delete the png file before running the document through LaTeX: PdfTeX will then find the pdf version of the image and include it.&lt;br /&gt;
&lt;br /&gt;
This is not very elegant - of course I will implement automatic conversion of vector images to pdf later. This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43025</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43025"/>
		<updated>2007-08-19T18:14:33Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Most answers reference to the Writer2Latex configuration file.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to number the reference chapters with letters instead of numbers?===&lt;br /&gt;
Insert the following code into the Writer2Latex configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\bibsection{\section{\refname}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to define the title of the reference chapter to anything instead &amp;quot;References&amp;quot; when using bibtex?===&lt;br /&gt;
&lt;br /&gt;
Define in the configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\refname{Bibliography}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===What does the option &amp;quot;htbp&amp;quot; mean?===&lt;br /&gt;
&lt;br /&gt;
They are different placement options:&lt;br /&gt;
&lt;br /&gt;
h means &amp;quot;put the float here, if there is enough room left on the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
t means &amp;quot;put the float on top of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
b mean &amp;quot;put the float at the bottom of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
p means &amp;quot;create a special page containing only floats&amp;quot;&lt;br /&gt;
&lt;br /&gt;
the possiblities are tried in the order they are given until a suitable one is found.&lt;br /&gt;
&lt;br /&gt;
===pdftex is not able to process my file without errors anymore: &amp;quot;LaTeX Error: Too many unprocessed floats.&amp;quot; What to do?===&lt;br /&gt;
&lt;br /&gt;
This is a well known problem with LaTeX when there is a huge amount of floats.&lt;br /&gt;
&lt;br /&gt;
You can give LaTeX some more placement options using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;float_options&amp;quot; value=&amp;quot;htbp&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it&amp;#039;s probably a better idea not to float the tables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;float_tables&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps a few experiments will show what you prefer.&lt;br /&gt;
&lt;br /&gt;
===I found out that draw objects are not included in Latex. The message &amp;quot;Warning: Draw object ignored&amp;quot; appears instead. Is there a way to include them?===&lt;br /&gt;
&lt;br /&gt;
If you have inserted drawing objects directly, they will be ignored.&lt;br /&gt;
One solution is to insert an object instead: Insert - object - OLE object - OpenOffice Drawing.&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\usepackage{natbib}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\makeatletter&lt;br /&gt;
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%{-3.25ex\@plus -1ex \@minus -.2ex}%{1.5ex \@plus .2ex}%{\normalfont\normalsize\bfseries}}&lt;br /&gt;
\makeatother&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help Writer2Latex to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OpenOffice).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with Writer2Latex like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OpenOffice:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OpenOffice or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Ias it possible to hack latex code directly in OpenOffice? How to use bibtex with Writer2Latex?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OpenOffice such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OpenOffice, and then configure Writer2Latex to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OpenOffice add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OpenOffice to represent a reference&lt;br /&gt;
Then instruct Writer2Latex to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct Writer2Latex to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OpenOffice&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OpenOffice always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OpenOffice and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OpenOffice and adapt the tables to the new margins&lt;br /&gt;
* let Writer2Latex convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let Writer2Latex produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell Writer2Latex or OpenOffice to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with Writer2Latex). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. Writer2Latex currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). Writer2Latex will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. How to render charts properly?===&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s right - in fact the whole diagram is exported as a bitmap.&lt;br /&gt;
I should really export it as pdf, but this is not yet implemented. Here&amp;#039;s a workaround for this problem:&lt;br /&gt;
&lt;br /&gt;
You can create a pdf version as follows:&lt;br /&gt;
&lt;br /&gt;
1. Change the backend option to dvips&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and then export your document. This will generate an eps-file with your diagram.&lt;br /&gt;
&lt;br /&gt;
2. Convert this file to pdf using ghostscript/ghostview&lt;br /&gt;
&lt;br /&gt;
3. Change the backend top pdftex again&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and make sure also to include this option:&lt;br /&gt;
&amp;lt;option name=&amp;quot;remove_graphics_extension&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next time you export your document again, Writer2Latex will generate a png-file with your diagram.&lt;br /&gt;
Delete the png file before running the document through LaTeX: PdfTeX will then find the pdf version of the image and include it.&lt;br /&gt;
&lt;br /&gt;
This is not very elegant - of course I will implement automatic conversion of vector images to pdf later. This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43024</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43024"/>
		<updated>2007-08-19T18:11:52Z</updated>

		<summary type="html">&lt;p&gt;Jans: /* Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to number the reference chapters with letters instead of numbers?===&lt;br /&gt;
Insert the following code into the w2l configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\bibsection{\section{\refname}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to define the title of the reference chapter to anything instead &amp;quot;References&amp;quot; when using bibtex?===&lt;br /&gt;
&lt;br /&gt;
Define in the configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\refname{Bibliography}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===What does the option &amp;quot;htbp&amp;quot; mean?===&lt;br /&gt;
&lt;br /&gt;
They are different placement options:&lt;br /&gt;
&lt;br /&gt;
h means &amp;quot;put the float here, if there is enough room left on the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
t means &amp;quot;put the float on top of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
b mean &amp;quot;put the float at the bottom of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
p means &amp;quot;create a special page containing only floats&amp;quot;&lt;br /&gt;
&lt;br /&gt;
the possiblities are tried in the order they are given until a suitable one is found.&lt;br /&gt;
&lt;br /&gt;
===pdftex is not able to process my file without errors anymore: &amp;quot;LaTeX Error: Too many unprocessed floats.&amp;quot; What to do?===&lt;br /&gt;
&lt;br /&gt;
This is a well known problem with LaTeX when there is a huge amount of floats.&lt;br /&gt;
&lt;br /&gt;
You can give LaTeX some more placement options using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;float_options&amp;quot; value=&amp;quot;htbp&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it&amp;#039;s probably a better idea not to float the tables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;float_tables&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps a few experiments will show what you prefer.&lt;br /&gt;
&lt;br /&gt;
===I found out that draw objects are not included in Latex. The message &amp;quot;Warning: Draw object ignored&amp;quot; appears instead. Is there a way to include them?===&lt;br /&gt;
&lt;br /&gt;
If you have inserted drawing objects directly, they will be ignored.&lt;br /&gt;
One solution is to insert an object instead: Insert - object - OLE object - OOo Drawing.&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\usepackage{natbib}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\makeatletter&lt;br /&gt;
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%{-3.25ex\@plus -1ex \@minus -.2ex}%{1.5ex \@plus .2ex}%{\normalfont\normalsize\bfseries}}&lt;br /&gt;
\makeatother&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help w2l to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OOo).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with w2l like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OOo:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OOo or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Ias it possible to hack latex code directly in OOo? How to use bibtex with w2l?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OOo such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OOo, and then configure w2l to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OOo add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OOo to represent a reference&lt;br /&gt;
Then instruct w2l to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct w2l to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OOo&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OOo always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OOo and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OOo and adapt the tables to the new margins&lt;br /&gt;
* let w2l convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let w2l produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell w2l or OOo to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. How to render charts properly?===&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s right - in fact the whole diagram is exported as a bitmap.&lt;br /&gt;
I should really export it as pdf, but this is not yet implemented. Here&amp;#039;s a workaround for this problem:&lt;br /&gt;
&lt;br /&gt;
You can create a pdf version as follows:&lt;br /&gt;
&lt;br /&gt;
1. Change the backend option to dvips&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and then export your document. This will generate an eps-file with your diagram.&lt;br /&gt;
&lt;br /&gt;
2. Convert this file to pdf using ghostscript/ghostview&lt;br /&gt;
&lt;br /&gt;
3. Change the backend top pdftex again&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and make sure also to include this option:&lt;br /&gt;
&amp;lt;option name=&amp;quot;remove_graphics_extension&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next time you export your document again, w2l will generate a png-file with your diagram.&lt;br /&gt;
Delete the png file before running the document through LaTeX: PdfTeX will then find the pdf version of the image and include it.&lt;br /&gt;
&lt;br /&gt;
This is not very elegant - of course I will implement automatic conversion of vector images to pdf later. This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43023</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43023"/>
		<updated>2007-08-19T18:08:15Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to number the reference chapters with letters instead of numbers?===&lt;br /&gt;
Insert the following code into the w2l configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\bibsection{\section{\refname}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to define the title of the reference chapter to anything instead &amp;quot;References&amp;quot; when using bibtex?===&lt;br /&gt;
&lt;br /&gt;
Define in the configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\refname{Bibliography}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===What does the option &amp;quot;htbp&amp;quot; mean?===&lt;br /&gt;
&lt;br /&gt;
They are different placement options:&lt;br /&gt;
&lt;br /&gt;
h means &amp;quot;put the float here, if there is enough room left on the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
t means &amp;quot;put the float on top of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
b mean &amp;quot;put the float at the bottom of the page&amp;quot;&lt;br /&gt;
&lt;br /&gt;
p means &amp;quot;create a special page containing only floats&amp;quot;&lt;br /&gt;
&lt;br /&gt;
the possiblities are tried in the order they are given until a suitable one is found.&lt;br /&gt;
&lt;br /&gt;
===pdftex is not able to process my file without errors anymore: &amp;quot;LaTeX Error: Too many unprocessed floats.&amp;quot; What to do?===&lt;br /&gt;
&lt;br /&gt;
This is a well known problem with LaTeX when there is a huge amount of floats.&lt;br /&gt;
&lt;br /&gt;
You can give LaTeX some more placement options using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;float_options&amp;quot; value=&amp;quot;htbp&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it&amp;#039;s probably a better idea not to float the tables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;float_tables&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps a few experiments will show what you prefer.&lt;br /&gt;
&lt;br /&gt;
===I found out that draw objects are not included in Latex. The message &amp;quot;Warning: Draw object ignored&amp;quot; appears instead. Is there a way to include them?===&lt;br /&gt;
&lt;br /&gt;
If you have inserted drawing objects directly, they will be ignored.&lt;br /&gt;
One solution is to insert an object instead: Insert - object - OLE object - OOo Drawing.&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\usepackage{natbib}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\makeatletter&lt;br /&gt;
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%{-3.25ex\@plus -1ex \@minus -.2ex}%{1.5ex \@plus .2ex}%{\normalfont\normalsize\bfseries}}&lt;br /&gt;
\makeatother&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help w2l to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OOo).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with w2l like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OOo:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OOo or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Ias it possible to hack latex code directly in OOo? How to use bibtex with w2l?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OOo such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OOo, and then configure w2l to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OOo add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OOo to represent a reference&lt;br /&gt;
Then instruct w2l to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct w2l to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OOo&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OOo always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too&lt;br /&gt;
width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OOo and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OOo and adapt the tables to the new margins&lt;br /&gt;
* let w2l convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let w2l produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell w2l or OOo to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. How to render charts properly?===&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s right - in fact the whole diagram is exported as a bitmap.&lt;br /&gt;
I should really export it as pdf, but this is not yet implemented. Here&amp;#039;s a workaround for this problem:&lt;br /&gt;
&lt;br /&gt;
You can create a pdf version as follows:&lt;br /&gt;
&lt;br /&gt;
1. Change the backend option to dvips&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and then export your document. This will generate an eps-file with your diagram.&lt;br /&gt;
&lt;br /&gt;
2. Convert this file to pdf using ghostscript/ghostview&lt;br /&gt;
&lt;br /&gt;
3. Change the backend top pdftex again&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and make sure also to include this option:&lt;br /&gt;
&amp;lt;option name=&amp;quot;remove_graphics_extension&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next time you export your document again, w2l will generate a png-file with your diagram.&lt;br /&gt;
Delete the png file before running the document through LaTeX: PdfTeX will then find the pdf version of the image and include it.&lt;br /&gt;
&lt;br /&gt;
This is not very elegant - of course I will implement automatic conversion of vector images to pdf later. This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43020</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43020"/>
		<updated>2007-08-19T11:10:51Z</updated>

		<summary type="html">&lt;p&gt;Jans: /* Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. What to do? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\usepackage{natbib}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\makeatletter&lt;br /&gt;
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%{-3.25ex\@plus -1ex \@minus -.2ex}%{1.5ex \@plus .2ex}%{\normalfont\normalsize\bfseries}}&lt;br /&gt;
\makeatother&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help w2l to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OOo).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with w2l like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OOo:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OOo or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Ias it possible to hack latex code directly in OOo? How to use bibtex with w2l?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OOo such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OOo, and then configure w2l to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OOo add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OOo to represent a reference&lt;br /&gt;
Then instruct w2l to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct w2l to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OOo&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OOo always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too&lt;br /&gt;
width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OOo and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OOo and adapt the tables to the new margins&lt;br /&gt;
* let w2l convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let w2l produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell w2l or OOo to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. How to render charts properly?===&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s right - in fact the whole diagram is exported as a bitmap.&lt;br /&gt;
I should really export it as pdf, but this is not yet implemented. Here&amp;#039;s a workaround for this problem:&lt;br /&gt;
&lt;br /&gt;
You can create a pdf version as follows:&lt;br /&gt;
&lt;br /&gt;
1. Change the backend option to dvips&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and then export your document. This will generate an eps-file with your diagram.&lt;br /&gt;
&lt;br /&gt;
2. Convert this file to pdf using ghostscript/ghostview&lt;br /&gt;
&lt;br /&gt;
3. Change the backend top pdftex again&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;dvips&amp;quot; /&amp;gt;&lt;br /&gt;
and make sure also to include this option:&lt;br /&gt;
&amp;lt;option name=&amp;quot;remove_graphics_extension&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next time you export your document again, w2l will generate a png-file with your diagram.&lt;br /&gt;
Delete the png file before running the document through LaTeX: PdfTeX will then find the pdf version of the image and include it.&lt;br /&gt;
&lt;br /&gt;
This is not very elegant - of course I will implement automatic conversion of vector images to pdf later. This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43019</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43019"/>
		<updated>2007-08-19T10:13:50Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\usepackage{natbib}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\makeatletter&lt;br /&gt;
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%{-3.25ex\@plus -1ex \@minus -.2ex}%{1.5ex \@plus .2ex}%{\normalfont\normalsize\bfseries}}&lt;br /&gt;
\makeatother&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help w2l to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OOo).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with w2l like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OOo:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OOo or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Ias it possible to hack latex code directly in OOo? How to use bibtex with w2l?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OOo such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OOo, and then configure w2l to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OOo add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OOo to represent a reference&lt;br /&gt;
Then instruct w2l to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct w2l to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OOo&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OOo always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too&lt;br /&gt;
width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OOo and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OOo and adapt the tables to the new margins&lt;br /&gt;
* let w2l convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let w2l produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell w2l or OOo to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. What to do?===&lt;br /&gt;
This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43018</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43018"/>
		<updated>2007-08-19T09:47:04Z</updated>

		<summary type="html">&lt;p&gt;Jans: /* Charts inserted as OLE objects are still rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. What to do? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\usepackage{natbib}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\makeatletter&lt;br /&gt;
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%&lt;br /&gt;
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%&lt;br /&gt;
                                     {1.5ex \@plus .2ex}%&lt;br /&gt;
                                     {\normalfont\normalsize\bfseries}}&lt;br /&gt;
\makeatother&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help w2l to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OOo).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with w2l like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OOo:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OOo or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Ias it possible to hack latex code directly in OOo? How to use bibtex with w2l?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OOo such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OOo, and then configure w2l to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OOo add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OOo to represent a reference&lt;br /&gt;
Then instruct w2l to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct w2l to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OOo&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OOo always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too&lt;br /&gt;
width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OOo and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OOo and adapt the tables to the new margins&lt;br /&gt;
* let w2l convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let w2l produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell w2l or OOo to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. What to do?===&lt;br /&gt;
This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43017</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43017"/>
		<updated>2007-08-19T09:44:15Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Which bibtex style exist?===&lt;br /&gt;
There&amp;#039;s a long list on&lt;br /&gt;
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html&lt;br /&gt;
&lt;br /&gt;
===How to use bibtex with references of the type (Cp. XYZ)?===&lt;br /&gt;
&lt;br /&gt;
Load the package natbib by adding a line to the custom-preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\usepackage{natbib}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then change the string replace for [[ to:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;[[&amp;quot; latex-code=&amp;quot;\cite[Cp.][]{&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should generate the references you want.&lt;br /&gt;
&lt;br /&gt;
===How to prevent that URLs are displayed in blue and references in green?===&lt;br /&gt;
&lt;br /&gt;
You can change this line in the LaTeX code&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
&lt;br /&gt;
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}&lt;br /&gt;
&lt;br /&gt;
or any other color you prefer (eg. black if you don&amp;#039;t want to color citations).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to change heading of level 4 to look like a &amp;quot;real&amp;quot; heading?===&lt;br /&gt;
&lt;br /&gt;
For example, add this to the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\makeatletter&lt;br /&gt;
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%&lt;br /&gt;
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%&lt;br /&gt;
                                     {1.5ex \@plus .2ex}%&lt;br /&gt;
                                     {\normalfont\normalsize\bfseries}}&lt;br /&gt;
\makeatother&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formatting of a the \paragraph will be the same as for \subsubsection (level 3), except that it&amp;#039;s without numbering.&lt;br /&gt;
&lt;br /&gt;
===List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a list of tables in your document, you will have to help w2l to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OOo).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===How to implement marginal notes with w2l like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OOo:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OOo or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Ias it possible to hack latex code directly in OOo? How to use bibtex with w2l?===&lt;br /&gt;
&lt;br /&gt;
My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OOo such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OOo, and then configure w2l to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OOo add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OOo to represent a reference&lt;br /&gt;
Then instruct w2l to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
If your title is formatted with a paragraph style, you can instruct w2l to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OOo&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OOo always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===How to change the width of table borders?===&lt;br /&gt;
You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===My tables width is too large so that pdflatex displays me several errors that some tables are too&lt;br /&gt;
width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
If they are too wide, it&amp;#039;s probably because you use different margins in OOo and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OOo and adapt the tables to the new margins&lt;br /&gt;
* let w2l convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let w2l produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Is there a way to tell w2l or OOo to turn tables by 90° if required?===&lt;br /&gt;
No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
===How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===How to left justify all captions?===&lt;br /&gt;
You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Charts inserted as OLE objects are still rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. What to do?===&lt;br /&gt;
This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43016</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=43016"/>
		<updated>2007-08-19T08:53:49Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Q: List of tables or list of figures does not work. What to do?===&lt;br /&gt;
&lt;br /&gt;
A: If you don&amp;#039;t have a list of tables in your document, you will have to help w2l to identify the captions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;table_sequence_name&amp;quot; value=&amp;quot;Table&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the value should be the name of the sequence name in OOo).&lt;br /&gt;
&lt;br /&gt;
Likewise you shoud add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;figures_sequence_name&amp;quot; value=&amp;quot;Illustration&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have image captions.&lt;br /&gt;
&lt;br /&gt;
===Q: My resulting document has wrong counting of page numbers. What to do?===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a simple LaTeX problem; you should always run your document throug TeX twice.&lt;br /&gt;
&lt;br /&gt;
===Q: How to implement marginal notes with w2l like the \marginpar{...} in LaTeX?===&lt;br /&gt;
&lt;br /&gt;
A: These can be created quite easily with Writer2LaTeX.&lt;br /&gt;
&lt;br /&gt;
Again you can either use styles or text content:&lt;br /&gt;
&lt;br /&gt;
With styles: Create a paragraph style called eg. marginpar and add&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;marginpar&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\marginpar{&amp;quot; after=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With text: Add a string-replacement to your configuration, eg.&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;/margin/&amp;quot; latex-code=&amp;quot;\marginpar{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-prelace input=&amp;quot;//&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
or something similar&lt;br /&gt;
Then you will write bla bla /margin/This goes to the margin// bla bla...&lt;br /&gt;
&lt;br /&gt;
Another alternative is to use notes/annotations in OOo:&lt;br /&gt;
&amp;lt;option name=&amp;quot;notes&amp;quot; value=&amp;quot;marginpar&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all cases you must ensure that there is sufficient room in the margin; by changing the margin in OOo or in the converted LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Q: Is it possible to hack latex code directly in OOo? How to use bibtex with w2l?===&lt;br /&gt;
&lt;br /&gt;
A: My plan is to keep my bibliographic data in a separate bibtex file and&lt;br /&gt;
use it when creating the PDF from TEX file. Therefore I would like to hack latex&lt;br /&gt;
code directly in OOo such like &amp;quot;\nocite{xyz}&amp;quot; or &amp;quot;\\nocite{xyz}&amp;quot; to&lt;br /&gt;
distinct it from regular text.&lt;br /&gt;
&lt;br /&gt;
There are several ways to achieve this:&lt;br /&gt;
&lt;br /&gt;
* you can create a special character style in OOo, and then configure w2l to treat this as verbatim LaTeX code&lt;br /&gt;
This character style could for example format the text in boldface, red, to make it easy to see.&lt;br /&gt;
So to insert a reference, you would write \cite{xyz} and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;&amp;quot; after=&amp;quot;&amp;quot; verbatim=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can have OOo add the LaTeX code, so you only have to write the key&lt;br /&gt;
So to insert a reference, you would write xyz and then apply your character style to this.&lt;br /&gt;
The configuration should contain&lt;br /&gt;
&amp;lt;style-map name=&amp;quot;the style name&amp;quot; class=&amp;quot;text&amp;quot; before=&amp;quot;\cite{&amp;quot; after=&amp;quot;}&amp;quot;  /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or you can use some special text markup, for example you could write &amp;lt;&amp;lt;&amp;lt;xyz&amp;gt;&amp;gt;&amp;gt; in OOo to represent a reference&lt;br /&gt;
Then instruct w2l to convert this to a reference:&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;lt;&amp;lt;&amp;lt;&amp;quot; latex-code=&amp;quot;\cite{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* or a variant: Write you citation as \\cite{{xyz}} and use&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;\\&amp;quot; latex-code=&amp;quot;\&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;{{&amp;quot; latex-code=&amp;quot;{&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;string-replace input=&amp;quot;}}&amp;quot; latex-code=&amp;quot;}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can insert citations in the text like this, as we previously discussed&lt;br /&gt;
&lt;br /&gt;
Bla bla bla ses the reference \\cite{{key}}, bla bla bla.&lt;br /&gt;
&lt;br /&gt;
At the point, where you want the bibliography to appear, you add additional LaTeX code:&lt;br /&gt;
&lt;br /&gt;
\\nocite{{key1,key2}}&lt;br /&gt;
\\bibliographystyle{{plain}}&lt;br /&gt;
\\bibliography{{bibtexfile}}&lt;br /&gt;
&lt;br /&gt;
Of course plain should be replaced with the BibTeX style you want to use, and bibtexfile with the name of your file.&lt;br /&gt;
&lt;br /&gt;
That should be all. As you probably know, you will have to process the file several times, like this:&lt;br /&gt;
&lt;br /&gt;
pdflatex document&lt;br /&gt;
bibtex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
pdflatex document&lt;br /&gt;
&lt;br /&gt;
Then all your references should be resolved and inserted.&lt;br /&gt;
&lt;br /&gt;
===Q: How to format the title in the default LaTeX style instead of having the title in a small non-serif font?===&lt;br /&gt;
&lt;br /&gt;
A:  If your title is formatted with a paragraph style, you can instruct w2l to generate specific code for this, eg.&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;the style name in OOo&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot; after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to use the english name of the text style:&lt;br /&gt;
&amp;lt;style-mape name=&amp;quot;Title&amp;quot; class=&amp;quot;paragraph&amp;quot; before=&amp;quot;\title{&amp;quot;&lt;br /&gt;
after=&amp;quot;}\maketitle&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use the built in styles, OOo always saves the english style names (to allow better exchange of documents).&lt;br /&gt;
&lt;br /&gt;
Alternatively&lt;br /&gt;
&amp;lt;option name=&amp;quot;formatting&amp;quot; value=&amp;quot;convert_most&amp;quot; /&amp;gt;&lt;br /&gt;
which will try to convert more formatting - but this requires a very well structured document.&lt;br /&gt;
&lt;br /&gt;
===Q: How to change the width of table borders?===&lt;br /&gt;
A: You can change the width by adding e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\setlength\arrayrulewidth{0.8pt}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the configuration. The standard width is 0.4pt, so this will double the width.&lt;br /&gt;
&lt;br /&gt;
===Q: how could I define 1.5 line spacing instead of the default one?===&lt;br /&gt;
&lt;br /&gt;
A: Please try this in the configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\renewcommand\baselinestretch{1.25}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Q: Why are images not embedded but &amp;quot;Warning: Image ignored&amp;quot; displayed instead?===&lt;br /&gt;
&lt;br /&gt;
A: Please try&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;pdftex&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;option name=&amp;quot;backend&amp;quot; value=&amp;quot;unspecified&amp;quot; /&amp;gt;&lt;br /&gt;
This will include your images.&lt;br /&gt;
&lt;br /&gt;
===Q: My tables width is too large so that pdflatex displays me several errors that some tables are too&lt;br /&gt;
width to fit  on the page. What to do?===&lt;br /&gt;
&lt;br /&gt;
A: If they are too wide, it&amp;#039;s probably because you use different margins in OOo and LaTeX.&lt;br /&gt;
You can choose to&lt;br /&gt;
* change the margins in OOo and adapt the tables to the new margins&lt;br /&gt;
* let w2l convert the page layout (&amp;lt;option name=&amp;quot;page_formatting&amp;quot; value=&amp;quot;convert_all&amp;quot; /&amp;gt;)&lt;br /&gt;
* let w2l produce tables with l, r and c columns rather than p-columns (&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;20&amp;quot; /&amp;gt;, or some other number which means that all tables in which no cell contains more that 20 characters will be exported with c, r and l-columns.)&lt;br /&gt;
&lt;br /&gt;
===Q: Is there a way to tell w2l or OOo to turn tables by 90° if required?===&lt;br /&gt;
A: No, you will have to manually add sidewaystable to the LaTeX file.&lt;br /&gt;
&lt;br /&gt;
===Q: how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
A: It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
=== Q: How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
A: Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===Q: How to left justify all captions?===&lt;br /&gt;
A: You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===Q: A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
A: You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===Q: The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
A: Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===Q: When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
A: This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Q: Charts inserted as OLE objects are still rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. What to do?===&lt;br /&gt;
A: This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=42688</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=42688"/>
		<updated>2007-08-16T22:18:27Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Q: how to change the terminology &amp;quot;figure&amp;quot; used in image caption to something else, e.g. &amp;quot;illustration&amp;quot;?===&lt;br /&gt;
A: It should work to add some extra code to your preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\AtBeginDocument{\renewcommand\figurename{Illustration}}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For version 0.6 I will add the possibility to set this automatically.&lt;br /&gt;
&lt;br /&gt;
=== Q: How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
A: Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===Q: How to left justify all captions?===&lt;br /&gt;
A: You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===Q: A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
A: You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===Q: The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
A: Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===Q: When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
A: This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Q: Charts inserted as OLE objects are still rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. What to do?===&lt;br /&gt;
A: This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=42621</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=42621"/>
		<updated>2007-08-16T16:06:11Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Q: How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
A: Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===Q: How to left justify all captions?===&lt;br /&gt;
A: You can center the tables as well in your document or:&lt;br /&gt;
&lt;br /&gt;
You can left justify all captions. W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;br /&gt;
&lt;br /&gt;
===Q: A table could easily break particular cells in two or more lines but exceeds the page width instead. How to fix it?===&lt;br /&gt;
A: You should lower the value of the option simple_table_limit, for example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;simple_table_limit&amp;quot; value=&amp;quot;25&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all cells in a table contains at most this number of characters, they will be exported as simple tables with one line per cell.&lt;br /&gt;
This creates slightly better results for these tables, but if the value is too large you will get the results, you see in your example.&lt;br /&gt;
&lt;br /&gt;
===Q: The background of embedded images with a transparent background is rendered colourful. How to fix it?===&lt;br /&gt;
A: Yes, unfortunately pdfTeX does not support transparent backgrounds, so you have to edit it with some external image tool to replace the transparent color with white.&lt;br /&gt;
&lt;br /&gt;
===Q: When processing pdflatex it warns me &amp;quot;No author given&amp;quot;. What to do?===&lt;br /&gt;
A: This is harmless; it&amp;#039;s a warning that there is not given an author name to add below the title.&lt;br /&gt;
&lt;br /&gt;
===Q: Charts inserted as OLE objects are still rendered &amp;quot;ugly&amp;quot;, look like bitmaps and not as vector charts. What to do?===&lt;br /&gt;
A: This will not be fixed in version 0.5, but it&amp;#039;s on my list for version 0.6.&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OOoHelpOutline&amp;diff=42585</id>
		<title>OOoHelpOutline</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OOoHelpOutline&amp;diff=42585"/>
		<updated>2007-08-16T14:17:47Z</updated>

		<summary type="html">&lt;p&gt;Jans: /* Format Conversion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Welcome to the outline of existing OpenOffice.org user resources!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The OOo Help Outline has recently moved to OpenOffice.org&amp;#039;s Wiki to help open its accessibility as much as possible to the OpenOffice.org community, so that all may help to keep it current and reliable.&lt;br /&gt;
&lt;br /&gt;
See also [[Press coverage on OpenOffice.org]] for various articles, reviews and tips related to OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
==Product==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
* [[OOo OnlineHelp]]&lt;br /&gt;
* [http://www.openoffice.org/ OpenOffice.org&amp;#039;s Home Page]&lt;br /&gt;
** [http://www.openoffice.org/product/ OpenOffice.org Product Description]&lt;br /&gt;
** [http://www.openoffice.org/sitemap.html OpenOffice.org&amp;#039;s Site Map]&lt;br /&gt;
** [http://marketing.openoffice.org/2.0/featureguide.html OpenOffice.org 2.0 Office Suite - Guide to New Features]&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/index.html OpenOffice.org User Guide]&lt;br /&gt;
* [http://support.openoffice.org/index.html OpenOffice.org Support Area]&lt;br /&gt;
**List of links to free community support, commercial support and training,&amp;lt;br&amp;gt; OpenOffice.org books, and general community resources.&lt;br /&gt;
&lt;br /&gt;
* [http://openoffice.start4all.com/ openoffice.org.start4all.com]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/OpenOffice.org OpenOffice.org at Wikipedia] ([http://en.wikipedia.org/wiki/Category:OpenOffice.org OpenOffice.org Category])&lt;br /&gt;
* [http://www.oooforum.org/links.phtml OpenOffice.org Links]&lt;br /&gt;
&lt;br /&gt;
Related Products&lt;br /&gt;
* [[StarOffice|StarOffice Office Suite]]&lt;br /&gt;
* [http://portableapps.com/apps/office/suites/portable_openoffice Portable OpenOffice.org]&lt;br /&gt;
&lt;br /&gt;
===FAQs===&lt;br /&gt;
&lt;br /&gt;
* [http://user-faq.openoffice.org/ OpenOffice.org User FAQ Project]&lt;br /&gt;
* [http://documentation.openoffice.org/faqs/index.html OpenOffice.org Documentation Project FAQs]&lt;br /&gt;
* [http://www.openoffice.org/faq.html OpenOffice.org&amp;#039;s General FAQs]&lt;br /&gt;
* [http://www.bytebot.net/openoffice/faq.html The OpenOffice.org UnOfficial FAQs by Colin Charles]&lt;br /&gt;
* [http://oooauthors.org/en/FAQs/ OOoAuthors.org FAQ Compilation]&lt;br /&gt;
* [http://www.openoffice.org/FAQs/fontguide.html Font Troubleshooting Guide]&lt;br /&gt;
&lt;br /&gt;
Also from this Wiki:&lt;br /&gt;
* [[Font-FAQ]] (in progress)&lt;br /&gt;
* [[Bibliographic Hints and Tips]]&lt;br /&gt;
* [[VBA|MS Office VBA Macros]]&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
* [http://download.openoffice.org/#latest OpenOffice.org Download Central]&lt;br /&gt;
* [http://download.openoffice.org/2.0.2/index.html OpenOffice.org 2.0.2]&lt;br /&gt;
* [http://download.openoffice.org/1.1.5/index.html OpenOffice.org 1.1.5]&lt;br /&gt;
* [http://www.openoffice.org/dev_docs/source/1.0.3/index.html OpenOffice.org 1.0.3.1] (use this for Windows 95)&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/setup_guide2/index.html OpenOffice.org&amp;#039;s Setup Guides for 1.x and 2.x]&lt;br /&gt;
** Good stuff: version 2.x of the Setup Guide provides extensive instructions&amp;lt;br&amp;gt;for installation on &amp;#039;&amp;#039;many&amp;#039;&amp;#039; Linux distros and UNIXes (in addition to Windows):&lt;br /&gt;
*** Linux: RPM-based distro, Debian-based distro, Gentoo, Slackware &lt;br /&gt;
*** UNIX: Solaris, FreeBSD, Mac OS X&lt;br /&gt;
** Another install guide for Debian: [http://www.reallylinux.com/docs/oo2install.shtml Installing OpenOffice.org 2.0 for Debian]&lt;br /&gt;
** [http://www.oooforum.org/forum/viewtopic.phtml?t=33125 Adding interface language to existing OpenOffice.org]&lt;br /&gt;
* [http://www.openoffice.org/dev_docs/instructions.html OOo&amp;#039;s Instructions for Installing and Setting Up OpenOffice.org 1.1.x]&lt;br /&gt;
* [http://download.openoffice.org/index.html OpenOffice.org&amp;#039;s Download Central]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.phtml?f=1 OpenOffice.org Forum: Setup and Configuration]&lt;br /&gt;
* [http://www.hypermax.net.au/~settantta/ooo/default.html Alex Fisher&amp;#039;s OpenOffice.org Introduction]&lt;br /&gt;
* [http://www.openoffice.org/FAQs/build_faq.html Build FAQs for OpenOffice.org]&lt;br /&gt;
&lt;br /&gt;
* Dictionaries: Please see [[OOoHelpOutline#Dictionaries|the Dictionaries sub-section]] for further information.&lt;br /&gt;
* Java issues&lt;br /&gt;
** [http://java.com/java/download/index.jsp Java.sun.com] - Download the [[Wikipedia:JRE|Java Runtime]] for use with OpenOffice.org (required by Base and Wizards)&lt;br /&gt;
** See also [[Java and OpenOffice.org]] for more information&lt;br /&gt;
&lt;br /&gt;
* Linux/BSD issues&lt;br /&gt;
** [https://wiki.ubuntu.com/SCIM SCIM IME and OpenOffice.org]: Workaround for the gcc ABI incompatibility issue under Linux/BSD.&lt;br /&gt;
** [http://www.bluethingy.com/linux/rh8menu.html Editing GNOME2 Menus] for Linux/BSD users&lt;br /&gt;
&lt;br /&gt;
* Mac issues: for Mac users, please see &lt;br /&gt;
** [[http://porting.openoffice.org/mac/ Mac OS X Porting project for OpenOffice.org ]] and&lt;br /&gt;
** [[MacOS_X|OpenOffice.org for Mac OS X Development pages]]&lt;br /&gt;
&lt;br /&gt;
===OpenOffice.org Applications===&lt;br /&gt;
&lt;br /&gt;
====Calc====&lt;br /&gt;
&lt;br /&gt;
* [http://sc.openoffice.org/ OpenOffice.org&amp;#039;s Spreadsheet Project]&lt;br /&gt;
* [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Graphics Applications – Charts]&lt;br /&gt;
* [http://documentation.openoffice.org/HOW_TO/index.html OpenOffice.org&amp;#039;s How-To Documents]&lt;br /&gt;
* [http://documentation.openoffice.org/faqs/spreadsheet/index.html Spreadsheet FAQ Index Page]&lt;br /&gt;
* [http://sc.openoffice.org/addin_howto.html How to add-in in OpenOffice.org Calc]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.php?f=3 OpenOffice.org Forum]&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/oooauthors2/0107GS-GettingStartedWithCalc.pdf Getting Started with Calc]&lt;br /&gt;
* [http://www.richhillsoftware.com/ OpenOffice Calc Tips]&lt;br /&gt;
* [http://www.nostabo.net/openoffice.php OpenOffice.org Calc Tutorials and Resources]&lt;br /&gt;
* [http://spreadsheets.about.com/od/openofficecalc/ OpenOffice Calc Tutorials and Tips]&lt;br /&gt;
* [http://www.erack.de/bookmarks/D.html#SpreadSheet Links: Develop (targets SpreadSheet section)]&lt;br /&gt;
* [http://www.phptr.com/articles/article.asp?p=430837 Make Calc Spreadsheets Dance for You in OpenOffice.org]&lt;br /&gt;
&lt;br /&gt;
====Writer====&lt;br /&gt;
&lt;br /&gt;
* [http://sw.openoffice.org/ OpenOffice.org&amp;#039;s Word Processing Project]&lt;br /&gt;
* [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Graphics applications – Charts]&lt;br /&gt;
* [http://documentation.openoffice.org/HOW_TO/index.html OpenOffice.org&amp;#039;s How-To Documents]&lt;br /&gt;
* [http://documentation.openoffice.org/faqs/word_processing/index.html Word Processor FAQ Index Page]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.php?f=2 OpenOffice.org Forum]&lt;br /&gt;
* [http://prdownloads.sourceforge.net/ooodocs/writer_guide_en_1.0.1.zip?download OpenOffice.org Writer Guide] - for OOo 1.0.1&lt;br /&gt;
* [http://www.taming-openoffice-org.com/writer/index.htm Taming OpenOffice.org on Writer]&lt;br /&gt;
* [http://www.onlineconnections.com.au/public/openoffice/brochureprinting.html Producing a Brochure or Booklet by Kelvin]&lt;br /&gt;
* [http://lingucomponent.openoffice.org/download_dictionary.html Spelling, Hyphenation, and Thesaurus Dictionaries: Download / Installation]&lt;br /&gt;
* [http://ooovidtutors.sf.net/ Ooovidtutors - OpenOffice.org video tutorials by mimooh]&lt;br /&gt;
* [http://www.8daysaweek.co.uk/forums/viewtopic.php?t=34 Page Numbering in OpenOffice.org (a tutorial)]&lt;br /&gt;
* &amp;#039;&amp;#039;OOoAuthors:&amp;#039;&amp;#039;&lt;br /&gt;
** [http://documentation.openoffice.org/manuals/oooauthors2/0106GS-GettingStartedWithWriter.pdf Getting Started with Writer] (free PDF)&lt;br /&gt;
** [http://documentation.openoffice.org/manuals/index.html OpenOffice.org 2.0 Writer Guide] (free PDF)&lt;br /&gt;
** [http://www.lulu.com/content/180466 Buy a printed copy of the Writer Guide]&lt;br /&gt;
&lt;br /&gt;
====Draw====&lt;br /&gt;
&lt;br /&gt;
* [http://graphics.openoffice.org/ OpenOffice.org Graphics Applications Project]&lt;br /&gt;
* [http://documentation.openoffice.org/HOW_TO/index.html OpenOffice.org&amp;#039;s How-To Documents]&lt;br /&gt;
* [http://documentation.openoffice.org/faqs/drawing_graphics/index.html Drawing FAQ Index Page]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.php?f=5 OpenOffice.org Forum]&lt;br /&gt;
* &amp;#039;&amp;#039;OOoAuthors:&amp;#039;&amp;#039; &lt;br /&gt;
** [http://documentation.openoffice.org/manuals/oooauthors2/0108GS-GettingStartedWithDraw.pdf Getting Started with Draw] (free PDF)&lt;br /&gt;
** [http://documentation.openoffice.org/manuals/oooauthors2/index.html OpenOffice.org 2.0 Draw Guide] (free PDF)&lt;br /&gt;
** [http://www.lulu.com/content/285709 Buy a printed copy of the Draw Guide]&lt;br /&gt;
* Two-page PDF sample reference card for&lt;br /&gt;
** [http://www.cluesheets.com/SO8DrawCS.pdf StarOffice Draw 8.0]&lt;br /&gt;
** [http://www.cuesheets.com/OO2DrawCS.pdf OpenOffice.org Draw 2.0]&lt;br /&gt;
&lt;br /&gt;
====Impress====&lt;br /&gt;
&lt;br /&gt;
* [http://graphics.openoffice.org/ OpenOffice.org Graphics Applications Project]&lt;br /&gt;
* [http://documentation.openoffice.org/faqs/presentation/index.html Presentation FAQ Index Page]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.phtml?f=4 OpenOffice.org Forum]&lt;br /&gt;
* TUX Magazine: [http://www.tuxmagazine.com/node/1000179 Creating a Slide Show from OOo&amp;#039;s Built-in Templates]&lt;br /&gt;
* James Abela ELT [http://www.jamesabela.co.uk/bus/Impress.html Impress Training]&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;OOoAuthors:&amp;#039;&amp;#039; &lt;br /&gt;
** [http://documentation.openoffice.org/manuals/oooauthors2/0109GS-GettingStartedWithImpress.pdf Getting Started with Impress] (free PDF)&lt;br /&gt;
** [http://documentation.openoffice.org/manuals/oooauthors2/index.html OpenOffice.org 2.x Impress Guide] (free PDF)&lt;br /&gt;
** [http://www.lulu.com/content/881167 Buy a printed copy of the Impress Guide]&lt;br /&gt;
&lt;br /&gt;
====Math / Formula Editor====&lt;br /&gt;
&lt;br /&gt;
* [http://sw.openoffice.org/ OpenOffice.org&amp;#039;s Word Processing Project]&lt;br /&gt;
* [http://documentation.openoffice.org/HOW_TO/index.html Formula Command Reference and How-to]&lt;br /&gt;
* [http://documentation.openoffice.org/faqs/formula/index.html Math FAQ Index Page]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.phtml?f=6 OpenOffice.org Forum Math discussion]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;OOoAuthors&amp;#039;&amp;#039;&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/oooauthors2/0111GS-GettingStartedWithMath.pdf Getting Started with Math] (free PDF)&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/oooauthors2/0216WG-MathObjects.pdf Math Objects: The Equation Editor] (free PDF)&lt;br /&gt;
*: same as &amp;quot;Getting Started with Math&amp;quot; but also includes reference tables.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Third-party add-ons for OpenOffice.org Math&amp;#039;&amp;#039;&lt;br /&gt;
*[http://www.dmaths.org/modules.php?name=Content&amp;amp;pa=showpage&amp;amp;pid=9 Dmaths] (with [http://www.dmaths.com/dmaths/userguide/user_guide_en.html user guide]) - a Math enhancement package for OpenOffice.org licensed under GPL&lt;br /&gt;
*[http://ooolatex.sourceforge.net/ OOoLateX] - a set of OpenOffice.org macros designed to integrate LaTeX equations&lt;br /&gt;
** Check out the [http://www.oooforum.org/forum/viewtopic.phtml?t=36 LaTeX or OpenOffice.org Math] discussion at OOoForum for more detail.&lt;br /&gt;
&lt;br /&gt;
====HTML====&lt;br /&gt;
&lt;br /&gt;
* [http://sw.openoffice.org/ OpenOffice.org&amp;#039;s Word Processing Project]&lt;br /&gt;
&lt;br /&gt;
====Base and Database ====&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/OpenOffice.org_Base OpenOffice.org Base information and links at Wikipedia]&lt;br /&gt;
* [http://dba.openoffice.org/ OpenOffice.org&amp;#039;s Database Access Project]&lt;br /&gt;
** [http://dba.openoffice.org/howto/index.html OpenOffice.org Database How-Tos]&lt;br /&gt;
** [http://dba.openoffice.org/FAQ/index.html OpenOffice.org Database Tips &amp;#039;n&amp;#039; Tricks]&lt;br /&gt;
** [http://documentation.openoffice.org/HOW_TO/index.html Other OpenOffice.org&amp;#039;s How-To Documents]&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/oooauthors2/0110GS-GettingStartedWithBase.pdf Getting Started with Base]&lt;br /&gt;
* [http://sheepdogguides.com/fdb/fdb1main.htm Tutorials on using ooBase] from Sheepdog Guides &amp;#039;&amp;#039;(updated)&amp;#039;&amp;#039;&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.phtml?f=10 OpenOffice.org Forum - Base]&lt;br /&gt;
&lt;br /&gt;
* Macro and Base: [http://www.pitonyak.org/database/ Andrew Pitonyak&amp;#039;s OOo Base macro document]&lt;br /&gt;
* ODBC and MySQL: [http://www.unixodbc.org/doc/OOoMySQL.pdf OpenOffice.org 1.0, ODBC, and MySQL &amp;#039;How-tos&amp;#039; by John McCreesh]&lt;br /&gt;
&lt;br /&gt;
* [http://homepage.ntlworld.com/garryknight/linux/oodbase.html Creating Flatfile Databases with OOo and SO 6 by Garry Knight]&lt;br /&gt;
* [http://ericzander.com/Publications/OO_MySQL_Tutorial/index.htm OO_MySQL_Tutorial by Eric Zander] (OOo 1.x)&lt;br /&gt;
* [http://kienlein.com/pages/oo.html EDV - Systeme Kienlein]&lt;br /&gt;
* [http://openoffice.homelinux.org/index.php?module=pagemaster&amp;amp;PAGE_user_op=view_page&amp;amp;PAGE_id=4&amp;amp;MMN_position=5:3 Documenation for Database and JRE]&lt;br /&gt;
&lt;br /&gt;
===Advanced Features and Topics===&lt;br /&gt;
&lt;br /&gt;
====Macros====&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/HOW_TO/index.html OpenOffice.org&amp;#039;s How-To Documents]&lt;br /&gt;
* [http://scripting.openoffice.org/ OpenOffice.org&amp;#039;s Scripting Home Page]&lt;br /&gt;
* [http://www.ooomacros.org/ OOoMacros]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.phtml?f=9 Macro and API OpenOffice.org Forum]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewforum.phtml?f=11 OpenOffice.org Code Snippets Forum]&lt;br /&gt;
* [http://www.pitonyak.org/oo.php Andrew Pitonyak&amp;#039;s Macro Information]&lt;br /&gt;
* [http://www.darwinwars.com/lunatic/bugs/oo_macros.html Andrew Brown&amp;#039;s OpenOffice.org Macro Page]&lt;br /&gt;
* [http://homepages.paradise.net.nz/hillview/OOo/ Iannz OpenOffice.org Page]&lt;br /&gt;
* [http://www.oooforum.org/forum/viewtopic.phtml?t=4818 How to use OOo with Python on Windows]&lt;br /&gt;
* [http://ooodocs.sourceforge.net/modules.php%3fop=modload&amp;amp;amp;name=Downloads&amp;amp;amp;d_op=viewdownload&amp;amp;amp;cid=23 Templates and Macros from OOoDocs.org]&lt;br /&gt;
* [http://www.linuxjournal.com/article/7802 OOo Off the Wall: Macros and Add-ons]&lt;br /&gt;
* [http://disemia.com/software/openoffice/ dis-Emi-A Software: OpenOffice]&lt;br /&gt;
* [http://home.nikocity.de/sysentw/FAQ/SO-FAQ_English_Version/so-faq_english_version.html SO-FAQ]&lt;br /&gt;
* [http://perso.wanadoo.fr/moutou/index.html#OOoDoclink UNO/C++ programming (SXW and HTML formats)]&lt;br /&gt;
&lt;br /&gt;
====Styles====&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/oooauthors2/0206WG-IntroductionToStyles.pdf Introduction to Styles] (chapter in &amp;#039;&amp;#039;Writer Guide&amp;#039;&amp;#039;)&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/oooauthors2/0207WG-WorkingWithStyles.pdf Working with Styles] (chapter in &amp;#039;&amp;#039;Writer Guide&amp;#039;&amp;#039;)&lt;br /&gt;
* [http://www.openoffice.org/servlets/ReadMsg?msgId=685429&amp;amp;amp;listName=users Setting Up to Write Text Vertically]&lt;br /&gt;
&lt;br /&gt;
====Templates====&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/oooauthors2/0112GS-WorkingWithTemplates.pdf Working with Templates] (chapter in &amp;#039;&amp;#039;Getting Started with OOo&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/Samples_Templates/User/template/index.html User/Templates]&lt;br /&gt;
* [http://ooextras.sourceforge.net/ OOExtras]&lt;br /&gt;
* [http://ooodocs.sourceforge.net/modules.php%3fop=modload&amp;amp;amp;name=Downloads&amp;amp;amp;d_op=viewdownload&amp;amp;amp;cid=23 Templates and Macros from OOoDocs.org]&lt;br /&gt;
&lt;br /&gt;
====XML====&lt;br /&gt;
&lt;br /&gt;
* [http://xml.openoffice.org/ OpenOffice.org XML File Format]&lt;br /&gt;
* [http://www.w3.org/XML/ Extensible Markup Language (XML)]&lt;br /&gt;
* [http://blogs.sun.com/roller/page/shudson310 Scotty&amp;#039;s Engineering Log]&lt;br /&gt;
* [http://www.oasis-open.org/committees/office/press.php OASIS Open Office XML Format TC]&lt;br /&gt;
* [http://books.evc-cit.info/ OpenOffice.org XML Essentials]&lt;br /&gt;
* [http://www.zvon.org/ ZVON.org - The Guide to the XML Galaxy]&lt;br /&gt;
* [http://www.logilab.org/projects/xmldiff/ Logilab.org - XmlDiff]&lt;br /&gt;
&lt;br /&gt;
==== Format Conversion ====&lt;br /&gt;
&lt;br /&gt;
* For [[Wikipedia:OpenDocument|OpenDocument]] converters, please see the [[Wikipedia:List_of_applications_supporting_OpenDocument#Programmatic_support.2C_filters.2C_converters|List of applications supporting OpenDocument]] at Wikipedia.&lt;br /&gt;
* [[Firefox ODFReader extension]], still under heavy development&lt;br /&gt;
* [http://xml.openoffice.org/filters.html File Format Filters and Transformation]&lt;br /&gt;
* [http://andreas.web-graphics.com/quickguide-sxw-xhtml/ Converting OpenOffice.org documents to XHTML strict with Writer2LaTeX, by Andreas Bovens]&lt;br /&gt;
* [http://www.indesko.com/en/downloads/ooo2dbk ooo2dbk]: Generating DocBook XML from OpenOffice.org 1.x documents&lt;br /&gt;
** [http://www.tldp.org/LDP/LDP-Author-Guide/html/oo2docbook.html OOo to DocBook guide] from LDP&lt;br /&gt;
* [http://nothickmanuals.info/doku.php?id=ooodokuwiki Publishing with OOo Writer and DokuWiki]&lt;br /&gt;
* [[Writer2Latex]] for advanced users&lt;br /&gt;
&lt;br /&gt;
====Dictionaries====&lt;br /&gt;
&lt;br /&gt;
* [[Dictionaries]] Spelling, Hyphenation, and Thesaurus Dictionaries: Download / Installation&lt;br /&gt;
* [http://oooconv.free.fr/wikipedia/wikipedia_en.html OOoWikipedia]: Connect OpenOffice.org to Wikipedia for dictionary and information lookup&lt;br /&gt;
* [http://ooodocs.sourceforge.net/dictinstall/index.html OpenOffice.org Dictionary Installer] (older tool for older versions of OOo)&lt;br /&gt;
* [http://ooodi.sourceforge.net/ OOodi - OpenOffice.org Dictionary Installer for Unix]&lt;br /&gt;
* [http://lingucomponent.openoffice.org The lingucomponent project]&lt;br /&gt;
&lt;br /&gt;
====Clip Art====&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/Samples_Templates/User/gallery/index.html Gallery]&lt;br /&gt;
* [http://ooextras.sourceforge.net/ OOExtras]&lt;br /&gt;
* [http://www.openclipart.org/ Open Clip Art Library]&lt;br /&gt;
* [http://srufaculty.sru.edu/david.dailey/public/public_domain.htm Images in the Public Domain]&lt;br /&gt;
* [http://earth.prohosting.com/anvils/aboutMe/intro.html OOo Xfig Clipart and Network Icons for OOoDraw by Edward Chan]&lt;br /&gt;
* [http://marketing.openoffice.org/art/ OpenOffice.org Art Project]&lt;br /&gt;
* [http://www.kfacts.com/oooart/ OOoArt]&lt;br /&gt;
* [http://ooo.nicubunu.ro/ Nicu&amp;#039;s OpenOffice.org pages]&lt;br /&gt;
* [http://hooboo.free.fr/index.php La Mouette et OpenOffice.org]&lt;br /&gt;
* [http://ooodocs.sourceforge.net/graphics/ OpenOffice.org Marketing Materials]&lt;br /&gt;
&lt;br /&gt;
===Other Resources and Support Materials===&lt;br /&gt;
&lt;br /&gt;
====General====&lt;br /&gt;
&lt;br /&gt;
* [http://documentation.openoffice.org/ OpenOffice.org&amp;#039;s Documentation Project]&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/index.html OpenOffice.org User Guide]&lt;br /&gt;
* [http://ooodocs.sourceforge.net/ OOoDocs]&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=43716 SourceForge.net: Project: OOoDocs: File List]&lt;br /&gt;
* [http://documentation.openoffice.org/thirdparty.html OpenOffice.org&amp;#039;s Page of Third Party Documentation]&lt;br /&gt;
* [http://ooonewsletter.blogspot.com/ The OpenOffice.org Newsletter]&lt;br /&gt;
* [http://www.oooforum.org/ OpenOffice.org Forum]&lt;br /&gt;
* [http://www.kaaredyret.dk/openoffice.html OpenOffice.org Links by Kaaredyret.dk]&lt;br /&gt;
* [http://www.kargs.net/openoffice.html OpenOffice.org Resource Page by Steve Karg]&lt;br /&gt;
* [http://www.tutorialsforopenoffice.org/ Tutorials for OpenOffice]&lt;br /&gt;
* [http://www.edafe.org/openoffice/index.html edafe.org: openoffice.org (esp. pointed toward win users)]&lt;br /&gt;
* [http://www.erack.de/bookmarks/O.html Links: OpenSource - OpenOffice.org]&lt;br /&gt;
* [http://www.openoffice-support.net/ Tutorials, Manuals, HowTo&amp;#039;s and more] - OOo 1.x&lt;br /&gt;
* [http://ooo.chbs.dk/links/ OpenOffice.org Links]&lt;br /&gt;
* [http://www.ooo-portal.de/ Das deutsche OpenOffice.org Portal]&lt;br /&gt;
* [http://ooo.ximian.com/hackers-guide.html Unofficial OpenOffice Hacker&amp;#039;s Guide]&lt;br /&gt;
* [http://ooolib.sourceforge.net/ OpenOffice.org Utility Library]&lt;br /&gt;
* [http://ooqstart.sourceforge.net/ Open Office QuickStarter applet]&lt;br /&gt;
* [http://del.icio.us/tag/openoffice del.icio.us/tag/openoffice]&lt;br /&gt;
* [http://why.openoffice.org/ Why OpenOffice.org]&lt;br /&gt;
* [http://documentation.openoffice.org/manuals/index.html Getting Started with OpenOffice.org 2.0]&lt;br /&gt;
&lt;br /&gt;
====Books====&lt;br /&gt;
&lt;br /&gt;
* OpenOffice.org 2.x books&lt;br /&gt;
** [http://www.amazon.com/OpenOffice-org-2-Guidebook-Solveig-Haugland/dp/0974312029 OpenOffice.org 2 Guidebook]&lt;br /&gt;
** [http://www.amazon.com/exec/obidos/ASIN/0672328089 Sams Teach Yourself OpenOffice.org 2, Firefox and Thunderbird for Windows All in One]&lt;br /&gt;
** [http://www.lulu.com/content/177729 Getting Started with OpenOffice.org 2.0]&lt;br /&gt;
** [http://www.lulu.com/content/690763 OpenOffice.org 2.x Writer Guide]&lt;br /&gt;
** [http://www.lulu.com/content/881167 OpenOffice.org 2.x Impress Guide]&lt;br /&gt;
** [http://www.lulu.com/content/285709 OpenOffice.org 2.0 Draw Guide]&lt;br /&gt;
** [http://www.lulu.com/content/301623 OpenOffice.org 2.0 Migration Guide]&lt;br /&gt;
** [http://www.amazon.com/exec/obidos/ASIN/1593270720 Hacking Openoffice.org: Tips, Tricks, and Untold Secrets]&lt;br /&gt;
** [http://www.amazon.com/exec/obidos/ASIN/0131879928 Point &amp;amp; Click OpenOffice.org]&lt;br /&gt;
** [http://visibooks.com/writer2.html Visibooks Guide to Writer 2.0]&lt;br /&gt;
** [http://visibooks.com/calc2.html Visibooks Guide Calc 2.0]&lt;br /&gt;
** [http://visibooks.com/impress2.html Visibooks Guide Impress 2.0]&lt;br /&gt;
** [http://visibooks.com/base2.html Visibooks Guide Base 2.0]&lt;br /&gt;
** [http://www.conciseconceptsinc.com/ A Conceptual Guide to OpenOffice.org 2.0]&lt;br /&gt;
** [http://www.cafepress.com/getopenoffice OpenOffice.org and StarOffice Workbooks]&lt;br /&gt;
** [http://www.cluesheets.com/ ClueSheets] - Quick Reference Cards for [[StarOffice]] and OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
* OpenOffice.org 1.x books&lt;br /&gt;
** [http://www.amazon.com/exec/obidos/ASIN/0131407457 OpenOffice.org 1.0 Resource Kit]&lt;br /&gt;
*** [http://www.informit.com/content/downloads/OpenOfficeUpdate.pdf Special Supplement to Changes in OpenOffice.org 1.1] (free PDF download)&lt;br /&gt;
** [http://www.amazon.com/exec/obidos/ASIN/0764542222 OpenOffice.org For Dummies]&lt;br /&gt;
** [http://www.oreilly.com/catalog/openoffice/ OpenOffice.org Writer: The Free Alternative to Microsoft Word]&lt;br /&gt;
** [http://www.hentzenwerke.com/catalog/ooo501.htm OOoSwitch: 501 Things You Wanted to Know About Switching to OpenOffice.org]&lt;br /&gt;
** [http://www.samspublishing.com/title/0672326183 Sams Teach Yourself OpenOffice.org All in One]&lt;br /&gt;
** [http://www.hentzenwerke.com/catalog/tinyooo.htm The Tiny Guide to OpenOffice.org]&lt;br /&gt;
** [http://www.hod-ami.co.il/product.asp?catalog%5Fname=hodami&amp;amp;category%5Fname=Home+and+Office&amp;amp;product%5Fid=59407 עיבוד תמלילים עם OpenOffice 1.x] ([http://www.hod-ami.co.il/images/bookdemo/59407.pdf Sample Chapter])&lt;br /&gt;
&lt;br /&gt;
* [[StarOffice]] books, mostly suitable to OpenOffice.org users&lt;br /&gt;
** [http://www.amazon.com/exec/obidos/tg/detail/-/0789728338/ref=pd_sim_books_5/104-9698914-9518356%3fv=glance&amp;amp;amp;s=books Special Edition Using StarOffice 6.0]&lt;br /&gt;
** [http://www.amazon.com/exec/obidos/tg/detail/-/0130384739/qid=1038357106/sr=8-4/ref=sr_8_4/103-6157785-3887854%3fv=glance&amp;amp;amp;s=books&amp;amp;amp;n=507846 StarOffice 6.0 Office Suite Companion]&lt;br /&gt;
&lt;br /&gt;
* Linux and OpenOffice.org related books&lt;br /&gt;
** [http://www.amazon.com/exec/obidos/ASIN/1886411867 Linux in the Workplace]&lt;br /&gt;
** [http://www.amazon.com/gp/product/0131488724 Point &amp;amp; Click Linux]&lt;br /&gt;
&lt;br /&gt;
* XML, OpenOffice.org Macros and Programming&lt;br /&gt;
** [http://www.hentzenwerke.com/catalog/oome.htm OpenOffice.org Macros Explained]&lt;br /&gt;
** [http://books.evc-cit.info/ OASIS OpenDocument Essentials]&lt;br /&gt;
&lt;br /&gt;
====E Learning====&lt;br /&gt;
&lt;br /&gt;
* [http://training.bytebot.net/ ByteBot.net Training Materials]&lt;br /&gt;
* [http://www.desktoplinux.com/news/NS2978835938.html Free online OpenOffice.org support program]&lt;br /&gt;
* [http://www.itrainonline.org/itrainonline/mmtk/opensource.shtml ItrainOnline: Resources for Trainers: MMTK: Open Source Software]&lt;br /&gt;
&lt;br /&gt;
====Compatible Applications====&lt;br /&gt;
&lt;br /&gt;
* [http://www.zope.org/Products/CMF/ Content Management Framework (CMF)]&lt;br /&gt;
* [http://peccatte.karefil.com/software/Catalogue/CatalogueENG.htm Files Metadata Miner Software]&lt;br /&gt;
* [http://gramps.sourceforge.net/ Gramps]&lt;br /&gt;
* [http://www.icoya.com/ icoya]&lt;br /&gt;
* [http://www.mozilla.org/ Mozilla]&lt;br /&gt;
* [http://www.planamesa.com/neojava/en/index.php NeoOffice/J]&lt;br /&gt;
* [http://www.opengroupware.org/ OpenGroupware.org]&lt;br /&gt;
* [http://plone.org/ Plone]&lt;br /&gt;
* [http://www.bezirksreiter.de/PyOpenOffice.htm PyOpenOffice]&lt;br /&gt;
* [http://www.scholarsaid.com/ Scholar&amp;#039;s Aid]&lt;br /&gt;
* [http://www.hj-gym.dk/~hj/writer2latex/ Writer2LaTeX]&lt;br /&gt;
* [http://www.logilab.org/projects/xmldiff/ XmlDiff]&lt;br /&gt;
* [http://zope.org/ Zope]&lt;br /&gt;
&lt;br /&gt;
==Web Site==&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
* [http://www.openoffice.org/ Search Bar in Upper Right Corner]&lt;br /&gt;
* [http://support.openoffice.org/search.html OOo Site Search using Google]&lt;br /&gt;
* [http://www.openoffice.org/project/www/issues/query.cgi Issue Tracker Query Page]&lt;br /&gt;
* [http://darwinwars.com/lunatic/bugs/quickbugs.html Simplified Bug Finder by Andrew Brown]&lt;br /&gt;
* [http://www.openoffice.org/mail_list.html Mail List Archives]&lt;br /&gt;
* [http://www.openoffice.org/servlets/SearchList?listName=users Search the Users List Archive]&lt;br /&gt;
* [http://search.gmane.org/ Gmane Newsgroup Search Page]&lt;br /&gt;
&lt;br /&gt;
===Documentation===&lt;br /&gt;
&lt;br /&gt;
* [http://www.openoffice.org/nonav/servlets/HelpTOC OpenOffice.org&amp;#039;s Web Site Help TOC]&lt;br /&gt;
* [http://documentation.openoffice.org/ OpenOffice.org&amp;#039;s Documentation Project]&lt;br /&gt;
* [http://lingucomponent.openoffice.org/download_dictionary.html Spelling, Hyphenation, and Thesaurus Dictionaries: Download / Installation]&lt;br /&gt;
* [http://www.openoffice.org/mail_list.html OpenOffice.org&amp;#039;s Mail Lists]&lt;br /&gt;
* [http://www.openoffice.org/servlets/SummarizeList?listName=users Browse the Users List]&lt;br /&gt;
* [http://www.openoffice.org/servlets/SearchList?listName=users Search the Users List Archives]&lt;br /&gt;
* [http://development.openoffice.org/index.html OpenOffice.org for Developers]&lt;br /&gt;
* [http://api.openoffice.org/docs/DevelopersGuide/DevelopersGuide.htm Developer&amp;#039;s Guide]&lt;br /&gt;
* [http://udk.openoffice.org/python/python-bridge.html Python-UNO bridge]&lt;br /&gt;
&lt;br /&gt;
===Issue Tracker===&lt;br /&gt;
&lt;br /&gt;
* [http://qa.openoffice.org/issue_handling/project_issues.html OpenOffice.org&amp;#039;s Bugs and Issues Info]&lt;br /&gt;
* [http://qa.openoffice.org/index.html OpenOffice.org&amp;#039;s QA Project]&lt;br /&gt;
* [http://www.kegel.com/openoffice/triage.html OpenOffice.org Issues by Dan Kegel]&lt;br /&gt;
* [http://www.openoffice.org/project/www/issues/query.cgi Query Page for Existing Issue Reports]&lt;br /&gt;
* [http://darwinwars.com/lunatic/bugs/quickbugs.html Simplified Bug Finder by Andrew Brown]&lt;br /&gt;
* [http://www.openoffice.org/servlets/SearchList?listName=users Search the Users List Archives]&lt;br /&gt;
&lt;br /&gt;
===Community===&lt;br /&gt;
&lt;br /&gt;
* [http://www.openoffice.org/ OpenOffice.org&amp;#039;s Home Page]&lt;br /&gt;
* [http://marketing.openoffice.org/index.html OpenOffice.org Marketing Project]&lt;br /&gt;
* [http://www.openoffice.org/copyright/copyrightapproved.html A list of folks who have filed OOo copyright assignments]&lt;br /&gt;
* [http://www.openoffice.org/welcome/credits.html A list fo folks who have contributed to OOo]&lt;br /&gt;
* [http://www.openoffice.org/mail_list.html OpenOffice.org&amp;#039;s Mail Lists: Browse, Search or Subscribe]&lt;br /&gt;
* [http://www.openoffice.org/project/www/issues/query.cgi Issue Tracker Query Page]&lt;br /&gt;
* IRC chat channel at irc.freenode.net#openoffice.org&lt;br /&gt;
&lt;br /&gt;
===Projects===&lt;br /&gt;
&lt;br /&gt;
* [http://projects.openoffice.org/index.html Project Descriptions, Leaders, and Links to Project Pages]&lt;br /&gt;
&lt;br /&gt;
===Native Languages===&lt;br /&gt;
&lt;br /&gt;
* [http://lingucomponent.openoffice.org/download_dictionary.html Spelling, Hyphenation, and Thesaurus Dictionaries: Download / Installation]&lt;br /&gt;
* [http://ooodocs.sourceforge.net/dictinstall/index.html OpenOffice.org Dictionary Installer] (older tool for older versions of OOo)&lt;br /&gt;
* [http://l10n.openoffice.org/all_supported_languages.html l10n - All Supported Languages]&lt;br /&gt;
* [http://l10n.openoffice.org/languages.html Localization Contact Table]&lt;br /&gt;
* [http://native-lang.openoffice.org/ Native Language Confederation]&lt;br /&gt;
&lt;br /&gt;
=== Third Party Sites ===&lt;br /&gt;
&lt;br /&gt;
* [http://oooauthors.org/ OOoAuthors] for community contributions&amp;lt;br&amp;gt; &amp;amp;nbsp; on [http://oooauthors.org/en/authors/userguide2/ User Guide] and [http://oooauthors.org/en/FAQs/faqfolder_view FAQ] authoring&lt;br /&gt;
* [http://www.digitaldistribution.com/about/lessons/ OpenOffice.org 2.0 lessons in Flash format]&lt;br /&gt;
* [http://business.newsforge.com/article.pl?sid=05/11/09/2044220 OpenOffice.org training videos in Flash]&lt;br /&gt;
* [http://plan-b-for-openoffice.org Plan-B for OpenOffice.org - Support for non technical users]&lt;br /&gt;
* [http://inpics.net/ In Pictures: Online computer tutorials based on pictures]&lt;br /&gt;
** [http://inpics.net/writer2.html Writer 2.0 In Pictures]&lt;br /&gt;
** [http://inpics.net/calc2.html Calc 2.0 In Pictures]&lt;br /&gt;
** [http://inpics.net/impress2.html Impress 2.0 In Pictures]&lt;br /&gt;
** [http://inpics.net/base2.html Base 2.0 In Pictures]&lt;br /&gt;
* [http://www.oooforum.org/ OpenOffice.org Forum]&lt;br /&gt;
* [http://ooonewsletter.blogspot.com/ OpenOffice.org Newsletter]&lt;br /&gt;
* [http://ooextras.sourceforge.net/ OOExtras: Extras for OpenOffice.org]&lt;br /&gt;
* [http://www.taming-openoffice-org.com/ Taming OpenOffice.org]&lt;br /&gt;
* [http://openoffice.blogs.com/ OpenOffice.org Tips, Tricks and Ideas]&lt;br /&gt;
* [http://mindmeld.cybersite.com.au/ OpenOffice.org Knowledgebase]&lt;br /&gt;
* [http://www.whatisopenoffice.org/ What is OpenOffice.org?]&lt;br /&gt;
* [http://oooconv.free.fr/wikipedia/wikipedia_en.html OOoWikipedia-Plugin]&lt;br /&gt;
* [http://www.gnome.org/projects/ooo/ GNOME/OpenOffice.org]&lt;br /&gt;
* [http://kde.openoffice.org/ KDE Integration Project]&lt;br /&gt;
* [http://www.opencards.info OpenCards] - A free flashcard learning extension for OpenOffice Impress&lt;br /&gt;
&lt;br /&gt;
===Developer support===&lt;br /&gt;
&lt;br /&gt;
* [http://development.openoffice.org/ OpenOffice.org for Developers]&lt;br /&gt;
* [http://planet.go-oo.org/ Planet OpenOffice.org - Developer News]&lt;br /&gt;
* [http://ext.openoffice.org.nz/doku.php OpenOffice.org Extensions Wiki]&lt;br /&gt;
* [http://perso.wanadoo.fr/moutou/index.html#OOoDoclink UNO automation (in C++)]&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=42582</id>
		<title>Writer2Latex</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer2Latex&amp;diff=42582"/>
		<updated>2007-08-16T14:17:00Z</updated>

		<summary type="html">&lt;p&gt;Jans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== This page contains several QA regarding [http://www.hj-gym.dk/~hj/writer2latex/ writer2latex] for advanced users. Work is in progress...====&lt;br /&gt;
&lt;br /&gt;
=== Q: How to let text flow around (small) images? ===&lt;br /&gt;
&lt;br /&gt;
A: Text flow around a figure is problematic in LaTeX (that&amp;#039;s why I don&amp;#039;t try to export this with w2l). I would recommended the pacakge floatflt.sty for this.&lt;br /&gt;
&lt;br /&gt;
This requires some manual editing of the LaTeX file:&lt;br /&gt;
&lt;br /&gt;
Add the package to the preamble:&lt;br /&gt;
\usepackage{floatflt}&lt;br /&gt;
&lt;br /&gt;
Replace the relevant&lt;br /&gt;
\begin{figure}&lt;br /&gt;
....&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\begin{floatingfigure}{5cm}&lt;br /&gt;
....&lt;br /&gt;
\end{floatingfigure}&lt;br /&gt;
&lt;br /&gt;
(replacing 5cm with the actual width of the figure)&lt;br /&gt;
&lt;br /&gt;
However: For this to work well there has to be a certain amount of text around the figure, and there must be no lists or headings immediately after the figure. Thus there&amp;#039;s a chance that 12 small images and not a lot of text will give you trouble.&lt;br /&gt;
&lt;br /&gt;
===Q: How to left justify all captions?===&lt;br /&gt;
A: W2l currently use a version called caption2, which is obsolete and replaced with a version called caption (this is actually version3). w2l will be fixed to use the never version of caption.sty soon.&lt;br /&gt;
&lt;br /&gt;
Configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;option name=&amp;quot;use_caption2&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should add to your custom preamble:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;custom-preamble&amp;gt;&lt;br /&gt;
\captionsetup[table]{justification=raggedright,singlelinecheck=false}&lt;br /&gt;
&amp;lt;/custom-preamble&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But you also need to edit the LaTeX file and replace&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption2}&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
\usepackage{caption}&lt;/div&gt;</summary>
		<author><name>Jans</name></author>
	</entry>
</feed>