|
3 | 3 | % Load plain if necessary, i.e., if running under initex.
|
4 | 4 | \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
5 | 5 | %
|
6 |
| -\def\texinfoversion{2022-01-02.12} |
| 6 | +\def\texinfoversion{2022-04-09.08} |
7 | 7 | %
|
8 |
| -% Copyright 1985, 1986, 1988, 1990-2021 Free Software Foundation, Inc. |
| 8 | +% Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc. |
9 | 9 | %
|
10 | 10 | % This texinfo.tex file is free software: you can redistribute it and/or
|
11 | 11 | % modify it under the terms of the GNU General Public License as
|
|
3171 | 3171 | % Default is `distinct'.
|
3172 | 3172 | \kbdinputstyle distinct
|
3173 | 3173 |
|
3174 |
| -% @kbd is like @code, except that if the argument is just one @key command, |
3175 |
| -% then @kbd has no effect. |
3176 |
| -\def\kbd#1{{\def\look{#1}\expandafter\kbdsub\look??\par}} |
3177 |
| - |
3178 |
| -\def\xkey{\key} |
3179 |
| -\def\kbdsub#1#2#3\par{% |
3180 |
| - \def\one{#1}\def\three{#3}\def\threex{??}% |
3181 |
| - \ifx\one\xkey\ifx\threex\three \key{#2}% |
3182 |
| - \else{\tclose{\kbdfont\setcodequotes\look}}\fi |
3183 |
| - \else{\tclose{\kbdfont\setcodequotes\look}}\fi |
| 3174 | +\def\kbd#1{% |
| 3175 | + \tclose{\kbdfont\setcodequotes#1}% |
3184 | 3176 | }
|
3185 | 3177 |
|
3186 | 3178 | % definition of @key that produces a lozenge. Doesn't adjust to text size.
|
|
4417 | 4409 | % Find the correct column width
|
4418 | 4410 | \hsize=\expandafter\csname col\the\colcount\endcsname
|
4419 | 4411 | %
|
4420 |
| - \rightskip=0pt |
| 4412 | + \advance\rightskip by -1\rightskip % Zero leaving only any stretch |
4421 | 4413 | \ifnum\colcount=1
|
4422 | 4414 | \advance\hsize by\leftskip % Add indent of surrounding text
|
4423 | 4415 | \else
|
|
5961 | 5953 | % Chapters, sections, etc.
|
5962 | 5954 |
|
5963 | 5955 | % Let's start with @part.
|
5964 |
| -\outer\parseargdef\part{\partzzz{#1}} |
| 5956 | +\parseargdef\part{\partzzz{#1}} |
5965 | 5957 | \def\partzzz#1{%
|
5966 | 5958 | \chapoddpage
|
5967 | 5959 | \null
|
|
8680 | 8672 | }
|
8681 | 8673 | \def\wordTop{Top}
|
8682 | 8674 |
|
8683 |
| -% Until the next @node or @bye command, divert output to a box that is not |
8684 |
| -% output. |
8685 |
| -\def\ignorenode{\setbox\dummybox\vbox\bgroup\def\node{\egroup\node}% |
| 8675 | +% Until the next @node, @part or @bye command, divert output to a box that |
| 8676 | +% is not output. |
| 8677 | +\def\ignorenode{\setbox\dummybox\vbox\bgroup |
| 8678 | +\def\part{\egroup\part}% |
| 8679 | +\def\node{\egroup\node}% |
8686 | 8680 | \ignorenodebye
|
8687 | 8681 | }
|
8688 | 8682 |
|
|
9391 | 9385 | \catcode`\^^M = 5 % in case we're inside an example
|
9392 | 9386 | \normalturnoffactive % allow _ et al. in names
|
9393 | 9387 | \makevalueexpandable
|
9394 |
| - % If the image is by itself, center it. |
9395 | 9388 | \ifvmode
|
9396 | 9389 | \imagevmodetrue
|
9397 | 9390 | \else \ifx\centersub\centerV
|
9398 | 9391 | % for @center @image, we need a vbox so we can have our vertical space
|
9399 | 9392 | \imagevmodetrue
|
9400 |
| - \vbox\bgroup % vbox has better behavior than vtop herev |
| 9393 | + \vbox\bgroup % vbox has better behavior than vtop here |
9401 | 9394 | \fi\fi
|
9402 | 9395 | %
|
9403 | 9396 | \ifimagevmode
|
9404 | 9397 | \medskip
|
9405 | 9398 | % Usually we'll have text after the image which will insert
|
9406 | 9399 | % \parskip glue, so insert it here too to equalize the space
|
9407 | 9400 | % above and below.
|
9408 |
| - \nobreak\vskip\parskip |
9409 |
| - \nobreak |
| 9401 | + \vskip\parskip |
| 9402 | + % |
| 9403 | + % Place image in a \vtop for a top page margin that is (close to) correct, |
| 9404 | + % as \topskip glue is relative to the first baseline. |
| 9405 | + \vtop\bgroup\hrule height 0pt\vskip-\parskip |
9410 | 9406 | \fi
|
9411 | 9407 | %
|
9412 |
| - % Leave vertical mode so that indentation from an enclosing |
| 9408 | + % Enter horizontal mode so that indentation from an enclosing |
9413 | 9409 | % environment such as @quotation is respected.
|
9414 | 9410 | % However, if we're at the top level, we don't want the
|
9415 | 9411 | % normal paragraph indentation.
|
|
9438 | 9434 | \fi
|
9439 | 9435 | %
|
9440 | 9436 | \ifimagevmode
|
| 9437 | + \egroup |
9441 | 9438 | \medskip % space after a standalone image
|
9442 | 9439 | \fi
|
9443 | 9440 | \ifx\centersub\centerV \egroup \fi
|
|
10898 | 10895 | \DeclareUnicodeCharacter{1EF8}{\~Y}%
|
10899 | 10896 | \DeclareUnicodeCharacter{1EF9}{\~y}%
|
10900 | 10897 | %
|
| 10898 | + % Exotic spaces |
| 10899 | + \DeclareUnicodeCharacter{2007}{\hphantom{0}}% |
| 10900 | + % |
10901 | 10901 | % Punctuation
|
10902 | 10902 | \DeclareUnicodeCharacter{2013}{--}%
|
10903 | 10903 | \DeclareUnicodeCharacter{2014}{---}%
|
|
0 commit comments