summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tagging release 0.18docutils-0.18grubert2021-10-260-0/+0
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/tags/docutils-0.18@8866 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.18 (HISTORY and RELEASE-NOTES.txt)docutils-0.18@8865grubert2021-10-262-6/+7
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8865 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.18grubert2021-10-2621-26/+26
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8864 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Documentation update.milde2021-10-222-17/+19
| | | | | | | | Update outdated links. Credit Dimitri Papadopoulos for the spell check. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8861 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix spellingmilde2021-10-2245-108/+112
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8860 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix spelling errors.milde2021-10-217-51/+55
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8859 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docutils-cli.py: Read settings from standard configuration files.milde2021-10-194-14/+71
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8858 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Test and update recommonmark_wrapper.py to work with recommonmark 0.6.0.milde2021-10-163-36/+53
| | | | | | | | | Still experimental. Unfortunately, recommonmark_ is no longer maintained (https://github.com/readthedocs/recommonmark/issues/221). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8857 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HMTL5 responsive.css: default color for ToC entries.milde2021-10-151-2/+3
| | | | | | | | | | Leave default (link) colour for ToC entries unless the ToC moved to the sidebar. This helps to easier spot the difference between lists and (especially unnumbered and local) ToC entries. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8856 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Also drop Python 3.6 in Docutils 1.0.milde2021-10-151-11/+11
| | | | | | | Python 3.6 will reach its "end of life" in December 2021, well before the planned Docutils 1.0-release. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8855 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Config setting image_loading: use value "link" instead of "eager".milde2021-10-153-11/+11
| | | | | | | The name "eager" is too HTML5-centric. The distinction link/embed may be supported in future also by the ODF/ODT writer. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8854 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New option "image_loading" for HTML5.milde2021-10-136-39/+107
| | | | | | | | With values "embed", "eager", "lazy", cf, feature-request #78. Obsoletes "embed_image". git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8853 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small documentation update.milde2021-10-123-36/+48
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8852 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix bug #424 Wrong circular inclusion detection.milde2021-10-126-29/+136
| | | | | | | | | | | | | | | | | The current heuristic for detection of circular includes fails with nested parsing. Line numbering differs in nested state-machines, inclusions don't show up in the parent, if a view is detached (e.g. for table cell content). The new heuristic uses a "magic" comment instead of line numbers to keep a log of recursive inclusions. Add a test case for a false positive and a case for too late detection in parsed includes. Adapt tests to (irrelevant) side effects of the patch. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8851 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Documentation clarification.milde2021-10-121-13/+26
| | | | | | | Definition list terms starting with a hyphen need escaping. Report by Pierre Ossman. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8850 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix a bug in nodes.document.set_name_id_map().milde2021-10-122-16/+31
| | | | | | | Don't change a list while looping over it. Thanks to Mickey Endito. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8849 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release number 0.18b2.devgrubert2021-10-0521-22/+27
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8848 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* add cleanup commandsgrubert2021-10-051-0/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8847 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: virtualenv dirnamegrubert2021-10-051-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8846 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Release 0.18b1grubert2021-10-0522-29/+29
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8845 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* relative stylesheet_dirs to make test passgrubert2021-10-052-2/+5
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8844 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add test document.milde2021-10-051-0/+12
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8843 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add line, source, and rawsource attributes to blockquote nodes.milde2021-10-043-23/+59
| | | | | | | | Fix docstring for states.Body.split_attribution(). Patch by Mickey Endito. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8842 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Test line numbers for system messages in attributions.milde2021-10-042-5/+26
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8841 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix by Mickey Endito for source location (line number) of attributions.milde2021-10-043-2/+194
| | | | | | New unittest case for the internal "source" and "line" attributes. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8840 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* add symlink to responsive.css grubert2021-10-031-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8839 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Announce dropping support of outdated Python versions.milde2021-10-011-5/+12
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8837 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: New default for table column widths (fixes bug #426).milde2021-10-0118-119/+78
| | | | | | | | | Only specify table column widths, if the "widths" option is set and is not "auto". The `table_style`_ setting "colwidths-grid" restores the current default. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8836 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: New algorithm for table colum widths. Fixes bug #422.milde2021-09-3015-338/+474
| | | | | | | | | | | | New configuration setting "legacy_column_widths" for backwards compatibility. Only write "continued on next page..." if it fits without making the table columns wider. Table `width` option overrides conflicting "auto" column `widths`. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8835 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Unify behaviour of "widths" option.milde2021-09-242-12/+20
| | | | | | | | | | Check that the lenght of an integer list equals the number of table columns also for the "table" directive. TODO: use the last value for additional columns and ignore values for missing columns instead? git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8834 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Documentation updatemilde2021-09-243-192/+151
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8833 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Documentation update.milde2021-09-212-899/+736
| | | | | | Expand, condense, and correct the Guide to the Docutils DTD. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8832 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Skip system_messages when propagating targets. Fixes bug #425.milde2021-09-204-42/+124
| | | | | | | Testing with "alltests.py" is currently impossible due to caching (see itest_hyperlinks_de.py) git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8831 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Minor test fixes.milde2021-09-206-49/+20
| | | | | | | | | Remove workaround for legacy versions of the "hyperref" LaTeX package. Remove spurious import. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8830 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small documentation fixes.milde2021-09-203-8/+15
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8829 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: Update tests after r8826milde2021-09-113-3/+0
| | | | | | No newline (new paragraph) before a table in compounds. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8828 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply #184 Fix a typo in latex2emilde2021-09-111-10/+9
| | | | | | | Also update comments and use a more descriptive name for the list of LaTeX default labels. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8827 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: revise Docutils-generated table of contentsmilde2021-09-115-39/+84
| | | | | | | Improve spacing, allow customization. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8826 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeXwriter: small fixes.milde2021-09-115-31/+25
| | | | | | | | Don't add ``\phantomsection`` to labels in math-blocks. New optional argument `newline` for LaTeXTranslator.ids_to_labels(). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8825 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: code cleanup and small fixes.milde2021-09-117-83/+245
| | | | | | | | | | | Fix newlines after/before ids_to_labels() (cf. patch #183). Refactor/revise ToC writing. Don't write `\phantomsection`, if a local ToC is skipped. Functional test for "--use-docutils-toc" in XeTeX writer test). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8824 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: no newline before raw directives in compound blocks.milde2021-09-112-10/+45
| | | | | | Based on patch 3 in patches #183 by Clément Pit-Claudel. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8823 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Simplify LaTeX writer code.milde2021-09-111-36/+18
| | | | | | | | | | | visit_inline() and depart_inline() can be called unconditionally by other visitors: the "classes" argument is present on all doctree nodes and they don't add LaTeX code when "classes" is empty. This is an extension of ``1-visit-inline.patch`` by Clément Pit-Claudel from patch #183. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8822 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add "class" option to "raw" directive.milde2021-09-113-3/+10
| | | | | | | | Classe values may already be specified via a preceding "class" directive. This commit provides the concise alternative known from other directives. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8821 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix #423 Code blocks in sidebars cause LaTeX errors.milde2021-09-077-16/+77
| | | | | | | | | | | | | Do not use the "alltt" enviromnent in sidebars. In admonitions and system-messages, "alltt" is used unless the "legacy-class-functions" setting is True. (Admonitions and system-messages are implemented as environments since rev 8479.) Thanks to Clément Pit-Claudel for reporting. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8820 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* add a test for double quote escapinggrubert2021-08-231-0/+24
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8819 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* * docutils/writers/manpage.py ↵grubert2021-08-232-0/+5
| | | | | | | | - Fix: double quotes need to be escaped on macro invocation. Done everywhere. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8818 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docgrubert2021-08-231-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8815 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* TODOsgrubert2021-08-231-2/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8814 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update functional test for LaTeX corner cases.milde2021-08-116-1098/+603
| | | | | | | | Test for more problems with tables. Cosmetic fixes, reword, restructure. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8810 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small documentation update.milde2021-08-112-12/+13
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8809 929543f6-e4f2-0310-98a6-ba3bd3dd1d04