diff options
| author | Paul Eggert | 2012-07-29 23:07:22 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-29 23:07:22 -0700 |
| commit | dc5493f11d93f4a97ebc37dac5df286746496bf8 (patch) | |
| tree | 2080a4278179fd5700569c123c8ebde3cc07aef0 /doc/misc | |
| parent | 03a660a609328ce854721de7ba403f6725ab4ace (diff) | |
| download | emacs-dc5493f11d93f4a97ebc37dac5df286746496bf8.tar.gz emacs-dc5493f11d93f4a97ebc37dac5df286746496bf8.zip | |
Merge from gnulib, incorporating:
* doc/misc/texinfo.tex: Update to 2012-07-29.17 version.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/texinfo.tex | 68 |
1 files changed, 35 insertions, 33 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex index 2b646dd671c..c7354edcaf9 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{2012-07-03.16} | 6 | \def\texinfoversion{2012-07-29.17} |
| 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, |
| @@ -2448,34 +2448,12 @@ end | |||
| 2448 | % @samp. | 2448 | % @samp. |
| 2449 | \def\samp#1{{\setupmarkupstyle{samp}\lq\tclose{#1}\rq\null}} | 2449 | \def\samp#1{{\setupmarkupstyle{samp}\lq\tclose{#1}\rq\null}} |
| 2450 | 2450 | ||
| 2451 | % definition of @key that produces a lozenge. Doesn't adjust to text size. | 2451 | % @indicateurl is \samp, that is, with quotes. |
| 2452 | %\setfont\keyrm\rmshape{8}{1000}{OT1} | 2452 | \let\indicateurl=\samp |
| 2453 | %\font\keysy=cmsy9 | ||
| 2454 | %\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% | ||
| 2455 | % \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% | ||
| 2456 | % \vbox{\hrule\kern-0.4pt | ||
| 2457 | % \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% | ||
| 2458 | % \kern-0.4pt\hrule}% | ||
| 2459 | % \kern-.06em\raise0.4pt\hbox{\angleright}}}} | ||
| 2460 | |||
| 2461 | % definition of @key with no lozenge. If the current font is already | ||
| 2462 | % monospace, don't change it; that way, we respect @kbdinputstyle. But | ||
| 2463 | % if it isn't monospace, then use \tt. | ||
| 2464 | % | ||
| 2465 | \def\key#1{{\setupmarkupstyle{key}% | ||
| 2466 | \nohyphenation | ||
| 2467 | \ifmonospace\else\tt\fi | ||
| 2468 | #1}\null} | ||
| 2469 | 2453 | ||
| 2470 | % ctrl is no longer a Texinfo command. | 2454 | % @code (and similar) prints in typewriter, but with spaces the same |
| 2471 | \def\ctrl #1{{\tt \rawbackslash \hat}#1} | 2455 | % size as normal in the surrounding text, without hyphenation, etc. |
| 2472 | 2456 | % This is a subroutine for that. | |
| 2473 | % @file, @option are the same as @samp. | ||
| 2474 | \let\file=\samp | ||
| 2475 | \let\option=\samp | ||
| 2476 | |||
| 2477 | % @code is a modification of @t, | ||
| 2478 | % which makes spaces the same size as normal in the surrounding text. | ||
| 2479 | \def\tclose#1{% | 2457 | \def\tclose#1{% |
| 2480 | {% | 2458 | {% |
| 2481 | % Change normal interword space to be same as for the current font. | 2459 | % Change normal interword space to be same as for the current font. |
| @@ -2500,7 +2478,7 @@ end | |||
| 2500 | % We *must* turn on hyphenation at `-' and `_' in @code. | 2478 | % We *must* turn on hyphenation at `-' and `_' in @code. |
| 2501 | % Otherwise, it is too hard to avoid overfull hboxes | 2479 | % Otherwise, it is too hard to avoid overfull hboxes |
| 2502 | % in the Emacs manual, the Library manual, etc. | 2480 | % in the Emacs manual, the Library manual, etc. |
| 2503 | 2481 | % | |
| 2504 | % Unfortunately, TeX uses one parameter (\hyphenchar) to control | 2482 | % Unfortunately, TeX uses one parameter (\hyphenchar) to control |
| 2505 | % both hyphenation at - and hyphenation within words. | 2483 | % both hyphenation at - and hyphenation within words. |
| 2506 | % We must therefore turn them both off (\tclose does that) | 2484 | % We must therefore turn them both off (\tclose does that) |
| @@ -2564,6 +2542,13 @@ end | |||
| 2564 | \fi\fi | 2542 | \fi\fi |
| 2565 | } | 2543 | } |
| 2566 | 2544 | ||
| 2545 | % For @command, @env, @file, @option quotes seem unnecessary, | ||
| 2546 | % so use \code rather than \samp. | ||
| 2547 | \let\command=\code | ||
| 2548 | \let\env=\code | ||
| 2549 | \let\file=\code | ||
| 2550 | \let\option=\code | ||
| 2551 | |||
| 2567 | % @uref (abbreviation for `urlref') takes an optional (comma-separated) | 2552 | % @uref (abbreviation for `urlref') takes an optional (comma-separated) |
| 2568 | % second argument specifying the text to display and an optional third | 2553 | % second argument specifying the text to display and an optional third |
| 2569 | % arg as text to display instead of (rather than in addition to) the url | 2554 | % arg as text to display instead of (rather than in addition to) the url |
| @@ -2743,10 +2728,24 @@ end | |||
| 2743 | \else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi | 2728 | \else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi |
| 2744 | \else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi} | 2729 | \else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi} |
| 2745 | 2730 | ||
| 2746 | % For @indicateurl, @env, @command quotes seem unnecessary, so use \code. | 2731 | % definition of @key that produces a lozenge. Doesn't adjust to text size. |
| 2747 | \let\indicateurl=\code | 2732 | %\setfont\keyrm\rmshape{8}{1000}{OT1} |
| 2748 | \let\env=\code | 2733 | %\font\keysy=cmsy9 |
| 2749 | \let\command=\code | 2734 | %\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% |
| 2735 | % \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% | ||
| 2736 | % \vbox{\hrule\kern-0.4pt | ||
| 2737 | % \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% | ||
| 2738 | % \kern-0.4pt\hrule}% | ||
| 2739 | % \kern-.06em\raise0.4pt\hbox{\angleright}}}} | ||
| 2740 | |||
| 2741 | % definition of @key with no lozenge. If the current font is already | ||
| 2742 | % monospace, don't change it; that way, we respect @kbdinputstyle. But | ||
| 2743 | % if it isn't monospace, then use \tt. | ||
| 2744 | % | ||
| 2745 | \def\key#1{{\setupmarkupstyle{key}% | ||
| 2746 | \nohyphenation | ||
| 2747 | \ifmonospace\else\tt\fi | ||
| 2748 | #1}\null} | ||
| 2750 | 2749 | ||
| 2751 | % @clicksequence{File @click{} Open ...} | 2750 | % @clicksequence{File @click{} Open ...} |
| 2752 | \def\clicksequence#1{\begingroup #1\endgroup} | 2751 | \def\clicksequence#1{\begingroup #1\endgroup} |
| @@ -2854,6 +2853,9 @@ end | |||
| 2854 | } | 2853 | } |
| 2855 | } | 2854 | } |
| 2856 | 2855 | ||
| 2856 | % ctrl is no longer a Texinfo command, but leave this definition for fun. | ||
| 2857 | \def\ctrl #1{{\tt \rawbackslash \hat}#1} | ||
| 2858 | |||
| 2857 | % @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}. | 2859 | % @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}. |
| 2858 | % Ignore unless FMTNAME == tex; then it is like @iftex and @tex, | 2860 | % Ignore unless FMTNAME == tex; then it is like @iftex and @tex, |
| 2859 | % except specified as a normal braced arg, so no newlines to worry about. | 2861 | % except specified as a normal braced arg, so no newlines to worry about. |