[tex-live] Fwd: Re: Error TL12 kpsewhich in ifxetex

Will Robertson wspr81 at gmail.com
Mon Jun 25 18:17:00 CEST 2012

> THe error comes from hardwrap.sty which does:
[...]
> I would suggest to report this to tthe original author of the tufte
> class, as this seems to be a problem in their package ...

... I'm not sure how you come to that conclusion; the error clearly originates in hardwrap.sty. I'm not using the latest version of TL2012, I believe, but a minimal example that breaks for me is:

\documentclass{article}
\makeatletter
\@@input"|kpsewhich -var-value=max_print_line"\relax
\makeatother
\begin{document}
\end{document}

I'm using some pre-release version of MacTeX 2012, and my console output is:

This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
\write18 enabled.
entering extended mode
(./small.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation,
[SNIP]
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/size10.clo))
./small.tex:3: I can't find file "|kpsewhich -var-value=max_print_line"'.
\relax
l.3 ...|kpsewhich -var-value=max_print_line"\relax

So somewhere along the line it looks like pipe input was broken. No problem, I will update hardwrap.sty ASAP to avoid the issue; it's not like anyone changes max_print_line anyway!

Cheers,
-- Will

`