Discussion:
[LyX/master] Adapt output to the on-screen representation.
Enrico Forestieri
2014-05-17 17:27:31 UTC
Permalink
commit 936773c4f71a795179ea63f2d5b6f521ef9d97f8
Date: Fri May 16 15:39:33 2014 +0200
Adapt output to the on-screen representation.
LyX assumes that a standard paragraph following an aligned one or
a layout with NextNoIndent==false has to be indented on screen.
This means that in the latex output a blank line has to follow.
In this case there should be no problem as regards extra vertical
space and it simpler and more elegant to simply uncheck "Indent
Paragraph" in the Paragraph settings pane rather than changing
the current logic and allowing to insert a parbreak separator.
Richard, the attached stripped down version of this patch is suitable for
the stable branch. It makes the example with a local layout attached to
http://www.mail-archive.com/lyx-***@lists.lyx.org/msg98728.html
working.

I tested it by exporting to latex our manuals with and w/o the patch
and the latex exports turn out to be bit-by-bit identical.
--
Enrico
Richard Heck
2014-05-17 19:06:57 UTC
Permalink
Post by Enrico Forestieri
commit 936773c4f71a795179ea63f2d5b6f521ef9d97f8
Date: Fri May 16 15:39:33 2014 +0200
Adapt output to the on-screen representation.
LyX assumes that a standard paragraph following an aligned one or
a layout with NextNoIndent==false has to be indented on screen.
This means that in the latex output a blank line has to follow.
In this case there should be no problem as regards extra vertical
space and it simpler and more elegant to simply uncheck "Indent
Paragraph" in the Paragraph settings pane rather than changing
the current logic and allowing to insert a parbreak separator.
Richard, the attached stripped down version of this patch is suitable for
the stable branch. It makes the example with a local layout attached to
working.
I tested it by exporting to latex our manuals with and w/o the patch
and the latex exports turn out to be bit-by-bit identical.
OK.

Richard

Loading...