![](https://secure.gravatar.com/avatar/012fd266d02187820a1c08322c498933.jpg?s=120&d=mm&r=g)
The crop package doesn't work right when used with luatex (latest svn version). Any reason for this, or is this a bug? See this example: % ------------------------------------- \pdfoutput=1 \documentclass[a4paper,10pt]{scrbook} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{geometry} \geometry{paperwidth=150mm, paperheight=217mm, outer=27mm, top=20mm, width=104mm, height=174mm} \usepackage[cam,a4,center]{crop} \begin{document} Hallo Welt \end{document} % ------------------------------------- microtype.sty doesn't work either, btw. But here it is easy to see why: it uses the removed \pdfmatch primitive. Is there any primitive by which one can distinguish between pdftex and luatex? By now, both pretend to be \pdftexversion 140. Regards olli
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
olli@sopos.org wrote:
Is there any primitive by which one can distinguish between pdftex and luatex? By now, both pretend to be \pdftexversion 140.
you can use \directlua to test but there will be a proper version primitive soon Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
olli@sopos.org wrote:
The crop package doesn't work right when used with luatex (latest svn version). Any reason for this, or is this a bug?
It's a bug (at least, I guess so). I Can't check any latex files until monday next monday, so you have to be a pit patient. Best wishes, Taco
participants (4)
-
Hans Hagen
-
Martin Schröder
-
olli@sopos.org
-
Taco Hoekwater