lyx_mirror/development
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
..
attic Get rid of all traces of libintl. 2013-05-30 22:10:01 +02:00
autotests Cmake tests: Added more regular expressions 2 2014-04-25 13:53:29 +02:00
checkurls Use prototypes in perl scripts 2014-01-24 11:00:07 +01:00
cmake Cmake build: Install lyx*.desktop and lyx*.svg files in appropriate locations for unix 2014-05-09 10:04:42 +02:00
coding Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
cygwin Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
HTML Update HTML notes again. 2011-04-03 13:38:05 +00:00
keystest Next keystest patch from John McCabe-Dansted. 2010-01-06 22:11:59 +00:00
lyxserver Remove obsolete source file. 2010-02-18 09:58:20 +00:00
MacOSX CMake install and bundling improvements (esp. OS X) 2014-04-21 11:51:04 -04:00
mathmacros * description of the math macro implementation 2008-03-15 10:54:26 +00:00
tools Modify update-po script to commit gmo files, as well. 2014-04-21 12:26:21 -04:00
Win32 installer: fine-tuning 2014-04-27 15:14:01 +02:00
.gitignore Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
expectedTestFailures Cmake build tests: update comments 2013-08-25 18:18:19 +02:00
FORMAT Fix bugs #8546 and #9055, and introduce new separator inset. 2014-05-10 23:25:11 +02:00
LyX-Mac-binary-release.sh improved Qt frameworks packaging on Mac 2014-03-04 22:28:40 +01:00
lyx.package.README Creat source package with 'make package_source' from inside the build directory 2011-05-23 08:44:32 +00:00
lyx.rpm.README Typos 2012-06-05 12:22:13 +02:00
lyx.spec.in Update version strings 2010-03-16 09:25:30 +00:00
Makefile.am Update source list 2013-08-28 14:20:59 +02:00