aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2013-09-19 14:40:08 -0700
committerPaul Eggert2013-09-19 14:40:08 -0700
commit230fe2a5a10f2bc128f354e3fb1b48536b1f143b (patch)
treeb282d5f242b8ada877d188d03d43da78b175d67a /doc
parentc39cc7d149d28060c40bc206eb8a63f7a0636301 (diff)
downloademacs-230fe2a5a10f2bc128f354e3fb1b48536b1f143b.tar.gz
emacs-230fe2a5a10f2bc128f354e3fb1b48536b1f143b.zip
Merge from gnulib.
This incorporates the following changes: 2013-09-19 stdio: OS X port of putc_unlocked + extern inline 2013-09-19 signal: OS X port of sigaddset etc. + extern inline 2013-09-19 extern-inline: do not always suppress extern inline on OS X 2013-09-17 getgroups: statement without effect 2013-08-28 headers: check that _GL_INLINE_HEADER_BEGIN is defined
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/texinfo.tex82
1 files changed, 62 insertions, 20 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index 9ba8c949fd1..bfd765dd211 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-08-20.10} 6\def\texinfoversion{2013-09-11.11}
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,
@@ -322,10 +322,13 @@
322 % 322 %
323 % Do this outside of the \shipout so @code etc. will be expanded in 323 % Do this outside of the \shipout so @code etc. will be expanded in
324 % the headline as they should be, not taken literally (outputting ''code). 324 % the headline as they should be, not taken literally (outputting ''code).
325 \def\commmonheadfootline{\let\hsize=\pagewidth \texinfochars}
326 %
325 \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi 327 \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
326 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}% 328 \global\setbox\headlinebox = \vbox{\commmonheadfootline \makeheadline}%
329 %
327 \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi 330 \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi
328 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}% 331 \global\setbox\footlinebox = \vbox{\commmonheadfootline \makefootline}%
329 % 332 %
330 {% 333 {%
331 % Have to do this stuff outside the \shipout because we want it to 334 % Have to do this stuff outside the \shipout because we want it to
@@ -2891,6 +2894,15 @@ end
2891 \def\inlinefmtname{#1}% 2894 \def\inlinefmtname{#1}%
2892 \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi 2895 \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi
2893} 2896}
2897%
2898% @inlinefmtifelse{FMTNAME,THEN-TEXT,ELSE-TEXT} expands THEN-TEXT if
2899% FMTNAME is tex, else ELSE-TEXT.
2900\long\def\inlinefmtifelse#1{\doinlinefmtifelse #1,,,\finish}
2901\long\def\doinlinefmtifelse#1,#2,#3,#4,\finish{%
2902 \def\inlinefmtname{#1}%
2903 \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\else \ignorespaces #3\fi
2904}
2905%
2894% For raw, must switch into @tex before parsing the argument, to avoid 2906% For raw, must switch into @tex before parsing the argument, to avoid
2895% setting catcodes prematurely. Doing it this way means that, for 2907% setting catcodes prematurely. Doing it this way means that, for
2896% example, @inlineraw{html, foo{bar} gets a parse error instead of being 2908% example, @inlineraw{html, foo{bar} gets a parse error instead of being
@@ -2907,6 +2919,23 @@ end
2907 \endgroup % close group opened by \tex. 2919 \endgroup % close group opened by \tex.
2908} 2920}
2909 2921
2922% @inlineifset{VAR, TEXT} expands TEXT if VAR is @set.
2923%
2924\long\def\inlineifset#1{\doinlineifset #1,\finish}
2925\long\def\doinlineifset#1,#2,\finish{%
2926 \def\inlinevarname{#1}%
2927 \expandafter\ifx\csname SET\inlinevarname\endcsname\relax
2928 \else\ignorespaces#2\fi
2929}
2930
2931% @inlineifclear{VAR, TEXT} expands TEXT if VAR is not @set.
2932%
2933\long\def\inlineifclear#1{\doinlineifclear #1,\finish}
2934\long\def\doinlineifclear#1,#2,\finish{%
2935 \def\inlinevarname{#1}%
2936 \expandafter\ifx\csname SET\inlinevarname\endcsname\relax \ignorespaces#2\fi
2937}
2938
2910 2939
2911\message{glyphs,} 2940\message{glyphs,}
2912% and logos. 2941% and logos.
@@ -4202,7 +4231,7 @@ end
4202\def\value{\begingroup\makevalueexpandable\valuexxx} 4231\def\value{\begingroup\makevalueexpandable\valuexxx}
4203\def\valuexxx#1{\expandablevalue{#1}\endgroup} 4232\def\valuexxx#1{\expandablevalue{#1}\endgroup}
4204{ 4233{
4205 \catcode`\- = \active \catcode`\_ = \active 4234 \catcode`\-=\active \catcode`\_=\active
4206 % 4235 %
4207 \gdef\makevalueexpandable{% 4236 \gdef\makevalueexpandable{%
4208 \let\value = \expandablevalue 4237 \let\value = \expandablevalue
@@ -4222,7 +4251,12 @@ end
4222% variable's value contains other Texinfo commands, it's almost certain 4251% variable's value contains other Texinfo commands, it's almost certain
4223% it will fail (although perhaps we could fix that with sufficient work 4252% it will fail (although perhaps we could fix that with sufficient work
4224% to do a one-level expansion on the result, instead of complete). 4253% to do a one-level expansion on the result, instead of complete).
4225% 4254%
4255% Unfortunately, this has the consequence that when _ is in the *value*
4256% of an @set, it does not print properly in the roman fonts (get the cmr
4257% dot accent at position 126 instead). No fix comes to mind, and it's
4258% been this way since 2003 or earlier, so just ignore it.
4259%
4226\def\expandablevalue#1{% 4260\def\expandablevalue#1{%
4227 \expandafter\ifx\csname SET#1\endcsname\relax 4261 \expandafter\ifx\csname SET#1\endcsname\relax
4228 {[No value for ``#1'']}% 4262 {[No value for ``#1'']}%
@@ -6276,8 +6310,8 @@ end
6276 \catcode `\|=\other 6310 \catcode `\|=\other
6277 \catcode `\<=\other 6311 \catcode `\<=\other
6278 \catcode `\>=\other 6312 \catcode `\>=\other
6279 \catcode`\`=\other 6313 \catcode `\`=\other
6280 \catcode`\'=\other 6314 \catcode `\'=\other
6281 \escapechar=`\\ 6315 \escapechar=`\\
6282 % 6316 %
6283 % ' is active in math mode (mathcode"8000). So reset it, and all our 6317 % ' is active in math mode (mathcode"8000). So reset it, and all our
@@ -6301,7 +6335,7 @@ end
6301 \let\/=\ptexslash 6335 \let\/=\ptexslash
6302 \let\*=\ptexstar 6336 \let\*=\ptexstar
6303 \let\t=\ptext 6337 \let\t=\ptext
6304 \expandafter \let\csname top\endcsname=\ptextop % outer 6338 \expandafter \let\csname top\endcsname=\ptextop % we've made it outer
6305 \let\frenchspacing=\plainfrenchspacing 6339 \let\frenchspacing=\plainfrenchspacing
6306 % 6340 %
6307 \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}% 6341 \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}%
@@ -9944,11 +9978,9 @@ directory should work if nowhere else does.}
9944\catcode`\"=\active 9978\catcode`\"=\active
9945\def\activedoublequote{{\tt\char34}} 9979\def\activedoublequote{{\tt\char34}}
9946\let"=\activedoublequote 9980\let"=\activedoublequote
9947\catcode`\~=\active 9981\catcode`\~=\active \def\activetilde{{\tt\char126}} \let~ = \activetilde
9948\def~{{\tt\char126}}
9949\chardef\hat=`\^ 9982\chardef\hat=`\^
9950\catcode`\^=\active 9983\catcode`\^=\active \def\activehat{{\tt \hat}} \let^ = \activehat
9951\def^{{\tt \hat}}
9952 9984
9953\catcode`\_=\active 9985\catcode`\_=\active
9954\def_{\ifusingtt\normalunderscore\_} 9986\def_{\ifusingtt\normalunderscore\_}
@@ -9958,16 +9990,26 @@ directory should work if nowhere else does.}
9958 9990
9959\catcode`\|=\active 9991\catcode`\|=\active
9960\def|{{\tt\char124}} 9992\def|{{\tt\char124}}
9993
9961\chardef \less=`\< 9994\chardef \less=`\<
9962\catcode`\<=\active 9995\catcode`\<=\active \def\activeless{{\tt \less}}\let< = \activeless
9963\def<{{\tt \less}}
9964\chardef \gtr=`\> 9996\chardef \gtr=`\>
9965\catcode`\>=\active 9997\catcode`\>=\active \def\activegtr{{\tt \gtr}}\let> = \activegtr
9966\def>{{\tt \gtr}} 9998\catcode`\+=\active \def+{{\tt \char 43}}
9967\catcode`\+=\active 9999\catcode`\$=\active \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
9968\def+{{\tt \char 43}} 10000
9969\catcode`\$=\active 10001% used for headline/footline in the output routine, in case the page
9970\def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix 10002% breaks in the middle of an @tex block.
10003\def\texinfochars{%
10004 \let< = \activeless
10005 \let> = \activegtr
10006 \let~ = \activetilde
10007 \let^ = \activehat
10008 \markupsetuplqdefault \markupsetuprqdefault
10009 \let\b = \strong
10010 \let\i = \smartitalic
10011 % in principle, all other definitions in \tex have to be undone too.
10012}
9971 10013
9972% If a .fmt file is being used, characters that might appear in a file 10014% If a .fmt file is being used, characters that might appear in a file
9973% name cannot be active until we have parsed the command line. 10015% name cannot be active until we have parsed the command line.