weitzner / jhu-thesis-template

JHU Thesis Template
37 stars 84 forks source link

Package biblatex Error #5

Open fmkang opened 5 years ago

fmkang commented 5 years ago

We were trying to compile the thesis with TeX Live 2018 locally on our computers. When running make clean && make in console, we got

...
(/usr/local/texlive/2018/texmf-dist/tex/latex/biblatex/blx-bibtex.def

Package biblatex Warning: Using fall-back BibTeX(8) backend:
(biblatex)                functionality may be reduced/unavailable.

) (/usr/local/texlive/2018/texmf-dist/tex/latex/biblatex/biblatex.def)
(/usr/local/texlive/2018/texmf-dist/tex/latex/biblatex/blx-natbib.def)
(/usr/local/texlive/2018/texmf-dist/tex/latex/biblatex/bbx/authoryear.bbx
(/usr/local/texlive/2018/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))
(/usr/local/texlive/2018/texmf-dist/tex/latex/biblatex/cbx/authoryear.cbx)
(/usr/local/texlive/2018/texmf-dist/tex/latex/biblatex/biblatex.cfg))
(/usr/local/texlive/2018/texmf-dist/tex/latex/tools/enumerate.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/biblatex/lbx/english.lbx)

! Package biblatex Error: Patching 'ifthen' package failed.

See the biblatex package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.165 \begin{document}

?

I could not find solution to this error anywhere on the Internet. After a few hours of experiment, I found it was this line that caused the problem

\usepackage[a-1b]{pdfx}

If I delete it, I can get the compiled pdf file, but that makes it not compliant with the PDF/A standard.

Next I found there is no problem if this line is placed anywhere after setting up biblatex (\usepackage[...]{biblatex}), or right before \begin{document}.

I am not sure if the template is compatible with older LaTeX environments, but I hope you could update it, or I can send a pull request.

weitzner commented 5 years ago

PRs are always welcome!