On Fri, Apr 25, 2008 at 05:32:41PM +0200, Abdelrazak Younes wrote:

> Enrico Forestieri wrote:
[...]
> >    LabelString     "Fig. # (continued)"
> >
> > where # would signal where the number has to appear, for example.
> >   
> Hum, you'll also have to define Fig, Table, etc.  I am not opposed but 
> this is starting to get a bit complicated, but why not.

Maybe

    AddToLabelString  " (continued)"

or

    LabelString       "%l %n (continued) -- "

where %l is the proper label (Fig, Table, etc.) and %n the number.
LyX knows if the caption is in a figure, or table, or ... and thus
is able to do the proper substitution for %l.
Then, if %l or %n are missing, no corresponding entries will be used.
This would allow for nameless captions, for example

InsetLayout Caption:NameLess
    CopyInsetStyle   Caption:Standard
    LatexName        unnamedcaption
    AdvanceCounter   No
    LabelString      ""
End

-- 
Enrico

Reply via email to