aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2011-02-03 11:29:10 -0800
committerPaul Eggert2011-02-03 11:29:10 -0800
commit90b750f4e227844e0eb2368193f13631876d0664 (patch)
tree9fec2bb36fdff655e7b415046bf35a250de2e4b2 /doc
parent36941b32f3a3cd332b3adaf0cc8178177c2e9166 (diff)
downloademacs-90b750f4e227844e0eb2368193f13631876d0664.tar.gz
emacs-90b750f4e227844e0eb2368193f13631876d0664.zip
* texinfo.tex: Update to version 2011-02-01.10
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/texinfo.tex114
2 files changed, 100 insertions, 19 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 7696ab4b520..dd7be139b69 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12011-02-03 Paul Eggert <eggert@cs.ucla.edu>
2
3 * texinfo.tex: Update to version 2011-02-01.10 from gnulib,
4 which in turn is copied from ftp://tug.org/tex/.
5
12011-02-03 Glenn Morris <rgm@gnu.org> 62011-02-03 Glenn Morris <rgm@gnu.org>
2 7
3 * faq.texi (Contacting the FSF): Mainly just refer to the web-site. 8 * faq.texi (Contacting the FSF): Mainly just refer to the web-site.
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index 057b321fd71..94d71885d01 100644
--- a/doc/misc/texinfo.tex
+++ b/doc/misc/texinfo.tex
@@ -3,7 +3,7 @@
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{2011-01-15.17} 6\def\texinfoversion{2011-02-01.10}
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,
@@ -118,8 +118,8 @@
118\ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi 118\ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi
119\ifx\putwordfile\undefined \gdef\putwordfile{file}\fi 119\ifx\putwordfile\undefined \gdef\putwordfile{file}\fi
120\ifx\putwordin\undefined \gdef\putwordin{in}\fi 120\ifx\putwordin\undefined \gdef\putwordin{in}\fi
121\ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi 121\ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi
122\ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi 122\ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi
123\ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi 123\ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi
124\ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi 124\ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi
125\ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi 125\ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi
@@ -163,10 +163,12 @@
163\chardef\dashChar = `\- 163\chardef\dashChar = `\-
164\chardef\dotChar = `\. 164\chardef\dotChar = `\.
165\chardef\exclamChar= `\! 165\chardef\exclamChar= `\!
166\chardef\hashChar = `\#
166\chardef\lquoteChar= `\` 167\chardef\lquoteChar= `\`
167\chardef\questChar = `\? 168\chardef\questChar = `\?
168\chardef\rquoteChar= `\' 169\chardef\rquoteChar= `\'
169\chardef\semiChar = `\; 170\chardef\semiChar = `\;
171\chardef\slashChar = `\/
170\chardef\underChar = `\_ 172\chardef\underChar = `\_
171 173
172% Ignore a token. 174% Ignore a token.
@@ -557,7 +559,7 @@
557\parseargdef\end{% 559\parseargdef\end{%
558 \if 1\csname iscond.#1\endcsname 560 \if 1\csname iscond.#1\endcsname
559 \else 561 \else
560 % The general wording of \badenverr may not be ideal, but... --kasal, 06nov03 562 % The general wording of \badenverr may not be ideal.
561 \expandafter\checkenv\csname#1\endcsname 563 \expandafter\checkenv\csname#1\endcsname
562 \csname E#1\endcsname 564 \csname E#1\endcsname
563 \endgroup 565 \endgroup
@@ -2253,12 +2255,14 @@ end
2253 2255
2254% Markup style setup for left and right quotes. 2256% Markup style setup for left and right quotes.
2255\defmarkupstylesetup\markupsetuplq{% 2257\defmarkupstylesetup\markupsetuplq{%
2256 \expandafter\let\expandafter \temp \csname markupsetuplq\currentmarkupstyle\endcsname 2258 \expandafter\let\expandafter \temp
2259 \csname markupsetuplq\currentmarkupstyle\endcsname
2257 \ifx\temp\relax \markupsetuplqdefault \else \temp \fi 2260 \ifx\temp\relax \markupsetuplqdefault \else \temp \fi
2258} 2261}
2259 2262
2260\defmarkupstylesetup\markupsetuprq{% 2263\defmarkupstylesetup\markupsetuprq{%
2261 \expandafter\let\expandafter \temp \csname markupsetuprq\currentmarkupstyle\endcsname 2264 \expandafter\let\expandafter \temp
2265 \csname markupsetuprq\currentmarkupstyle\endcsname
2262 \ifx\temp\relax \markupsetuprqdefault \else \temp \fi 2266 \ifx\temp\relax \markupsetuprqdefault \else \temp \fi
2263} 2267}
2264 2268
@@ -2487,6 +2491,22 @@ end
2487 \codex 2491 \codex
2488 } 2492 }
2489} 2493}
2494% Handle @url similarly to \code, but allows line breaks after .#?/ (only).
2495{
2496 \catcode`\.=\active \catcode`\#=\active
2497 \catcode`\?=\active \catcode`\/=\active
2498 %
2499 \global\def\urefcode{\begingroup
2500 \setupmarkupstyle{code}%
2501 \catcode\dotChar=\active \catcode\hashChar=\active
2502 \catcode\questChar=\active \catcode\slashChar=\active
2503 \let.\urefcodedot
2504 \let#\urefcodehash
2505 \let?\urefcodequestion
2506 \let/\urefcodeslash
2507 \codex
2508 }
2509}
2490 2510
2491\def\realdash{-} 2511\def\realdash{-}
2492\def\codedash{-\discretionary{}{}{}} 2512\def\codedash{-\discretionary{}{}{}}
@@ -2501,6 +2521,24 @@ end
2501 \discretionary{}{}{}}% 2521 \discretionary{}{}{}}%
2502 {\_}% 2522 {\_}%
2503} 2523}
2524% we put a little stretch before and after the breakable chars, to help
2525% line breaking of long url's. The unequal skips make look better in
2526% cmtt at least, especially for dots.
2527\def\urefprestretch{\nobreak \hskip0pt plus.13em }
2528\def\urefpoststretch{\allowbreak \hskip0pt plus.1em }
2529\def\urefcodedot{\urefprestretch .\urefpoststretch}
2530\def\urefcodehash{\urefprestretch \#\urefpoststretch}
2531\def\urefcodequestion{\urefprestretch ?\urefpoststretch}
2532\def\urefcodeslash{\futurelet\next\urefcodeslashfinish}
2533{
2534 \catcode`\/=\active
2535 \global\def\urefcodeslashfinish{%
2536 \urefprestretch \slashChar
2537 % Allow line break only after the final / in a sequence of
2538 % slashes, to avoid line break between the slashes in http://.
2539 \ifx\next/\else \urefpoststretch \fi
2540 }
2541}
2504\def\codex #1{\tclose{#1}\endgroup} 2542\def\codex #1{\tclose{#1}\endgroup}
2505 2543
2506% An additional complication: the above will allow breaks after, e.g., 2544% An additional complication: the above will allow breaks after, e.g.,
@@ -2598,6 +2636,30 @@ end
2598 \endlink 2636 \endlink
2599\endgroup} 2637\endgroup}
2600 2638
2639\def\nouref#1,#2,#3,#4\finish{\begingroup % doesn't work in @example
2640 \unsepspaces
2641 \pdfurl{#1}%
2642 \setbox0 = \hbox{\ignorespaces #3}%
2643 \ifdim\wd0 > 0pt
2644 \unhbox0 % third arg given, show only that
2645 \else
2646 \setbox0 = \hbox{\ignorespaces #2}%
2647 \ifdim\wd0 > 0pt
2648 \ifpdf
2649 \unhbox0 % PDF: 2nd arg given, show only it
2650 \else
2651 % \empty at the end of \scantokens arg gets rid of
2652 % trailing newline (and ultimate spurious whitespace).
2653 \unhbox0\ (\urefcode{\scantokens{#1\empty}})% DVI: 2nd arg given,
2654 % show both it and url
2655 \fi
2656 \else
2657 \urefcode{\scantokens{#1\empty}}% only url given, so show it
2658 \fi
2659 \fi
2660 \endlink
2661\endgroup}
2662
2601% @url synonym for @uref, since that's how everyone uses it. 2663% @url synonym for @uref, since that's how everyone uses it.
2602% 2664%
2603\let\url=\uref 2665\let\url=\uref
@@ -3034,8 +3096,9 @@ end
3034\newif\ifsetshortcontentsaftertitlepage 3096\newif\ifsetshortcontentsaftertitlepage
3035 \let\setshortcontentsaftertitlepage = \setshortcontentsaftertitlepagetrue 3097 \let\setshortcontentsaftertitlepage = \setshortcontentsaftertitlepagetrue
3036 3098
3037\parseargdef\shorttitlepage{\begingroup\hbox{}\vskip 1.5in \chaprm \centerline{#1}% 3099\parseargdef\shorttitlepage{%
3038 \endgroup\page\hbox{}\page} 3100 \begingroup \hbox{}\vskip 1.5in \chaprm \centerline{#1}%
3101 \endgroup\page\hbox{}\page}
3039 3102
3040\envdef\titlepage{% 3103\envdef\titlepage{%
3041 % Open one extra group, as we want to close it in the middle of \Etitlepage. 3104 % Open one extra group, as we want to close it in the middle of \Etitlepage.
@@ -5243,7 +5306,8 @@ end
5243 \global\let\subsubsection = \appendixsubsubsec 5306 \global\let\subsubsection = \appendixsubsubsec
5244} 5307}
5245 5308
5246\outer\parseargdef\unnumbered{\unnmhead0{#1}} % normally unnmhead0 calls unnumberedzzz 5309% normally unnmhead0 calls unnumberedzzz:
5310\outer\parseargdef\unnumbered{\unnmhead0{#1}}
5247\def\unnumberedzzz#1{% 5311\def\unnumberedzzz#1{%
5248 \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 5312 \global\secno=0 \global\subsecno=0 \global\subsubsecno=0
5249 \global\advance\unnumberedno by 1 5313 \global\advance\unnumberedno by 1
@@ -5287,40 +5351,47 @@ end
5287\let\top\unnumbered 5351\let\top\unnumbered
5288 5352
5289% Sections. 5353% Sections.
5354%
5290\outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz 5355\outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz
5291\def\seczzz#1{% 5356\def\seczzz#1{%
5292 \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 5357 \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
5293 \sectionheading{#1}{sec}{Ynumbered}{\the\chapno.\the\secno}% 5358 \sectionheading{#1}{sec}{Ynumbered}{\the\chapno.\the\secno}%
5294} 5359}
5295 5360
5296\outer\parseargdef\appendixsection{\apphead1{#1}} % normally calls appendixsectionzzz 5361% normally calls appendixsectionzzz:
5362\outer\parseargdef\appendixsection{\apphead1{#1}}
5297\def\appendixsectionzzz#1{% 5363\def\appendixsectionzzz#1{%
5298 \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 5364 \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
5299 \sectionheading{#1}{sec}{Yappendix}{\appendixletter.\the\secno}% 5365 \sectionheading{#1}{sec}{Yappendix}{\appendixletter.\the\secno}%
5300} 5366}
5301\let\appendixsec\appendixsection 5367\let\appendixsec\appendixsection
5302 5368
5303\outer\parseargdef\unnumberedsec{\unnmhead1{#1}} % normally calls unnumberedseczzz 5369% normally calls unnumberedseczzz:
5370\outer\parseargdef\unnumberedsec{\unnmhead1{#1}}
5304\def\unnumberedseczzz#1{% 5371\def\unnumberedseczzz#1{%
5305 \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 5372 \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
5306 \sectionheading{#1}{sec}{Ynothing}{\the\unnumberedno.\the\secno}% 5373 \sectionheading{#1}{sec}{Ynothing}{\the\unnumberedno.\the\secno}%
5307} 5374}
5308 5375
5309% Subsections. 5376% Subsections.
5310\outer\parseargdef\numberedsubsec{\numhead2{#1}} % normally calls numberedsubseczzz 5377%
5378% normally calls numberedsubseczzz:
5379\outer\parseargdef\numberedsubsec{\numhead2{#1}}
5311\def\numberedsubseczzz#1{% 5380\def\numberedsubseczzz#1{%
5312 \global\subsubsecno=0 \global\advance\subsecno by 1 5381 \global\subsubsecno=0 \global\advance\subsecno by 1
5313 \sectionheading{#1}{subsec}{Ynumbered}{\the\chapno.\the\secno.\the\subsecno}% 5382 \sectionheading{#1}{subsec}{Ynumbered}{\the\chapno.\the\secno.\the\subsecno}%
5314} 5383}
5315 5384
5316\outer\parseargdef\appendixsubsec{\apphead2{#1}} % normally calls appendixsubseczzz 5385% normally calls appendixsubseczzz:
5386\outer\parseargdef\appendixsubsec{\apphead2{#1}}
5317\def\appendixsubseczzz#1{% 5387\def\appendixsubseczzz#1{%
5318 \global\subsubsecno=0 \global\advance\subsecno by 1 5388 \global\subsubsecno=0 \global\advance\subsecno by 1
5319 \sectionheading{#1}{subsec}{Yappendix}% 5389 \sectionheading{#1}{subsec}{Yappendix}%
5320 {\appendixletter.\the\secno.\the\subsecno}% 5390 {\appendixletter.\the\secno.\the\subsecno}%
5321} 5391}
5322 5392
5323\outer\parseargdef\unnumberedsubsec{\unnmhead2{#1}} %normally calls unnumberedsubseczzz 5393% normally calls unnumberedsubseczzz:
5394\outer\parseargdef\unnumberedsubsec{\unnmhead2{#1}}
5324\def\unnumberedsubseczzz#1{% 5395\def\unnumberedsubseczzz#1{%
5325 \global\subsubsecno=0 \global\advance\subsecno by 1 5396 \global\subsubsecno=0 \global\advance\subsecno by 1
5326 \sectionheading{#1}{subsec}{Ynothing}% 5397 \sectionheading{#1}{subsec}{Ynothing}%
@@ -5328,21 +5399,25 @@ end
5328} 5399}
5329 5400
5330% Subsubsections. 5401% Subsubsections.
5331\outer\parseargdef\numberedsubsubsec{\numhead3{#1}} % normally numberedsubsubseczzz 5402%
5403% normally numberedsubsubseczzz:
5404\outer\parseargdef\numberedsubsubsec{\numhead3{#1}}
5332\def\numberedsubsubseczzz#1{% 5405\def\numberedsubsubseczzz#1{%
5333 \global\advance\subsubsecno by 1 5406 \global\advance\subsubsecno by 1
5334 \sectionheading{#1}{subsubsec}{Ynumbered}% 5407 \sectionheading{#1}{subsubsec}{Ynumbered}%
5335 {\the\chapno.\the\secno.\the\subsecno.\the\subsubsecno}% 5408 {\the\chapno.\the\secno.\the\subsecno.\the\subsubsecno}%
5336} 5409}
5337 5410
5338\outer\parseargdef\appendixsubsubsec{\apphead3{#1}} % normally appendixsubsubseczzz 5411% normally appendixsubsubseczzz:
5412\outer\parseargdef\appendixsubsubsec{\apphead3{#1}}
5339\def\appendixsubsubseczzz#1{% 5413\def\appendixsubsubseczzz#1{%
5340 \global\advance\subsubsecno by 1 5414 \global\advance\subsubsecno by 1
5341 \sectionheading{#1}{subsubsec}{Yappendix}% 5415 \sectionheading{#1}{subsubsec}{Yappendix}%
5342 {\appendixletter.\the\secno.\the\subsecno.\the\subsubsecno}% 5416 {\appendixletter.\the\secno.\the\subsecno.\the\subsubsecno}%
5343} 5417}
5344 5418
5345\outer\parseargdef\unnumberedsubsubsec{\unnmhead3{#1}} %normally unnumberedsubsubseczzz 5419% normally unnumberedsubsubseczzz:
5420\outer\parseargdef\unnumberedsubsubsec{\unnmhead3{#1}}
5346\def\unnumberedsubsubseczzz#1{% 5421\def\unnumberedsubsubseczzz#1{%
5347 \global\advance\subsubsecno by 1 5422 \global\advance\subsubsecno by 1
5348 \sectionheading{#1}{subsubsec}{Ynothing}% 5423 \sectionheading{#1}{subsubsec}{Ynothing}%
@@ -7237,7 +7312,8 @@ end
7237 7312
7238% @inforef is relatively simple. 7313% @inforef is relatively simple.
7239\def\inforef #1{\inforefzzz #1,,,,**} 7314\def\inforef #1{\inforefzzz #1,,,,**}
7240\def\inforefzzz #1,#2,#3,#4**{\putwordSee{} \putwordInfo{} \putwordfile{} \file{\ignorespaces #3{}}, 7315\def\inforefzzz #1,#2,#3,#4**{%
7316 \putwordSee{} \putwordInfo{} \putwordfile{} \file{\ignorespaces #3{}},
7241 node \samp{\ignorespaces#1{}}} 7317 node \samp{\ignorespaces#1{}}}
7242 7318
7243% @node's only job in TeX is to define \lastnode, which is used in 7319% @node's only job in TeX is to define \lastnode, which is used in
@@ -7298,7 +7374,7 @@ end
7298 \toks0 = \expandafter{\lastsection}% 7374 \toks0 = \expandafter{\lastsection}%
7299 \immediate \writexrdef{title}{\the\toks0 }% 7375 \immediate \writexrdef{title}{\the\toks0 }%
7300 \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc. 7376 \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc.
7301 \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, during \shipout 7377 \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, at \shipout
7302 }% 7378 }%
7303 \fi 7379 \fi
7304} 7380}