[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Uh, what is this?
From: |
Jan-Ake Larsson |
Subject: |
Re: [AUCTeX-devel] Uh, what is this? |
Date: |
Wed, 29 Jun 2005 09:32:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; sv-SE; rv:1.7.7) Gecko/20050422 |
Let's try that again...
David Kastrup wrote:
> %<tightpage> \special{!userdict 7{currentfile token not{stop}if 65781.76 div
> }) pop}
>
> The last line quite befuddles me: I can't imagine that we ever had
> a "userdict 7 ..." string in our specials. Would not
> \special{!)pop}
> be completely sufficient here?
Yes it would, except for one thing: dvipng-1.6 would complain about an
unknown special. I inserted the string needed for detection of the
preview-latex <= 0.9.1 tightpage option, that is "!userdict" followed
by a string containing "7{currentfile......div", the extra brace is to
make TeX happy. The tightpage flag inside dvipng will be set twice, but
that is all that will happen. It is after all a PostScript comment.
This way, the compatibility code would not need extra code within
dvipng, and is situated in one place only, thus easy to remove. But
perhaps I should have documented this in the PostScript comment?
/JÅ