Re: latex - tex2lyx - lyx2lyx - lyx1.3 conversion report

2005-02-18 Thread Georg Baum
Sven Schreiber wrote:

 Here's one, and it's actually worse with the new wiki-version of tex2lyx
 and lyx2lyx than before (Angus' snapshot two weeks ago), because now it
 doesn't compile from lyx (1.3) anymore (gives me 18 errors, two weeks
 ago it just produced overlap of the date and the minipages; compiles
 fine in latex):

You have found a tex2lyx bug that was hidden by a lyx2lyx bug in the former
relase. The last optional argument of your minipage is incorrectly
translated. I'll fix that after the tabular stuff. You can circumvent the
bug by specifying all arguments:

\begin{minipage}[t][1\totalheight]{6cm}
\end{minipage}

 Also, maybe somebody could indicate what exactly the known problems with
 minipages are so that my testing is  more useful, instead of reproducing
 known bugs over and over again.

If you use length variables it may work or may not work. Example:

\begin{minipage}{\mylength}
\end{minipage}

Everything else should work.


Georg



Re: latex -> tex2lyx -> lyx2lyx -> lyx1.3 conversion report

2005-02-18 Thread Georg Baum
Sven Schreiber wrote:

> Here's one, and it's actually worse with the new wiki-version of tex2lyx
> and lyx2lyx than before (Angus' snapshot two weeks ago), because now it
> doesn't compile from lyx (1.3) anymore (gives me 18 errors, two weeks
> ago it just produced overlap of the date and the minipages; compiles
> fine in latex):

You have found a tex2lyx bug that was hidden by a lyx2lyx bug in the former
relase. The last optional argument of your minipage is incorrectly
translated. I'll fix that after the tabular stuff. You can circumvent the
bug by specifying all arguments:

\begin{minipage}[t][1\totalheight]{6cm}
\end{minipage}

> Also, maybe somebody could indicate what exactly the known problems with
> minipages are so that my testing is  more useful, instead of reproducing
> known bugs over and over again.

If you use length variables it may work or may not work. Example:

\begin{minipage}{\mylength}
\end{minipage}

Everything else should work.


Georg



Re: latex - tex2lyx - lyx2lyx - lyx1.3 conversion report

2005-02-17 Thread Georg Baum
Sven Schreiber wrote:

 (please cc me if needed, the users list is enough for me)

I did it this time, but will propably forget that in the future. Consider 
using the news - malilinglist gateway  http://gamne.org if you don't want 
to subscribe. The group name is gmane.editors.lyx.devel.
 
 - imports the \thanks-field inside the \title as ERT (imho should be
 converted to a lyx-footnote which does exactly the right thing for me)

I'll have a look.

 - has problems with my complicated \author-field which causes the
 pdflatex-output to be different from the original before conversion
 (graphics and text overlap; can't blame it too much, this includes
 minipages) -- sorry, don't have time right now for a minimal example
 with the new tex2lyx, but will be happy to do that if needed.

Please provide an example. What shall we do if we don't have one? This is 
probably a known problem with minipages.

 - \vspace{} is sometimes left as ERT and sometimes converted to
 lyx-native space above, should be consistently done

Known problem with lyx2lyx.

 - I used .\ in the latex file after abbreviations (e.g.: e.g.\) to
 tell tex not to insert to much space/stretch after it. In lyx this is
 ERT, although I guess lyx has a native mechanism for that?

I'll have a look.

 - \pagebreak is left as ERT, could be converted I guess

LyX uses \newpage. Does any of the LaTeX gurus know wether we can convert 
\clearpage and \pagebreak safely to \newpage?

 - minipage again: a relatively complicated page with lots of minipages
 is not output properly, some overlap is happening

minipages have known problems.


Georg


Re: latex - tex2lyx - lyx2lyx - lyx1.3 conversion report

