[tex-k] Missing newline in logs on windows when filename contains a space

Jérôme Lelong jerome.lelong at gmail.com
Tue May 31 16:34:44 CEST 2022


Hi all,

When running pdflatex on a file containing a space in its name, the logs report

	Output written on "Untitled 1.pdf" (1 page, 24280 bytes).SyncTeX written on "Untitled 1.synctex.gz"

instead of 

	Output written on Untitled1.pdf (1 page, 24280 bytes).
	SyncTeX written on Untitled1.synctex.gz.

when there is no space in the filename.

Note the missing newline at 

	https://tug.org/svn/pdftex/branches/stable/source/src/texk/web2c/synctexdir/synctex.c?view=markup#l969

This bug was identified at https://github.com/James-Yu/LaTeX-Workshop/issues/3311#issuecomment-1140751673

Thanks for your great job!
Jerome


More information about the tex-k mailing list.