lyx_mirror/lib
Enrico Forestieri c668ebf611 Fix bugs #8546 and #9055, and introduce new separator inset.
The algorithm used for breaking a paragraph in LaTeX export is changed
for avoiding spurious blank lines causing too much vertical space.
This change is tied to the introduction of a new inset (with two
different specializations) helping in either outputing LaTeX paragraph
breaks or separating environments in LyX. Both of the above goals were
previously achieved by the ---Separator--- layout and can now be
accomplished by the new inset in a more natural way. As an example,
after leaving an environment by hitting the Return key for two times,
a third return automatically inserts a parbreak inset, which is
equivalent to the old separator layout, i.e., it also introduces a
blank line in the output. If this blank line is not wanted, the
parbreak separator can be changed to a plain separator by a right
click of the mouse. Of course, an environment can still be separated
by the following one by using the Alt+P+Return shortcut (or the
corresponding menu key), but now the plain separator inset is used
instead of the old separator layout, such that no blank line occurs in
the LaTeX output.

Old documents are converted such that the LaTeX output remains unchanged.
As a result of this conversion, the old separator layout is replaced by
the new parbreak inset, which may also appear in places where the old
algorithm was introducing blank lines while the new one is not.
Note that not all blank lines were actually affecting the LaTeX output,
because a blank line is simply ignored by the TeX engine when it occurs
in the so called "vertical mode" (e.g., after an alignment environment).
The old ---Separator--- layout is now gone and old layout files using it
are also automatically converted.

Round trip conversions between old and new format should leave a document
unchanged. This means that the new behavior about paragraph breaking is
not "carried back" to the old format. Indeed, this would need introducing
special LaTeX commands in ERT that would accumulate in roundtrip
conversions, horribly cluttering the document. So, when converting a
modified document to old formats, the LaTeX output may slightly differ in
vertical spacing if the document is processed by an old version of LyX.
In other words, forward compatibility is guaranteed, but not backwards.
2014-05-10 23:25:11 +02:00
..
bind Update bindfiles to latest fileformat 2014-03-20 22:11:13 +01:00
commands CmdDef: 2007-12-02 22:10:26 +00:00
doc French doc files: backport recent changes 2014-04-28 22:57:53 +02:00
examples Monolingualization 2014-05-08 08:37:12 +02:00
fonts Add support for stmaryrd.sty (bug #8434) 2012-12-15 13:10:31 +01:00
images stdtoolbars.inc: add icons for \xleftarrow.png 2014-02-19 23:42:40 +01:00
kbd Fix #7348. Patch by Liviu. 2011-04-02 11:00:19 +00:00
layouts Capitalize layout tag 2014-04-29 11:16:41 +02:00
lyx2lyx Fix bugs #8546 and #9055, and introduce new separator inset. 2014-05-10 23:25:11 +02:00
scripts Fix bugs #8546 and #9055, and introduce new separator inset. 2014-05-10 23:25:11 +02:00
templates Fix compilation of Springer template 2014-04-21 02:57:45 -04:00
tex Help Joost to fix bug #7317 2011-02-21 19:56:43 +00:00
ui Fix bugs #8546 and #9055, and introduce new separator inset. 2014-05-10 23:25:11 +02:00
.gitignore Add a few more things to ignore, mostly generated files. 2012-03-23 14:09:19 -04:00
appdata.xml Add appdata.xml, provided by Matej Cepl. 2013-12-11 19:51:16 -08:00
autocorrect Remove bogus line from lib/autocorrect. Fixes bug #6261. 2010-12-07 20:10:41 +00:00
build-listerrors
chkconfig.ltx chkconfig.ltx: remove double entry for iftex 2014-03-09 05:36:20 +01:00
configure.py Until there is some more general solution… prepare 2.1 prefs migration manually. 2014-04-29 21:43:41 +02:00
CREDITS CREDITS: add Min Ding and Roy Xia 2014-04-28 22:57:03 +02:00
encodings Use the LyX name of encodings instead of the LaTeX names. 2013-02-18 23:52:42 +01:00
external_templates Re-enable translation of pdfpages help text (works around #9045) 2014-03-27 14:25:30 +01:00
generate_contributions.py CREDITS: add Min Ding and Roy Xia 2014-04-28 22:57:03 +02:00
languages Disable the languages Urdu and Syriac 2014-04-09 18:29:56 +02:00
latexfonts support for the Iwona fonts 2013-03-19 00:57:37 +01:00
layouttranslations * pt.po & layouttranslation from Jose. 2014-04-11 20:20:43 -07:00
layouttranslations.review * layouttranslations.review zh_CN checked. 2014-04-19 10:29:53 -07:00
lyx.desktop.in Improve support for distributing desktop files and icons 2011-12-20 13:11:03 +00:00
Makefile.am lib/Makefile.am: Fix 2014-04-01 21:41:13 +02:00
symbols Add missing symbols and dependencies 2013-01-10 21:22:55 +01:00
syntax.default Fix bug 8396: Wrong import of \xymatrix 2012-10-29 20:42:01 +01:00
unicodesymbols Add two missing unicodesymbols 2014-03-08 10:59:43 +01:00