| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9390 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9388 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9376 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9374 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
(instead of ARIA role "note").
No change with "html4css1".
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9292 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
There are not only bugfix changes since 0.19, so a new "minor" release is required.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9291 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
with the "id" and "class" values of the list node.
Enables setting an "anchor" or a "class" value for "detail disclosure elments".
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9282 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use utils.xml_declaration().
Don't write charset (encoding) declaration if the intended output encoding
is not known.
Copy "meta" part content into "head" in `depart_document()`
(i.e. after collecting all items).
Obsoletes auxiliary method `add_meta()`. Remove it.
Changes to the HTML output (no space character before closing tag of XML
declaration, order of metadata elements) don't affect the HTML semantics,
styling, and rendering.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9240 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
| |
Do not call "inputenc" if the "output-encoding" setting is 'utf-8'.
(UTF-8 is the default encoding for LaTeX2e since 2018.)
Do not call "inputenc" if the "output-encoding" setting is 'unicode':
Docutils returns a `str` instance and does not know which encoding will
be used when the output is written to a file or passed to LaTeX.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9219 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9105 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9103 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9086 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9085 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
Adapt style sheets and tests.
Cf. bug #450.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9081 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
Ignore footnote back-references, when copying from Firefox.
Small tweaks for tuftig.css.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9070 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
| |
after converting it to a "control" attribute of the `<video>` tag.
Thanks to Agathe Porte for the hint.
TODO: discuss other special `<video>` attributes.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9056 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
Stop writing an empty line before the "footer" closing tag.
Add space before "charset" meta tag closing sequence.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9054 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The canonical PEP base URL changed to "peps.python.org/".
The PEP-writer template.txt added a "source" link that no longer
works due to sources now only be stored on github and having
two possible file extensions ("txt" or "rst").
Adapt the header to resemble the header of official PEP documents
(which are now produced using Sphinx).
Fixes [bug:#445].
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9045 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
We no longer need to sort a dictionary from `**kwargs`
in order to have a fixed order for stable tests.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9029 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug #444 reports visible effects of rounding errors with the current
rounding to integer percentages (e.g. 7 columns 13% and one 9% for
8 columns of equal width).
Allow a fractional part (1 digit) when table column widths are
written as percentages in the "colgroup".
Use f-string literal to format coefficient as percentage.
CSS allows decimal numbers (since CSS1) in the specification
of percentages.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9009 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8995 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
| |
The default values for the "pep-references", "rfc-base-url", and
"python-home" `configuration settings`_ now uses the "https:" scheme.
Based on a patch by Adam Turner.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8960 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
Patch by Adam Turner.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8956 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
Patch by Adam Turner.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8954 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
| |
Leaving the 0.18 maintenance mode.
Note: We may skip 0.19 if the next release is "1.0-ready"
(depending on consensus on backwards compatibility policy and
definition/documentation of the public part of the API).
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8914 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8903 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8900 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8894 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8893 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
Do not look up stylesheets given as "stylesheet" setting.
Cf. bug #434.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8891 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8867 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8864 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8848 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8845 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8844 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@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@8835 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@8830 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@8828 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
Improve spacing,
allow customization.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@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@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@8824 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@8820 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@8810 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8807 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Math accent commands more similar to their LaTeX behaviour.
Additions for HTML export.
Use boolean values for boolean node arguments.
Downcase node arguments before storing.
Use class argument "boldsymbol" for \boldsymbol content.
Alignment of multi line equations similar to AMS-LaTeX "align" environment.
Add space after bracket in "cases" environment, left-align columns.
Fix spacing before "unary" minus.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8805 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8804 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8799 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
STIX is free, widely supported, and comprehensive.
(On the downside: it is considerably smaller than DejaVu:
no problem with Chromium/Chrome but in Firefox a larger font-size
might be advised.)
Work around bugs/problems in STIX:
"medium mathematical space" is too wide,
"vertical line" glyphs leave gaps when stacked,
upright integrals provide better alignment of limits.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8798 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|