summaryrefslogtreecommitdiff
path: root/doc/luaotfload-latex.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-latex.tex
parent0e84e53f47e859ff8d4617747a9075947e79c017 (diff)
downloadluaotfload-d0d63530acf762f080e8c6255949398a918bf0bc.tar.gz
[doc] workaround for inline code in tables
Diffstat (limited to 'doc/luaotfload-latex.tex')
-rw-r--r--doc/luaotfload-latex.tex6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/luaotfload-latex.tex b/doc/luaotfload-latex.tex
index 409adcf..c886462 100644
--- a/doc/luaotfload-latex.tex
+++ b/doc/luaotfload-latex.tex
@@ -208,12 +208,10 @@
\usepackage {listings}
\lstset {
basicstyle=\ttfamily,
- escapechar=Ö,
}
-\def \inlinecode #1{%
- \lstinline {#1}%
-}
+%\let \inlinecode \lstinline
+\protected \def \inlinecode {\lstinline}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% codelistings; this sucks hard since we lack access to buffers