summaryrefslogtreecommitdiff
path: root/doc/luaotfload-main.tex
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-03-30 11:54:45 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-03-30 11:54:45 +0200
commitd0d63530acf762f080e8c6255949398a918bf0bc (patch)
tree46c7b938a55ac8f8bd7500e23ada735b0a049854 /doc/luaotfload-main.tex
parent0e84e53f47e859ff8d4617747a9075947e79c017 (diff)
downloadluaotfload-d0d63530acf762f080e8c6255949398a918bf0bc.tar.gz
[doc] workaround for inline code in tables
Diffstat (limited to 'doc/luaotfload-main.tex')
-rw-r--r--doc/luaotfload-main.tex15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/luaotfload-main.tex b/doc/luaotfload-main.tex
index 5b033c0..5e7c1bc 100644
--- a/doc/luaotfload-main.tex
+++ b/doc/luaotfload-main.tex
@@ -757,12 +757,15 @@ Currently (2014) there are three of them:
Applies legacy \TEX ligatures:
\unless \ifcontextmkiv
+ %% Using braced arg syntax with inline code appears to be
+ %% impossible within Latex tables -- just ignore the weird
+ %% exclamation points below.
\begintabulate [rlrl]
- \beginrow `` \newcell \inlinecode {``} \newcell '' \newcell \inlinecode {''} \endrow
- \beginrow ` \newcell \inlinecode {`} \newcell ' \newcell \inlinecode {'} \endrow
- \beginrow " \newcell \inlinecode {"} \newcell -- \newcell \inlinecode {--} \endrow
- \beginrow --- \newcell \inlinecode {---} \newcell !` \newcell \inlinecode {!`} \endrow
- \beginrow ?` \newcell \inlinecode {?`} \newcell \newcell \endrow
+ \beginrow `` \newcell {\inlinecode !``! } \newcell '' \newcell {\inlinecode !''!} \endrow
+ \beginrow ` \newcell {\inlinecode !`! } \newcell ' \newcell {\inlinecode !'! } \endrow
+ \beginrow " \newcell {\inlinecode !"! } \newcell -- \newcell {\inlinecode !--!} \endrow
+ \beginrow --- \newcell {\inlinecode !---!} \newcell !` \newcell {\inlinecode ?!`?} \endrow
+ \beginrow ?` \newcell {\inlinecode !?`! } \newcell \newcell \endrow
\endtabulate
\else
%% XXX find a way to wrap these in the tabulate environment
@@ -911,7 +914,7 @@ directories.
\begincentered
\begintabulate [lp{.5\textwidth}]
\beginrow
- Windows \newcell \inlinecode {\% WINDIR\%\\ Fonts}
+ Windows \newcell \inlinecode !\% WINDIR\%\\ Fonts!
\endrow
\beginrow
Linux \newcell \fileent{/usr/local/etc/fonts/fonts.conf} and\hfill\break