LF in latex export

2012-10-18 Thread Andreas Paeffgen
On Macos 10.7.4, Lyx 2.0.4 i want to export a Lyx document to normal Latex.

I noticed, that in the exported document, each line has a LineFeed (LF)
even though it is not the end of a paragraph.
If you open the Lyx document in a text editor, each line has a LineFeed
too.

If you export to open document and from there to latex, the document
preserves the LineFeed for the end of a paragraph. Only every paragraph in
LibreOffice and the exported latex file has a LF.

How can i achieve a direct exported latex file from Lyx with a LineFeed
only after each paragraph?

Reason: Latex compiles the exported files fine, but editing in a Latex
Editor like TexMaker gets pretty nasty with a LF for each line and not only
for each paragraph.

Any hints, comments?


Re: LF in latex export

2012-10-18 Thread Jean-Marc Lasgouttes

Le 18/10/2012 11:42, Andreas Paeffgen a écrit :

On Macos 10.7.4, Lyx 2.0.4 i want to export a Lyx document to normal Latex.

I noticed, that in the exported document, each line has a LineFeed (LF)
even though it is not the end of a paragraph.
If you open the Lyx document in a text editor, each line has a LineFeed
too.


Yes, this is a feature. By default it is cut at 65 characters (a bit 
more in reality), but you can change this limit to 1000 in 
PreferencesOutputGeneral.



If you export to open document and from there to latex, the document
preserves the LineFeed for the end of a paragraph. Only every paragraph
in LibreOffice and the exported latex file has a LF.


Yes, Libroffice is not LaTeX.


Reason: Latex compiles the exported files fine, but editing in a Latex
Editor like TexMaker gets pretty nasty with a LF for each line and not
only for each paragraph.


Fancy LaTeX editors like TexMaker or TexShop seem to think that 
unbounded lines are cool, but serious ones (say, emacs) cut lines for 
you. Why?


Assume you have an error at line 1216, and this line has 3000 
characters. Is it easy to find the culprit?


Assume you want to collaborate and use a version control software like 
svn, then any concurrent modification in a paragraph will create 
conflict (same line). With broken paragraphs, the situation is better.


JMarc



Re: LF in latex export

2012-10-18 Thread Andreas Paeffgen

Thanks for all your helpful comments and hints.

I see that such fancy editors like Texmaker / Texshop have some real 
disadvantages in case of debugging / error finding and some slight 
advantages in content visibilty.


I try to live with the LF per line and fidle with the 65 charakters per 
line options.


Andreas




LF in latex export

2012-10-18 Thread Andreas Paeffgen
On Macos 10.7.4, Lyx 2.0.4 i want to export a Lyx document to normal Latex.

I noticed, that in the exported document, each line has a LineFeed (LF)
even though it is not the end of a paragraph.
If you open the Lyx document in a text editor, each line has a LineFeed
too.

If you export to open document and from there to latex, the document
preserves the LineFeed for the end of a paragraph. Only every paragraph in
LibreOffice and the exported latex file has a LF.

How can i achieve a direct exported latex file from Lyx with a LineFeed
only after each paragraph?

Reason: Latex compiles the exported files fine, but editing in a Latex
Editor like TexMaker gets pretty nasty with a LF for each line and not only
for each paragraph.

Any hints, comments?


Re: LF in latex export

2012-10-18 Thread Jean-Marc Lasgouttes

Le 18/10/2012 11:42, Andreas Paeffgen a écrit :

On Macos 10.7.4, Lyx 2.0.4 i want to export a Lyx document to normal Latex.

I noticed, that in the exported document, each line has a LineFeed (LF)
even though it is not the end of a paragraph.
If you open the Lyx document in a text editor, each line has a LineFeed
too.


Yes, this is a feature. By default it is cut at 65 characters (a bit 
more in reality), but you can change this limit to 1000 in 
PreferencesOutputGeneral.



If you export to open document and from there to latex, the document
preserves the LineFeed for the end of a paragraph. Only every paragraph
in LibreOffice and the exported latex file has a LF.


Yes, Libroffice is not LaTeX.


Reason: Latex compiles the exported files fine, but editing in a Latex
Editor like TexMaker gets pretty nasty with a LF for each line and not
only for each paragraph.


Fancy LaTeX editors like TexMaker or TexShop seem to think that 
unbounded lines are cool, but serious ones (say, emacs) cut lines for 
you. Why?


Assume you have an error at line 1216, and this line has 3000 
characters. Is it easy to find the culprit?


Assume you want to collaborate and use a version control software like 
svn, then any concurrent modification in a paragraph will create 
conflict (same line). With broken paragraphs, the situation is better.


JMarc



Re: LF in latex export

2012-10-18 Thread Andreas Paeffgen

Thanks for all your helpful comments and hints.

I see that such fancy editors like Texmaker / Texshop have some real 
disadvantages in case of debugging / error finding and some slight 
advantages in content visibilty.


I try to live with the LF per line and fidle with the 65 charakters per 
line options.


Andreas




LF in latex export

2012-10-18 Thread Andreas Paeffgen
On Macos 10.7.4, Lyx 2.0.4 i want to export a Lyx document to normal Latex.

I noticed, that in the exported document, each line has a LineFeed (LF)
even though it is not the end of a paragraph.
If you open the Lyx document in a text editor, each line has a LineFeed
too.

If you export to open document and from there to latex, the document
preserves the LineFeed for the end of a paragraph. Only every paragraph in
LibreOffice and the exported latex file has a LF.

How can i achieve a direct exported latex file from Lyx with a LineFeed
only after each paragraph?

Reason: Latex compiles the exported files fine, but editing in a Latex
Editor like TexMaker gets pretty nasty with a LF for each line and not only
for each paragraph.

Any hints, comments?


Re: LF in latex export

2012-10-18 Thread Jean-Marc Lasgouttes

Le 18/10/2012 11:42, Andreas Paeffgen a écrit :

On Macos 10.7.4, Lyx 2.0.4 i want to export a Lyx document to normal Latex.

I noticed, that in the exported document, each line has a LineFeed (LF)
even though it is not the end of a paragraph.
If you open the Lyx document in a text editor, each line has a LineFeed
too.


Yes, this is a feature. By default it is cut at 65 characters (a bit 
more in reality), but you can change this limit to 1000 in 
Preferences>Output>General.



If you export to open document and from there to latex, the document
preserves the LineFeed for the end of a paragraph. Only every paragraph
in LibreOffice and the exported latex file has a LF.


Yes, Libroffice is not LaTeX.


Reason: Latex compiles the exported files fine, but editing in a Latex
Editor like TexMaker gets pretty nasty with a LF for each line and not
only for each paragraph.


"Fancy" LaTeX editors like TexMaker or TexShop seem to think that 
unbounded lines are cool, but serious ones (say, emacs) cut lines for 
you. Why?


Assume you have an error at line 1216, and this line has 3000 
characters. Is it easy to find the culprit?


Assume you want to collaborate and use a version control software like 
svn, then any concurrent modification in a paragraph will create 
conflict (same line). With broken paragraphs, the situation is better.


JMarc



Re: LF in latex export

2012-10-18 Thread Andreas Paeffgen

Thanks for all your helpful comments and hints.

I see that such fancy editors like Texmaker / Texshop have some real 
disadvantages in case of debugging / error finding and some slight 
advantages in content visibilty.


I try to live with the LF per line and fidle with the 65 charakters per 
line options.


Andreas