From cfd092af4b4b64c3d7a8a00877cf60b361a4e788 Mon Sep 17 00:00:00 2001 From: milde Date: Fri, 4 Sep 2020 16:58:24 +0000 Subject: LaTeX writer update Fix workaround for section title of unsupported levels with the new-style class handling (class wrapper instead of class-argument for \DUtitle). Require minimal version of "docutils.sty" to get a warning in the LaTeX-log for obsolete files with the same name. Update documentation. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8557 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/test/functional/expected/latex_literal_block.tex | 2 +- docutils/test/functional/expected/latex_literal_block_fancyvrb.tex | 2 +- docutils/test/functional/expected/latex_literal_block_listings.tex | 2 +- docutils/test/functional/expected/latex_literal_block_verbatim.tex | 2 +- .../test/functional/expected/latex_literal_block_verbatimtab.tex | 2 +- docutils/test/functional/expected/standalone_rst_xetex.tex | 6 ++++-- 6 files changed, 9 insertions(+), 7 deletions(-) (limited to 'docutils/test/functional') diff --git a/docutils/test/functional/expected/latex_literal_block.tex b/docutils/test/functional/expected/latex_literal_block.tex index 89eb4a843..426f02100 100644 --- a/docutils/test/functional/expected/latex_literal_block.tex +++ b/docutils/test/functional/expected/latex_literal_block.tex @@ -18,9 +18,9 @@ \usepackage{courier} %%% User specified packages and stylesheets -\usepackage{docutils} %%% Fallback definitions for Docutils-specific commands +\usepackage{docutils}[2020/08/28] % character width in monospaced font \newlength{\ttemwidth} diff --git a/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex b/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex index afcc829cc..ba2c6faae 100644 --- a/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex +++ b/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex @@ -18,9 +18,9 @@ \usepackage{courier} %%% User specified packages and stylesheets -\usepackage{docutils} %%% Fallback definitions for Docutils-specific commands +\usepackage{docutils}[2020/08/28] % character width in monospaced font \newlength{\ttemwidth} diff --git a/docutils/test/functional/expected/latex_literal_block_listings.tex b/docutils/test/functional/expected/latex_literal_block_listings.tex index dcdaeae01..dac7476a4 100644 --- a/docutils/test/functional/expected/latex_literal_block_listings.tex +++ b/docutils/test/functional/expected/latex_literal_block_listings.tex @@ -24,9 +24,9 @@ %%% User specified packages and stylesheets -\usepackage{docutils} %%% Fallback definitions for Docutils-specific commands +\usepackage{docutils}[2020/08/28] % character width in monospaced font \newlength{\ttemwidth} diff --git a/docutils/test/functional/expected/latex_literal_block_verbatim.tex b/docutils/test/functional/expected/latex_literal_block_verbatim.tex index 1957c235f..c40501575 100644 --- a/docutils/test/functional/expected/latex_literal_block_verbatim.tex +++ b/docutils/test/functional/expected/latex_literal_block_verbatim.tex @@ -17,9 +17,9 @@ \usepackage{courier} %%% User specified packages and stylesheets -\usepackage{docutils} %%% Fallback definitions for Docutils-specific commands +\usepackage{docutils}[2020/08/28] % character width in monospaced font \newlength{\ttemwidth} diff --git a/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex b/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex index f81084a7a..cfbc8161d 100644 --- a/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex +++ b/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex @@ -18,9 +18,9 @@ \usepackage{courier} %%% User specified packages and stylesheets -\usepackage{docutils} %%% Fallback definitions for Docutils-specific commands +\usepackage{docutils}[2020/08/28] % character width in monospaced font \newlength{\ttemwidth} diff --git a/docutils/test/functional/expected/standalone_rst_xetex.tex b/docutils/test/functional/expected/standalone_rst_xetex.tex index 6914bae61..9192c27e2 100644 --- a/docutils/test/functional/expected/standalone_rst_xetex.tex +++ b/docutils/test/functional/expected/standalone_rst_xetex.tex @@ -32,9 +32,9 @@ \setmonofont[HyphenChar=None,Scale=MatchLowercase]{DejaVu Sans Mono} %%% User specified packages and stylesheets -\usepackage{docutils} %%% Fallback definitions for Docutils-specific commands +\usepackage{docutils}[2020/08/28] \newcounter{enumv} \DUprovidelength{\pdfpxdimen}{1bp} @@ -2725,9 +2725,11 @@ reach at some level (depending on the document class) -\DUtitle[sectionVI]{3.11.1.1.1.1   level 6% +\begin{DUclass}{sectionVI} +\DUtitle{3.11.1.1.1.1   level 6% \label{level-6}% } +\end{DUclass} an unsupported level. -- cgit v1.2.1