diff options
| author | Paul Eggert | 2013-07-03 14:07:48 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-07-03 14:07:48 -0700 |
| commit | 5aa43a3add89cc1775757fe99d4028dd9a9c30ac (patch) | |
| tree | 46386b2d1020fdeb9169e76a93d544e07faa840a | |
| parent | 56f75efcbccb786aa6a570032b2541ee917ce5ff (diff) | |
| download | emacs-5aa43a3add89cc1775757fe99d4028dd9a9c30ac.tar.gz emacs-5aa43a3add89cc1775757fe99d4028dd9a9c30ac.zip | |
* texinfo.tex: Merge from gnulib.
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/texinfo.tex | 38 |
2 files changed, 33 insertions, 9 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index ef9bf827acf..e295b3de6c7 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-07-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * texinfo.tex: Merge from gnulib. | ||
| 4 | |||
| 1 | 2013-07-03 Glenn Morris <rgm@gnu.org> | 5 | 2013-07-03 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * bovine.texi (top): | 7 | * bovine.texi (top): |
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex index 85f184cc4cb..3427d2ad0e3 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-02-01.11} | 6 | \def\texinfoversion{2013-06-23.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, |
| @@ -2475,14 +2475,14 @@ end | |||
| 2475 | } | 2475 | } |
| 2476 | 2476 | ||
| 2477 | % We *must* turn on hyphenation at `-' and `_' in @code. | 2477 | % We *must* turn on hyphenation at `-' and `_' in @code. |
| 2478 | % (But see \codedashfinish below.) | ||
| 2478 | % Otherwise, it is too hard to avoid overfull hboxes | 2479 | % Otherwise, it is too hard to avoid overfull hboxes |
| 2479 | % in the Emacs manual, the Library manual, etc. | 2480 | % in the Emacs manual, the Library manual, etc. |
| 2480 | % | 2481 | % |
| 2481 | % Unfortunately, TeX uses one parameter (\hyphenchar) to control | 2482 | % Unfortunately, TeX uses one parameter (\hyphenchar) to control |
| 2482 | % both hyphenation at - and hyphenation within words. | 2483 | % both hyphenation at - and hyphenation within words. |
| 2483 | % We must therefore turn them both off (\tclose does that) | 2484 | % We must therefore turn them both off (\tclose does that) |
| 2484 | % and arrange explicitly to hyphenate at a dash. | 2485 | % and arrange explicitly to hyphenate at a dash. -- rms. |
| 2485 | % -- rms. | ||
| 2486 | { | 2486 | { |
| 2487 | \catcode`\-=\active \catcode`\_=\active | 2487 | \catcode`\-=\active \catcode`\_=\active |
| 2488 | \catcode`\'=\active \catcode`\`=\active | 2488 | \catcode`\'=\active \catcode`\`=\active |
| @@ -2499,14 +2499,33 @@ end | |||
| 2499 | \let-\normaldash | 2499 | \let-\normaldash |
| 2500 | \let_\realunder | 2500 | \let_\realunder |
| 2501 | \fi | 2501 | \fi |
| 2502 | % Given -foo (with a single dash), we do not want to allow a break | ||
| 2503 | % after the hyphen. | ||
| 2504 | \global\let\codedashprev=\codedash | ||
| 2505 | % | ||
| 2502 | \codex | 2506 | \codex |
| 2503 | } | 2507 | } |
| 2508 | % | ||
| 2509 | \gdef\codedash{\futurelet\next\codedashfinish} | ||
| 2510 | \gdef\codedashfinish{% | ||
| 2511 | \normaldash % always output the dash character itself. | ||
| 2512 | % | ||
| 2513 | % Now, output a discretionary to allow a line break, unless | ||
| 2514 | % (a) the next character is a -, or | ||
| 2515 | % (b) the preceding character is a -. | ||
| 2516 | % E.g., given --posix, we do not want to allow a break after either -. | ||
| 2517 | % Given --foo-bar, we do want to allow a break between the - and the b. | ||
| 2518 | \ifx\next\codedash \else | ||
| 2519 | \ifx\codedashprev\codedash | ||
| 2520 | \else \discretionary{}{}{}\fi | ||
| 2521 | \fi | ||
| 2522 | \global\let\codedashprev=\next | ||
| 2523 | } | ||
| 2504 | } | 2524 | } |
| 2505 | 2525 | \def\normaldash{-} | |
| 2526 | % | ||
| 2506 | \def\codex #1{\tclose{#1}\endgroup} | 2527 | \def\codex #1{\tclose{#1}\endgroup} |
| 2507 | 2528 | ||
| 2508 | \def\normaldash{-} | ||
| 2509 | \def\codedash{-\discretionary{}{}{}} | ||
| 2510 | \def\codeunder{% | 2529 | \def\codeunder{% |
| 2511 | % this is all so @math{@code{var_name}+1} can work. In math mode, _ | 2530 | % this is all so @math{@code{var_name}+1} can work. In math mode, _ |
| 2512 | % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.) | 2531 | % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.) |
| @@ -4211,8 +4230,9 @@ end | |||
| 4211 | 4230 | ||
| 4212 | % @ifset VAR ... @end ifset reads the `...' iff VAR has been defined | 4231 | % @ifset VAR ... @end ifset reads the `...' iff VAR has been defined |
| 4213 | % with @set. | 4232 | % with @set. |
| 4214 | % | 4233 | % |
| 4215 | % To get special treatment of `@end ifset,' call \makeond and the redefine. | 4234 | % To get the special treatment we need for `@end ifset,' we call |
| 4235 | % \makecond and then redefine. | ||
| 4216 | % | 4236 | % |
| 4217 | \makecond{ifset} | 4237 | \makecond{ifset} |
| 4218 | \def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}} | 4238 | \def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}} |
| @@ -6402,7 +6422,7 @@ end | |||
| 6402 | \newdimen\nonfillparindent | 6422 | \newdimen\nonfillparindent |
| 6403 | \def\nonfillstart{% | 6423 | \def\nonfillstart{% |
| 6404 | \aboveenvbreak | 6424 | \aboveenvbreak |
| 6405 | \hfuzz = 12pt % Don't be fussy | 6425 | \ifdim\hfuzz < 12pt \hfuzz = 12pt \fi % Don't be fussy |
| 6406 | \sepspaces % Make spaces be word-separators rather than space tokens. | 6426 | \sepspaces % Make spaces be word-separators rather than space tokens. |
| 6407 | \let\par = \lisppar % don't ignore blank lines | 6427 | \let\par = \lisppar % don't ignore blank lines |
| 6408 | \obeylines % each line of input is a line of output | 6428 | \obeylines % each line of input is a line of output |