2005-02-17 Thread Sven Schreiber
Georg Baum wrote:
(please cc me if needed, the users list is enough for me)
I did it this time, but will propably forget that in the future. Consider 
using the news - malilinglist gateway  http://gamne.org if you don't want 
to subscribe. The group name is gmane.editors.lyx.devel.
Alright, will do that.
Please provide an example. What shall we do if we don't have one? This is 
probably a known problem with minipages.
Here's one, and it's actually worse with the new wiki-version of tex2lyx 
and lyx2lyx than before (Angus' snapshot two weeks ago), because now it 
doesn't compile from lyx (1.3) anymore (gives me 18 errors, two weeks 
ago it just produced overlap of the date and the minipages; compiles 
fine in latex):

\documentclass{article}
\begin{document}
\title{The\thanks{versions}}
\author{
\begin{minipage}[t]{6cm} \centering Schreiber\footnote{Goethe}\\[0.5cm]
\rule[-3cm]{3cm}{3cm}
\end{minipage}\hspace{1cm}
\begin{minipage}[t]{6cm} \centering Wolters\footnote{Freie}\\[0.5cm]
\rule[-3cm]{3cm}{3cm}
\end{minipage}}
\date{2004}
\maketitle
\end{document}
The resulting lyx files are too long to paste here. Maybe the 
intermediate file for lyx-1.4 works with 1.4?

Also, maybe somebody could indicate what exactly the known problems with 
minipages are so that my testing is  more useful, instead of reproducing 
known bugs over and over again.

Good luck debugging,
Sven




Re: latex -> tex2lyx -> lyx2lyx -> lyx1.3 conversion report

2005-02-17 Thread Georg Baum
Sven Schreiber wrote:

> (please cc me if needed, the users list is enough for me)

I did it this time, but will propably forget that in the future. Consider 
using the news <-> malilinglist gateway  http://gamne.org if you don't want 
to subscribe. The group name is gmane.editors.lyx.devel.
 
> - imports the \thanks-field inside the \title as ERT (imho should be
> converted to a lyx-footnote which does exactly the right thing for me)

I'll have a look.

> - has problems with my complicated \author-field which causes the
> pdflatex-output to be different from the original before conversion
> (graphics and text overlap; can't blame it too much, this includes
> minipages) -- sorry, don't have time right now for a minimal example
> with the new tex2lyx, but will be happy to do that if needed.

Please provide an example. What shall we do if we don't have one? This is 
probably a known problem with minipages.

> - \vspace{} is sometimes left as ERT and sometimes converted to
> lyx-native "space above", should be consistently done

Known problem with lyx2lyx.

> - I used ".\" in the latex file after abbreviations (e.g.: "e.g.\") to
> tell tex not to insert to much space/stretch after it. In lyx this is
> ERT, although I guess lyx has a native mechanism for that?

I'll have a look.

> - \pagebreak is left as ERT, could be converted I guess

LyX uses \newpage. Does any of the LaTeX gurus know wether we can convert 
\clearpage and \pagebreak safely to \newpage?

> - minipage again: a relatively complicated page with lots of minipages
> is not output properly, some overlap is happening

minipages have known problems.


Georg


Re: latex -> tex2lyx -> lyx2lyx -> lyx1.3 conversion report

2005-02-17 Thread Sven Schreiber
Georg Baum wrote:
(please cc me if needed, the users list is enough for me)
I did it this time, but will propably forget that in the future. Consider 
using the news <-> malilinglist gateway  http://gamne.org if you don't want 
to subscribe. The group name is gmane.editors.lyx.devel.
Alright, will do that.
Please provide an example. What shall we do if we don't have one? This is 
probably a known problem with minipages.
Here's one, and it's actually worse with the new wiki-version of tex2lyx 
and lyx2lyx than before (Angus' snapshot two weeks ago), because now it 
doesn't compile from lyx (1.3) anymore (gives me 18 errors, two weeks 
ago it just produced overlap of the date and the minipages; compiles 
fine in latex):

