[texhax] undertilde and MiKTeX
Philip TAYLOR
P.Taylor at Rhul.Ac.Uk
Sat Oct 28 11:33:15 CEST 2017
On 27/10/2017 22:05, Rolf Turner wrote: "I don't do Windoze* !!!"
"Can some clever person instruct me (monosyllabically; I'm a Bear of
Very Little Brain) as to how to construct such a conditional?"
Well, (a) I am not clever, and (b) I don't do LameTeX, but this may help :
\documentclass {minimal}
\newread \undertilde
\openin \undertilde = undertilde.sty
\ifeof \undertilde
\closein \undertilde
\openin \undertilde = undertilde.tex
\ifeof \undertilde
\closein \undertilde
\let \next = \relax
\else
\closein \undertilde
\def \next {\input undertilde.tex}
\fi
\else
\closein \undertilde
\def \next {\usepackage {undertilde}}
\fi
\next
\begin {document}
\end {document}
Philip Taylor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20171028/51a68e94/attachment-0001.html>
More information about the texhax
mailing list