|
Re: Problems with crop package?: msg#00182tex.xetex
I've had a quick look at the crop.sty package, as there was a report that it didn't work with XeLaTeX. Turns out that it will *almost* work if you tell it to use the dvips driver, as this sets the media size using a papersize=... \special, and XeTeX now supports this. However, it doesn't *quite* work because crop.sty interferes with LaTeX's \AtBeginDvi feature, which is used to get the \special into the output. The result is that the media size doesn't get set until the second page, and you get a warning message from xdv2pdf. The right solution would be a minor update to crop.sty, such that it would recognize xetex as a back-end (currently, it doesn't know what to do with it) and use the \special{papersize=...} mechanism, and fix the problem with \AtBeginDvi. For now, rather than trying to modify the .sty file itself, here is a crop.cfg file that achieves the same effect. It patches a couple of crop.sty macros in order to restore proper \AtBeginDvi functionality, and selects the dvips driver. It looks like this is sufficient for basic crop-mark functionality; various more advanced features that depend on interaction with color and graphics (like the "mirror" and "invert" options) don't seem to work fully. I don't have time to investigate this further for now. To try this, put crop.cfg into ~/Library/texmf/tex/xelatex or your equivalent location. - JK
_______________________________________________ XeTeX mailing list postmaster-WUdSmCIlby8@xxxxxxxxxxxxxxxx http://tug.org/mailman/listinfo/xetex |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | TeX i-Package updated: 00182, Gerben Wierda |
|---|---|
| Next by Date: | i-Installer 2.76: 00182, Gerben Wierda |
| Previous by Thread: | Re: Problems with crop package?i: 00182, Ross Moore |
| Next by Thread: | compatibility of XeTeX with movie15.sty: 00182, Alexandros D. Gotsis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |