texinfo question

Hello, Any texinfo experts here? Trying to build Heimdal in Debian unstable, but for some reason it doesn't like one of the texi files any more. It use to work.... ./whatis.texi:39: unknown command `def' ./whatis.texi:39: unknown command `xsub' ./whatis.texi:40: unknown command `global' ./whatis.texi:40: unknown command `let' ./whatis.texi:40: unknown command `xsub' (possibly involving @sub) The relevant lines are: @tex @def@xsub#1{$_{#1}$} @global@let@sub=@xsub @end tex What does @tex do? I tried searching the documentation at http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html but with no luck. There is @TeX{} but that appears to be different. Doesn't look like anything to do with TeX to me. Can anyone see why this use to work? Debian wheezy seems fine but Debian sid is not. Thanks -- Brian May <brian@microcomaustralia.com.au>

On 03/06/13 16:31, Brian May wrote:
What does @tex do? I tried searching the documentation at http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html but with no luck. There is @TeX{} but that appears to be different. Doesn't look like anything to do with TeX to me.
"@tex" is for embedding raw tex commands. However most of the stuff inside that clause is still texinfo commands. It is trying to set up a macro to do subscripts. http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Raw-Formatter-C...
@tex @def@xsub#1{$_{#1}$} @global@let@sub=@xsub @end tex
Apparently there was a patch for this section for texinfo-5.1: https://github.com/heimdal/heimdal/commit/1846c7a35d1091d3b6140c56befd7fee0a... @iftex @macro sub{arg} @textsubscript{\arg\} @end macro @end iftex regards, Glenn -- sks-keyservers.net 0x6d656d65

On 3 June 2013 18:11, Glenn McIntosh <neonsignal@memepress.org> wrote:
Apparently there was a patch for this section for texinfo-5.1:
https://github.com/heimdal/heimdal/commit/1846c7a35d1091d3b6140c56befd7fee0a...
@iftex @macro sub{arg} @textsubscript{\arg\} @end macro @end iftex
Thanks for that. That solves one texi problem, looks like hx509.texi is broken :-( make[2]: Entering directory `/home/brian/tree/debian/heimdal/heimdal/doc' sed -e 's,[@]dbdir[@],/var/heimdal,g' -e 's,[@]PACKAGE_VERSION[@],1.5.99,g' < ./vars.tin > vars.texi.tmp chmod +x vars.texi.tmp mv vars.texi.tmp vars.texi MAKEINFO heimdal.info ./win2k.texi:314: warning: @end should only appear at a line beginning MAKEINFO hx509.info hx509.texi:37: unknown command `def' hx509.texi:37: unknown command `copynext' hx509.texi:37: misplaced { hx509.texi:38: unknown command `def' hx509.texi:38: unknown command `copyrightstart' hx509.texi:38: misplaced { hx509.texi:38: misplaced } hx509.texi:39: unknown command `def' hx509.texi:39: unknown command `copyrightend' hx509.texi:39: misplaced { hx509.texi:39: misplaced } hx509.texi:41: unknown command `copyrightstart' hx509.texi:73: unknown command `copynext' hx509.texi:105: unknown command `copynext' hx509.texi:129: unknown command `copynext' hx509.texi:153: unknown command `copyrightmaintainersend' hx509.texi:364: warning: unreferenced node `Creating a CA certificate' hx509.texi:173: node `Top' lacks menu item for `Creating a CA certificate' despite being its Up target hx509.texi:432: warning: unreferenced node `Issuing certificates' hx509.texi:173: node `Top' lacks menu item for `Issuing certificates' despite being its Up target hx509.texi:507: warning: unreferenced node `Issuing CRLs' hx509.texi:173: node `Top' lacks menu item for `Issuing CRLs' despite being its Up target hx509.texi:531: warning: unreferenced node `Application requirements' hx509.texi:173: node `Top' lacks menu item for `Application requirements' despite being its Up target hx509.texi:694: warning: unreferenced node `CMS background' hx509.texi:173: node `Top' lacks menu item for `CMS background' despite being its Up target hx509.texi:704: warning: unreferenced node `Matching syntax' hx509.texi:173: node `Top' lacks menu item for `Matching syntax' despite being its Up target hx509.texi:742: warning: unreferenced node `How to use the PKCS11 module' hx509.texi:173: node `Top' lacks menu item for `How to use the PKCS11 module' despite being its Up target make[2]: *** [hx509.info] Error 1 make[2]: Leaving directory `/home/brian/tree/debian/heimdal/heimdal/doc' Might need to report this one to the Heimdal authors. Seems like there were some incompatible changes in texinfo 5.1 -- Brian May <brian@microcomaustralia.com.au>
participants (2)
-
Brian May
-
Glenn McIntosh