%% This is part of the OpTeX project, see http://petr.olsak.net/optex \_codedecl \ref {References <2023-07-03>} % preloaded in format \_doc ---------------------------- \`\_Xpage` `{}{}` saves the parameter pair into \`\_currpage`. Resets `\_lfnotenum`; it is used if footnotes are numbered from one at each page. \_cod ---------------------------- \_def\_Xpage#1#2{\_def\_currpage{{#1}{#2}}\_lfnotenum=0 } \_doc ---------------------------- Counter for the number of unresolved references \`\_unresolvedrefs`. It is set but unused in OpTeX versions 1.04+. You can add the report, for example: \begtt \_addto\_byehook{\_ifnum\_unresolvedrefs>0 \_opwarning {There are \_the\_unresolvedrefs\_space unresolved references}\_fi} \endtt \_cod ---------------------------- \_newcount\_unresolvedrefs \_unresolvedrefs=0 \_doc ---------------------------- \`\_Xlabel` `{