[tldistro] lgrind vs. TeX Live 2020

Edd Barrett edd at theunixzoo.co.uk
Sun Jun 21 11:59:25 CEST 2020


Hi all,

I'm finalising updating OpenBSD's TeX Live to 2020.

I've just finished a bulk build of all of our packages which require TeX to
build. lgrind-3.67 no longer builds, and I'm at a loss as to why.

lgrind uses an installer that, up until now, we've used via running:
 - latex lgrind.ins
 - latex lgrind.dtx (twice)

The latter generates lgrind.dvi.

For whatever reason, we don't use the Makefile, but rather run those commands
manually, but looking at the Makefile, the commands look correct.

That works on TeX Live 2019, but here's what we get with 2020:

```
$ latex lgrind.ins
... (this bit works fine)
$ latex lgrind.dtx
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020-OpenBSD_Ports) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
(./lgrind.dtx
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
(/usr/local/share/texmf-dist/tex/latex/base/ltxdoc.cls
Document Class: ltxdoc 2019/09/16 v2.0y Standard LaTeX documentation class
(/usr/local/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/usr/local/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/share/texmf-dist/tex/latex/base/doc.sty
(/usr/local/share/texmf-dist/tex/latex/tools/multicol.sty)))
Writing index file lgrind.idx
Writing glossary file lgrind.glo 
(./lgrind.dtx
(/usr/local/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.2 %% T
        his is file `l3backend-dvips.def',
```

If we look at the top of the dtx, we have:

```
% \iffalse
%
% This is LGrind.DTX. This was written by:
%
% -  Van Jacobson, Lawrence Berkeley Laboratory (based on
%    vgrind by Dave Presotto & William Joy of UC Berkeley),
%    the original written for \TeX.
% -  Jerry Leichter of Yale University, modifications for \LaTeX.
% -  George V. Reilly of Brown University, renamed to lgrind
% -  Michael Piefel, Humboldt-University Berlin, for \LaTeXe
%    and a thousand little changes
%
% \fi
```

As I understand, everything between `\iffalse` and `\fi` should have been
ignored.

Can anyone reproduce?

Sources for lgrind are here:
http://mirror.ox.ac.uk/sites/ctan.org/support/lgrind/

Thanks!

P.S.

One other package which broke was open62541. This was due to the Python
binding to sphinx bundling its own ancient iftex.sty. Fixed by removing
the file from the py-sphinx package. Thought I'd mention it in case
anyone else was scratching their head over it.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


More information about the tldistro mailing list.