aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Berry2006-12-01 21:44:20 +0000
committerKarl Berry2006-12-01 21:44:20 +0000
commit74acc6cb7c64207782ba84589dca9546ce88aa6c (patch)
tree4a0fec96d6a7e1ff9a0c422278d58d18980a3363
parentf9914209c8c0a7dad6a29defb2cf3c6664d6dc8a (diff)
downloademacs-74acc6cb7c64207782ba84589dca9546ce88aa6c.tar.gz
emacs-74acc6cb7c64207782ba84589dca9546ce88aa6c.zip
autoupdate
-rw-r--r--man/texinfo.tex97
1 files changed, 78 insertions, 19 deletions
diff --git a/man/texinfo.tex b/man/texinfo.tex
index 08177390672..4d47842579b 100644
--- a/man/texinfo.tex
+++ b/man/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{2006-08-26.17} 6\def\texinfoversion{2006-11-08.17}
7% 7%
8% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free 9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
@@ -157,6 +157,18 @@
157\chardef\spacecat = 10 157\chardef\spacecat = 10
158\def\spaceisspace{\catcode`\ =\spacecat} 158\def\spaceisspace{\catcode`\ =\spacecat}
159 159
160% sometimes characters are active, so we need control sequences.
161\chardef\colonChar = `\:
162\chardef\commaChar = `\,
163\chardef\dashChar = `\-
164\chardef\dotChar = `\.
165\chardef\exclamChar= `\!
166\chardef\lquoteChar= `\`
167\chardef\questChar = `\?
168\chardef\rquoteChar= `\'
169\chardef\semiChar = `\;
170\chardef\underChar = `\_
171
160% Ignore a token. 172% Ignore a token.
161% 173%
162\def\gobble#1{} 174\def\gobble#1{}
@@ -1243,6 +1255,11 @@ where each line of input produces a line of output.}
1243 \HyPsdSubst{)}{\realbackslash)}{#1}% 1255 \HyPsdSubst{)}{\realbackslash)}{#1}%
1244} 1256}
1245 1257
1258\newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images
1259with PDF output, and none of those formats could be found. (.eps cannot
1260be supported due to the design of the PDF format; use regular TeX (DVI
1261output) for that.)}
1262
1246\ifpdf 1263\ifpdf
1247 \input pdfcolor 1264 \input pdfcolor
1248 \pdfcatalog{/PageMode /UseOutlines}% 1265 \pdfcatalog{/PageMode /UseOutlines}%
@@ -1250,6 +1267,36 @@ where each line of input produces a line of output.}
1250 \def\dopdfimage#1#2#3{% 1267 \def\dopdfimage#1#2#3{%
1251 \def\imagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}% 1268 \def\imagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
1252 \def\imageheight{#3}\setbox2 = \hbox{\ignorespaces #3}% 1269 \def\imageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
1270 %
1271 % pdftex (and the PDF format) support .png, .jpg, .pdf (among
1272 % others). Let's try in that order.
1273 \let\pdfimgext=\empty
1274 \begingroup
1275 \openin 1 #1.png \ifeof 1
1276 \openin 1 #1.jpg \ifeof 1
1277 \openin 1 #1.jpeg \ifeof 1
1278 \openin 1 #1.JPG \ifeof 1
1279 \openin 1 #1.pdf \ifeof 1
1280 \errhelp = \nopdfimagehelp
1281 \errmessage{Could not find image file #1 for pdf}%
1282 \else
1283 \gdef\pdfimgext{pdf}%
1284 \fi
1285 \else
1286 \gdef\pdfimgext{JPG}%
1287 \fi
1288 \else
1289 \gdef\pdfimgext{jpeg}%
1290 \fi
1291 \else
1292 \gdef\pdfimgext{jpg}%
1293 \fi
1294 \else
1295 \gdef\pdfimgext{png}%
1296 \fi
1297 \closein 1
1298 \endgroup
1299 %
1253 % without \immediate, pdftex seg faults when the same image is 1300 % without \immediate, pdftex seg faults when the same image is
1254 % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.) 1301 % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.)
1255 \ifnum\pdftexversion < 14 1302 \ifnum\pdftexversion < 14
@@ -1260,9 +1307,9 @@ where each line of input produces a line of output.}
1260 \ifdim \wd0 >0pt width \imagewidth \fi 1307 \ifdim \wd0 >0pt width \imagewidth \fi
1261 \ifdim \wd2 >0pt height \imageheight \fi 1308 \ifdim \wd2 >0pt height \imageheight \fi
1262 \ifnum\pdftexversion<13 1309 \ifnum\pdftexversion<13
1263 #1.pdf% 1310 #1.\pdfimgext
1264 \else 1311 \else
1265 {#1.pdf}% 1312 {#1.\pdfimgext}%
1266 \fi 1313 \fi
1267 \ifnum\pdftexversion < 14 \else 1314 \ifnum\pdftexversion < 14 \else
1268 \pdfrefximage \pdflastximage 1315 \pdfrefximage \pdflastximage
@@ -1976,13 +2023,6 @@ where each line of input produces a line of output.}
1976% Can't use plain's \frenchspacing because it uses the `\x notation, and 2023% Can't use plain's \frenchspacing because it uses the `\x notation, and
1977% sometimes \x has an active definition that messes things up. 2024% sometimes \x has an active definition that messes things up.
1978% 2025%
1979\chardef\colonChar = `\:
1980\chardef\commaChar = `\,
1981\chardef\dotChar = `\.
1982\chardef\exclamChar= `\!
1983\chardef\questChar = `\?
1984\chardef\semiChar = `\;
1985%
1986\catcode`@=11 2026\catcode`@=11
1987 \def\plainfrenchspacing{% 2027 \def\plainfrenchspacing{%
1988 \sfcode\dotChar =\@m \sfcode\questChar=\@m \sfcode\exclamChar=\@m 2028 \sfcode\dotChar =\@m \sfcode\questChar=\@m \sfcode\exclamChar=\@m
@@ -2010,6 +2050,7 @@ where each line of input produces a line of output.}
2010 \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% 2050 \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}%
2011 \kern-0.4pt\hrule}% 2051 \kern-0.4pt\hrule}%
2012 \kern-.06em\raise0.4pt\hbox{\angleright}}}} 2052 \kern-.06em\raise0.4pt\hbox{\angleright}}}}
2053\def\key #1{{\nohyphenation \uppercase{#1}}\null}
2013% The old definition, with no lozenge: 2054% The old definition, with no lozenge:
2014%\def\key #1{{\ttsl \nohyphenation \uppercase{#1}}\null} 2055%\def\key #1{{\ttsl \nohyphenation \uppercase{#1}}\null}
2015\def\ctrl #1{{\tt \rawbackslash \hat}#1} 2056\def\ctrl #1{{\tt \rawbackslash \hat}#1}
@@ -2051,11 +2092,14 @@ where each line of input produces a line of output.}
2051% and arrange explicitly to hyphenate at a dash. 2092% and arrange explicitly to hyphenate at a dash.
2052% -- rms. 2093% -- rms.
2053{ 2094{
2054 \catcode`\-=\active \catcode`\_=\active \catcode`\'=\active 2095 \catcode`\-=\active \catcode`\_=\active
2096 \catcode`\'=\active \catcode`\`=\active
2055 % 2097 %
2056 \global\def\code{\begingroup 2098 \global\def\code{\begingroup
2057 \catcode`\-=\active \catcode`\_=\active \catcode`\'=\active 2099 \catcode\rquoteChar=\active \catcode\lquoteChar=\active
2058 \let'\singlequotechar 2100 \let'\codequoteright \let`\codequoteleft
2101 %
2102 \catcode\dashChar=\active \catcode\underChar=\active
2059 \ifallowcodebreaks 2103 \ifallowcodebreaks
2060 \let-\codedash 2104 \let-\codedash
2061 \let_\codeunder 2105 \let_\codeunder
@@ -5410,7 +5454,7 @@ where each line of input produces a line of output.}
5410% evince), the lilypond developers report. xpdf does work with the 5454% evince), the lilypond developers report. xpdf does work with the
5411% regular 0x27. 5455% regular 0x27.
5412% 5456%
5413\def\singlequotechar{% 5457\def\codequoteright{%
5414 \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax 5458 \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
5415 '% 5459 '%
5416 \else 5460 \else
@@ -5418,6 +5462,18 @@ where each line of input produces a line of output.}
5418 \fi 5462 \fi
5419} 5463}
5420% 5464%
5465% and a similar option for the left quote char vs. a grave accent.
5466% Modern fonts display ASCII 0x60 as a grave accent, so some people like
5467% the code environments to do likewise.
5468%
5469\def\codequoteleft{%
5470 \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
5471 `%
5472 \else
5473 \char'22
5474 \fi
5475}
5476%
5421\begingroup 5477\begingroup
5422 \catcode`\^^I=\active 5478 \catcode`\^^I=\active
5423 \gdef\tabexpand{% 5479 \gdef\tabexpand{%
@@ -5431,12 +5487,15 @@ where each line of input produces a line of output.}
5431 }% 5487 }%
5432 } 5488 }
5433 \catcode`\'=\active 5489 \catcode`\'=\active
5434 \gdef\quoteexpand{% 5490 \gdef\rquoteexpand{\catcode\rquoteChar=\active \def'{\codequoteright}}%
5435 \catcode`\'=\active 5491 %
5436 \def'{\singlequotechar} 5492 \catcode`\`=\active
5437 }% 5493 \gdef\lquoteexpand{\catcode\lquoteChar=\active \def`{\codequoteleft}}%
5494 %
5495 \gdef\quoteexpand{\rquoteexpand \lquoteexpand}%
5438\endgroup 5496\endgroup
5439% 5497
5498% start the verbatim environment.
5440\def\setupverbatim{% 5499\def\setupverbatim{%
5441 \let\nonarrowing = t% 5500 \let\nonarrowing = t%
5442 \nonfillstart 5501 \nonfillstart