MiKTeX / miktex-packaging

the MiKTeX package factory
MIT License
19 stars 6 forks source link

A probable core latex-tools issue related to showkeys #295

Closed ghost closed 1 year ago

ghost commented 1 year ago

Using MiKTeX 2.09 on a Windows 10 machine, the code below

\documentclass{article} 

\usepackage{showkeys}

\begin{document}
    section \ref{sec:methods} section \ref{methods}
    \section{Methods} 
    \label{sec:methods}
\end{document}

wrongfully yields

aaa

throwing

! Missing \endcsname inserted.
<to be read again> 
                   \BooleanFalse 
l.20    section \ref{sec:methods} section \ref{
                                             methods}
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.

LaTeX Warning: Reference `\endcsname ' on page 1 undefined on input line 20.
u-fischer commented 1 year ago

I can confirm that there is a problem. MikTeX contains

...\MiKTeX\tex/latex/tools\showkeys.sty
Package: showkeys 2014/10/28 v3.17 Show cite and label keys (DPC, MH)
)

while texlive has

c:/texlive/2022/texmf-dist/tex/latex/tools/showkeys.sty
Package: showkeys 2022/04/12 v3.18 Show cite and label keys (DPC, MH)

So probably miktex missed an update of latex-tools.

edocevoli commented 1 year ago

Thank you, this has been fixed. Please check for updates tomorrow.