LaTeXML icon indicating copy to clipboard operation
LaTeXML copied to clipboard

empty group in keyval should return empty value

Open xworld21 opened this issue 1 year ago • 0 comments

Example:

\documentclass{article}

\usepackage{keyval}
\makeatletter
\define@key{createvalue}{empty}{\def\myempty{#1}}
\setkeys{createvalue}{empty={}}

\begin{document}
  \ifx\myempty\@empty Empty.\else Not empty.\fi
\end{document}

LaTeX returns 'Empty', LaTeXML gives 'Not empty'.

xworld21 avatar Dec 22 '24 13:12 xworld21