\documentclass{article}
\begin{document}
\title{The\thanks{versions}}
\author{
\begin{minipage}[t]{6cm} \centering Schreiber\footnote{Goethe}\\[0.5cm]
\rule[-3cm]{3cm}{3cm}
\end{minipage}\hspace{1cm}
\begin{minipage}[t]{6cm} \centering Wolters\footnote{Freie}\\[0.5cm]
\rule[-3cm]{3cm}{3cm}
\end{minipage}}
\date{2004}
\maketitle
\end{document}
The resulting lyx files are too long to paste here. Maybe the 
intermediate file for lyx-1.4 works with 1.4?

Also, maybe somebody could indicate what exactly the known problems with 
minipages are so that my testing is  more useful, instead of reproducing 
known bugs over and over again.

Good luck debugging,
Sven




latex - tex2lyx - lyx2lyx - lyx1.3 conversion report

2005-02-16 Thread Sven Schreiber
(please cc me if needed, the users list is enough for me)
Angus Leeming wrote:
Can I suggest that you post minimal latex files of any construct that you 
find aren't handled well to the lyx-devel list. 
There weren't that many things left (as opposed to the 
relyx-conversion), and some are known issues according to Georg (Baum). 
The rest were minor issues -- oh, and keep in mind this is with Angus' 
tex2lyx-win-snapshot from 2 weeks ago, and result is the combined 
working of tex2lyx and lyx2lyx to open with lyx 1.3.5:

- imports the \thanks-field inside the \title as ERT (imho should be 
converted to a lyx-footnote which does exactly the right thing for me)

- has problems with my complicated \author-field which causes the 
pdflatex-output to be different from the original before conversion 
(graphics and text overlap; can't blame it too much, this includes 
minipages) -- sorry, don't have time right now for a minimal example 
with the new tex2lyx, but will be happy to do that if needed.

- \vspace{} is sometimes left as ERT and sometimes converted to 
lyx-native space above, should be consistently done

- I used .\ in the latex file after abbreviations (e.g.: e.g.\) to 
tell tex not to insert to much space/stretch after it. In lyx this is 
ERT, although I guess lyx has a native mechanism for that?

- \pagebreak is left as ERT, could be converted I guess
- minipage again: a relatively complicated page with lots of minipages 
is not output properly, some overlap is happening

happy hacking and thanks for your work,
sven



latex -> tex2lyx -> lyx2lyx -> lyx1.3 conversion report

2005-02-16 Thread Sven Schreiber
(please cc me if needed, the users list is enough for me)
Angus Leeming wrote:
Can I suggest that you post minimal latex files of any construct that you 
find aren't handled well to the lyx-devel list. 
There weren't that many things left (as opposed to the 
relyx-conversion), and some are known issues according to Georg (Baum). 
The rest were minor issues -- oh, and keep in mind this is with Angus' 
tex2lyx-win-snapshot from 2 weeks ago, and result is the combined 
working of tex2lyx and lyx2lyx to open with lyx 1.3.5:

- imports the \thanks-field inside the \title as ERT (imho should be 
converted to a lyx-footnote which does exactly the right thing for me)

- has problems with my complicated \author-field which causes the 
pdflatex-output to be different from the original before conversion 
(graphics and text overlap; can't blame it too much, this includes 
minipages) -- sorry, don't have time right now for a minimal example 
with the new tex2lyx, but will be happy to do that if needed.

- \vspace{} is sometimes left as ERT and sometimes converted to 
lyx-native "space above", should be consistently done

- I used ".\" in the latex file after abbreviations (e.g.: "e.g.\") to 
tell tex not to insert to much space/stretch after it. In lyx this is 
ERT, although I guess lyx has a native mechanism for that?

- \pagebreak is left as ERT, could be converted I guess
- minipage again: a relatively complicated page with lots of minipages 
is not output properly, some overlap is happening

happy hacking and thanks for your work,
sven