Selon Mael Hilléreau <[EMAIL PROTECTED]>:

> The 'LabelStringAppendix' attribute (Customization guide, § 5.3.4)
> doesn't work properly when using child documents, and making it to
> work into LyX leads to an inconsistency into the output file. See
> attached files "labelstringappendix.lyx" (master) and
> "labelstringappendix2.lyx" (child).

This is not exactly the source of the problem: in fact, the keyword
'LabelStringAppendix' works fine, but the "Start Appendix Here" command needs
support for documents having child documents including chapters... Currently,
one needs to select "Start Appendix Here" into each child document to make the
label "Chapter ##" becoming "Appendix ##" into LyX window (with consistent
numbering). However, the LaTeX output is then incorrect because of multiple
'\appendix' LaTeX commands into the code (because they cause counter resets).

A quick solution would be to ignore multiple '\appendix' commands. This can
already be done with an ERT placed after the first "Start Appendix Here"
(\let\appendix=\relax). But it is not satisfactory and this aspect clearly needs
to be managed directly by LyX.

Any feedback/opinion about this topic? Should I file a bug?

Mael.

Reply via email to