Mercurial > hg > octave-kai > gnulib-hg
comparison build-aux/texinfo.tex @ 16674:000ded1116ac
update from texinfo
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Sun, 11 Mar 2012 15:07:20 -0700 |
parents | bceff178bb99 |
children | 910a9165dae7 |
comparison
equal
deleted
inserted
replaced
16673:1afe25c8ab84 | 16674:000ded1116ac |
---|---|
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{2012-02-28.16} | 6 \def\texinfoversion{2012-03-11.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 Free Software Foundation, Inc. | 10 % 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. |
11 % | 11 % |
1370 \ifx\p\space\else\addtokens{\filename}{\PP}% | 1370 \ifx\p\space\else\addtokens{\filename}{\PP}% |
1371 \advance\filenamelength by 1 | 1371 \advance\filenamelength by 1 |
1372 \fi | 1372 \fi |
1373 \fi | 1373 \fi |
1374 \nextsp} | 1374 \nextsp} |
1375 \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax} | 1375 \def\getfilename#1{% |
1376 \filenamelength=0 | |
1377 % If we don't expand the argument now, \skipspaces will get | |
1378 % snagged on things like "@value{foo}". | |
1379 \edef\temp{#1}% | |
1380 \expandafter\skipspaces\temp|\relax | |
1381 } | |
1376 \ifnum\pdftexversion < 14 | 1382 \ifnum\pdftexversion < 14 |
1377 \let \startlink \pdfannotlink | 1383 \let \startlink \pdfannotlink |
1378 \else | 1384 \else |
1379 \let \startlink \pdfstartlink | 1385 \let \startlink \pdfstartlink |
1380 \fi | 1386 \fi |
7851 % | 7857 % |
7852 % Make link in pdf output. | 7858 % Make link in pdf output. |
7853 \ifpdf | 7859 \ifpdf |
7854 {\indexnofonts | 7860 {\indexnofonts |
7855 \turnoffactive | 7861 \turnoffactive |
7862 \makevalueexpandable | |
7856 % This expands tokens, so do it after making catcode changes, so _ | 7863 % This expands tokens, so do it after making catcode changes, so _ |
7857 % etc. don't get their TeX definitions. | 7864 % etc. don't get their TeX definitions. |
7858 \getfilename{#4}% | 7865 \getfilename{#4}% |
7859 % | 7866 % |
7860 \edef\pdfxrefdest{#1}% | 7867 \edef\pdfxrefdest{#1}% |