diff options
| author | Paul Eggert | 2020-05-09 08:47:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-05-09 08:50:57 -0700 |
| commit | ebfb2c4d1bc8f68a75b02a76ec90eb225123c099 (patch) | |
| tree | 789194d7ff4743ec48ea9d47a8c7ee08471cecdf /doc | |
| parent | ae3c510696f02f01d03052f070e5ce65b4018a45 (diff) | |
| download | emacs-ebfb2c4d1bc8f68a75b02a76ec90eb225123c099.tar.gz emacs-ebfb2c4d1bc8f68a75b02a76ec90eb225123c099.zip | |
Update from Gnulib
This incorporates:
2020-05-09 stdio: don't redefine _GL_ATTRIBUTE_FORMAT
2020-05-09 dirent, stdlib, string: don't redefine _GL_ATTRIBUTE_PURE
2020-05-08 limits-h: define LONG_BIT correctly on Haiku/x86_64
2020-05-08 ignore-value tests: use module 'attribute'
2020-05-06 attribute: minor style fixes
* build-aux/config.sub, doc/misc/texinfo.tex, lib/attribute.h:
* lib/dirent.in.h, lib/limits.in.h, lib/stdio.in.h, lib/stdlib.in.h:
* lib/string.in.h, m4/gnulib-common.m4:
Copy from Gnulib.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/texinfo.tex | 56 |
1 files changed, 36 insertions, 20 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex index 427494cbbfc..2b7b31b34a9 100644 --- a/doc/misc/texinfo.tex +++ b/doc/misc/texinfo.tex | |||
| @@ -3,9 +3,9 @@ | |||
| 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{2020-05-02.00} | 6 | \def\texinfoversion{2020-05-07.17} |
| 7 | % | 7 | % |
| 8 | % Copyright 1985, 1986, 1988, 1990-2019 Free Software Foundation, Inc. | 8 | % Copyright 1985, 1986, 1988, 1990-2020 Free Software Foundation, Inc. |
| 9 | % | 9 | % |
| 10 | % This texinfo.tex file is free software: you can redistribute it and/or | 10 | % This texinfo.tex file is free software: you can redistribute it and/or |
| 11 | % modify it under the terms of the GNU General Public License as | 11 | % modify it under the terms of the GNU General Public License as |
| @@ -1430,7 +1430,13 @@ output) for that.)} | |||
| 1430 | % subentries, which we calculated on our first read of the .toc above. | 1430 | % subentries, which we calculated on our first read of the .toc above. |
| 1431 | % | 1431 | % |
| 1432 | % We use the node names as the destinations. | 1432 | % We use the node names as the destinations. |
| 1433 | % | ||
| 1434 | % Currently we prefix the section name with the section number | ||
| 1435 | % for chapter and appendix headings only in order to avoid too much | ||
| 1436 | % horizontal space being required in the PDF viewer. | ||
| 1433 | \def\numchapentry##1##2##3##4{% | 1437 | \def\numchapentry##1##2##3##4{% |
| 1438 | \dopdfoutline{##2 ##1}{count-\expnumber{chap##2}}{##3}{##4}}% | ||
| 1439 | \def\unnchapentry##1##2##3##4{% | ||
| 1434 | \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% | 1440 | \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% |
| 1435 | \def\numsecentry##1##2##3##4{% | 1441 | \def\numsecentry##1##2##3##4{% |
| 1436 | \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}% | 1442 | \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}% |
| @@ -1672,9 +1678,13 @@ output) for that.)} | |||
| 1672 | % Therefore, we read toc only once. | 1678 | % Therefore, we read toc only once. |
| 1673 | % | 1679 | % |
| 1674 | % We use node names as destinations. | 1680 | % We use node names as destinations. |
| 1681 | % | ||
| 1682 | % Currently we prefix the section name with the section number | ||
| 1683 | % for chapter and appendix headings only in order to avoid too much | ||
| 1684 | % horizontal space being required in the PDF viewer. | ||
| 1675 | \def\partentry##1##2##3##4{}% ignore parts in the outlines | 1685 | \def\partentry##1##2##3##4{}% ignore parts in the outlines |
| 1676 | \def\numchapentry##1##2##3##4{% | 1686 | \def\numchapentry##1##2##3##4{% |
| 1677 | \dopdfoutline{##1}{1}{##3}{##4}}% | 1687 | \dopdfoutline{##2 ##1}{1}{##3}{##4}}% |
| 1678 | \def\numsecentry##1##2##3##4{% | 1688 | \def\numsecentry##1##2##3##4{% |
| 1679 | \dopdfoutline{##1}{2}{##3}{##4}}% | 1689 | \dopdfoutline{##1}{2}{##3}{##4}}% |
| 1680 | \def\numsubsecentry##1##2##3##4{% | 1690 | \def\numsubsecentry##1##2##3##4{% |
| @@ -1686,7 +1696,8 @@ output) for that.)} | |||
| 1686 | \let\appsecentry\numsecentry% | 1696 | \let\appsecentry\numsecentry% |
| 1687 | \let\appsubsecentry\numsubsecentry% | 1697 | \let\appsubsecentry\numsubsecentry% |
| 1688 | \let\appsubsubsecentry\numsubsubsecentry% | 1698 | \let\appsubsubsecentry\numsubsubsecentry% |
| 1689 | \let\unnchapentry\numchapentry% | 1699 | \def\unnchapentry##1##2##3##4{% |
| 1700 | \dopdfoutline{##1}{1}{##3}{##4}}% | ||
| 1690 | \let\unnsecentry\numsecentry% | 1701 | \let\unnsecentry\numsecentry% |
| 1691 | \let\unnsubsecentry\numsubsecentry% | 1702 | \let\unnsubsecentry\numsubsecentry% |
| 1692 | \let\unnsubsubsecentry\numsubsubsecentry% | 1703 | \let\unnsubsubsecentry\numsubsubsecentry% |
| @@ -2499,7 +2510,7 @@ end | |||
| 2499 | \def\it{\fam=\itfam \setfontstyle{it}} | 2510 | \def\it{\fam=\itfam \setfontstyle{it}} |
| 2500 | \def\sl{\fam=\slfam \setfontstyle{sl}} | 2511 | \def\sl{\fam=\slfam \setfontstyle{sl}} |
| 2501 | \def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf} | 2512 | \def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf} |
| 2502 | \def\tt{\fam=\ttfam \setfontstyle{tt}} | 2513 | \def\tt{\fam=\ttfam \setfontstyle{tt}}\def\ttstylename{tt} |
| 2503 | 2514 | ||
| 2504 | % Texinfo sort of supports the sans serif font style, which plain TeX does not. | 2515 | % Texinfo sort of supports the sans serif font style, which plain TeX does not. |
| 2505 | % So we set up a \sf. | 2516 | % So we set up a \sf. |
| @@ -3512,7 +3523,7 @@ end | |||
| 3512 | 3523 | ||
| 3513 | % @pounds{} is a sterling sign, which Knuth put in the CM italic font. | 3524 | % @pounds{} is a sterling sign, which Knuth put in the CM italic font. |
| 3514 | % | 3525 | % |
| 3515 | \def\pounds{{\it\$}} | 3526 | \def\pounds{\ifmonospace{\ecfont\char"BF}\else{\it\$}\fi} |
| 3516 | 3527 | ||
| 3517 | % @euro{} comes from a separate font, depending on the current style. | 3528 | % @euro{} comes from a separate font, depending on the current style. |
| 3518 | % We use the free feym* fonts from the eurosym package by Henrik | 3529 | % We use the free feym* fonts from the eurosym package by Henrik |
| @@ -3661,11 +3672,19 @@ end | |||
| 3661 | \fi | 3672 | \fi |
| 3662 | 3673 | ||
| 3663 | % Quotes. | 3674 | % Quotes. |
| 3664 | \chardef\quotedblleft="5C | ||
| 3665 | \chardef\quotedblright=`\" | ||
| 3666 | \chardef\quoteleft=`\` | 3675 | \chardef\quoteleft=`\` |
| 3667 | \chardef\quoteright=`\' | 3676 | \chardef\quoteright=`\' |
| 3668 | 3677 | ||
| 3678 | % only change font for tt for correct kerning and to avoid using | ||
| 3679 | % \ecfont unless necessary. | ||
| 3680 | \def\quotedblleft{% | ||
| 3681 | \ifmonospace{\ecfont\char"10}\else{\char"5C}\fi | ||
| 3682 | } | ||
| 3683 | |||
| 3684 | \def\quotedblright{% | ||
| 3685 | \ifmonospace{\ecfont\char"11}\else{\char`\"}\fi | ||
| 3686 | } | ||
| 3687 | |||
| 3669 | 3688 | ||
| 3670 | \message{page headings,} | 3689 | \message{page headings,} |
| 3671 | 3690 | ||
| @@ -7447,13 +7466,9 @@ might help (with 'rm \jobname.?? \jobname.??s')% | |||
| 7447 | \newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount | 7466 | \newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount |
| 7448 | % | 7467 | % |
| 7449 | % We typeset each line of the verbatim in an \hbox, so we can handle | 7468 | % We typeset each line of the verbatim in an \hbox, so we can handle |
| 7450 | % tabs. The \global is in case the verbatim line starts with an accent, | 7469 | % tabs. |
| 7451 | % or some other command that starts with a begin-group. Otherwise, the | ||
| 7452 | % entire \verbbox would disappear at the corresponding end-group, before | ||
| 7453 | % it is typeset. Meanwhile, we can't have nested verbatim commands | ||
| 7454 | % (can we?), so the \global won't be overwriting itself. | ||
| 7455 | \newbox\verbbox | 7470 | \newbox\verbbox |
| 7456 | \def\starttabbox{\global\setbox\verbbox=\hbox\bgroup} | 7471 | \def\starttabbox{\setbox\verbbox=\hbox\bgroup} |
| 7457 | % | 7472 | % |
| 7458 | \begingroup | 7473 | \begingroup |
| 7459 | \catcode`\^^I=\active | 7474 | \catcode`\^^I=\active |
| @@ -7464,7 +7479,8 @@ might help (with 'rm \jobname.?? \jobname.??s')% | |||
| 7464 | \divide\dimen\verbbox by\tabw | 7479 | \divide\dimen\verbbox by\tabw |
| 7465 | \multiply\dimen\verbbox by\tabw % compute previous multiple of \tabw | 7480 | \multiply\dimen\verbbox by\tabw % compute previous multiple of \tabw |
| 7466 | \advance\dimen\verbbox by\tabw % advance to next multiple of \tabw | 7481 | \advance\dimen\verbbox by\tabw % advance to next multiple of \tabw |
| 7467 | \wd\verbbox=\dimen\verbbox \box\verbbox \starttabbox | 7482 | \wd\verbbox=\dimen\verbbox |
| 7483 | \leavevmode\box\verbbox \starttabbox | ||
| 7468 | }% | 7484 | }% |
| 7469 | } | 7485 | } |
| 7470 | \endgroup | 7486 | \endgroup |
| @@ -7474,9 +7490,7 @@ might help (with 'rm \jobname.?? \jobname.??s')% | |||
| 7474 | \let\nonarrowing = t% | 7490 | \let\nonarrowing = t% |
| 7475 | \nonfillstart | 7491 | \nonfillstart |
| 7476 | \tt % easiest (and conventionally used) font for verbatim | 7492 | \tt % easiest (and conventionally used) font for verbatim |
| 7477 | % The \leavevmode here is for blank lines. Otherwise, we would | 7493 | \def\par{\egroup\box\verbbox\endgraf\starttabbox}% |
| 7478 | % never \starttabbox and the \egroup would end verbatim mode. | ||
| 7479 | \def\par{\leavevmode\egroup\box\verbbox\endgraf}% | ||
| 7480 | \tabexpand | 7494 | \tabexpand |
| 7481 | \setupmarkupstyle{verbatim}% | 7495 | \setupmarkupstyle{verbatim}% |
| 7482 | % Respect line breaks, | 7496 | % Respect line breaks, |
| @@ -7484,7 +7498,6 @@ might help (with 'rm \jobname.?? \jobname.??s')% | |||
| 7484 | % make each space count. | 7498 | % make each space count. |
| 7485 | % Must do in this order: | 7499 | % Must do in this order: |
| 7486 | \obeylines \uncatcodespecials \sepspaces | 7500 | \obeylines \uncatcodespecials \sepspaces |
| 7487 | \everypar{\starttabbox}% | ||
| 7488 | } | 7501 | } |
| 7489 | 7502 | ||
| 7490 | % Do the @verb magic: verbatim text is quoted by unique | 7503 | % Do the @verb magic: verbatim text is quoted by unique |
| @@ -7519,9 +7532,12 @@ might help (with 'rm \jobname.?? \jobname.??s')% | |||
| 7519 | % ignore everything up to the first ^^M, that's the newline at the end | 7532 | % ignore everything up to the first ^^M, that's the newline at the end |
| 7520 | % of the @verbatim input line itself. Otherwise we get an extra blank | 7533 | % of the @verbatim input line itself. Otherwise we get an extra blank |
| 7521 | % line in the output. | 7534 | % line in the output. |
| 7522 | \xdef\doverbatim#1^^M#2@end verbatim{#2\noexpand\end\gobble verbatim}% | 7535 | \xdef\doverbatim#1^^M#2@end verbatim{% |
| 7536 | \starttabbox#2\egroup\noexpand\end\gobble verbatim}% | ||
| 7523 | % We really want {...\end verbatim} in the body of the macro, but | 7537 | % We really want {...\end verbatim} in the body of the macro, but |
| 7524 | % without the active space; thus we have to use \xdef and \gobble. | 7538 | % without the active space; thus we have to use \xdef and \gobble. |
| 7539 | % The \egroup ends the \verbbox started at the end of the last line in | ||
| 7540 | % the block. | ||
| 7525 | \endgroup | 7541 | \endgroup |
| 7526 | % | 7542 | % |
| 7527 | \envdef\verbatim{% | 7543 | \envdef\verbatim{% |