diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2013-09-05 09:37:41 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2013-09-05 09:37:41 +0000 |
| commit | 288374b7827b7dd3b609cfbea579188f6e9d5ee1 (patch) | |
| tree | 7c431e10dae86c4af895110c69d85fe3d843211a /test/functional | |
| parent | bd30bcb0bcb75089739017730f4c48cbb528a84d (diff) | |
| download | docutils-288374b7827b7dd3b609cfbea579188f6e9d5ee1.tar.gz | |
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
Diffstat (limited to 'test/functional')
| -rw-r--r-- | test/functional/expected/standalone_rst_latex.tex | 7 | ||||
| -rw-r--r-- | test/functional/expected/standalone_rst_xetex.tex | 7 |
2 files changed, 2 insertions, 12 deletions
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]{% |
