From 288374b7827b7dd3b609cfbea579188f6e9d5ee1 Mon Sep 17 00:00:00 2001 From: milde Date: Thu, 5 Sep 2013 09:37:41 +0000 Subject: LaTeX writer: fix basic syntax highlight definitions for code role and directive. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7719 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- test/functional/expected/standalone_rst_latex.tex | 7 +------ test/functional/expected/standalone_rst_xetex.tex | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'test/functional') diff --git a/test/functional/expected/standalone_rst_latex.tex b/test/functional/expected/standalone_rst_latex.tex index 54308b6c0..6e652c0c6 100644 --- a/test/functional/expected/standalone_rst_latex.tex +++ b/test/functional/expected/standalone_rst_latex.tex @@ -10,11 +10,6 @@ % Prevent side-effects if French hyphenation patterns are not loaded: \frenchbsetup{StandardLayout} \AtBeginDocument{\selectlanguage{english}\noextrasfrench} -% basic code highlight: -\providecommand*\DUrolecomment[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} -\providecommand*\DUroledeleted[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} -\providecommand*\DUrolekeyword[1]{\textbf{#1}} -\providecommand*\DUrolestring[1]{\textit{#1}} \usepackage{color} \usepackage{float} % float configuration \floatplacement{figure}{H} % place figures here definitely @@ -44,7 +39,7 @@ } % abstract title -\providecommand*{\DUtitleabstract}[1]{\centerline{\textbf{#1}}} +\providecommand*{\DUtitleabstract}[1]{\centering\textbf{#1}} % admonition (specially marked topic) \providecommand{\DUadmonition}[2][class-arg]{% diff --git a/test/functional/expected/standalone_rst_xetex.tex b/test/functional/expected/standalone_rst_xetex.tex index a5abbb198..730e4c835 100644 --- a/test/functional/expected/standalone_rst_xetex.tex +++ b/test/functional/expected/standalone_rst_xetex.tex @@ -8,11 +8,6 @@ \usepackage{polyglossia} \setdefaultlanguage{english} \setotherlanguages{british,french,german} -% basic code highlight: -\providecommand*\DUrolecomment[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} -\providecommand*\DUroledeleted[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} -\providecommand*\DUrolekeyword[1]{\textbf{#1}} -\providecommand*\DUrolestring[1]{\textit{#1}} \usepackage{color} \usepackage{float} % float configuration \floatplacement{figure}{H} % place figures here definitely @@ -40,7 +35,7 @@ } % abstract title -\providecommand*{\DUtitleabstract}[1]{\centerline{\textbf{#1}}} +\providecommand*{\DUtitleabstract}[1]{\centering\textbf{#1}} % admonition (specially marked topic) \providecommand{\DUadmonition}[2][class-arg]{% -- cgit v1.2.1