[tex-live] Bad .cfg files in TeX source tree?

Jonathan Kew jonathan_kew at sil.org
Sat Jan 20 01:12:11 CET 2007


On 20 Jan 2007, at 12:05 am, Jonathan Kew wrote:

> On 19 Jan 2007, at 8:44 pm, Heiko Oberdiek wrote:
>
>> If the update for geometry and crop fails,
>
> I've updated the xelatex-specific crop.cfg so that it no longer  
> fakes a \pdfoutput (it simply forces the driver choice, instead of  
> requesting it and then letting the package decide whether it's  
> appropriate). This should have little risk of side-effects.
>
>> then at least
>> the fooling could be reverted, e.g.:
>>
>> % geometry.cfg:
>> \newcommand{\SavedGeometryPdfoutput}{}
>> \let\SavedGeometryPdfoutput\pdfoutput
>> \AtEndOfPackage{%
>>   \let\pdfoutput\SavedGeometryPdfoutput
>> }
>> \newcount\pdfoutput
>> \pdfoutput=1\relax
>
> In geometry, this fails because the package tries to look at  
> \pdfoutput when the actual document begins, after all packages are  
> loaded.
>
> More investigation needed....

OK, I've committed an alternative that is simpler and (I hope) safer,  
for use until geometry.sty becomes xetex-aware.

JK



More information about the tex-live mailing list