From d0d63530acf762f080e8c6255949398a918bf0bc Mon Sep 17 00:00:00 2001
From: Philipp Gesang <phg42.2a@gmail.com>
Date: Sun, 30 Mar 2014 11:54:45 +0200
Subject: [doc] workaround for inline code in tables

---
 doc/luaotfload-latex.tex | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'doc/luaotfload-latex.tex')

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
-- 
cgit v1.2.3

