[Debian-med-packaging] Bug#1016346: [Help] LaTeX error due to encoding issues (Was: Bug#1016346: pycorrfit: FTBFS: make[1]: *** [debian/rules:46: override_dh_auto_build] Error 1)

Andreas Tille andreas at an3as.eu
Thu Aug 4 16:00:21 BST 2022


Control: tags -1 help

Hi,

Am Fri, Jul 29, 2022 at 08:41:23PM +0200 schrieb Lucas Nussbaum:
> > (/usr/share/texlive/texmf-dist/tex/latex/ucs/data/uni-0.def)
> > No file PyCorrFit_doc.toc.
> > ! Argument of ? has an extra }.
> > <inserted text> 
> >                 \par 
> > l.144 \newpage

I was able to reproduce this error with the small LaTeX file:


$ cat test.tex
\documentclass[]{scrartcl}
\usepackage[utf8x]{inputenc}
\usepackage{hyperref}
\begin{document}
Bla
\end{document}

$ pdflatex test.tex
...
(/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./PyCorrFit_doc.aux) (/usr/share/texlive/texmf-dist/tex/latex/ucs/ucsencs.def)
(./PyCorrFit_doc.out) (./PyCorrFit_doc.out)
(/usr/share/texlive/texmf-dist/tex/latex/bookmark/bookmark.sty
(/usr/share/texlive/texmf-dist/tex/latex/bookmark/bkm-pdftex.def))
! Argument of � has an extra }.
<inserted text> 
                \par 
l.6 \end{document}
                  
? 
! Emergency stop.
<inserted text> 
                \par 
l.6 \end{document}
                  
!  ==> Fatal error occurred, no output PDF file produced!


If I subsitute  s/utf8x/utf8/  in line 2  the test file builds fine.
However, in the full LaTeX source fails later with:

...
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.288 Name & \textbf{TIR (□x$\upsigma$/Exp.) 3D}


So if someone finds a clue how to build this file properly


\documentclass[]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\begin{document}
Bla \textbf{TIR (□x$\upsigma$/Exp.) 3D}
\end{document}


the bug can be fixed.

Kind regards

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list