Mercurial > gnulib
comparison build-aux/texinfo.tex @ 17606:e52ef9f51681
update from texinfo
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Thu, 30 Jan 2014 15:46:38 -0800 |
parents | dda054991bf1 |
children | 7f22fb221397 |
comparison
equal
deleted
inserted
replaced
17605:cae23a655793 | 17606:e52ef9f51681 |
---|---|
1 % texinfo.tex -- TeX macros to handle Texinfo files. | 1 % texinfo.tex -- TeX macros to handle Texinfo files. |
2 % | 2 % |
3 % Load plain if necessary, i.e., if running under initex. | 3 % Load plain if necessary, i.e., if running under initex. |
4 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi | 4 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi |
5 % | 5 % |
6 \def\texinfoversion{2014-01-16.10} | 6 \def\texinfoversion{2014-01-30.15} |
7 % | 7 % |
8 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, | 8 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, |
9 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 9 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
10 % 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. | 10 % 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. |
11 % | 11 % |
4647 \definedummyword\url | 4647 \definedummyword\url |
4648 \definedummyword\var | 4648 \definedummyword\var |
4649 \definedummyword\verb | 4649 \definedummyword\verb |
4650 \definedummyword\w | 4650 \definedummyword\w |
4651 \definedummyword\xref | 4651 \definedummyword\xref |
4652 % | |
4653 % Consider: | |
4654 % @macro mkind{arg1,arg2} | |
4655 % @cindex \arg2\ | |
4656 % @end macro | |
4657 % @mkind{foo, bar} | |
4658 % The space after the comma will end up in the temporary definition | |
4659 % that we make for arg2 (see \parsemargdef ff.). We want all this to be | |
4660 % expanded for the sake of the index, so we end up just seeing "bar". | |
4661 \let\xeatspaces = \eatspaces | |
4652 } | 4662 } |
4653 | 4663 |
4654 % \indexnofonts is used when outputting the strings to sort the index | 4664 % \indexnofonts is used when outputting the strings to sort the index |
4655 % by, and when constructing control sequence names. It eliminates all | 4665 % by, and when constructing control sequence names. It eliminates all |
4656 % control sequences and just writes whatever the best ASCII sort string | 4666 % control sequences and just writes whatever the best ASCII sort string |
7472 \edef\texiatcatcode{\the\catcode`\@} | 7482 \edef\texiatcatcode{\the\catcode`\@} |
7473 \catcode `@=11\relax | 7483 \catcode `@=11\relax |
7474 | 7484 |
7475 % Parse the optional {params} list. Set up \paramno and \paramlist | 7485 % Parse the optional {params} list. Set up \paramno and \paramlist |
7476 % so \defmacro knows what to do. Define \macarg.BLAH for each BLAH | 7486 % so \defmacro knows what to do. Define \macarg.BLAH for each BLAH |
7477 % in the params list to some hook where the argument si to be expanded. If | 7487 % in the params list to some hook where the argument is to be expanded. If |
7478 % there are less than 10 arguments that hook is to be replaced by ##N where N | 7488 % there are less than 10 arguments that hook is to be replaced by ##N where N |
7479 % is the position in that list, that is to say the macro arguments are to be | 7489 % is the position in that list, that is to say the macro arguments are to be |
7480 % defined `a la TeX in the macro body. | 7490 % defined `a la TeX in the macro body. |
7481 % | 7491 % |
7482 % That gets used by \mbodybackslash (above). | 7492 % That gets used by \mbodybackslash (above). |