On Tue, Apr 17, 2012 at 10:46 PM, Richard Heck <rgh...@comcast.net> wrote:

> On 04/17/2012 04:45 PM, Richard Heck wrote:
>
>> On 04/17/2012 02:56 PM, Georg Baum wrote:
>>
>>> Richard Heck wrote:
>>>
>>>  I didn't notice it before (probably since we don't get diffs), but it
>>>> might be worth having the layout name here be "Include:Listings" for
>>>> consistency with other insets. Ultimately, we might also want to have
>>>> "Include:Input", etc.
>>>>
>>> Is this just a convention, or is this naming handled differently
>>> anywhere in
>>> the code? Anyway, if the CopyStyle still works please change it (you know
>>> the InsetLayout stuff better).
>>>
>>>  Perhaps, but I'm not sure I fully understand what your patch was
>> supposed to do. So here's a patch of mine that changes the layout names.
>> Can you tell me if it works right?
>>
>>  PS I'm very happy to see this machinery extended to the TOC. See the
> FIXME there in validate() regarding XHTML styling. I think I ought to be
> able to fix that now.
>
> Richard
>

It is nice working, but does not translate "Listings" (value of
lstlistlistingname).
I have to use (in local layout for slovak document)
...

Preamble

\AtBeginDocument{

\renewcommand\lstlistlistingname{Výpisy}

}

EndPreamble

...

to make it correct. Would be nice, to have it automatically iff using
"\lstlistoflistings{}".


Kornel

Reply via email to