On 01/01/2013 8:48 AM, Uwe Stöhr wrote:
Am 01.01.2013 10:28, schrieb Jürgen Spitzmüller:

It is a label used for the old caption layouts. It outputs the float
type plus
counter or "Senseless!!!" outside floats. See for instance
CaptionAbove in the
branch KOMA layouts.

But "Senseless!!!" is the LabelString. So if LabelType is set to
"Sensitive" LabelString should be set to "Senseless!" for the case that
the caption is inserted outside of a float, right?

scrclass.inc has this:

Style Captionabove
     Category              Captions
     Margin                First_Dynamic
     LatexType             Command
     LatexName             caption
     NeedProtect           1
     LabelSep              xx
     ParSkip               0.4
     TopSep                0.5
     Align                 Center
     LabelType             Sensitive
     LabelString           "Senseless!"
     OptionalArgs          1
     LabelFont
       Series              Bold
     EndFont
     LatexName            captionabove
End

But why is the LatexName the first time "caption"?
The LabelFont is wrong - the label does not appear by default bold in
the output. Am I allowed to correct this?

It also seems
to be hardcoded to the type "figure 1" but for custom layouts one often
need other counters or combined counters like "figure 2.A".

I'd say for such things you might have to alter the counter, not the
LabelType. But it's difficult to say without a concrete example.

You are right, one has to change the counter definition.

---------------

Another question:

In section 5.3.2 we have
"Please note that only packages about which LyX knows should be listed
in the square brackets. The list of such packages is documented only in
the source code. LyX will not check for arbitrary packages."

But this is not true I think. You can specify there any package and LyX
will check for them all, no matter how exotic the package is. This is
one of the new configure.py features for LyX 2.0. So I would remove this
statement or do I have overseen an issue here?

thanks and regards
Uwe


You are right, thanks for noticing and fixing it. To check for packages from user-written modules was I think my first contribution!

Cheers,
Julien

Reply via email to