aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc/texinfo.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc/texinfo.tex')
-rw-r--r--doc/misc/texinfo.tex52
1 files changed, 21 insertions, 31 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index e2bf51af8c0..b0179d6b007 100644
--- a/doc/misc/texinfo.tex
+++ b/doc/misc/texinfo.tex
@@ -3,12 +3,9 @@
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{2017-11-17.06} 6\def\texinfoversion{2017-12-26.21}
7% 7%
8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright 1985-1986, 1988, 1990-2018 Free Software Foundation, Inc.
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
10% 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
11% Free Software Foundation, Inc.
12% 9%
13% This texinfo.tex file is free software: you can redistribute it and/or 10% This texinfo.tex file is free software: you can redistribute it and/or
14% modify it under the terms of the GNU General Public License as 11% modify it under the terms of the GNU General Public License as
@@ -2619,26 +2616,11 @@ end
2619% Markup style infrastructure. \defmarkupstylesetup\INITMACRO will 2616% Markup style infrastructure. \defmarkupstylesetup\INITMACRO will
2620% define and register \INITMACRO to be called on markup style changes. 2617% define and register \INITMACRO to be called on markup style changes.
2621% \INITMACRO can check \currentmarkupstyle for the innermost 2618% \INITMACRO can check \currentmarkupstyle for the innermost
2622% style and the set of \ifmarkupSTYLE switches for all styles 2619% style.
2623% currently in effect.
2624\newif\ifmarkupvar
2625\newif\ifmarkupsamp
2626\newif\ifmarkupkey
2627%\newif\ifmarkupfile % @file == @samp.
2628%\newif\ifmarkupoption % @option == @samp.
2629\newif\ifmarkupcode
2630\newif\ifmarkupkbd
2631%\newif\ifmarkupenv % @env == @code.
2632%\newif\ifmarkupcommand % @command == @code.
2633\newif\ifmarkuptex % @tex (and part of @math, for now).
2634\newif\ifmarkupexample
2635\newif\ifmarkupverb
2636\newif\ifmarkupverbatim
2637 2620
2638\let\currentmarkupstyle\empty 2621\let\currentmarkupstyle\empty
2639 2622
2640\def\setupmarkupstyle#1{% 2623\def\setupmarkupstyle#1{%
2641 \csname markup#1true\endcsname
2642 \def\currentmarkupstyle{#1}% 2624 \def\currentmarkupstyle{#1}%
2643 \markupstylesetup 2625 \markupstylesetup
2644} 2626}
@@ -2700,11 +2682,15 @@ end
2700% lilypond developers report. xpdf does work with the regular 0x27. 2682% lilypond developers report. xpdf does work with the regular 0x27.
2701% 2683%
2702\def\codequoteright{% 2684\def\codequoteright{%
2703 \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax 2685 \ifmonospace
2704 \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax 2686 \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax
2705 '% 2687 \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
2688 '%
2689 \else \char'15 \fi
2706 \else \char'15 \fi 2690 \else \char'15 \fi
2707 \else \char'15 \fi 2691 \else
2692 '%
2693 \fi
2708} 2694}
2709% 2695%
2710% and a similar option for the left quote char vs. a grave accent. 2696% and a similar option for the left quote char vs. a grave accent.
@@ -2712,13 +2698,17 @@ end
2712% the code environments to do likewise. 2698% the code environments to do likewise.
2713% 2699%
2714\def\codequoteleft{% 2700\def\codequoteleft{%
2715 \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax 2701 \ifmonospace
2716 \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax 2702 \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax
2717 % [Knuth] pp. 380,381,391 2703 \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
2718 % \relax disables Spanish ligatures ?` and !` of \tt font. 2704 % [Knuth] pp. 380,381,391
2719 \relax`% 2705 % \relax disables Spanish ligatures ?` and !` of \tt font.
2706 \relax`%
2707 \else \char'22 \fi
2720 \else \char'22 \fi 2708 \else \char'22 \fi
2721 \else \char'22 \fi 2709 \else
2710 \relax`%
2711 \fi
2722} 2712}
2723 2713
2724% Commands to set the quote options. 2714% Commands to set the quote options.