aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc/texinfo.tex
diff options
context:
space:
mode:
authorPaul Eggert2014-01-10 23:01:30 -0800
committerPaul Eggert2014-01-10 23:01:30 -0800
commitbada50fc50d34e0e2ffd00fd64957cfb397c6eee (patch)
treed93a451eed031c36f12254dbadd787bbee903e49 /doc/misc/texinfo.tex
parent6b81c31d81137170c6883a59d37478cda3b09432 (diff)
downloademacs-bada50fc50d34e0e2ffd00fd64957cfb397c6eee.tar.gz
emacs-bada50fc50d34e0e2ffd00fd64957cfb397c6eee.zip
Merge from gnulib.
This incorporates: 2014-01-07 update from texinfo 2014-01-06 md5, sha1, sha256, sha512: support older autoconf
Diffstat (limited to 'doc/misc/texinfo.tex')
-rw-r--r--doc/misc/texinfo.tex74
1 files changed, 33 insertions, 41 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index bfd765dd211..d92fb8a55e0 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{2013-09-11.11} 6\def\texinfoversion{2014-01-06.16}
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,
@@ -1138,10 +1138,12 @@ output) for that.)}
1138 1138
1139\ifpdf 1139\ifpdf
1140 % 1140 %
1141 % Color manipulation macros based on pdfcolor.tex, 1141 % Color manipulation macros using ideas from pdfcolor.tex,
1142 % except using rgb instead of cmyk; the latter is said to render as a 1142 % except using rgb instead of cmyk; the latter is said to render as a
1143 % very dark gray on-screen and a very dark halftone in print, instead 1143 % very dark gray on-screen and a very dark halftone in print, instead
1144 % of actual black. 1144 % of actual black. The dark red here is dark enough to print on paper as
1145 % nearly black, but still distinguishable for online viewing. We use
1146 % black by default, though.
1145 \def\rgbDarkRed{0.50 0.09 0.12} 1147 \def\rgbDarkRed{0.50 0.09 0.12}
1146 \def\rgbBlack{0 0 0} 1148 \def\rgbBlack{0 0 0}
1147 % 1149 %
@@ -1251,10 +1253,9 @@ output) for that.)}
1251 % used to mark target names; must be expandable. 1253 % used to mark target names; must be expandable.
1252 \def\pdfmkpgn#1{#1} 1254 \def\pdfmkpgn#1{#1}
1253 % 1255 %
1254 % by default, use a color that is dark enough to print on paper as 1256 % by default, use black for everything.
1255 % nearly black, but still distinguishable for online viewing. 1257 \def\urlcolor{\rgbBlack}
1256 \def\urlcolor{\rgbDarkRed} 1258 \def\linkcolor{\rgbBlack}
1257 \def\linkcolor{\rgbDarkRed}
1258 \def\endlink{\setcolor{\maincolor}\pdfendlink} 1259 \def\endlink{\setcolor{\maincolor}\pdfendlink}
1259 % 1260 %
1260 % Adding outlines to PDF; macros for calculating structure of outlines 1261 % Adding outlines to PDF; macros for calculating structure of outlines
@@ -2574,37 +2575,21 @@ end
2574\let\file=\code 2575\let\file=\code
2575\let\option=\code 2576\let\option=\code
2576 2577
2577% @uref (abbreviation for `urlref') takes an optional (comma-separated) 2578% @uref (abbreviation for `urlref') aka @url takes an optional
2578% second argument specifying the text to display and an optional third 2579% (comma-separated) second argument specifying the text to display and
2579% arg as text to display instead of (rather than in addition to) the url 2580% an optional third arg as text to display instead of (rather than in
2580% itself. First (mandatory) arg is the url. 2581% addition to) the url itself. First (mandatory) arg is the url.
2581% (This \urefnobreak definition isn't used now, leaving it for a while 2582
2582% for comparison.) 2583% TeX-only option to allow changing PDF output to show only the second
2583\def\urefnobreak#1{\dourefnobreak #1,,,\finish} 2584% arg (if given), and not the url (which is then just the link target).
2584\def\dourefnobreak#1,#2,#3,#4\finish{\begingroup 2585\newif\ifurefurlonlylink
2585 \unsepspaces
2586 \pdfurl{#1}%
2587 \setbox0 = \hbox{\ignorespaces #3}%
2588 \ifdim\wd0 > 0pt
2589 \unhbox0 % third arg given, show only that
2590 \else
2591 \setbox0 = \hbox{\ignorespaces #2}%
2592 \ifdim\wd0 > 0pt
2593 \ifpdf
2594 \unhbox0 % PDF: 2nd arg given, show only it
2595 \else
2596 \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url
2597 \fi
2598 \else
2599 \code{#1}% only url given, so show it
2600 \fi
2601 \fi
2602 \endlink
2603\endgroup}
2604 2586
2605% This \urefbreak definition is the active one. 2587% The main macro is \urefbreak, which allows breaking at expected
2588% places within the url. (There used to be another version, which
2589% didn't support automatic breaking.)
2606\def\urefbreak{\begingroup \urefcatcodes \dourefbreak} 2590\def\urefbreak{\begingroup \urefcatcodes \dourefbreak}
2607\let\uref=\urefbreak 2591\let\uref=\urefbreak
2592%
2608\def\dourefbreak#1{\urefbreakfinish #1,,,\finish} 2593\def\dourefbreak#1{\urefbreakfinish #1,,,\finish}
2609\def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example 2594\def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example
2610 \unsepspaces 2595 \unsepspaces
@@ -2613,12 +2598,19 @@ end
2613 \ifdim\wd0 > 0pt 2598 \ifdim\wd0 > 0pt
2614 \unhbox0 % third arg given, show only that 2599 \unhbox0 % third arg given, show only that
2615 \else 2600 \else
2616 \setbox0 = \hbox{\ignorespaces #2}% 2601 \setbox0 = \hbox{\ignorespaces #2}% look for second arg
2617 \ifdim\wd0 > 0pt 2602 \ifdim\wd0 > 0pt
2618 \ifpdf 2603 \ifpdf
2619 \unhbox0 % PDF: 2nd arg given, show only it 2604 \ifurefurlonlylink
2605 % PDF plus option to not display url, show just arg
2606 \unhbox0
2607 \else
2608 % PDF, normally display both arg and url for consistency,
2609 % visibility, if the pdf is eventually used to print, etc.
2610 \unhbox0\ (\urefcode{#1})%
2611 \fi
2620 \else 2612 \else
2621 \unhbox0\ (\urefcode{#1})% DVI: 2nd arg given, show both it and url 2613 \unhbox0\ (\urefcode{#1})% DVI, always show arg and url
2622 \fi 2614 \fi
2623 \else 2615 \else
2624 \urefcode{#1}% only url given, so show it 2616 \urefcode{#1}% only url given, so show it
@@ -3691,7 +3683,7 @@ end
3691 \parskip=\smallskipamount 3683 \parskip=\smallskipamount
3692 \ifdim\parskip=0pt \parskip=2pt \fi 3684 \ifdim\parskip=0pt \parskip=2pt \fi
3693 % 3685 %
3694 % Try typesetting the item mark that if the document erroneously says 3686 % Try typesetting the item mark so that if the document erroneously says
3695 % something like @itemize @samp (intending @table), there's an error 3687 % something like @itemize @samp (intending @table), there's an error
3696 % right away at the @itemize. It's not the best error message in the 3688 % right away at the @itemize. It's not the best error message in the
3697 % world, but it's better than leaving it to the @item. This means if 3689 % world, but it's better than leaving it to the @item. This means if
@@ -8342,8 +8334,8 @@ end
8342% 8334%
8343% Auto-number footnotes. Otherwise like plain. 8335% Auto-number footnotes. Otherwise like plain.
8344\gdef\footnote{% 8336\gdef\footnote{%
8345 \let\indent=\ptexindent 8337 %\let\indent=\ptexindent
8346 \let\noindent=\ptexnoindent 8338 %\let\noindent=\ptexnoindent
8347 \global\advance\footnoteno by \@ne 8339 \global\advance\footnoteno by \@ne
8348 \edef\thisfootno{$^{\the\footnoteno}$}% 8340 \edef\thisfootno{$^{\the\footnoteno}$}%
8349 % 8341 %