|
From: <mi...@us...> - 2022-12-01 21:13:57
|
Revision: 9293
http://sourceforge.net/p/docutils/code/9293
Author: milde
Date: 2022-12-01 21:13:54 +0000 (Thu, 01 Dec 2022)
Log Message:
-----------
The "xetex" writer now ignores settings in the [latex2e writer] config section.
Move settings intended for both, `xetex` and `latex2e` writers
to section [latex writers].
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/RELEASE-NOTES.txt
trunk/docutils/docs/user/config.txt
trunk/docutils/docutils/writers/xetex/__init__.py
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2022-12-01 21:13:38 UTC (rev 9292)
+++ trunk/docutils/HISTORY.txt 2022-12-01 21:13:54 UTC (rev 9293)
@@ -88,6 +88,10 @@
- Do not output empty "manual" in ``.TH``
+* docutils/writers/xetex/__init__.py
+
+ - Ignore settings in the [latex2e writer] configuration file section.
+
* setup.py
- Fix SetuptoolsDeprecationWarning: ``Installing '' as data is deprecated``
Modified: trunk/docutils/RELEASE-NOTES.txt
===================================================================
--- trunk/docutils/RELEASE-NOTES.txt 2022-12-01 21:13:38 UTC (rev 9292)
+++ trunk/docutils/RELEASE-NOTES.txt 2022-12-01 21:13:54 UTC (rev 9293)
@@ -100,15 +100,6 @@
- Remove ``use_verbatim_when_possible`` setting
(use literal_block_env_: verbatim) in Docutils 2.0.
-* "xetex" writer:
-
- - Settings in the [latex2e writer] `configuration file section`__
- will be ignored by the `xetex` writer in Docutils 0.20.
- Move settings intended for both, `xetex` and `latex2e` writers
- to section [latex writers].
-
- __ docs/user/config.html#configuration-file-sections-entries
-
* Remove the "rawsource" argument from `nodes.Text.__init__()`
(deprecated and ignored since Docutils 0.18) in Docutils 2.0.
@@ -156,7 +147,18 @@
Use dpub-ARIA role "doc-footnote" (instead of ARIA role "note")
for footnotes.
+* Configuration changes:
+ - Settings in the [latex2e writer] configuration file section
+ are now ignored by the "xetex" writer.
+ Move settings intended for both, "xetex" and "latex2e" writers
+ to section `[latex writers]`_.
+
+ .. _[latex writers]: docs/user/config.html#latex-writers
+
+* Bugfixes and improvements (see HISTORY_).
+
+
Release 0.19 (2022-07-05)
=========================
Modified: trunk/docutils/docs/user/config.txt
===================================================================
--- trunk/docutils/docs/user/config.txt 2022-12-01 21:13:38 UTC (rev 9292)
+++ trunk/docutils/docs/user/config.txt 2022-12-01 21:13:54 UTC (rev 9293)
@@ -145,6 +145,9 @@
following section.
+.. _configuration section:
+.. _configuration sections:
+
-------------------------------------
Configuration File Sections & Entries
-------------------------------------
@@ -1901,7 +1904,6 @@
.. _LaTeX2e writer: latex.html#latex2e-writer
.. _pdfTeX: https://www.tug.org/applications/pdftex/
-.. _configuration section: `Configuration File Sections & Entries`_
Writer Specific Defaults
@@ -1938,14 +1940,12 @@
[xetex writer]
~~~~~~~~~~~~~~
-The `XeTeX writer`_ generates a LaTeX source for compilation with `XeTeX or
-LuaTeX`_. It derives from the latex2e writer, and shares all settings
-defined in the `[latex writers]`_ and `[latex2e writer]`_ `configuration
-sections`_.
+The `XeTeX writer`_ generates a LaTeX source for compilation with `XeTeX
+or LuaTeX`_. It derives from the latex2e writer, and shares all settings
+defined in the `[latex writers]`_ `configuration section`_.
.. _XeTeX writer: latex.html#xetex-writer
.. _XeTeX or LuaTeX: https://texfaq.org/FAQ-xetex-luatex
-.. _configuration sections: `Configuration File Sections & Entries`_
Writer Specific Defaults
""""""""""""""""""""""""
Modified: trunk/docutils/docutils/writers/xetex/__init__.py
===================================================================
--- trunk/docutils/docutils/writers/xetex/__init__.py 2022-12-01 21:13:38 UTC (rev 9292)
+++ trunk/docutils/docutils/writers/xetex/__init__.py 2022-12-01 21:13:54 UTC (rev 9293)
@@ -40,9 +40,7 @@
\\setmonofont[HyphenChar=None,Scale=MatchLowercase]{DejaVu Sans Mono}"""
config_section = 'xetex writer'
- # TODO: remove dependency on `latex2e writer`.
- config_section_dependencies = ('writers', 'latex writers',
- 'latex2e writer')
+ config_section_dependencies = ('writers', 'latex writers')
# use a copy of the parent spec with some modifications:
settings_spec = frontend.filter_settings_spec(
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|