| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/tags/docutils-0.18@8866 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8865 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8864 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8860 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8859 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8858 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8852 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8848 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8847 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8846 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8845 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8844 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8843 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8841 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8839 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8837 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8833 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8829 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Improve spacing,
allow customization.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8826 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8819 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8815 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8814 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8809 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|