2003-03-12 02:39:12 +00:00
|
|
|
|
LyX file-format changes
|
2006-10-12 20:21:14 +00:00
|
|
|
|
-----------------------<2D>
|
2006-10-16 07:06:41 +00:00
|
|
|
|
|
2007-01-31 21:15:40 +00:00
|
|
|
|
2007-01-31 Uwe St<53>hr
|
2007-01-31 20:39:46 +00:00
|
|
|
|
|
2007-01-31 21:15:40 +00:00
|
|
|
|
* format incremented to 258: new \lyxline definition
|
|
|
|
|
Old:
|
|
|
|
|
\\newcommand{\\lyxline}[1]{
|
|
|
|
|
{#1 \\vspace{1ex} \\hrule width \\columnwidth \\vspace{1ex}}
|
|
|
|
|
}
|
|
|
|
|
New:
|
|
|
|
|
\\newcommand{\\lyxline}[1][1pt]{%
|
|
|
|
|
\\par\\noindent%
|
|
|
|
|
\\rule[.5ex]{\\linewidth}{#1}\\par}
|
|
|
|
|
The new definition is more robust, see bug 1988 and now really takes care about
|
|
|
|
|
the fontsize: \lyxline{\Huge} produces now a thicker line then \lyxline{\normalfont}
|
2007-01-31 20:39:46 +00:00
|
|
|
|
|
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.
|
|
|
|
|
|
2006-10-16 07:06:41 +00:00
|
|
|
|
2006-10-03 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
to be specified in layout files and will be handled properly. When
|
|
|
|
|
converted back to older formats, they will be ignored in LaTeX
|
|
|
|
|
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".
|
|
|
|
|
|
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
|
|
|
|
2006-06-10 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* 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:
|
|
|
|
|
\font_roman: cmr (-> \renewcommand{\rmdefault}{cmr}),
|
|
|
|
|
lmodern, charter, utopia, ccfonts, chancery, beraserif
|
|
|
|
|
(-> \usepackage{<name>})
|
|
|
|
|
\font_sans: cmss, lmss, cmbr
|
|
|
|
|
(-> \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>
|
|
|
|
|
|
|
|
|
|
* format incremented to 246. The framed.sty package is
|
|
|
|
|
now supported with note types framed and shaded.
|
|
|
|
|
|
2005-10-13 10:59:39 +00:00
|
|
|
|
2005-10-12 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* format incremented to 245. The \quotes_times parameter
|
|
|
|
|
has been removed.
|
|
|
|
|
|
2005-09-28 09:40:50 +00:00
|
|
|
|
2005-09-24 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2005-07-17 11:17:13 +00:00
|
|
|
|
2005-07-18 Jos<6F> Matos <jamatos@lyx.org>
|
|
|
|
|
|
|
|
|
|
* 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).
|
|
|
|
|
|
|
|
|
|
|
2005-01-24 17:18:26 +00:00
|
|
|
|
2005-01-23 J<>rgen Spitzm<7A>ller <j.spitzm<7A>ller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2005-01-06 16:52:08 +00:00
|
|
|
|
2005-01-06 Jos<6F> Matos <jamatos@lyx.org>
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
2004-12-03 18:39:51 +00:00
|
|
|
|
2004-12-03 Jos<6F> Matos <jamatos@lyx.org>
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
2004-10-10 17:17:09 +00:00
|
|
|
|
2004-10-10 Jos<6F> Matos <jamatos@lyx.org>
|
|
|
|
|
|
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
|
|
|
|
|
|
2004-08-19 16:24:55 +00:00
|
|
|
|
2004-08-15 Jos<6F> Matos <jamatos@lyx.org>
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
2004-03-29 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2004-03-29 11:38:39 +00:00
|
|
|
|
2004-03-29 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2004-03-05 14:49:10 +00:00
|
|
|
|
2004-02-23 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
2003-12-29 15:49:50 +00:00
|
|
|
|
2003-12-29 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
2003-11-28 18:08:24 +00:00
|
|
|
|
2003-11-28 Andr<64> P<>nitz
|
|
|
|
|
|
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
|
|
|
|
|
|
2003-07-28 22:30:50 +00:00
|
|
|
|
2003-07-28 Jos<6F> Matos <jamatos@lyx.org>
|
|
|
|
|
|
|
|
|
|
* \the_end is replaced with \end_document
|
|
|
|
|
|
2003-07-28 15:31:55 +00:00
|
|
|
|
2003-07-28 Jos<6F> Matos <jamatos@lyx.org>
|
|
|
|
|
|
|
|
|
|
* \layout is replaced with \begin_layout
|
|
|
|
|
|
2003-07-27 21:39:54 +00:00
|
|
|
|
2003-07-28 Jos<6F> Matos <jamatos@fep.up.pt>
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2003-05-22 10:40:57 +00:00
|
|
|
|
2003-05-20 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
|
|
|
|
|
|
|
|
|
|
* Added new space insets:
|
|
|
|
|
\SpecialChar ~ is now \InsetSpace ~
|
|
|
|
|
ERT: "\ " could be converted to InsetSpace \<space>
|
|
|
|
|
ERT: "\," could be converted to InsetSpace \,
|
|
|
|
|
|
2005-02-21 12:04:23 +00:00
|
|
|
|
2003-04-24 Andr<64> P<>nitz <poenitz@gmx.net>
|
|
|
|
|
|
|
|
|
|
* 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>
|
|
|
|
|
|
|
|
|
|
* insetgraphicsParams.h (scale): is now a float, not an unsigned int.
|
|
|
|
|
|
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
|
|
|
|
|