From 49b738bdfda964b1dfe1ef8ad6f50e37b957c814 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 19 Nov 2012 18:44:59 +0100 Subject: [PATCH] Some documentation --- development/FORMAT | 14 ++++++++++++++ src/tex2lyx/TODO.txt | 2 ++ 2 files changed, 16 insertions(+) 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