I'm getting an fl in my document when I compile the the following code:
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[x-1a]{pdfx}
\begin{document}
\end{document}
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI'm getting an fl in my document when I compile the the following code:
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[x-1a]{pdfx}
\begin{document}
\end{document}
You not only get a strange character, but also
! Package inputenc Error: Keyboard character used is undefined
(inputenc) in inputencoding `utf8'.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.1398 \ifcat ^^c0
\active \pdf@activecharstrue\fi
I can only reproduce it by running TeX Live 2016.
You should update your TeX distribution. The bug in pdfx
was fixed already in 2017.
The problem with pdfx.sty
in TeX Live 2016 is at line 1398
\ifcat ^^c0\active \pdf@activecharstrue\fi
which should be
\ifnum\catcode`^^c0=\active\pdf@activecharstrue\fi
or
\ifcat\noexpand^^c0\active \pdf@activecharstrue\fi
Unfortunately, there's no other way than to copy pdfx.sty
in your working directory and make the fix in the copy.
Of course, using an up-to-date TeX distribution is much better.
pdfTeX warning: pdflatex: dangling objects discarded, no output file produced.
and no pdf file at all (texlive 2019) can you show the full log from your test file?