[texhax] Oblique cancellation with plain TeX

David Carlisle d.p.carlisle at gmail.com
Sat Jan 5 00:30:17 CET 2019


I didn't implement the option processing in miniltx's emulation of
RequirePackage, for the graphics drivers all you need to do is input
graphcs.tex if you want dvips or do the equivalent if you want a
different driver eg
\def\Gin at driver{pdftex.def}
\input graphicx.sty

On Fri, 4 Jan 2019 at 23:10, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
>
> On 2019-01-04 at 21:28:19 +0000, David Carlisle wrote:
>
>  > \input picture
>  > \catcode`\@=11
>  >
>  > \RequirePackage{cancel}
>  > \let\zzcancel\cancel
>  > \def\cancel#1{{%
>  > \let\line\LaTeX at line
>  > \zzcancel{#1}}}
>  >
>  > $\cancel{x^2 + 1}$
>  >
>  > $\cancel{a}$
>  >
>  > $\cancel{{x^2 + 1 \over b}}$
>  >
>  >
>  > \bye
>
> This looks great and I always assumed that this is what Rodolfo asked
> for.
>
> However, when I add
>
>   \RequirePackage[pdftex]{pict2e}
>
> I get
>
>   (/xopt/texlive/2018/texmf-dist/tex/latex/pict2e/pict2e.sty
>   (/xopt/texlive/2018/texmf-dist/tex/latex/pict2e/pict2e.cfg)
>   ! pict2e: No driver specified at all.
>   \PackageError ...\errhelp {#3}\errmessage {#1: #2}
>                                                   }
>   l.117 ...Break eg: \protect\ExecuteOptions{dvips}}
>
> I'm wondering why the driver option I stated explicitly is ignored.
>
> Eplain would benefit from pict2e too: lines with arbitrary slopes and
> widths, circles with arbitrary diameters, etc...
>
> Regards,
>   Reinhard
>
> --
> ------------------------------------------------------------------
> Reinhard Kotucha                            Phone: +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover                    mailto:reinhard.kotucha at web.de
> ------------------------------------------------------------------


More information about the texhax mailing list