On Friday 12 July 2002 9:13 am, David Kastrup wrote: > David Kastrup <[EMAIL PROTECTED]> writes: > > If that's ok, just use grep, which will probably be faster. > > > > grep '^Preview: Snippet /' > > And do the obvious correction to the line above. Argh.
;-) aleem@pneumon:tmp-> grep '^Preview: Snippet' 1lyxpreview.log Preview: Snippet 1 492688 0 744653) Preview: Snippet 2 1441792 163840 16026923) Preview: Snippet 3 282168 0 377591) Preview: Snippet 4 1619363 449545 16026923) Could you further modify prlyx.cfg to not output that final ')'. Attached. Why has the name changed from .def to .cfg? I just pasted your .cfg file into your original .def file and all works well. Should I rename this as .cfg? Angus (LaTeX ignorant...)
\ifPreview\else\expandafter\endinput\fi \pr@loadcfg{prlyx} \preview@delay{\typeout{Preview: Fontsize \f@size pt.}} \ifx\PreviewBbAdjust\@undefined \else \toks@{} \def\next{\toks@\expandafter{\the\expandafter\toks@\expandafter\space% \number\dimen@}\advance\count@\@ne\ifnum\count@<4 \afterassignment\next\dimen@\fi} \count@=\z@ \afterassignment\next \dimen@\PreviewBbAdjust \typeout{Preview: Tightpage \expandafter\@gobble\the\toks@.} \fi \g@addto@macro\pr@ship@end{\typeout{Preview: Snippet \number\pr@snippet\space \number\ht\pr@box\space \number\dp\pr@box \space\number\wd\pr@box}}