Spaces in File Names on Mac

David Carlisle d.p.carlisle at gmail.com
Sun Nov 10 14:41:21 CET 2019


LaTeX2e 2010-10-02 Patch Level 3 fixing this has just gone to CTAN.
Like most TeX issues, fixed by adding another 6 \expandafter....

David


David

On Sat, 9 Nov 2019 at 23:26, Richard Koch via tex-live <tex-live at tug.org> wrote:
>
> Folks,
>
> Yesterday I updated TeX Live 2019 to the latest stuff. This morning a Mac user wrote complaining that TeX Live could no longer process LaTeX source files with filenames containing spaces.
> I tried one of my files. Sure enough.
>
> I created a minimal document with only a few lines, and a space in the file name. It typeset fine using BasicTeX-2019, which was not recently updated. It failed to typeset on the full TeX Live -2019, which I updated yesterday. Here is the console message:
>
> ------------
>
> This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex)
>  restricted \write18 enabled.
> entering extended mode
> (./A File.tex
> LaTeX2e <2019-10-01> patch level 2
> (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2019/10/25 v1.4k Standard LaTeX document class
> (/usr/local/texlive/2019/texmf-dist/tex/latex/base/size11.clo))
>
> ./A File.tex:6: LaTeX Error: Missing \begin{document}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
>
> l.6 \begin{document}
>
> --------------
>
> The log file is empty.
>
> Then I tried updating TeX Live again five minutes ago. There were new updates. The situation did not change.
>
> Richard Koch
> koch at uoregon.edu
>
>



More information about the tex-live mailing list