From werner.lemb...@gmx.de Mon Aug 20 01:14:00 2012
        > which I'd like to break into several shorter
        > lines, but this doesn't seem to work:

        Yes, eqn inserts various computations so that line continuations in
        macros don't work.  As a rule of thumb, don't use eqn stuff in macro
        arguments but put them into a string defined in advance.

        > .DS CB
        > .PIC -C rep-peeq-srf.ps 5.0
        > .FG "Equivalent plastic strain ahead\
        >  of the notch (if any) for all models at\
        >  $-196 sup{0}$C at the surface at\
        >  $epsilon sub{p} = 0.2%$ or shortly after."\
        >  "" 0 fig:peeq-srf
        > .SETR fig:peeq-srf
        > .DE

        The following works:

          .DS CB
          .PIC -C rep-peeq-srf.ps 5.0
          .ds caption "Equivalent plastic strain ahead\"
          .as caption " of the notch (if any) for all models at\"
          .as caption " $-196$\[de]C at the surface at\"
          .as caption " $epsilon sub{p} = 0.2%$ or shortly after.\"
          .FG "\*[caption]" "" 0 fig:peeq-srf
          .SETR fig:peeq-srf
          .DE

        I use trailing \" to avoid empty spaces at the end of lines (which .ds
        and .as happily store otherwise).

Thank you, this is a good solution.

How about maths in the abstract?
I don't know where to place

.EQ
delim $$
.EN

I tried putting it before COVER/COVEND,
or inside, but before AS/AE, but I get

% make
pic rep.1 | tbl | eqn | mmroff
pic rep.1 | tbl | eqn | groff -mm > rep.ps
/usr/share/tmac/mm/4.MT:66: warning: bad font number
/usr/share/tmac/mm/4.MT:66: warning: bad font number
%

and the maths are not displayed.

Thanks

Anton

Reply via email to