Consider the following test.texi file: ------------------------------------------------------------ \input texinfo @c -*-texinfo-*-
@tex \gdef\atan{\mathop{\rm atan}} @end tex @ifnottex @macro atan atan @end macro @end ifnottex @node Top @node Test Spacing test with atan. @math{@atan{}(x)} @math{\atan(x)} @bye ------------------------------------------------------------ and run "texi2dvi --pdf test.texi". With \atan, everything is fine. But with @atan{}, I get a spurious space between "atan" and "(x)" in the generated PDF, though the result should be identical to \atan. This issue occurs with both Debian's texinfo 6.8 and with the current code (commit b5d32aaa0a67794d0324b0f9d5b726df80c8dee3 in the master branch). Note: it is important that @atan{} works for TeX output too, so that the same code can be used for the Info, HTML and PDF versions of the manual. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)