Re: Paragraph Indent Alignment in .layout file

2009-11-06 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl writes:
 Is the problem on screen only, or for the output.
 

 It is about the screen display.
   

 I don't know whether it's a bug. If you select a left alignment of a
 paragraph in LyX, LyX and LaTeX both don't indent the paragraph and
 thus ParIndent should also be ignored when it is defined in a layout.

This is indeed done on purpose in the LaTeX sources:

\def\raggedright{%
  \let...@centercr\@rightsk...@flushglue \rightsk...@rightskip
  \leftski...@skip
  \parinden...@}

Hint: the last line is the relevant one here.

It is possible to reinstall indentation by setting parindent again after
calling raggedright, something like this (untested) in the preamble
(could be turned into a module, too).

\let\oldrr=\raggedright
\def\raggedright{\let\oldps=\parskip\oldrr\parskip=\oldps}

JMarc


Re: Snow Leopard, Auto-save, Etc: Binary for Testing

2009-11-06 Thread Jean-Marc Lasgouttes
Christian Brodbeck christianmbrodb...@gmail.com writes:

 I've been running it for a few hours and it works fine here, thanks!

 It continually uses a few per mills CPU even when hidden, but not more
 than 1.6.4.1 .

When working on a large file, do you experience some freezing when
autosave is going on?

JMarc


Re: Paragraph Indent Alignment in .layout file

2009-11-06 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl writes:
 Is the problem on screen only, or for the output.
 

 It is about the screen display.
   

 I don't know whether it's a bug. If you select a left alignment of a
 paragraph in LyX, LyX and LaTeX both don't indent the paragraph and
 thus ParIndent should also be ignored when it is defined in a layout.

This is indeed done on purpose in the LaTeX sources:

\def\raggedright{%
  \let...@centercr\@rightsk...@flushglue \rightsk...@rightskip
  \leftski...@skip
  \parinden...@}

Hint: the last line is the relevant one here.

It is possible to reinstall indentation by setting parindent again after
calling raggedright, something like this (untested) in the preamble
(could be turned into a module, too).

\let\oldrr=\raggedright
\def\raggedright{\let\oldps=\parskip\oldrr\parskip=\oldps}

JMarc


Re: Snow Leopard, Auto-save, Etc: Binary for Testing

2009-11-06 Thread Jean-Marc Lasgouttes
Christian Brodbeck christianmbrodb...@gmail.com writes:

 I've been running it for a few hours and it works fine here, thanks!

 It continually uses a few per mills CPU even when hidden, but not more
 than 1.6.4.1 .

When working on a large file, do you experience some freezing when
autosave is going on?

JMarc


Re: Paragraph Indent Alignment in .layout file

2009-11-06 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn  writes:
>>> Is the problem on screen only, or for the output.
>>> 
>>
>> It is about the screen display.
>>   
>
> I don't know whether it's a bug. If you select a left alignment of a
> paragraph in LyX, LyX and LaTeX both don't indent the paragraph and
> thus ParIndent should also be ignored when it is defined in a layout.

This is indeed done on purpose in the LaTeX sources:

\def\raggedright{%
  \let...@centercr\@rightsk...@flushglue \rightsk...@rightskip
  \leftski...@skip
  \parinden...@}

Hint: the last line is the relevant one here.

It is possible to reinstall indentation by setting parindent again after
calling raggedright, something like this (untested) in the preamble
(could be turned into a module, too).

\let\oldrr=\raggedright
\def\raggedright{\let\oldps=\parskip\oldrr\parskip=\oldps}

JMarc


Re: Snow Leopard, Auto-save, Etc: Binary for Testing

2009-11-06 Thread Jean-Marc Lasgouttes
Christian Brodbeck  writes:

> I've been running it for a few hours and it works fine here, thanks!
>
> It continually uses a few per mills CPU even when hidden, but not more
> than 1.6.4.1 .

When working on a large file, do you experience some freezing when
autosave is going on?

JMarc