<br><br>On Tuesday, May 2, 2023, Steve Litt <<a href="mailto:slitt@troubleshooters.com">slitt@troubleshooters.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">According to [2], you already solved this, right?<br>
<br></blockquote><div>Yes.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
SteveT</blockquote><div><br></div><div>Zhao</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Hongyi Zhao said on Mon, 1 May 2023 12:04:20 +0800<br>
<br>
>Hi here,<br>
><br>
>Currently, I'm using the iucr package [1] to write a paper, but I find<br>
>the following setting with hyperref will trigger a compile error:<br>
><br>
>```<br>
>$ cat test.tex<br>
>\documentclass{iucr}<br>
>\usepackage[unicode=true,<br>
> bookmarks=true,<wbr>bookmarksnumbered=false,<wbr>bookmarksopen=false,<br>
> breaklinks=false,pdfborder={0 0<br>
>0},pdfborderstyle={},backref=<wbr>false,colorlinks=true]<br>
> {hyperref}<br>
>\begin{document}<br>
><br>
> This is a test!<br>
><br>
>\end{document}<br>
><br>
>$ pdflatex test.tex<br>
>This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023)<br>
>(preloaded format=pdflatex)<br>
> restricted \write18 enabled.<br>
>entering extended mode<br>
>(./test.tex<br>
>LaTeX2e <2022-11-01> patch level 1<br>
>L3 programming layer <2023-04-20> (./iucr.cls<br>
>Document Class: iucr 2021/03/05 IUCr article/chapter class<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/tools/multicol.<wbr>sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/psnfss/times.<wbr>sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/graphics/<wbr>graphics.sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/graphics/trig.<wbr>sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/graphics-cfg/<wbr>graphics.cfg)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/graphics-def/<wbr>dvips.def))<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/float/float.<wbr>sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/tools/tabularx.<wbr>sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/tools/array.<wbr>sty))<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/dvips/<wbr>colordvi.tex)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/base/article.<wbr>cls<br>
>Document Class: article 2022/07/02 v1.4n Standard LaTeX document class<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/base/size10.<wbr>clo))<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/harvard/<wbr>harvard.sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/base/ifthen.<wbr>sty)<br>
>(/opt/texlive/texmf-local/<wbr>tex/latex/html/html.sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/hyperref/<wbr>hyperref.sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/ltxcmds/<wbr>ltxcmds.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/iftex/iftex.<wbr>sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/pdftexcmds/<wbr>pdftexcmds.sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/infwarerr/<wbr>infwarerr.sty))<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/graphics/<wbr>keyval.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/kvsetkeys/<wbr>kvsetkeys.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/kvdefinekeys/<wbr>kvdefinekeys.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/pdfescape/<wbr>pdfescape.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/hycolor/<wbr>hycolor.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/letltxmacro/<wbr>letltxmacro.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/auxhook/<wbr>auxhook.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/hyperref/<wbr>nameref.sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/refcount/<wbr>refcount.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/<wbr>gettitlestring/gettitlestring.<wbr>sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/kvoptions/<wbr>kvoptions.sty)))<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/etoolbox/<wbr>etoolbox.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/hyperref/<wbr>pd1enc.def)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/intcalc/<wbr>intcalc.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/hyperref/puenc.<wbr>def)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/url/url.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/bitset/<wbr>bitset.sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/bigintcalc/<wbr>bigintcalc.sty))<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/base/atbegshi-<wbr>ltx.sty))<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/hyperref/<wbr>hpdftex.def<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/base/atveryend-<wbr>ltx.sty)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/rerunfilecheck/<wbr>rerunfilecheck.sty<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/generic/<wbr>uniquecounter/uniquecounter.<wbr>sty)))))<br>
>FONT WARNINGS CAN USUALLY BE IGNORED. IF YOU EXPERIENCE<br>
>PROBLEMS WITH FONTS, USE THE [preprint] OPTION<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/psnfss/<wbr>ot1ptmcm.fd)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/psnfss/<wbr>omlptmcm.fd)<br>
>(/opt/texlive/2023/texmf-<wbr>dist/tex/latex/psnfss/ot1ptm.<wbr>fd))<br>
><br>
>! LaTeX Error: Missing \begin{document}.<br>
><br>
>See the LaTeX manual or LaTeX Companion for explanation.<br>
>Type  H <return>  for immediate help.<br>
> ...<br>
><br>
>l.6 \begin<br>
>          {document}<br>
>?<br>
>```<br>
><br>
>See here [2] for the related discussion.<br>
><br>
>[1] <a href="https://journals.iucr.org/d/services/latexstyle.html" target="_blank">https://journals.iucr.org/d/<wbr>services/latexstyle.html</a><br>
>[2] <a href="https://github.com/latex3/hyperref/issues/279" target="_blank">https://github.com/latex3/<wbr>hyperref/issues/279</a><br>
><br>
>Regards,<br>
>Zhao<br>
>-- <br>
>Assoc. Prof. Hongsheng Zhao <<a href="mailto:hongyi.zhao@gmail.com">hongyi.zhao@gmail.com</a>><br>
>Theory and Simulation of Materials<br>
>Hebei Vocational University of Technology and Engineering<br>
>No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province<br>
</blockquote><br><br>-- <br><div dir="ltr"><div></div><div>Assoc. Prof. Hongsheng Zhao <<a href="mailto:hongyi.zhao@gmail.com" target="_blank">hongyi.zhao@gmail.com</a>></div><div> Theory and Simulation of Materials</div><div>Hebei Vocational University of Technology and Engineering<br></div>No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province</div><br>