2003-03-12 02:39:12 +00:00
|
|
|
LyX file-format changes
|
2007-04-25 16:14:59 +00:00
|
|
|
-----------------------
|
2008-05-09 08:57:32 +00:00
|
|
|
|
2010-01-10 13:25:41 +00:00
|
|
|
2010-01-10 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 376: new buffer param
|
|
|
|
\maintain_unincluded_children. If true, the aux files of
|
|
|
|
non-included children (with \includeonly) are updated to
|
|
|
|
keep the counters and refs correct.
|
|
|
|
|
2010-01-07 10:01:26 +00:00
|
|
|
2010-01-06 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 375: add support for \includeonly
|
|
|
|
This adds a new buffer param list of relative filenames
|
|
|
|
which are output as \includeonly arguments, like this:
|
|
|
|
\begin_includeonly
|
|
|
|
child1.lyx
|
|
|
|
child2.lyx
|
|
|
|
\end_includeonly
|
|
|
|
|
2010-01-06 19:24:33 +00:00
|
|
|
2009-12-30 Richard Heck <rgheck@comcast.net>
|
|
|
|
* Format incremented to 374: add html output options.
|
|
|
|
\html_use_mathml (boolean): whether to use MathML or images
|
|
|
|
\html_be_strict (boolean): whether to be XHTML 1.1 compliant
|
|
|
|
|
2009-12-07 11:53:25 +00:00
|
|
|
2009-12-07 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 373: merge g-brief-de and g-brief-en
|
|
|
|
classes into one g-brief class.
|
|
|
|
All German layout names are replaced by English ones, the
|
|
|
|
two classes are renamed to g-brief.
|
|
|
|
|
2009-12-07 11:23:46 +00:00
|
|
|
2009-11-29 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 372: new buffer param fontencoding.
|
2009-12-07 11:47:01 +00:00
|
|
|
This param holds a buffer-specific fontencoding (argument
|
|
|
|
of the fontenc package).
|
|
|
|
Possible values:
|
2009-12-07 13:46:46 +00:00
|
|
|
- global: use lyxrc.fontenc [this is the default]
|
2009-12-07 11:47:01 +00:00
|
|
|
- default: do not load the fontenc package at all
|
|
|
|
- <ENC>: real encodings such as "T1". Multiple encodings
|
|
|
|
can be separated by comma.
|
2009-12-07 11:23:46 +00:00
|
|
|
|
2009-11-11 01:48:07 +00:00
|
|
|
2009-11-11 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 371: add option to suppress the LaTeX
|
|
|
|
package mhchem.
|
|
|
|
|
2009-08-14 00:52:33 +00:00
|
|
|
2009-07-20 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 370: introduce a document option to
|
|
|
|
suppress the default date.
|
|
|
|
|
2009-07-23 20:08:05 +00:00
|
|
|
2009-07-22 Vincent van Ravesteijn <vfr@lyx.org>
|
|
|
|
* Format incremented to 369: add the author ids to the list of
|
|
|
|
authors and let the numbering start with 1 in stead of 0.
|
|
|
|
|
2009-07-21 11:51:43 +00:00
|
|
|
2009-07-21 Jürgen Spitzmüller <spitz@lyx.org>, Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 368: allow to use glue lengths for
|
|
|
|
horizontal spaces.
|
2009-12-07 13:46:46 +00:00
|
|
|
We just revert hspaces with glue lengths to ERT, since the
|
|
|
|
inset didn't support them prior to format 368.
|
|
|
|
No explicit conversion.
|
2009-07-21 11:51:43 +00:00
|
|
|
|
2009-07-20 11:22:51 +00:00
|
|
|
2009-07-20 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 367: allow to use percent lengths for
|
|
|
|
vertical and horizontal spaces.
|
|
|
|
|
2009-07-19 22:08:58 +00:00
|
|
|
2009-07-20 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 366: allow to use percent lengths for the
|
|
|
|
paragraph skip separation.
|
|
|
|
|
2009-07-19 21:13:27 +00:00
|
|
|
2009-07-19 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 365: support for paragraph indentation.
|
|
|
|
|
2009-07-13 14:30:08 +00:00
|
|
|
2009-07-13 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 364: add \filename_suffix parameter
|
|
|
|
to branches.
|
2009-12-07 13:46:46 +00:00
|
|
|
Possible values: 0, 1.
|
|
|
|
If "1", the branch name is appended to the filename on export
|
|
|
|
(e.g., <filename>-<suffix>.pdf).
|
2009-07-13 14:30:08 +00:00
|
|
|
|
2009-07-11 13:09:45 +00:00
|
|
|
2009-07-11 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 363: support for horizontal longtable
|
|
|
|
alignment.
|
|
|
|
|
2009-06-12 08:47:38 +00:00
|
|
|
2009-06-11 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 362: support for the applemac encoding.
|
|
|
|
|
2009-05-25 08:27:12 +00:00
|
|
|
2009-05-25 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 361: support for custom setting of
|
|
|
|
bibliography (longest) label width.
|
|
|
|
Empty file format change.
|
|
|
|
|
2009-05-22 16:26:15 +00:00
|
|
|
2009-05-22 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 360: param width for nomencl_print
|
2009-12-07 13:46:46 +00:00
|
|
|
CommandInset. This
|
|
|
|
1.) adds a further value "width" to param set_width
|
|
|
|
(see format 359)
|
|
|
|
and
|
|
|
|
2.) a param width, which takes a length
|
|
|
|
If "width" is chosen, we define the indendation of the nomencl
|
|
|
|
list via the optional argument of \printnomenclature, e.g.
|
|
|
|
\printnomenclature[2cm]{}
|
2009-05-22 16:26:15 +00:00
|
|
|
|
|
|
|
2009-05-22 Jürgen Spitzmüller <spitz@lyx.org>
|
2009-05-22 08:31:43 +00:00
|
|
|
* Format incremented to 359: param set_width for nomencl_print
|
2009-12-07 13:46:46 +00:00
|
|
|
CommandInset. This specifies how wide the longest nomencl label
|
|
|
|
is (i.e., how wide the indendation in the nomencl list is).
|
|
|
|
Possible values:
|
|
|
|
- none: do not specifiy the width (use predefined values)
|
|
|
|
- auto: compute the widest label and specify via
|
|
|
|
\settowidth{\nomlabelwidth}{<widest label>}
|
2009-05-22 08:31:43 +00:00
|
|
|
|
2009-05-24 18:37:13 +00:00
|
|
|
2009-05-22 Jürgen Spitzmüller <spitz@lyx.org>
|
2009-05-22 07:20:00 +00:00
|
|
|
* Format incremented to 358: support for custom bibtex and
|
|
|
|
makeindex commands.
|
|
|
|
|
|
|
|
2009-05-05 Pavel Sanda <sanda@lyx.org>, Enrico Forestieri <forenr@lyx.org>
|
|
|
|
* Format incremented to 357: Change of the latex output for
|
|
|
|
underline from \underbar to ulem's \uline.
|
2009-05-06 16:58:15 +00:00
|
|
|
|
2009-05-05 09:26:28 +00:00
|
|
|
2009-05-05 Pavel Sanda <sanda@lyx.org>
|
2009-05-22 07:20:00 +00:00
|
|
|
* Format incremented to 356: support for double and wave underline
|
|
|
|
character styles via ulem's \uuline and \uwave
|
2009-05-05 09:26:28 +00:00
|
|
|
|
2009-05-03 22:50:27 +00:00
|
|
|
2009-05-03 Pavel Sanda <sanda@lyx.org>
|
|
|
|
* Format incremented to 355: support for strikeout character
|
|
|
|
style via ulem's \sout
|
|
|
|
|
2009-04-27 06:10:25 +00:00
|
|
|
2009-04-26 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 354: support for splitindex's
|
|
|
|
\printindex* and \printsubindex*.
|
|
|
|
|
2009-04-26 11:24:38 +00:00
|
|
|
2009-04-26 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 353: support for splitindex's
|
2009-04-27 06:10:25 +00:00
|
|
|
\printsubindex.
|
2009-04-26 11:24:38 +00:00
|
|
|
|
2009-04-16 07:29:01 +00:00
|
|
|
2009-04-15 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 352: splitindex support.
|
|
|
|
|
2009-04-11 21:40:11 +00:00
|
|
|
2009-04-11 Uwe Stöhr <uwestoehr@web.de>
|
2009-05-22 07:20:00 +00:00
|
|
|
* Format incremented to 351: support to set a page background
|
|
|
|
color.
|
2009-04-11 21:40:11 +00:00
|
|
|
|
2009-04-10 11:06:53 +00:00
|
|
|
2009-04-06 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 350: new param \default_output_format.
|
|
|
|
|
2009-04-06 06:58:30 +00:00
|
|
|
2009-04-05 Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
* Format incremented to 349: initial support for XeTeX.
|
|
|
|
|
2009-01-30 00:56:37 +00:00
|
|
|
2009-01-30 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 348: support for \*phantom.
|
|
|
|
|
|
|
|
2009-01-03 Vincent van Ravesteijn <V.F.vanRavesteijn@tudelft.nl>
|
|
|
|
* Format incremented to 347: support for tabular valign.
|
|
|
|
|
2008-11-28 13:45:44 +00:00
|
|
|
2008-11-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 346: support for German (Switzerland):
|
|
|
|
(bug 5450)
|
|
|
|
|
2008-11-07 19:17:35 +00:00
|
|
|
2008-11-07 José Matos <jamatos@lyx.org>
|
|
|
|
* Format incremented to 345: for docbook backend CharStyle: -> Element:
|
|
|
|
(fix bug 5411)
|
|
|
|
|
2008-10-13 16:01:02 +00:00
|
|
|
2008-10-12 Pavel Sanda <sanda@lyx.org>
|
|
|
|
* Format incremented to 344: sanitize backreference settings
|
|
|
|
for hyperref (fix bug 5340).
|
|
|
|
|
2008-10-12 09:36:00 +00:00
|
|
|
2008-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 343: new param \use_default_options
|
|
|
|
(fix bug 2114).
|
|
|
|
|
2008-10-11 23:52:31 +00:00
|
|
|
2008-10-12 Uwe Stöhr <uwestoehr@web.de>
|
2008-10-11 23:58:12 +00:00
|
|
|
* Format incremented to 342: support for Mongolian.
|
2008-10-11 23:52:31 +00:00
|
|
|
|
2008-09-30 18:00:02 +00:00
|
|
|
2008-09-30 Uwe Stöhr <uwestoehr@web.de>
|
2008-10-11 23:58:12 +00:00
|
|
|
* Format incremented to 341: support for TABs in listings.
|
2008-09-30 18:00:02 +00:00
|
|
|
|
2008-08-01 17:57:01 +00:00
|
|
|
2008-08-01 José Matos <jamatos@fc.up.pt>
|
|
|
|
* Format incremented to 340: move empty layouts to "Plain Layout".
|
|
|
|
|
2008-07-28 15:28:49 +00:00
|
|
|
2008-07-28 Richard Heck <rgheck@brown.edu>
|
|
|
|
* Format incremented to 339: removal of default modules.
|
|
|
|
|
2008-06-22 23:21:46 +00:00
|
|
|
2008-06-21 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 338: support for polytonic Greek.
|
|
|
|
|
2008-06-13 07:34:55 +00:00
|
|
|
2008-06-13 Abdelrazak Younes <younes@lyx.org>
|
|
|
|
* Format incremented to 337: convert/revert graphics display param.
|
|
|
|
|
2008-06-05 06:18:34 +00:00
|
|
|
2008-06-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 336: new param \font_cjk.
|
|
|
|
|
2008-05-30 15:38:43 +00:00
|
|
|
2008-05-30 Richard Heck <rgheck@brown.edu>
|
|
|
|
* Format incremented to 335: fixes for InsetSpace problems.
|
|
|
|
|
2008-05-15 22:54:13 +00:00
|
|
|
2008-05-16 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 334: fix for bug 4868.
|
|
|
|
|
2008-05-09 08:57:32 +00:00
|
|
|
2008-05-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 333: fixes in the APA layout.
|
|
|
|
|
2008-05-06 21:13:09 +00:00
|
|
|
2008-05-06 Pavel Sanda <sanda@lyx.org>
|
|
|
|
* Format incremented to 332: Added groupId for graphics insets.
|
2007-06-13 19:12:38 +00:00
|
|
|
|
2008-04-30 20:11:57 +00:00
|
|
|
2008-25-04 Helge Hafting <helge.hafting@aitel.hist.no>
|
|
|
|
* Format incremented to 330: More horizontal fills
|
|
|
|
- \leftarrowfill, \rightarrowfill
|
|
|
|
- \upbracefill, \downbracefill
|
|
|
|
|
2008-04-28 16:38:56 +00:00
|
|
|
2008-04-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 329: new param \master.
|
|
|
|
|
2008-04-18 17:06:03 +00:00
|
|
|
2008-04-18 Bo Peng <ben.bob@gmail.com>
|
|
|
|
* Format incremented to 328: Revert the support for embedding
|
|
|
|
|
2008-04-16 00:25:08 +00:00
|
|
|
2008-04-16 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 327: support for Mexican Spanish.
|
|
|
|
|
2008-04-11 14:07:25 +00:00
|
|
|
2008-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 326: support for pdflatex via external inset.
|
|
|
|
|
2008-03-29 23:25:40 +00:00
|
|
|
2008-03-29 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 325: merge the two Japanese languages to one that is
|
|
|
|
encoding independent.
|
|
|
|
|
2008-03-26 08:10:01 +00:00
|
|
|
2008-03-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 324: merge the two newline insets.
|
|
|
|
|
2008-03-25 09:26:03 +00:00
|
|
|
2008-03-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 323: merge the diverse newpage insets.
|
|
|
|
|
2008-03-24 12:31:07 +00:00
|
|
|
2008-03-24 Richard Heck <rgheck@comcast.net>
|
|
|
|
* Format incremented to 322: local layout
|
|
|
|
|
2008-03-19 09:54:44 +00:00
|
|
|
2008-03-18 Edwin Leuven <e.leuven@uva.nl>
|
|
|
|
* Format incremented to 321: drop row/col lines and ensure
|
|
|
|
consistency between cell and row/col lines.
|
|
|
|
Make the separation between \begin_inset and Tabular a
|
|
|
|
single space (it used to be a double space for lyx < 1.4)
|
2008-03-18 18:08:32 +00:00
|
|
|
|
2008-03-18 12:11:28 +00:00
|
|
|
2008-03-18 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 320: support for protected horizontal fill
|
|
|
|
(\hspace*{\fill})
|
|
|
|
|
*** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
- merge in HFill inset, add support for dotfill, hrulefill,
hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
- remove
* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
- new GUI for Space insets.
* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
new Inset member isStretchableSpace() to indicate HFill and friends.
* Buffer.cpp:
- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines
* development/FORMAT:
- document file format change
* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
- deal with UI changes.
* src/LyXAction.cpp:
- remove LFUN_HFILL_INSERT
* src/LyXFunc.cpp:
- handle space dialog.
* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
- adapt to changes
* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
- add HSpace dialog, remove HFill.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
|
|
|
2008-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2008-03-18 12:11:28 +00:00
|
|
|
* Format incremented to 319: hspace and extended hfill support
|
*** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
- merge in HFill inset, add support for dotfill, hrulefill,
hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
- remove
* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
- new GUI for Space insets.
* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
new Inset member isStretchableSpace() to indicate HFill and friends.
* Buffer.cpp:
- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines
* development/FORMAT:
- document file format change
* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
- deal with UI changes.
* src/LyXAction.cpp:
- remove LFUN_HFILL_INSERT
* src/LyXFunc.cpp:
- handle space dialog.
* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
- adapt to changes
* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
- add HSpace dialog, remove HFill.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
|
|
|
|
2008-03-09 23:04:14 +00:00
|
|
|
2008-03-09 Bo Peng <ben.bob@gmail.com>
|
|
|
|
* Format incremented to 318: add \extra_embedded_files to buffer params
|
|
|
|
|
2008-03-02 17:12:22 +00:00
|
|
|
2008-03-02 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 317: support floating placements for wrap floats
|
|
|
|
|
|
|
|
2008-03-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 316: support for subfloats (subfig package)
|
2008-03-02 11:30:50 +00:00
|
|
|
|
2008-02-19 05:24:48 +00:00
|
|
|
2008-02-18 Richard Heck <rgheck@comcast.net>
|
|
|
|
* Format incremented to 315: support for column separation in page margins
|
|
|
|
|
2008-02-03 11:56:44 +00:00
|
|
|
2008-02-03 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 314: adapt scrlttr2 class for serial letters
|
|
|
|
|
This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.
By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.
So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i) GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.
The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework.
I've also updated the module documenation to accord with this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
|
|
|
2008-01-12 Richard Heck <rgheck@comcast.net>
|
|
|
|
* Format incremented to 313: change in how modules are represented
|
|
|
|
|
2008-01-11 18:56:53 +00:00
|
|
|
2008-01-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 312: support for sidewaysalgorithm (rotfloat)
|
|
|
|
and wide sideways{figure,table}.
|
|
|
|
|
This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.
By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.
So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i) GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.
The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework.
I've also updated the module documenation to accord with this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
|
|
|
2008-01-10 Richard Heck <rgheck@comcast.net>
|
2008-03-19 09:54:44 +00:00
|
|
|
* Format incremented to 311: dummy format to drive the AMS conversion
|
2008-01-10 20:46:05 +00:00
|
|
|
|
2007-12-28 16:56:57 +00:00
|
|
|
2007-12-28 Bernhard Reiter <ockham@gmx.net>
|
|
|
|
* Format incremented to 310: support for \nocite{*}
|
2008-01-10 20:46:05 +00:00
|
|
|
|
2007-12-20 15:46:14 +00:00
|
|
|
2007-12-11 Bernhard Reiter <ockham@gmx.net>
|
|
|
|
* Format incremented to 309: support for \nocite
|
|
|
|
|
2007-12-13 23:29:56 +00:00
|
|
|
2007-12-15 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 308: support for Serbian (Latin)
|
|
|
|
|
2007-12-06 11:04:56 +00:00
|
|
|
2007-12-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2008-03-02 17:12:22 +00:00
|
|
|
* Format incremented to 307: support for \slash and \nobreakdash
|
2007-12-06 11:04:56 +00:00
|
|
|
|
2007-12-05 22:04:33 +00:00
|
|
|
2007-12-05 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 306: support for Interlingua
|
|
|
|
|
2007-12-05 21:42:57 +00:00
|
|
|
2007-12-05 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 305: support for Bahasa Malaysia
|
|
|
|
|
2007-12-04 09:25:50 +00:00
|
|
|
2007-12-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
* Format incremented to 304: framed and shaded boxes are now real boxes
|
|
|
|
(not notes).
|
|
|
|
|
2007-11-25 22:39:04 +00:00
|
|
|
2007-11-25 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 303: remove Serbocroatian as this was not a real
|
|
|
|
babel language (Croatian was used instead in the background)
|
|
|
|
* Implement Serbian
|
|
|
|
|
2007-11-25 21:09:01 +00:00
|
|
|
2007-11-25 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 302: support for Latin and North Sami
|
|
|
|
|
2007-11-25 18:34:37 +00:00
|
|
|
2007-11-24 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 301: support for \linebreak
|
|
|
|
|
2007-11-23 02:10:00 +00:00
|
|
|
2007-11-23 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 300: support for \pagebreak
|
|
|
|
|
2007-11-01 17:37:43 +00:00
|
|
|
2007-11-01 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 299: support for hyperlink types
|
|
|
|
|
|
|
|
2007-11-01 Stefan Schimanski <sts@1stein.org>
|
|
|
|
* Format incremented to 298: math-macro code has been rewritten,
|
|
|
|
now it supports definitions with optional parameters
|
|
|
|
|
2007-10-30 22:07:16 +00:00
|
|
|
2007-10-29 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 297: support for Albanian, lower Sorbian,
|
|
|
|
fixed upper Sorbian language
|
|
|
|
|
2008-02-03 13:13:03 +00:00
|
|
|
2007-10-23 Richard Heck <rgheck@comcast.net>
|
|
|
|
* Format incremented to 296: InsetInclude becomes an InsetCommand
|
2007-10-30 22:07:16 +00:00
|
|
|
|
2007-10-13 19:06:09 +00:00
|
|
|
2007-10-12 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 295: get rid of the htmlurl command that was
|
|
|
|
needed for docbook, add the option to create a hyperlink instead
|
|
|
|
|
2007-10-12 23:51:56 +00:00
|
|
|
2007-10-12 Pavel Sanda <ps@twin.jikos.cz>
|
|
|
|
* Format incremented to 294: PDFOptions: add usetitle,
|
|
|
|
fix leftovers
|
|
|
|
|
2007-10-11 14:56:34 +00:00
|
|
|
2007-10-11 Bo Peng <ben.bob@gmail.com>
|
|
|
|
* Format incremented to 293: Add InsetInfo.
|
|
|
|
|
2007-10-12 23:51:56 +00:00
|
|
|
2007-10-09 Uwe Stöhr <uwestoehr@web.de>
|
2007-10-08 23:40:23 +00:00
|
|
|
* Format incremented to 292: Support for Japanese without
|
|
|
|
using CJK and inputenc. (japanese-plain)
|
|
|
|
|
2007-10-12 23:51:56 +00:00
|
|
|
2007-10-04 Uwe Stöhr <uwestoehr@web.de>
|
2007-10-04 23:20:39 +00:00
|
|
|
* Format incremented to 291: Support for Vietnamese.
|
|
|
|
|
2007-10-12 23:51:56 +00:00
|
|
|
2007-10-03 Uwe Stöhr <uwestoehr@web.de>
|
2008-03-02 17:12:22 +00:00
|
|
|
* Format incremented to 290: Add table wrap floats
|
2007-10-04 23:20:39 +00:00
|
|
|
|
2007-10-03 21:07:01 +00:00
|
|
|
2007-10-03 Martin Vermeer <martin.vermeer@tkk.fi>
|
2007-10-04 05:16:48 +00:00
|
|
|
* Format incremented to 289: make Index a collapsable inset.
|
|
|
|
|
2008-02-03 13:13:03 +00:00
|
|
|
2007-09-25 Richard Heck <rgheck@comcast.net>
|
2007-09-27 18:24:18 +00:00
|
|
|
* Format incremented to 288: Change how command insets are
|
|
|
|
represented in LyX files.
|
|
|
|
|
2007-09-24 13:43:58 +00:00
|
|
|
2007-09-24 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
* Format incremented to 287: Add missing optional parameters
|
|
|
|
for wrapped figures.
|
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-09-21 Pavel Sanda <ps@twin.jikos.cz>
|
2007-09-23 12:39:31 +00:00
|
|
|
* Format incremented to 286: LyX now supports hyperref and some
|
|
|
|
of its options.
|
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-09-11 Bo Peng <ben.bob@gmail.com>
|
2008-03-02 17:12:22 +00:00
|
|
|
* Format incremented to 285: Tweaks to embedded file format
|
2007-09-23 16:22:40 +00:00
|
|
|
Remove inzip parameter from graphics insets.
|
2007-09-23 12:39:31 +00:00
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-09-09 Helge Hafting <helge.hafting@aitel.hist.no>
|
2007-09-09 23:47:22 +00:00
|
|
|
* Format incremented to 284: LyX now implements wrapped figures
|
|
|
|
using wrapfig.sty instead of floatflt.sty. The latter
|
|
|
|
is rather buggy, the former also has more options.
|
|
|
|
No conversion as the .lyx doesn't change.
|
|
|
|
The .tex export is slightly different, necessitating the
|
|
|
|
format increase.
|
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-09-08 Martin Vermeer <martin.vermeer@tkk.fi>
|
2007-09-08 13:01:29 +00:00
|
|
|
|
2008-03-19 09:54:44 +00:00
|
|
|
* format incremented to 283: CharStyle insets are now
|
2007-09-08 13:01:29 +00:00
|
|
|
called Flex.
|
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-08-31 Bo Peng <ben.bob@gmail.com>
|
2007-08-31 09:46:14 +00:00
|
|
|
|
|
|
|
* format incremented to 282: lyx files can be zipfiles with
|
|
|
|
embedded documents.
|
|
|
|
|
2008-02-03 13:13:03 +00:00
|
|
|
2007-08-29 Richard Heck <rgheck@comcast.net>
|
2007-08-31 09:46:14 +00:00
|
|
|
|
2008-03-02 17:12:22 +00:00
|
|
|
* format incremented to 281: allow modules for layout files
|
2007-08-31 09:46:14 +00:00
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-08-17 Martin Vermeer <martin.vermeer@tkk.fi>
|
2007-08-18 23:26:07 +00:00
|
|
|
|
|
|
|
* format incremented to 280: the show_label parameter
|
|
|
|
is depreciated in favour of (Collapsable) status.
|
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-08-17 Martin Vermeer <martin.vermeer@tkk.fi>
|
2007-08-17 15:58:38 +00:00
|
|
|
|
|
|
|
* format incremented to 279: CharStyle names are now
|
|
|
|
expected to be of form CharStyle:Name.
|
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-08-12 José Matos <jamatos@fc.up.pt>
|
2007-08-12 14:56:49 +00:00
|
|
|
|
|
|
|
* format incremented to 278: Close begin_deeper with a
|
|
|
|
corresponding end_deeper (the only case where it matters is
|
|
|
|
at the end of the body).
|
|
|
|
|
2007-09-23 18:58:18 +00:00
|
|
|
2007-08-12 José Matos <jamatos@fc.up.pt>
|
2007-08-12 14:56:49 +00:00
|
|
|
|
|
|
|
* format incremented to 277: lyx is able to create invalid
|
|
|
|
table where a multicolumn does not have a first cell
|
|
|
|
(required by the table file format)
|
|
|
|
|
2007-07-20 02:10:28 +00:00
|
|
|
2007-07-20 Dov Feldstern <dov@lyx.org>
|
|
|
|
|
|
|
|
* format *not* incremented; fixed format 249 conversion, so that it now
|
|
|
|
correctly deals with encodings in footnotes (part of bug 3613)
|
|
|
|
|
2007-06-26 00:11:03 +00:00
|
|
|
2007-06-26 Uwe Stöhr <uwestoehr@web.de> and Dov Feldstern <dov@lyx.org>
|
|
|
|
|
2008-03-19 09:54:44 +00:00
|
|
|
* format incremented to 276: switching exsting language 'arabic' to
|
2007-06-26 00:11:03 +00:00
|
|
|
'arabic_arabtex'; this is to differentiate from the new arabic support
|
|
|
|
using the arabi package.
|
|
|
|
|
2007-06-25 13:49:51 +00:00
|
|
|
2007-05-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
* format incremented to 275: add graphics params scaleBeforeRotation
|
|
|
|
(fix bug 1749).
|
|
|
|
|
2007-06-13 19:12:38 +00:00
|
|
|
2007-06-13 Dov Feldstern <dov@lyx.org>
|
|
|
|
* format incremented to 274: applying the conversion done in format 259
|
|
|
|
to the \lang property, which was forgotten back then... This is
|
|
|
|
slightly more complicated, because the default language has to be
|
|
|
|
determined on a per-paragraph basis.
|
|
|
|
|
2007-06-13 15:09:28 +00:00
|
|
|
2007-06-13 Bo Peng <ben.bob@gmail.com>
|
2008-03-19 09:54:44 +00:00
|
|
|
* format incremented to 273: add --Separator-- environment to
|
2007-06-13 15:09:28 +00:00
|
|
|
separate consecutive environments
|
|
|
|
|
2007-06-13 14:38:34 +00:00
|
|
|
2007-06-13 Bo Peng <bpeng@lyx.org>
|
|
|
|
* format incremented to 272: convert listings to ERT because
|
2008-03-19 09:54:44 +00:00
|
|
|
earlier versions of lyx can not handle unrecognizable
|
2007-06-13 14:38:34 +00:00
|
|
|
listings parameters.
|
|
|
|
|
2007-05-15 23:31:47 +00:00
|
|
|
2007-05-15 José Matos <jamatos@lyx.org>
|
|
|
|
* format incremented to 271: extended textclasses accept the
|
|
|
|
normal font sizes: 10, 11 and 12pt.
|
2007-04-26 21:40:51 +00:00
|
|
|
|
2007-05-15 08:31:33 +00:00
|
|
|
2007-05-14 Martin Vermeer <martin.vermeer@tkk.fi>
|
|
|
|
* format incremented to 270: support beamer \alert, \structure
|
|
|
|
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
2007-05-08 Bo Peng <ben.bob@gmail.com>
|
|
|
|
* format incremented to 269: add listings support
|
|
|
|
- add preamble flag \listings_params, e.g. \listings_params "language=Python,float"
|
|
|
|
- add inset listings, with options lstparams and inline, e.g.
|
|
|
|
\begin_inset listings
|
|
|
|
lstparams "xleftmargin=50pt,language=Python"
|
|
|
|
inline false
|
|
|
|
- add \lstinputlisting Include type. e.g.
|
|
|
|
\begin_inset Include \lstinputlisting{newfile1.lyx}[firstline=10,lastline=15]
|
|
|
|
|
2007-05-06 20:26:02 +00:00
|
|
|
2007-05-06 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
|
|
|
|
* format incremented to 268: add support for the CJK encodings
|
|
|
|
- all encodings supported by CJK.sty are now in lib/encodings
|
|
|
|
- lib/encoding has got two new flags:
|
|
|
|
- encoding package:
|
|
|
|
"inputenc" for those languages that use the inputenc-package and
|
|
|
|
"CJK" for the CJK encodings
|
2008-03-19 09:54:44 +00:00
|
|
|
- "fixed"/"variable" to divide between multi- or single-byte encoding
|
2007-05-06 20:26:02 +00:00
|
|
|
- lib/languages allows now to set an empty language for babel
|
|
|
|
in this case babel isn't called.
|
2008-03-19 09:54:44 +00:00
|
|
|
|
2007-05-04 12:27:00 +00:00
|
|
|
2007-05-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
* format incremented to 267: add plain utf8 encoding (for XeTeX).
|
|
|
|
|
2007-05-01 17:48:04 +00:00
|
|
|
2007-04-29 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
|
|
|
|
* format incremented to 266:
|
|
|
|
Support for the Armenian language
|
2008-03-19 09:54:44 +00:00
|
|
|
|
2007-04-26 21:40:51 +00:00
|
|
|
2007-04-26 Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
|
|
|
|
* format incremented to 265: fix LyX's table border line handling
|
|
|
|
With the fix (see bug 1746) LyX now takes care if the user has entered
|
|
|
|
a "|" character in the argument field of tables. Therefore the "|"
|
|
|
|
character has to be removed when also a table border is set.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2007-04-24 José Matos <jamatos@lyx.org>
|
|
|
|
|
|
|
|
* format incremented to 264:
|
|
|
|
textclass cv is renamed simplecv
|
|
|
|
|
|
|
|
2007-02-22 José Matos <jamatos@lyx.org>
|
2007-02-24 23:43:18 +00:00
|
|
|
|
|
|
|
* format incremented to 263: changes in the language names (overdue):
|
|
|
|
brazil -> brazilian
|
|
|
|
portuges -> portuguese
|
2006-10-16 07:06:41 +00:00
|
|
|
|
2007-02-16 18:29:48 +00:00
|
|
|
2007-02-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
2007-02-16 19:48:33 +00:00
|
|
|
* format incremented to 262: Allow ascii \inputencoding
|
2007-02-16 18:29:48 +00:00
|
|
|
|
2007-02-14 16:10:50 +00:00
|
|
|
2007-02-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 261: \output_changes is now considered
|
|
|
|
even if \tracking_changes is false. This allows to output existing
|
|
|
|
changes even if future changes are not tracked anymore.
|
|
|
|
The old combination
|
|
|
|
|
|
|
|
\tracking_changes false
|
|
|
|
\output_changes true
|
|
|
|
|
|
|
|
is therefore converted to
|
|
|
|
|
|
|
|
\tracking_changes false
|
|
|
|
\output_changes false
|
|
|
|
|
|
|
|
on upgrade. Nothing is done on downgrade since the new behaviour is
|
|
|
|
not supported in older formats.
|
|
|
|
|
2007-02-13 17:36:55 +00:00
|
|
|
2007-02-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 260: Allow utf8x \inputencoding
|
|
|
|
|
2007-02-12 08:12:31 +00:00
|
|
|
2007-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 259:
|
|
|
|
Old: Spaces at start or end of font changes were output outside of
|
|
|
|
the font change, i.e. not 'xx\textbf{ yy }zz', but
|
|
|
|
'xx \textbf{yy} zz'.
|
|
|
|
New: Spaces are always output with the font set by the user.
|
|
|
|
|
2007-04-26 21:40:51 +00:00
|
|
|
2007-01-31 Uwe Stöhr <uwestoehr@web.de>
|
2007-01-31 20:39:46 +00:00
|
|
|
|
2007-01-31 21:15:40 +00:00
|
|
|
* format incremented to 258: new \lyxline definition
|
|
|
|
Old:
|
2008-03-19 09:54:44 +00:00
|
|
|
\\newcommand{\\lyxline}[1]{
|
|
|
|
{#1 \\vspace{1ex} \\hrule width \\columnwidth \\vspace{1ex}}
|
|
|
|
}
|
2007-01-31 21:15:40 +00:00
|
|
|
New:
|
2008-03-19 09:54:44 +00:00
|
|
|
\\newcommand{\\lyxline}[1][1pt]{%
|
|
|
|
\\par\\noindent%
|
2007-01-31 21:15:40 +00:00
|
|
|
\\rule[.5ex]{\\linewidth}{#1}\\par}
|
2009-06-14 14:24:54 +00:00
|
|
|
The new definition is more robust, see bug 1988 and now really takes care of
|
2007-09-23 18:58:18 +00:00
|
|
|
the fontsize: \lyxline{\Huge} produces now a thicker line than \lyxline{\normalfont}
|
2007-01-31 20:39:46 +00:00
|
|
|
|
2007-02-01 19:25:39 +00:00
|
|
|
2007-01-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 257: Caption styles have been replaced by
|
|
|
|
InsetCaption. This is at the same time also a layout file format
|
|
|
|
change to format 3. layout2layout removes caption layouts from old
|
|
|
|
styles.
|
|
|
|
Note that InsetCaption did exist before this format, but was never
|
|
|
|
used. Old files containing do nevertheless still work.
|
|
|
|
Of course users can still define a Caption style in layout files,
|
|
|
|
but the special treatment in LyX is gone (apart from the sensitive
|
|
|
|
label property).
|
|
|
|
|
2006-12-28 18:15:25 +00:00
|
|
|
2006-12-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 256: allow some new inputenc settings.
|
|
|
|
For the complete list, see lib/lyx2lyx/lyx_1_5.py.
|
|
|
|
|
2006-11-25 15:57:27 +00:00
|
|
|
2006-11-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 255: new insets for \clearpage and
|
|
|
|
\cleardoublepage. They are written inline to the file, exactly like
|
|
|
|
\newpage.
|
|
|
|
|
2006-11-13 17:35:18 +00:00
|
|
|
2006-11-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 254: new header parameter \use_esint.
|
|
|
|
It can have the same values as \use_amsmath: 0 (off), 1 (auto) and
|
|
|
|
2 (on).
|
|
|
|
|
2006-11-04 17:55:36 +00:00
|
|
|
2006-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 253: new nomenclature and printnomenclature
|
|
|
|
insets. These are standard InsetCommand with the following parameters:
|
|
|
|
\nomenclature[prefix]{symbol}{description}
|
|
|
|
\printnomenclature[labelwidth]
|
|
|
|
|
Rework InsetCommandParams interface and file storage
* src/insets/insetcommandparams.[Ch]:
(operator[]): New, access a parameter
(clear): New, clear all parameters
(info_): New, stire info about this command
(cmdname): Rename to name_
(contents, options, sec_options): Replace with params_. Parameters
are now stored as docstring.
(findInfo): New factor for command info for all commands
(read, write): Use new syntax
(parameter set and get methods): reimplemenmt for new parameter storage
* src/insets/insetcommand.h
(getParam): New, get a parameter
(setParam): New, set a parameter
(parameter set and get methods): Adjust to InsetCommandParams changes
* src/insets/insetbibitem.[Ch]
(write): Remove, not needed anymore
(directWrite): ditto
* src/insets/insetbibitem.C
(InsetBibitem::read): Use InsetCommand::read
* src/insets/insetref.C
(InsetRef::latex): Use new InsetCommandParams interface
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): ditto
* src/text3.C
(LyXText::dispatch): ditto
* src/factory.C
(createInset): Create InsetCommandParams with command name
(readInset): ditto
(readInset): Remove error message for bibitem, since bibitem is
now a normal command inset
* src/buffer.C: Bump file format number
* src/frontends/controllers/ControlCommand.[Ch]
(ControlCommand): take an additional command name parameter
* src/text.C
(readParToken): Remove code for \bibitem
* lib/lyx2lyx/LyX.py: Bump latest file format number
* lib/lyx2lyx/lyx_1_5.py
(convert_bibitem, convert_commandparams): new, convert to new format
(revert_commandparams): new, convert to old format
* development/FORMAT: document new format
* many other files: Adjust to the changes above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15357 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-17 21:07:16 +00:00
|
|
|
2006-10-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 252: changed command inset syntax
|
|
|
|
|
|
|
|
Old:
|
|
|
|
|
|
|
|
\begin_inset LatexCommand \cmdname[opt1][opt2]{arg}
|
|
|
|
preview true
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
and
|
|
|
|
|
|
|
|
\bibitem [opt1]{arg}
|
|
|
|
|
|
|
|
|
|
|
|
New:
|
|
|
|
|
|
|
|
\begin_inset LatexCommand cmdname
|
|
|
|
name1 "opt1"
|
|
|
|
name2 "opt2"
|
|
|
|
name3 "arg"
|
|
|
|
preview true
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
The order of the parameters and for each parameter the name and
|
|
|
|
optional/required bit is now stored in InsetCommandParams.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2006-10-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2006-10-16 07:06:41 +00:00
|
|
|
|
|
|
|
* format incremented to 251: save show_label param for charstyles.
|
|
|
|
|
|
|
|
On revert, the show_label param is just removed. Nothing to convert.
|
|
|
|
|
2006-10-12 20:21:14 +00:00
|
|
|
2006-10-12 Martin Vermeer <martin.vermeer@hut.fi>
|
|
|
|
|
|
|
|
* Format incremented to 250: allow optional arg to environments
|
|
|
|
|
|
|
|
No material format change. Now optargs for environments are allowed
|
2008-03-19 09:54:44 +00:00
|
|
|
to be specified in layout files and will be handled properly. When
|
|
|
|
converted back to older formats, they will be ignored in LaTeX
|
2006-10-12 20:21:14 +00:00
|
|
|
output.
|
2003-12-10 17:28:14 +00:00
|
|
|
|
2006-08-15 07:08:58 +00:00
|
|
|
2006-08-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 249: Unicode
|
|
|
|
|
|
|
|
LyX documents are now always encoded in utf8. The value of
|
|
|
|
\inputencoding does now only determine the encoding of the created
|
|
|
|
LaTeX file.
|
|
|
|
Up to format 248 the value of \inputencoding did also determine the
|
|
|
|
encoding of the LyX file:
|
|
|
|
|
|
|
|
\inputencoding LyX file encoding
|
2007-01-13 14:36:54 +00:00
|
|
|
auto as determined by the document and character
|
|
|
|
languages
|
|
|
|
default ditto
|
2006-08-15 07:08:58 +00:00
|
|
|
everything else as determined by \inputencoding
|
|
|
|
|
2007-01-13 14:36:54 +00:00
|
|
|
The difference between auto and default is only the LaTeX output:
|
|
|
|
auto causes loading of the inputenc package, default does not.
|
|
|
|
|
2006-07-03 19:13:56 +00:00
|
|
|
2006-07-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 248: Basic booktabs support
|
|
|
|
|
|
|
|
The <features> tag has a new switch: booktabs="true|false".
|
|
|
|
An absent switch is equivalent to booktabs="false".
|
|
|
|
Horizontal lines are set with the booktabs package if this switch
|
|
|
|
is on.
|
|
|
|
|
|
|
|
The <row> tag of tabulars has the following new attributes:
|
|
|
|
topspace, bottomspace and interlinespace. All take a LyXLength
|
|
|
|
as value, or the special keyword "default".
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2006-06-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
The Grand Font Selection Redesign:
* lib/lyx2lyx/LyX.py (format_relation): add file format 247 (from Georg BAUM).
* lib/lyx2lyx/lyx_1_5.py: add convert_font_settings, revert_font_settings (from Georg BAUM).
* lib/chkconfig.ltx: Test for newly supported font packages
* lib/doc/LaTeXConfig.lyx.in: document newly supported font packages
* lib/doc/UserGuide.lyx: document new UI.
* lib/doc/Extended.lyx: update PostScript font documentation
* development/FORMAT: document file format change 246->247.
* src/tex-strings.[Ch]: new strings tex_fonts_roman, tex_fonts_sans,
tex_fonts_monospaced (with GUI equivalents).
* src/buffer.C: Format up to 247.
* src/bufferparams.C:
new params fontsRoman, fontsSans, fontsTypewriter, fontsDefaultFamily,
fontsSC, fontsOSF, fontsSansScale and fontsTypewriterScale
(LyXFont const BufferParams::getFont): consider switch of default family.
(string const BufferParams::loadFonts): new method to get all the LaTeX
font stuff done.
* src/paragraph.C
(LyXFont const Paragraph::getFont):
(LyXFont const Paragraph::getLabelFont):
(LyXFont const Paragraph::getLayoutFont): user buffer's not textclass's
default font
* src/text.C
(int LyXText::leftMargin):
(int LyXText::rightMargin): user buffer's not textclass's default font
* src/text2.C
(LyXFont LyXText::getFont):
(LyXFont LyXText::getLayoutFont):
(LyXFont LyXText::getLabelFont): check if the family of the default document
font has been customized.
* src/frontends/gtk/GDocument.[Ch]: implement new font ui (from Georg BAUM).
* src/frontends/gtk/glade/document.glade: implement new font ui (from Georg BAUM).
* src/frontends/qt3/Makefile.dialogs: add new FontModuleBase
* src/frontends/qt3/ui/FontModuleBase.ui: new File
* src/frontends/qt3/ui/TextLayoutModuleBase.ui: remove font widgets
* src/frontends/qt3/QDocument.C
* src/frontends/qt3/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/Makefile.dialogs: add new FontUi
* src/frontends/qt4/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/ui/FontUi.ui: new File
* src/frontends/qt4/ui/TextLayoutUi.ui: remove font widgets
* src/frontends/qt4/ui/compile_uic.sh: add new FontUi
* src/frontends/xforms/FormDocument.[Ch]: implement new font ui
* src/frontends/xforms/forms/form_document.fd: add new font tab.
* src/frontends/controllers/ControlDocument.[Ch]
(char ControlDocument::fontfamilies):
(char ControlDocument::fontfamilies_gui):
(bool ControlDocument::isFontAvailable):
(bool ControlDocument::providesSC):
(bool ControlDocument::providesOSF):
(bool ControlDocument::providesScale): new methods, providing font info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14143 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-19 08:10:17 +00:00
|
|
|
|
|
|
|
* format incremented to 247. The Grand Font Interface Rewrite.
|
|
|
|
(1) Split font selection to rm, sf, tt:
|
|
|
|
\fontscheme -> \font_roman, \font_sans, \font_typewriter
|
|
|
|
Change 246->247:
|
|
|
|
\fontscheme \font_roman \font_sans \font_typewriter
|
|
|
|
default default default default
|
|
|
|
ae ae default default
|
|
|
|
times times default default
|
|
|
|
palatino palatino default default
|
|
|
|
helvet default helvet default
|
|
|
|
avant default avant default
|
|
|
|
newcent newcent default default
|
|
|
|
bookman bookman default default
|
|
|
|
pslatex times (or \usepackage{pslatex})
|
|
|
|
New 246->247:
|
2008-03-19 09:54:44 +00:00
|
|
|
\font_roman: cmr (-> \renewcommand{\rmdefault}{cmr}),
|
The Grand Font Selection Redesign:
* lib/lyx2lyx/LyX.py (format_relation): add file format 247 (from Georg BAUM).
* lib/lyx2lyx/lyx_1_5.py: add convert_font_settings, revert_font_settings (from Georg BAUM).
* lib/chkconfig.ltx: Test for newly supported font packages
* lib/doc/LaTeXConfig.lyx.in: document newly supported font packages
* lib/doc/UserGuide.lyx: document new UI.
* lib/doc/Extended.lyx: update PostScript font documentation
* development/FORMAT: document file format change 246->247.
* src/tex-strings.[Ch]: new strings tex_fonts_roman, tex_fonts_sans,
tex_fonts_monospaced (with GUI equivalents).
* src/buffer.C: Format up to 247.
* src/bufferparams.C:
new params fontsRoman, fontsSans, fontsTypewriter, fontsDefaultFamily,
fontsSC, fontsOSF, fontsSansScale and fontsTypewriterScale
(LyXFont const BufferParams::getFont): consider switch of default family.
(string const BufferParams::loadFonts): new method to get all the LaTeX
font stuff done.
* src/paragraph.C
(LyXFont const Paragraph::getFont):
(LyXFont const Paragraph::getLabelFont):
(LyXFont const Paragraph::getLayoutFont): user buffer's not textclass's
default font
* src/text.C
(int LyXText::leftMargin):
(int LyXText::rightMargin): user buffer's not textclass's default font
* src/text2.C
(LyXFont LyXText::getFont):
(LyXFont LyXText::getLayoutFont):
(LyXFont LyXText::getLabelFont): check if the family of the default document
font has been customized.
* src/frontends/gtk/GDocument.[Ch]: implement new font ui (from Georg BAUM).
* src/frontends/gtk/glade/document.glade: implement new font ui (from Georg BAUM).
* src/frontends/qt3/Makefile.dialogs: add new FontModuleBase
* src/frontends/qt3/ui/FontModuleBase.ui: new File
* src/frontends/qt3/ui/TextLayoutModuleBase.ui: remove font widgets
* src/frontends/qt3/QDocument.C
* src/frontends/qt3/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/Makefile.dialogs: add new FontUi
* src/frontends/qt4/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/ui/FontUi.ui: new File
* src/frontends/qt4/ui/TextLayoutUi.ui: remove font widgets
* src/frontends/qt4/ui/compile_uic.sh: add new FontUi
* src/frontends/xforms/FormDocument.[Ch]: implement new font ui
* src/frontends/xforms/forms/form_document.fd: add new font tab.
* src/frontends/controllers/ControlDocument.[Ch]
(char ControlDocument::fontfamilies):
(char ControlDocument::fontfamilies_gui):
(bool ControlDocument::isFontAvailable):
(bool ControlDocument::providesSC):
(bool ControlDocument::providesOSF):
(bool ControlDocument::providesScale): new methods, providing font info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14143 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-19 08:10:17 +00:00
|
|
|
lmodern, charter, utopia, ccfonts, chancery, beraserif
|
|
|
|
(-> \usepackage{<name>})
|
2008-03-19 09:54:44 +00:00
|
|
|
\font_sans: cmss, lmss, cmbr
|
The Grand Font Selection Redesign:
* lib/lyx2lyx/LyX.py (format_relation): add file format 247 (from Georg BAUM).
* lib/lyx2lyx/lyx_1_5.py: add convert_font_settings, revert_font_settings (from Georg BAUM).
* lib/chkconfig.ltx: Test for newly supported font packages
* lib/doc/LaTeXConfig.lyx.in: document newly supported font packages
* lib/doc/UserGuide.lyx: document new UI.
* lib/doc/Extended.lyx: update PostScript font documentation
* development/FORMAT: document file format change 246->247.
* src/tex-strings.[Ch]: new strings tex_fonts_roman, tex_fonts_sans,
tex_fonts_monospaced (with GUI equivalents).
* src/buffer.C: Format up to 247.
* src/bufferparams.C:
new params fontsRoman, fontsSans, fontsTypewriter, fontsDefaultFamily,
fontsSC, fontsOSF, fontsSansScale and fontsTypewriterScale
(LyXFont const BufferParams::getFont): consider switch of default family.
(string const BufferParams::loadFonts): new method to get all the LaTeX
font stuff done.
* src/paragraph.C
(LyXFont const Paragraph::getFont):
(LyXFont const Paragraph::getLabelFont):
(LyXFont const Paragraph::getLayoutFont): user buffer's not textclass's
default font
* src/text.C
(int LyXText::leftMargin):
(int LyXText::rightMargin): user buffer's not textclass's default font
* src/text2.C
(LyXFont LyXText::getFont):
(LyXFont LyXText::getLayoutFont):
(LyXFont LyXText::getLabelFont): check if the family of the default document
font has been customized.
* src/frontends/gtk/GDocument.[Ch]: implement new font ui (from Georg BAUM).
* src/frontends/gtk/glade/document.glade: implement new font ui (from Georg BAUM).
* src/frontends/qt3/Makefile.dialogs: add new FontModuleBase
* src/frontends/qt3/ui/FontModuleBase.ui: new File
* src/frontends/qt3/ui/TextLayoutModuleBase.ui: remove font widgets
* src/frontends/qt3/QDocument.C
* src/frontends/qt3/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/Makefile.dialogs: add new FontUi
* src/frontends/qt4/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/ui/FontUi.ui: new File
* src/frontends/qt4/ui/TextLayoutUi.ui: remove font widgets
* src/frontends/qt4/ui/compile_uic.sh: add new FontUi
* src/frontends/xforms/FormDocument.[Ch]: implement new font ui
* src/frontends/xforms/forms/form_document.fd: add new font tab.
* src/frontends/controllers/ControlDocument.[Ch]
(char ControlDocument::fontfamilies):
(char ControlDocument::fontfamilies_gui):
(bool ControlDocument::isFontAvailable):
(bool ControlDocument::providesSC):
(bool ControlDocument::providesOSF):
(bool ControlDocument::providesScale): new methods, providing font info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14143 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-19 08:10:17 +00:00
|
|
|
(-> \renewcommand{\sfdefault}{<name>})
|
|
|
|
berasans (-> \usepackage{<name>})
|
|
|
|
\font_typewriter: cmtt, lmtt, cmtl,
|
|
|
|
(-> \renewcommand{\sfdefault}{<name>})
|
|
|
|
courier, luximono, beramono
|
|
|
|
(-> \usepackage{<name>})
|
|
|
|
(2) New param \font_default_family (rmdefault, sfdefault, ttdefault)
|
|
|
|
(3) New param \font_sc (true, false).
|
|
|
|
(4) New param \font_osf (true, false).
|
|
|
|
(5) New param \font_sf_scale (float)
|
|
|
|
(6) New param \font_tt_scale (float)
|
|
|
|
Support for the following fonts has been added:
|
|
|
|
bera, ccfonts, chancery, charter, cmbright, computer modern (explicitely),
|
|
|
|
courier, lmodern, luximono, utopia.
|
|
|
|
Support for the following font has been removed:
|
|
|
|
pslatex (it's superseded by mathptmx (times)).
|
|
|
|
|
2006-06-03 16:46:27 +00:00
|
|
|
2006-06-03 Martin Vermeer <martin.vermeer@hut.fi>
|
|
|
|
|
2008-03-19 09:54:44 +00:00
|
|
|
* format incremented to 246. The framed.sty package is
|
2006-06-03 16:46:27 +00:00
|
|
|
now supported with note types framed and shaded.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2005-10-13 10:59:39 +00:00
|
|
|
|
|
|
|
* format incremented to 245. The \quotes_times parameter
|
|
|
|
has been removed.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2005-09-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2005-09-28 09:40:50 +00:00
|
|
|
|
|
|
|
* format incremented to 244. Rename '\InsetSpace \,'
|
|
|
|
to '\InsetSpace \thinspace{}', because the comma was
|
|
|
|
not parsed by lyxlex, and '\InsetSpace \space' to
|
|
|
|
'\InsetSpace \space{}' in favour of consistency.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2005-07-18 José Matos <jamatos@lyx.org>
|
2005-07-17 11:17:13 +00:00
|
|
|
|
|
|
|
* format incremented to 243.
|
|
|
|
|
|
|
|
* this change only affects the preamble, the paperpackage
|
|
|
|
option was removed and papersize is changed to default.
|
|
|
|
|
2005-07-07 10:51:58 +00:00
|
|
|
2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
|
|
|
|
|
|
|
* format incremented to 242. There is no file format per
|
|
|
|
se, but the "frenchb" language has been removed from lib/language
|
|
|
|
and has to be translated to "french" by lyx2lyx.
|
|
|
|
|
2005-02-03 17:24:40 +00:00
|
|
|
2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 241.
|
|
|
|
|
|
|
|
All following changes apply only to text in ERT insets. The
|
|
|
|
rationale is that text in ERT is simply ASCII text, and nothing more.
|
|
|
|
|
|
|
|
* paragraph breaks are now a single newline in latex and not a
|
|
|
|
paragraph break anymore (bug 698).
|
|
|
|
* \newline is not allowed anymore, because it is redundant (see above)
|
|
|
|
* layouts other than Standard, paragraph parameters and font changes
|
|
|
|
are not allowed anymore. They never made sense and were ignored for
|
|
|
|
latex output, but now they can't be read or set anymore (bug 922).
|
|
|
|
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2005-01-23 Jürgen Spitzmüller <j.spitzmüller@gmx.de>
|
2005-01-24 17:18:26 +00:00
|
|
|
|
|
|
|
* format incremented to 240.
|
2005-06-09 09:58:08 +00:00
|
|
|
* new bufferparam:
|
2005-01-24 17:18:26 +00:00
|
|
|
\output_changes {true|false}
|
|
|
|
(should the change tracking marks be visible in the output or not?)
|
|
|
|
* lyx2lyx should just delete the param in 239.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2005-01-06 José Matos <jamatos@lyx.org>
|
2005-01-06 16:52:08 +00:00
|
|
|
|
|
|
|
* format incremented to 239.
|
|
|
|
* the paragraph parameters are displayed in their own line. This
|
|
|
|
change is consistent with the insets behaviour, and corresponds
|
|
|
|
to a more uniform treatment of the paragraphs since some of them
|
|
|
|
had already their own line.
|
|
|
|
|
|
|
|
An example of a single paragraph follows:
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\paragraph_spacing single
|
|
|
|
\align left
|
|
|
|
Paragraph text.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2004-12-03 José Matos <jamatos@lyx.org>
|
2004-12-03 18:39:51 +00:00
|
|
|
|
2005-01-06 16:52:08 +00:00
|
|
|
* format incremented to 238.
|
|
|
|
* The compatibility code to read old latex accents from 0.12.x in
|
|
|
|
InsetLatexAccent::checkContents has been removed.
|
|
|
|
The following translations are done:
|
|
|
|
"\i \x" -> "\i \x{}"
|
|
|
|
"\i \xy" -> "\i \x{y}"
|
|
|
|
"\i \x y" -> "\i \x{y}"
|
|
|
|
"\i \x\i" -> "\i \x{\i}"
|
|
|
|
"\i \x\j" -> "\i \x{\j}"
|
|
|
|
x is a latex accent command, y the base character. \, i and j are
|
|
|
|
literal.
|
|
|
|
lyx did these changes already from 0.12.x -> 215, but not lyx2lyx,
|
|
|
|
so formats 215 - 237 can have both versions.
|
2004-12-03 18:39:51 +00:00
|
|
|
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2004-10-10 José Matos <jamatos@lyx.org>
|
2004-10-10 17:17:09 +00:00
|
|
|
|
2005-01-06 16:52:08 +00:00
|
|
|
* format incremented to 237.
|
2004-10-10 17:17:09 +00:00
|
|
|
* In the header, the following statments use now booleans values,
|
|
|
|
instead of 0, 1:
|
|
|
|
- \use_geometry
|
|
|
|
- \use_bibtopic
|
|
|
|
- \tracking_changes
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2004-08-15 José Matos <jamatos@lyx.org>
|
2004-08-19 16:24:55 +00:00
|
|
|
|
|
|
|
* format incremented to 236.
|
|
|
|
* Added tags:
|
|
|
|
- \begin_document
|
|
|
|
- \begin_header
|
|
|
|
- \begin_body
|
|
|
|
- \end_body
|
|
|
|
|
|
|
|
* The options for \papersize are changed:
|
|
|
|
Default -> default
|
|
|
|
Custom -> custom
|
|
|
|
* All whitespaces are removed at the end of lines, when
|
|
|
|
not necessary. As an example we have all the lines in the header that
|
|
|
|
do not belong to the preamble.
|
|
|
|
|
2004-07-01 14:40:59 +00:00
|
|
|
2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 235.
|
|
|
|
* \paperpackage had an off-by-one error. Translation table:
|
|
|
|
|
2004-10-28 14:35:53 +00:00
|
|
|
234: a4 a4wide widemarginsa4
|
2004-07-01 14:40:59 +00:00
|
|
|
235: none a4 a4wide widemarginsa4
|
|
|
|
|
|
|
|
The "widemarginsa4" setting of 235 has no equivalent in 234.
|
|
|
|
|
2004-05-13 20:44:35 +00:00
|
|
|
2004-05-12 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
* format incremented to 234.
|
|
|
|
* the citation engine is specified explicitly rather than being
|
|
|
|
deduced from 3 bools.
|
|
|
|
|
|
|
|
\use_natbib 1
|
|
|
|
\use_numerical_citations 0 -> \cite_engine <style>
|
|
|
|
\use_jurabib 0
|
|
|
|
|
|
|
|
where <style> is one of "basic", "natbib_authoryear",
|
|
|
|
"natbib_numerical" or "jurabib".
|
|
|
|
|
2004-04-29 09:24:29 +00:00
|
|
|
2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
|
|
|
|
|
|
|
* format incremented to 233.
|
|
|
|
* insetgraphics does not allow filenames without extension anymore.
|
|
|
|
The complete filename has to be given.
|
2004-03-29 13:17:25 +00:00
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2004-03-29 13:17:25 +00:00
|
|
|
|
|
|
|
* format incremented to 232.
|
2004-10-28 14:35:53 +00:00
|
|
|
|
2004-03-29 13:17:25 +00:00
|
|
|
* Support for bibtopic (sectioned bibliographies).
|
|
|
|
- bufferparam \use_bibtopic [1|0]
|
|
|
|
- the bibtex inset has a second argument for bibtopic's
|
|
|
|
btPrint{Cited|NotCited|All} command:
|
|
|
|
< 231:
|
|
|
|
\begin_inset LatexCommand \bibtex[<style>]{<database>}
|
|
|
|
now:
|
|
|
|
\begin_inset LatexCommand \bibtex[<style>][<btPrintX>]{<database>}
|
|
|
|
Forwards, there's nothing to be done. Backwards, \usepackage[dot]{bibtopic}
|
|
|
|
has to be inserted to the preamble. Instead of the bibtex inset, the LaTeX
|
|
|
|
\bibliographystyle{<style>}
|
|
|
|
\begin{btSect}{<database>}
|
|
|
|
\<btprintX>
|
|
|
|
\end{btSect}
|
|
|
|
has to be inserted.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2004-03-29 11:38:39 +00:00
|
|
|
|
|
|
|
* format incremented to 231.
|
2004-10-28 14:35:53 +00:00
|
|
|
|
2004-03-29 11:38:39 +00:00
|
|
|
* Support for sidewaysfigure/sidewaystable (rotating package).
|
|
|
|
insetfloat has now a param \sideways [true|false] (default is false).
|
2004-10-28 14:35:53 +00:00
|
|
|
The param should be erased on downwards conversion, if it was true,
|
|
|
|
the inset should be replaced by
|
2004-03-29 11:38:39 +00:00
|
|
|
\begin{sidewaysfigure} <content> \end{sidewaysfigure}
|
|
|
|
resp.
|
|
|
|
\begin{sidewaystable} <content> \end{sidewaystable}
|
|
|
|
i.e. ERT.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2004-02-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2004-03-05 14:49:10 +00:00
|
|
|
|
|
|
|
* format incremented to 230.
|
2004-10-28 14:35:53 +00:00
|
|
|
|
2004-03-05 14:49:10 +00:00
|
|
|
* Support for a second optional argument in insetcommand.
|
|
|
|
currently, citation uses this to support natbibs second
|
|
|
|
optional argument \cite[before][after]{key}.
|
2004-10-28 14:35:53 +00:00
|
|
|
I think there's nothing to convert upwards. Downwards, the
|
2004-03-07 14:33:17 +00:00
|
|
|
commands with 2 optional args need to be converted to ERT.
|
2004-10-28 14:35:53 +00:00
|
|
|
|
2004-03-07 14:33:17 +00:00
|
|
|
* Support for jurabib (param \use_jurabib [1|0], default is 0).
|
|
|
|
When converting downwards, \usepackage{jurabib} has to be added
|
|
|
|
to the preamble and, if babel is used, \usepackage{babel} before
|
|
|
|
(jurabib fails if babel is called afterwards). If the natbib commands
|
|
|
|
are used together with jurabib, they have to be converted to ERT too.
|
2004-03-05 14:49:10 +00:00
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2003-12-29 15:49:50 +00:00
|
|
|
|
|
|
|
* format incremented to 229.
|
|
|
|
* Minipages cannot be read anymore. All minipage insets will
|
|
|
|
be converted to frameless box insets between 228->229.
|
|
|
|
|
2003-12-15 22:04:31 +00:00
|
|
|
2003-12-15 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
* format incremented to 228.
|
|
|
|
* Change the output of all insets derived from InsetCollapsable
|
2004-01-07 14:36:43 +00:00
|
|
|
except for InsetERT (which has a similar output already), changing lines
|
2003-12-15 22:04:31 +00:00
|
|
|
"collapsed true" -> "status collapsed"
|
|
|
|
"collapsed false" -> "status open".
|
2004-01-07 14:36:43 +00:00
|
|
|
* Change the output of InsetERT, changing lines
|
|
|
|
"status Collapsed" -> "status collapsed"
|
|
|
|
"status Open" -> "status open".
|
|
|
|
"status Inlined" -> "status inlined".
|
2003-12-15 22:04:31 +00:00
|
|
|
|
2003-12-10 21:48:40 +00:00
|
|
|
2003-12-10 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
2003-12-11 11:16:19 +00:00
|
|
|
* format NOT incremented.
|
|
|
|
* add a 'draft' option to InsetExternal.
|
|
|
|
|
|
|
|
2003-12-10 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
* format incremented to 227.
|
2003-12-10 21:48:40 +00:00
|
|
|
* Change the output of InsetBox:
|
|
|
|
\begin_inset Boxed -> \begin_inset Box Boxed
|
|
|
|
\begin_inset Doublebox -> \begin_inset Box Doublebox
|
|
|
|
\begin_inset Frameless -> \begin_inset Box Frameless
|
|
|
|
\begin_inset ovalbox -> \begin_inset Box ovalbox
|
|
|
|
\begin_inset Ovalbox -> \begin_inset Box Ovalbox
|
|
|
|
\begin_inset Shadowbox -> \begin_inset Box Shadowbox
|
|
|
|
|
2003-12-10 17:28:14 +00:00
|
|
|
2003-12-10 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
2003-12-11 11:16:19 +00:00
|
|
|
* format incremented to 226.
|
2003-12-10 17:28:14 +00:00
|
|
|
* Change the output of InsetNote:
|
|
|
|
\begin_inset Note -> \begin_inset Note Note
|
|
|
|
\begin_inset Comment -> \begin_inset Note Comment
|
|
|
|
\begin_inset Greyedout -> \begin_inset Note Greyedout
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2003-11-28 André Pönitz
|
2003-11-28 18:08:24 +00:00
|
|
|
|
2004-10-28 14:35:53 +00:00
|
|
|
* Remove space_above/space_below from Paragraph.
|
2003-11-28 18:08:24 +00:00
|
|
|
This is now handled by InsetVSpace.
|
|
|
|
|
2003-10-07 22:59:58 +00:00
|
|
|
2003-10-07 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
* Add transformations to InsetExternal
|
|
|
|
|
|
|
|
boundingBox 0 0 20 20 the dimensions of the B.B..
|
|
|
|
Output if the B.B. is not empty.
|
|
|
|
clip clip the image to the B.B.
|
|
|
|
Output if true.
|
|
|
|
extra LaTeX "draft" 'extra' data passed to the primary
|
|
|
|
command for this output format.
|
|
|
|
(Possible formats LaTeX, PDFLaTeX,
|
2006-08-23 12:55:23 +00:00
|
|
|
LinuxDoc, DocBook, Ascii.)
|
2003-10-07 22:59:58 +00:00
|
|
|
The string can contain spaces and so
|
|
|
|
is wrapped in "...".
|
|
|
|
rotateAngle 30 Rotation of the data.
|
|
|
|
Output for non-zero rotation only.
|
|
|
|
rotateOrigin bottomleft Rotation origin.
|
|
|
|
Output for non-zero rotation and
|
|
|
|
non-default origin (center) only.
|
2004-10-28 14:35:53 +00:00
|
|
|
scale 50
|
2003-10-07 22:59:58 +00:00
|
|
|
width 2cm Output only if the image is resized.
|
|
|
|
height 2cm
|
|
|
|
keepAspectRatio
|
2004-10-28 14:35:53 +00:00
|
|
|
|
2003-10-07 14:55:22 +00:00
|
|
|
2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
|
|
|
|
|
|
|
|
* Added box inset. File format:
|
|
|
|
|
|
|
|
\begin_inset Ovalbox Boxed/Frameless/ovalbox/Ovalbox
|
|
|
|
/Shadowbox/Doublebox
|
|
|
|
position "b" t/c/b
|
|
|
|
hor_pos "c" l/c/r/s
|
|
|
|
has_inner_box 1 1/0
|
|
|
|
inner_pos "b" t/c/b/s
|
|
|
|
use_parbox 0 1/0
|
|
|
|
width "100col%" unit+width-string
|
|
|
|
special "none" none/height/depth
|
|
|
|
/totalheight/width
|
|
|
|
height "1in" unit+width-string
|
|
|
|
height_special "totalheight" none/height/depth
|
|
|
|
/totalheight/width
|
|
|
|
collapsed false true/false
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
<box contents>
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2004-10-28 14:35:53 +00:00
|
|
|
This box (Frameless, has_inner_box=1, use_parbox=0) replaces
|
2003-10-07 14:55:22 +00:00
|
|
|
the pre-existing Minipage inset. Parameters translate as follows:
|
|
|
|
position 0/1/2 -> t/c/b
|
|
|
|
inner_position 0/1/2/3 -> inner_pos c/t/b/s
|
|
|
|
height same
|
|
|
|
width same
|
|
|
|
collapsed same
|
2003-03-12 02:39:12 +00:00
|
|
|
|
2003-08-21 12:15:29 +00:00
|
|
|
2003-08-19 Michael Schmitt <michael.schmitt@teststep.org>
|
|
|
|
|
|
|
|
* attribute valignment="center" is replaced by valignment="middle"
|
|
|
|
for tabular columns and cells
|
|
|
|
|
2006-02-02 21:30:04 +00:00
|
|
|
2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
|
|
|
|
|
|
|
|
* Added branch inset. File format:
|
|
|
|
|
|
|
|
branch definition in the header:
|
|
|
|
\branch <branchname>
|
|
|
|
\selected 0 0/1
|
|
|
|
\color #rrggbb
|
|
|
|
\end_branch
|
|
|
|
|
|
|
|
\begin_inset Branch <branchname>
|
|
|
|
collapsed false true/false
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
<branch contents>
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2003-07-28 José Matos <jamatos@lyx.org>
|
2003-07-28 22:30:50 +00:00
|
|
|
|
|
|
|
* \the_end is replaced with \end_document
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2003-07-28 José Matos <jamatos@lyx.org>
|
2003-07-28 15:31:55 +00:00
|
|
|
|
|
|
|
* \layout is replaced with \begin_layout
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2003-07-28 José Matos <jamatos@fep.up.pt>
|
2003-07-27 21:39:54 +00:00
|
|
|
|
|
|
|
Format bumped to 225
|
|
|
|
|
|
|
|
* All layouts finish now with \end_layout
|
|
|
|
|
2003-06-05 22:42:36 +00:00
|
|
|
2003-06-04 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
Format bumped to 224
|
|
|
|
|
|
|
|
* the storage of the external inset has been changed from
|
|
|
|
|
|
|
|
\begin_inset External XFig,"file.fig",""
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
to this
|
|
|
|
|
|
|
|
\begin_inset External
|
|
|
|
template XFig
|
|
|
|
filename file.fig
|
|
|
|
display <display_type>
|
|
|
|
lyxscale <scale>
|
|
|
|
|
2004-10-28 14:35:53 +00:00
|
|
|
\end_inset
|
2003-06-05 22:42:36 +00:00
|
|
|
|
|
|
|
throwing away the final arg (here "", more generally "<string>") that holds
|
|
|
|
the parameters variable.
|
|
|
|
Variables are output if present (filename) or different from the default
|
|
|
|
values (display, lyxscale).
|
|
|
|
|
|
|
|
Moreover, the RasterImage template has been scrapped. All RasterImage
|
|
|
|
external insets are now converted to Graphics insets.
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2003-05-22 10:40:57 +00:00
|
|
|
|
|
|
|
* Added new space insets:
|
|
|
|
\SpecialChar ~ is now \InsetSpace ~
|
|
|
|
ERT: "\ " could be converted to InsetSpace \<space>
|
|
|
|
ERT: "\," could be converted to InsetSpace \,
|
|
|
|
|
2007-04-25 16:14:59 +00:00
|
|
|
2003-04-24 André Pönitz <poenitz@gmx.net>
|
2005-02-21 12:04:23 +00:00
|
|
|
|
|
|
|
* Added eqref support:
|
|
|
|
\begin_inset LatexCommand \eqref{label}
|
|
|
|
|
2005-07-29 09:39:17 +00:00
|
|
|
2003-03-14 Dekel Tsur
|
|
|
|
|
|
|
|
* Format bumped to 223.
|
|
|
|
|
2003-03-12 02:39:12 +00:00
|
|
|
2003-03-12 John Levon <levon@movementarian.org>
|
|
|
|
|
|
|
|
* Added \\end_header to signify the end of the header in a
|
|
|
|
more robust fashion.
|
|
|
|
|
|
|
|
* use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
|
2002-08-02 18:25:25 +00:00
|
|
|
|
2003-02-10 11:48:54 +00:00
|
|
|
2003-02-10 John Levon <levon@movementarian.org>
|
|
|
|
|
|
|
|
Format bumped to 222
|
|
|
|
|
|
|
|
Added \\tracking_changes 0|1 to the header.
|
|
|
|
|
|
|
|
Added \\author to the header. This can be present multiple
|
|
|
|
times, and is of the form :
|
|
|
|
|
|
|
|
\\author "Real Name" email@address.com
|
|
|
|
|
|
|
|
Added \\change_deleted, \\change_inserted. Each of these does not
|
|
|
|
span a paragraph, and is delimited by "\\change_unchanged\n". Both are
|
|
|
|
of the form :
|
|
|
|
|
|
|
|
\\change_inserted author time
|
|
|
|
|
|
|
|
where author is an integer ID reference into the author list in
|
|
|
|
the header, and time is time_t.
|
|
|
|
|
2002-10-24 11:53:46 +00:00
|
|
|
2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
|
|
|
|
|
2007-04-25 01:24:38 +00:00
|
|
|
* InsetGraphicsParams.h (scale): is now a float, not an unsigned int.
|
2002-10-24 11:53:46 +00:00
|
|
|
|
2002-08-25 00:15:06 +00:00
|
|
|
2002-08-22 Rob Lahaye <lahaye@snu.ac.kr>
|
|
|
|
|
|
|
|
New graphics dialog. With the removal of buttons in the dialog, also
|
|
|
|
keywords in the graphics inset went. The following keywords do not
|
|
|
|
exist anymore:
|
|
|
|
lyxsize_kind
|
|
|
|
lyxsize_type
|
|
|
|
lyxwidth
|
|
|
|
lyxheight
|
|
|
|
size_kind
|
|
|
|
size_type
|
|
|
|
rotate
|
|
|
|
|
|
|
|
Only non-default values are saved to the lyx files. The defaults of the remaining
|
|
|
|
keywords are;
|
|
|
|
filename <empty>
|
|
|
|
lyxscale 100
|
|
|
|
display default
|
|
|
|
scale 100
|
|
|
|
width <empty>
|
|
|
|
height <empty>
|
|
|
|
draft <off>
|
|
|
|
noUnzip <off>
|
|
|
|
BoundingBox <from file>
|
|
|
|
clip <off>
|
|
|
|
rotateAngle 0
|
|
|
|
rotateOrigin centerBaseline
|
|
|
|
subcaption <off>
|
|
|
|
subcaptionText <empty>
|
|
|
|
special <empty>
|
|
|
|
|
|
|
|
The remaining keywords have sufficient overlap with the old ones for a
|
|
|
|
smooth reading of the 1.2.x inset keywords in most common cases.
|
|
|
|
|
|
|
|
Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
|
|
|
|
They don't exist anymore and we can't translate them into a scaling value, while
|
|
|
|
we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
|
|
|
|
argument is ignored and lost.
|
|
|
|
|
|
|
|
Only few compatibility issues are left for lyx2lyx:
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
old-token new-token remove
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
size_kind original / size_type 0 scale 100 width <val>
|
|
|
|
height <val>
|
|
|
|
scale <val>
|
|
|
|
|
|
|
|
size_kind width_height / size_type 1 - scale <val>
|
|
|
|
|
|
|
|
lyxsize_kind original / lyxsize_type 0 lyxscale 100 lyxscale <val>
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
[replace old-token by new-token, and remove any of subsequent tokens as listed]
|
|
|
|
|
|
|
|
If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
|
|
|
|
if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
|
|
|
|
then
|
|
|
|
replace "rotateAngle <val>" by "rotateAngle 0"
|
|
|
|
|
|
|
|
|
2002-08-12 17:13:58 +00:00
|
|
|
2002-08-12 Andre' Poenitz <poenitz@gmx.de>
|
|
|
|
|
|
|
|
Added \lyxlock for locked math inset when written to .lyx file.
|
|
|
|
When "downgrading" .lyx files this should simple be deleted but it
|
|
|
|
does not hurt at all if it stays in. It does not have to be added
|
|
|
|
when "upgrading".
|
|
|
|
|
|
|
|
|
2002-08-02 18:25:25 +00:00
|
|
|
2002-08-02 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
Added a boolean "preview" flag to InsetCommandParams.
|
|
|
|
Currently it is written only by InsetInclude, because only this
|
|
|
|
class can generate a preview of its contents.
|
|
|
|
|
|
|
|
The LyX file now contains:
|
|
|
|
|
|
|
|
\begin_inset Include \input{snapshot_t=40.tex}
|
|
|
|
+preview true
|
|
|
|
|
2004-10-28 14:35:53 +00:00
|
|
|
\end_inset
|
2002-08-02 18:25:25 +00:00
|
|
|
|
|
|
|
Earlier versions of LyX just swallow this extra token silently.
|
2002-08-12 16:41:15 +00:00
|
|
|
|
|
|
|
2002-08-12 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
|
|
|
|
renamed as "size_kind" and "lyxsize_kind" respectively.
|
|
|
|
|
|
|
|
\begin_inset Graphics FormatVersion 1
|
|
|
|
filename file.eps
|
|
|
|
display default
|
|
|
|
- size_kind original
|
|
|
|
+ size_type original
|
|
|
|
width 7cm
|
|
|
|
rotateOrigin center
|
|
|
|
- lyxsize_kind original
|
|
|
|
+ lyxsize_type original
|
|
|
|
lyxwidth 4cm
|
|
|
|
|
2004-10-28 14:35:53 +00:00
|
|
|
\end_inset
|
2002-08-12 16:41:15 +00:00
|
|
|
|