Re: [patch] native support for list of listings

2012-04-24 Thread Georg Baum
Pavel Sanda wrote: > BTW Georg, is make ../lib/layoutranslation supposed to update List of > Listings translation? It seems not to work here. Yes. But it does not play well wil updates of lib/layoutranslations via git. I.e. if you change a translation, and then pull in a change of lib/layoutran

Re: [patch] native support for list of listings

2012-04-23 Thread Pavel Sanda
Pavel Sanda wrote: > Georg Baum wrote: > > "Listings" is the default for \lstlistlistingname in listings.sty. IMHO LyX > > should not change this default as a side effect of the translation > > mechanism. Each translator is of course free to choose the appropriate term > > for his language. > >

Re: [patch] native support for list of listings

2012-04-13 Thread Pavel Sanda
Georg Baum wrote: > "Listings" is the default for \lstlistlistingname in listings.sty. IMHO LyX > should not change this default as a side effect of the translation > mechanism. Each translator is of course free to choose the appropriate term > for his language. Ok, please go ahead. Pavel

Re: [patch] native support for list of listings

2012-04-12 Thread Georg Baum
Pavel Sanda wrote: > Georg Baum wrote: >> \addto\captions$$lang{\renewcommand{\lstlistlistingname} {_(Listings[[List >> of Listings]])}} > > Why don't we use directly "List of Listings"? All other linstings have > this form. Pavel The reason is given in the comment a few lines above the cited

Re: [patch] native support for list of listings

2012-04-11 Thread Pavel Sanda
Georg Baum wrote: > > \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of > Listings]])}} Why don't we use directly "List of Listings"? All other linstings have this form. Pavel

[patch] native support for list of listings

2012-04-10 Thread Georg Baum
When working on the listings translation I noticed that \lstlistoflistings is not supported by LyX, although almost everything is already there. The attached patch implements this. Is it OK to go in (+ file format change of course)? Georgdiff --git a/lib/layouts/stdinsets.inc b/lib/layouts/std