diff --git a/lib/syntax.default b/lib/syntax.default index a94b9ba13d..9f7cb271b2 100644 --- a/lib/syntax.default +++ b/lib/syntax.default @@ -412,6 +412,7 @@ $$ \dbltopfraction \def{}{} \definecolor{}{}{,,} +\DeleteShortVerb{} % from doc.sty, argument must be verbatim \DescribeMacro{} \discretionary{}{}{} \encl{} @@ -495,6 +496,7 @@ $$ \makelabel{translate} \makelabels \maketitle +\MakeShortVerb{} % from doc.sty, argument must be verbatim \markboth{}{translate} \markright{translate} \mathversion{} diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index 531deb5b7c..2dea2448c9 100644 --- a/src/tex2lyx/test/test-insets.tex +++ b/src/tex2lyx/test/test-insets.tex @@ -21,7 +21,6 @@ \usepackage{makeidx} \usepackage{graphicx} -\usepackage{doc} \usepackage{longtable} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. @@ -32,6 +31,7 @@ \newcommand{\lyxarrow}{\leavevmode\,$\triangleright$\,\allowbreak} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. +\usepackage{doc} \usepackage{subscript} % user specified as long as tex2lyx % produces a format less than 408