diff --git a/development/FORMAT b/development/FORMAT index 2cb24d31a1..391b414ef0 100644 --- a/development/FORMAT +++ b/development/FORMAT @@ -12,6 +12,20 @@ adjustments are made to tex2lyx and bugs are fixed in lyx2lyx. ----------------------- +2012-11-19 Jürgen Spitzmüller + * Format incremented to 446: Change of InsetArgument syntax. + InsetArgument now has a numeric identifier which determines + its position (in the LaTeX output): + \begin_inset Argument 1 + ... + \end_inset + Pre-2.1 documents' arguments all get the number "999", and then + InsetArgument::updateBuffer() computes the correct number. + This is because lyx2lyx has no access to layouts and hence does + not know how many optional arguments a layout can have (if a command + has two optional and one mandatory arguments and only one optional + is actually given, the mandatory arg still must get number 3). + 2012-10-20 Liviu Andronic * Format incremented to 445: support for the URW Classico font, an Optima clone. diff --git a/src/tex2lyx/TODO.txt b/src/tex2lyx/TODO.txt index ee927a3b36..3e4c02d32e 100644 --- a/src/tex2lyx/TODO.txt +++ b/src/tex2lyx/TODO.txt @@ -78,6 +78,8 @@ Format LaTeX feature LyX feature libertine-legacy.sty 445 URW Classico LaTeX font \font_sans uop \renewcommand{\sffamily}{uop} +446 Optional and required arguments InsetArgument + now numbered by order General