Angus Leeming <[EMAIL PROTECTED]> writes:

> I installed the cvs version of preview.sty et al. without any problems.
> Running latex on a "snippet" file and then grepping the resultant log file 
> shows:
> 
> aleem@pneumon:tmp-> grep review 1lyxpreview.log
> **1lyxpreview.tex
> (1lyxpreview.tex
> ))) (/usr/local/teTeX/share/texmf/tex/latex/preview-latex/preview.sty
> Package: preview 2002/07/15 preview-latex CVS-1.59
> (/usr/local/teTeX/share/texmf/tex/latex/preview-latex/prtightpage.def
> \PreviewBorder=\dimen106
> ) (/usr/local/teTeX/share/texmf/tex/latex/preview-latex/prlyx.def) 
> (/usr/local/
> teTeX/share/texmf/tex/latex/preview-latex/prshowlabels.def
> No file 1lyxpreview.aux.
> Preview: Fontsize 10pt
> Preview: Tightpage -32890 -32890 32890 32890
> Preview: Snippet 1 492688 0 744653
> Preview: Snippet 2 1441792 163840 16026923
> Preview: Snippet 3 282168 0 377591
> Preview: Snippet 4 1619363 449545 16026923
> Output written on 1lyxpreview.dvi (4 pages, 1744 bytes).
> 
> So, I'd say that all is fine.
> 
> I don't follow your Tightpage description and certainly haven't used
> it to date.

The snippet info outputs the exact dimensions of the TeX box.  The
tightpage option adds additional side bearings to that in order to
arrive at the PostScript page size so as not to cut off anything that
might slightly protrude out of the TeX box.  So the total size of the
graphics is larger by those side bearings, and the ascent ratio is
also slightly influenced by it.  Probably not more than very few
pixels at most, if at all.

If I call the tp numbers tp1, tp2, tp3, tp4, and the snippet values
ht, dp, wd, then we have, strictly speaking,

ascent = max(0,ht,-dp)+tp4
descent = max(0,-ht,dp)-tp2

The tightpage dimensions can be modified by the user; in that case,
before the next snippet, the changed values will be printed out in a
new Tightpage line (the separate prlyx.def that you have had in your
hands before printed out the tightpage info itself, and just once at
the start of the document.  Which should not make a difference, as I
don't think anybody ever fiddled with those settings, least of all in
mid-document).

> ps, If you're planning on releasing preview-latex 0.73 in the next
> week or so, then that 's great.

It will quite probably not be possible this week, but certainly the
next one.  We have some documentation issues to sort out, and I have
some other stuff (like native XEmacs/Windows support instead of
Cygwin) that we want to have basically tested.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]


Reply via email to