LuaTeX of TeXLive 2019 does not survive Sphinx tests

jfbu jfbu at free.fr
Thu Jul 4 10:16:03 CEST 2019


Le 4 juil. 2019 à 08:54, jfbu <jfbu at free.fr> a écrit :

> 
> Le 3 juil. 2019 à 22:56, Ulrike Fischer <news3 at nililand.de> a écrit :
> 
>> But I won't hunt through the internet to assemble a minimal example
>> for tests. 
> 
> The OpenSuse ticket: 
> 
> https://bugzilla.suse.com/show_bug.cgi?id=1140203
> 
> OP has added there an archive of the Sphinx test, and the latex files are in _build/latex/
> 
> As I said I have no such issue at my locale.
> 
> I tested with current Sphinx master tip but the sphinxtests.tex file submitted to lualatex is quasi-identical with the one from the attachements to the OpenSuse ticket (I don't know which version of Sphinx the latter used).
> 
> The sole real difference is that my file has an added graphics inclusion which I comment out here
> 
>> \chapter{Sphinx image handling}
>> \label{\detokenize{images:sphinx-image-handling}}\label{\detokenize{images::doc}}
>> \noindent\sphinxincludegraphics{{img}.png}
>> 
>> \noindent\sphinxincludegraphics[width=200\sphinxpxdimen,height=100\sphinxpxdimen]{{img1}.png}
>> 
>> \noindent\sphinxincludegraphics{{img}.pdf}
>> 
>> %%%%% \noindent\sphinxincludegraphics{{python-logo}.png} %%%% <<<---- this line not in the Suse report (I don't know which Sphinx it uses)
>> 
>> \noindent\sphinxincludegraphics{{simg}.png}
>> 
>> \noindent\sphinxincludegraphics{{svgimg}.pdf}
>> 
>> \noindent\sphinxincludegraphics{{img.foo}.png}
>> 
> 
> 
> The \sphinxincludegraphics is a macro wrapper of \includegraphics (which tests the image dimensions and adjust them to avoid flowing into margins, or worse, endless loop in some contexts (framed.sty)).
> 
> The first step would be for people with an OpenSuse distro to simply try a LaTeX file such as this one.
> 
> I am not making it minimal because I can't reproduce the issue anyhow.
> 
> \RequirePackage{luatex85}
> \documentclass[letterpaper,10pt]{report}
> \ifdefined\pdfpxdimen
>   \let\sphinxpxdimen\pdfpxdimen\else\newdimen\sphinxpxdimen
> \fi \sphinxpxdimen=.75bp\relax
> 
> \usepackage{graphicx}

  \usepackage[%
     hmargin=1in,%
     vmargin=1in,%
     marginpar=.5in]{geometry}



> \begin{document}
> \chapter{Images}
> \noindent\includegraphics{{img}.png}
> 
> \noindent\includegraphics[width=200\sphinxpxdimen,height=100\sphinxpxdimen]{{img1}.png}
> 
> \noindent\includegraphics{{img}.pdf}
> 
> \noindent\includegraphics{{simg}.png}
> 
> \noindent\includegraphics{{svgimg}.pdf}
> 
> \noindent\includegraphics{{img.foo}.png}
> \end{document}
> 
> The pdf  and png files are included in the OpenSuse ticket or available at the github repo I indicated previously.
> 
> Jean-François
> 
> 
> 
> 




More information about the tex-live mailing list