On Tue, Sep 11, 2007 at 10:11:42PM +0300, Dov Feldstern wrote: > Jürgen Spitzmüller wrote: > >Neal Becker wrote: > >>In my title I tried to insert: > >> > >>Revision ERT{\input{build_id}} > >> > >>On the screen, it says: \INPUT{BUILD_ID} > >> > >>because I'm using ams art, and title is caps. > >> > >>I chose 'view source', it says: > >>\title{SCMA Design Document\\ > >>Revision \input{build_id}} > >> > >>\maketitle > >> > >>OK, fine. Just a screen buglet. Wait, no! > >> > >>lyx --export pdf <file> > >>! LaTeX Error: File `BUILD_ID.tex' not found. > > > >With ERT, you're on your own. > >Try ERT{\MakeLowercase{\input{build_id}}} > > > >Jürgen > > > > Actually, I'm pretty sure this is a regression, which is due to the > current_font text->cursor move. What happens is, ERT font used to be set > explicitly, but now since there's no place to set it, it just takes the > font from the surrounding text. So in an AMS title you'll apparently get > all-caps, in an emph environment the text will all be emph, in a > non-latin language you can't type latin text at all, which means ERT is > useless in this context. > > See the thread http://permalink.gmane.org/gmane.editors.lyx.devel/93458. > Something really should be done about this, but I'm not sure what the > correct way to deal with this is... I suggested one approach in that > message, but it's just an idea, I don't know if it would work in practice... > > Dov
I don't get this effect at all. Tried with article (AMS) and title layout. The title is in small caps, and no matter what I do, the ERT inset content is in lower case, standard size, typewriter LaTeX red text, just as it is supposed to be. What should I do to see the bug? - Martin