[XeTeX] Asymptote

Peter Dyballa Peter_Dyballa at Web.DE
Tue May 25 23:57:43 CEST 2010


Am 25.05.2010 um 19:19 schrieb José Carlos Santos:

> and I cannot exclude the possibility that my version is "broken" in  
> some sense


It is indeed! What you've found has been found and fixed earlier, last  
autumn, by Ross Moore. The cause is that PostScript and PDF divide one  
inch into 72 equal parts (TeX big points, bp) while TeX gets 72.27  
equal parts from 1".

Just update MiKTeX! If you don't want to perform this, you can also  
change graphics.sty:

> 	I'm trying to see how to force this extra scaling to occur,
> 	using the macros provided in LaTeX's  graphics.sty .
> 	
> 	
> 	Here's how to remove the discrepancy:
> 	
> 	    \piccommand
> 	   }\dimen0=\wd0 \dimen2=\ht0
> 	  \edef\next{\egroup
> 	%     \def\noexpand\Gin at urx{\strip at pt\dimen0}%   replace these 2  
> lines
> 	%     \def\noexpand\Gin at ury{\strip at pt\dimen2}%   with the 2 that  
> follow
> 	    \def\noexpand\Gin at urx{\the\dimen0}%
> 	    \def\noexpand\Gin at ury{\the\dimen2}%
> 	    }%
> 	 \next
> 	 \Gin at defaultbp\Gin at llx{0}%
> 	 \Gin at defaultbp\Gin at lly{0}%
> 	 \expandafter\Gin at defaultbp\expandafter\Gin at urx 
> \expandafter{\Gin at urx}%
> 	 \expandafter\Gin at defaultbp\expandafter\Gin at ury 
> \expandafter{\Gin at ury}%
> 	
> 	
> 	The difference occurs due to the last 2 lines, which provides a way
> 	to scale into big-points, using the factor: 72/72.27 ~ .996264

--
Greetings

   Pete

Inside every small problem is a large problem struggling to get out.
				– Second Law of Blissful Ignorance




More information about the XeTeX mailing list