| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Fix internal links in "directives" doc.
Add links to description of differences between html4css1 and html5 writers.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9385 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9361 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
Unify content type descriptions.
Add cross-links.
Reword for better clarity.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9359 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
| |
Document current behaviour and the roadmap to bring it in line
with the specification.
Add deprecation warnings for to-be-removed objects.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9356 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
| |
MathML is supported by Chrome since January 2023.
Use MathML in documentation pages generated with the HTML5 writer already now.
Update "LaTeX syntax for mathematics" documentation.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9347 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
LaTeX width unit "mu" (mathematical unit) must be converted for MathML.
Typo in the code resulted in wrong "width" argument for `<mspace>`.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9338 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
More detailled feedback when extracting data from a bibliographic field fails.
In bibliographic fields expecting a single paragraph (e.g. "author"),
restore enumerated lists originating in ambiguous markup like
"A. Einstein" (name with initial): in the given context, an we know that this
should not be an enumeration, so fixing is better than throwing an error.
Fix some cases of "ersatz" Boolean values from pre Python 2.3 times.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9322 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
TeX to HTML/css support still missing, cf. [feature-requests:#93].
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9213 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9121 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
| |
Add links to documentation of translated terms.
Sort mappings to better match documentation
and keep related terms together.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9118 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
Fix typo.
Remove spurious whitespace.
Bare "except" replaced with ``except Exception``.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9115 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
| |
* Clarify the admonitions documentation (fixes bug #453).
* Provide hyperlink targets (anchors) for all directive names.
(Use anonymous targets for like-named "doctree" elements.)
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9112 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
| |
Document future changes regarding front-end tools.
Clarify/update planned changes to the input-encoding handling.
Various smaller fixes. Add links.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9107 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
instead of ARIA role "note" for footnotes in Docutils 0.20.
Cf. [bugs:#450].
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9080 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Remove dead link and outdated footnote about limitations in Python2.
Add link to acceptable values of encoding error handlers.
Harmonise help output.
Use UTF-8 in prose text, error messages, and documentation.
Use 'utf-8' in code or when referring to code.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9077 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9055 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9051 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9050 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9044 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
The default behaviour of the "html5" writer resembles
``:widths: auto`` since Docutils 0.18.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9008 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8995 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
Add an example for LaTeX accent functions in mathematical text
to the mathematics documentation.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8986 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
Mostly http: -> https:, based on a patch by Adam Turner
Remove/update some dead links.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8959 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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8952 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Small clarification in the rST spec.
* Move detailled description of alternative ways to install for
development from the "Docutils policies" to the "repository"
documentation.
We don't need to go into details in the "policies" document
and "edible installs" are also useful for casual contributors
or power-users.
* Update links and optional dependencies in the README,
use terminology from PEP 621.
Move the sandbox snapshot download doc to the sandbox README.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8929 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
Also change the priority of the SmartQuotes transform
to a level not already in use.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8912 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Reword documentation using the nomenclature from "expose_internals"
in config.txt: External attributes correspond to the XML element
attributes. Internal attributes are Python class attributes.
Bugfix: Remove the "internal" attribute `rawsource` from
`Element.known_attributes` (common external attributes).
This was a leftover from [r8194].
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8890 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Explain the special casing for combinging and wide characters in
section titles.
cf. bug #433
Simplify import (we don't need to care for missing
`unicodedata.east_asian_width` in Python < 2.4 any longer).
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8886 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8883 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
| |
Small fix for the description of option list syntax.
Thanks to Mickey Endito for reporting.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8872 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8860 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@8850 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
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@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@8832 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@8821 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8809 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
| |
Prepare for fixes (cf. bug #422).
Update documentation.
No change to the output.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8806 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@8801 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8800 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
|
| |
|
|
|
|
|
|
|
|
| |
Scale variable sized operators with CSS instead of constructing from pieces.
Fix Unicode translations for N-ary operators.
Scale stretch big delimiters instead of scaling.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8796 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
math accents/combining characters:
- insert combining character after first character of argument
(mimic LaTeX behaviour).
- support non alphabetical base-character (\not{\in} and similar).
- use precomposed characters if possible (normalization)
Cleanup: update comments, remove not required code.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8794 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fork from elyxer (https://github.com/alexfernandez/elyxer).
Remove code that is not requried for math conversion.
Fix/update LaTeX/Unicode character translation, use common codebase
with MathML.
Support more commands.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8793 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
Fix typos, add links.
Reword/clarify "footnote" description.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8778 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8772 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|