On Wed, Oct 17, 2001 at 08:33:40AM -0400, Zailong Bian wrote: > Style ShortCaption > CopyStyle Caption > LatexName setshortcaption > LabelString "SCaption:" > LabelType Static > End > > And all the actual code goes to latex premeable (menu). After that, the > problem is gone.
You can use the following (and nothing in the preamble): Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString "SCaption:" LabelType Static Preamble \AtBeginDocument{ \let\oldcaption=\caption \renewcommand{\caption}[1]{ \ifx \shortcaption \undefined% \oldcaption{#1}% \else% \oldcaption[\shortcaption]{#1}% \fi% }} \newcommand{\setshortcaption}[1]{ \newcommand{\shortcaption}{#1} } EndPreamble End