Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-17 Thread Jean-Marc Lasgouttes
Georg Baum writes: > Jean-Marc Lasgouttes wrote: > >> It looks pretty good. Only question: why is readWithoutConv needed? > > It prevents an endless loop if layout2layout does not produce the desired > format. In my case this happened because I forgot to update the > layout2layout version number,

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-17 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > It looks pretty good. Only question: why is readWithoutConv needed? It prevents an endless loop if layout2layout does not produce the desired format. In my case this happened because I forgot to update the layout2layout version number, but it could also happen if lay

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-17 Thread Jean-Marc Lasgouttes
Georg Baum writes: > The former was the solution (I just passed a boolean function argument). I > did not think of this before because LaTeXFeatures::useBabel() led me on a > side track. > > Is the attached patch OK? It basically implements your suggestions, but uses > different names for the two

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-14 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > How can we get there ? Assuming the we can tell when babel is used (I > saw what you wrote, but in general if it is difficult, then a cleanup > might be necessary...), I would add a new BabelPreamble (in addintion to > your new preamble) > > BabelPreamble >\newco

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-08 Thread Jean-Marc Lasgouttes
\AtBeginDocument{\ifx\LdfInit\undefined\relax\else\addto\captions$$lang{\renewcommand{\theoremname {_(Theorem)}}\fi} +EndI18nPreamble is quite scary. Is there anything besides this line that you don't like? IMHO the general concept fits well with other configuration files used by LyX. I

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-05 Thread rgheck
Pavel Sanda wrote: Georg Baum wrote: Pavel Sanda wrote: it would be good to add some note about your last commits into http://wiki.lyx.org/LyX/NewInLyX20 ... This is simply a bug fix. If you want bug fixes to appear on that page I'll do it, but currently there are no other bug

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-05 Thread Pavel Sanda
Georg Baum wrote: > Pavel Sanda wrote: > > > it would be good to add some note about your last commits > > into http://wiki.lyx.org/LyX/NewInLyX20 ... > > This is simply a bug fix. If you want bug fixes to appear on that page I'll > do it, but currently there are no other bug fixes listed. it lo

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-05 Thread Georg Baum
Pavel Sanda wrote: > it would be good to add some note about your last commits > into http://wiki.lyx.org/LyX/NewInLyX20 ... This is simply a bug fix. If you want bug fixes to appear on that page I'll do it, but currently there are no other bug fixes listed. Also Uwe requested to use change trac

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-05 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > As happy as I may be to see you commit new stuff, I have to say that I > am not very excited by the form used in the layout files. In particular > stuff like > >> +I18nPreamble >> + >> \AtBeginDocument{\ifx\LdfInit\undefined\relax\else\addto\captions$$lang{\

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-04 Thread Jean-Marc Lasgouttes
b...@lyx.org writes: > Partial fix of bug 1476: > Implement infrastructure to add translations to layout files and translate > one .inc file. > Some others are missing. As happy as I may be to see you commit new stuff, I have to say that I am not very excited by the form used in the layout files.

Re: [Cvslog] r28356 - in /lyx-devel/trunk: lib/doc/Customization.lyx l...

2009-02-04 Thread Pavel Sanda
b...@lyx.org wrote: > Author: baum > Date: Wed Feb 4 21:06:50 2009 > New Revision: 28356 > > URL: http://www.lyx.org/trac/changeset/28356 > Log: > Partial fix of bug 1476: > Implement infrastructure to add translations to layout files and translate > one .inc file. > Some others are missing. it