Re: Page format

2011-02-01 Thread Georg Baum
Jean-Pierre Chrétien wrote: > Hello, > > While performing some tests to check Georg's bug #3016 resolution, > I found what I think might be another unrelated bug in branch and trunk: > when > * paper format is set to default > * margins are explicitly set > export to latex sends the [letterpa

Re: bug with brackets in subfloat?

2011-02-01 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > This problem occurs probably in many if not all optional arguments. LyX > could try to prevent this, so you could file a report on our tracker. I noted that we already do this in the OptArg inset where we embrace content if we find a ] character. Should we just do th

Re: bug with brackets in subfloat?

2011-02-01 Thread Paul Rubin
James C. Sutherland utah.edu> writes: In the subfigure caption, you can enter math mode (C-M), type \ensuremath followed by a space (to get an inset nested in the math inset), type [B] there and you should be good to go. /Paul

Re: bug with brackets in subfloat?

2011-02-01 Thread Jürgen Spitzmüller
James C. Sutherland wrote: > Is there a known work-around for this problem? A workaround is to embrace the whole math thing in ERT "{" and "}". This problem occurs probably in many if not all optional arguments. LyX could try to prevent this, so you could file a report on our tracker. Jürgen

bug with brackets in subfloat?

2011-02-01 Thread James C. Sutherland
I may have discovered a bug, but it may be in LaTeX itself. Steps to reproduce: 1. Create a figure float 2. create a sub-float within it. 3. In the subfloat caption, enter (in math mode): $[A]$, where $ indicates math mode. 4. Compile the file. This results in a LaTeX error that

Re: Printer fonts in 2.0 HEAD

2011-02-01 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > If we are confident that clsguide is right, we can redefine these two > macros and input the files. But this is risky IMO. Yes, risky and beyond my LaTeX confidence. For the time being, I switched back to the mapping=tex-text option that is also understood by older

Re: r37364 - lyx-devel/trunk/development/autotests

2011-02-01 Thread Pavel Sanda
Tommaso Cucinotta wrote: > I also was thinking that another reproducibility issue is due to the > configuration of LyX. If you have in your home folder any custom > options, or scripts, or extended commands or modified key bindings > or whatever else, then some tests might fail. For example, I gues

Re: r37364 - lyx-devel/trunk/development/autotests

2011-02-01 Thread Tommaso Cucinotta
Il 01/02/2011 11:22, Pavel Sanda ha scritto: Tommaso Cucinotta wrote: possibilities. Just need to fix what else is needed in order to have the test run properly on a non-Italian machine (I have to find an English installation somewhere and try). you dont know what box are you opening :) there a

Re: r37364 - lyx-devel/trunk/development/autotests

2011-02-01 Thread Pavel Sanda
Tommaso Cucinotta wrote: > possibilities. Just need to fix what else is needed in order to have the > test run properly on a non-Italian machine (I have to find an English > installation somewhere and try). you dont know what box are you opening :) there are many strange issues which affect whet

Re: Printer fonts in 2.0 HEAD

2011-02-01 Thread Jean-Marc Lasgouttes
Le 01/02/2011 09:52, Guenter Milde a écrit : The clsguide tells: The first thing a class or package file does is identify itself. Package files do this as follows: \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ package }[ dateother information ] e.g. \ProvidesPackage{fontspec} [2008

Re: Printer fonts in 2.0 HEAD

2011-02-01 Thread Jürgen Spitzmüller
Guenter Milde wrote: > Parsing this should not bee too difficult with Python -- watch that there > might be line breaks between the \ProvidesPackage command and the > arguments. For a proper detection, we would need a tex solution, since configure.ltx is a tex file. Jürgen

Re: Printer fonts in 2.0 HEAD

2011-02-01 Thread Guenter Milde
On 2011-02-01, Jürgen Spitzmüller wrote: > Julien Rioux wrote: >> > Is here a TeX method to find out a package version other than LaTeX's >> > \@ifpackagelater? With the latter, the packages need to be loaded in >> > advance, and we can't do that in checkconfig.ltx. >> \RequirePackage[]{}[] > We

Re: Printer fonts in 2.0 HEAD

2011-02-01 Thread Jürgen Spitzmüller
Julien Rioux wrote: > > Is here a TeX method to find out a package version other than LaTeX's > > \@ifpackagelater? With the latter, the packages need to be loaded in > > advance, and we can't do that in checkconfig.ltx. > > \RequirePackage[]{}[] We cannot use this in checkconfig.ltx either. We a