summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Documentation update.milde2021-10-221-17/+16
| | | | | | | | 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-2218-55/+55
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8860 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix spelling errors.milde2021-10-212-17/+17
| | | | 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-191-0/+29
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8858 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Config setting image_loading: use value "link" instead of "eager".milde2021-10-151-6/+6
| | | | | | | 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-131-12/+27
| | | | | | | | 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-122-29/+31
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8852 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
* 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
* HTML5: New default for table column widths (fixes bug #426).milde2021-10-012-2/+2
| | | | | | | | | 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-304-103/+144
| | | | | | | | | | | | 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
* 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
* Small documentation fixes.milde2021-09-201-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8829 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add "class" option to "raw" directive.milde2021-09-111-1/+4
| | | | | | | | 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
* TODOsgrubert2021-08-231-2/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8814 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small documentation update.milde2021-08-111-6/+5
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8809 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: Refactor computation of table column widths.milde2021-08-103-17/+21
| | | | | | | | | 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/docutils@8806 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: fixes and additions.milde2021-08-101-16/+94
| | | | | | | | | | | | | | | | | | | | 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/docutils@8805 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update SVG image samples and tests.milde2021-07-194-239/+28
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8804 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small documentation fixes and additions.milde2021-07-123-8/+71
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8801 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* math.css: tweak bigoperator size.milde2021-07-121-8/+8
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8800 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Math: fix some LaTeX character mappings.milde2021-07-121-50/+48
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8799 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* math2html: Prefer STIX fonts for formulas.milde2021-07-121-9/+20
| | | | | | | | | | | | | | 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/docutils@8798 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* math2html: Improve handling of big symbols.milde2021-07-121-0/+1
| | | | | | | | | | 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/docutils@8796 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* math2html: support small symbols, refactor math accent handling.milde2021-07-121-1/+0
| | | | | | | | | | | | | | | 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/docutils@8794 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Major rework of math2html converter.milde2021-07-121-1/+1
| | | | | | | | | | | | | 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/docutils@8793 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: add self-link after section headings (feature request #28).milde2021-07-051-58/+64
| | | | | | | | | | | | The "section_self_link" setting triggers this behaviour. As it is currently only implemented for HTML5, the setting is defined for this writer only. The self-link "invisible" by default. The provided stylesheet "responsive.css" gives an example how it can be made visible when hovering over the section heading. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8788 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Reorganise functional tests.milde2021-06-301-40/+8
| | | | | | | | | | | Move additional tests for special features or problems specific to the output format from the "standalone_..." generic test case to additional tests. Use unit test instead of functional test for the fix in r6155 (hyperlink references in substitutions). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8784 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update TODO documentation.milde2021-06-261-122/+69
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8781 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Doctree documentation fixes.milde2021-06-251-42/+46
| | | | | | | Fix typos, add links. Reword/clarify "footnote" description. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8778 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: small fixes, preparation for footnote handling refactoring.milde2021-06-252-7/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8772 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Change default value for the "auto_id_prefix" setting to "%".milde2021-06-181-1/+1
| | | | | | | Auto-generated IDs use the tag name as prefix. Set auto_id_prefix_ to "id" if you want unchanged auto-IDs. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8771 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Document "footnote" and "footnote-reference" elements.milde2021-06-171-8/+177
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8768 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Insert "meta" nodes at begin of document.milde2021-06-171-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8767 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Make "meta" a standard node.milde2021-06-176-44/+104
| | | | | | Fixes also bug #241. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8766 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: Refactor negating with ``\not``, simplify code.milde2021-06-171-8/+32
| | | | | | | | | Reorganise character data. Allow all operators to be negated by preceding ``\not``. Use Unicode normalization to get available pre-composed characters. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8763 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* math: update latex <-> unicode mappings.milde2021-06-171-8/+14
| | | | | | Re-generate mappings from the database "unimathsymbols.txt". git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8761 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: refactor and extend.milde2021-06-171-83/+155
| | | | | | | | | | | | | | | Only wrap displayed math in <mtable> if there are multiple rows. Fix alignment and spacing in multi-line equations. Fix size commands for extensible delimiters. Add support for commands \displaylimits, \mspace, \intop, \ointop. math.get(): new method, return attribute or optional default. tex_token(): don't skip leading whitespace, don't return groups tex_group(): new function -- return first group or token and remainder. tex_group_or_token(): new function git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8760 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Minor documentation update.milde2021-05-271-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8759 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: refactor and extend.milde2021-05-271-50/+251
| | | | | | | | | | | | | | | | New method math.extend(), dictionary-like access to attributes. Update/Correct list of operators/functions with limits above/below in display formulas. Add support for: - more matrix environments, - more fraction commands, - delimiter-size commands, - limits/nolimits commands, - phantom and boxed commands, - layout style commands. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8758 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Document recent changes to MathML support.milde2021-05-205-69/+20
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8757 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: remove unrequired <mrow>s, support more commands.milde2021-05-201-101/+96
| | | | | | | | | | | | | Support additional commands from the AMS math-guide. Remove <mrow>, if it is single child and the parent inferres an mrow or if it has only one child element. tex_number(): do not return trailing delimiter. Use class "mathscr" instead of hard-codes font name for \mathscr. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8756 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: support \circledR, \circledS, functions that take limits.milde2021-05-201-19/+15
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8755 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML fix multi-digit number literals. Support optional arg for \sqrt.milde2021-05-201-28/+21
| | | | | | | | Place consecutive digits and comma/dot in a common <mn> element. Support the optinal argument to specify a degree of a radical. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8754 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: fix script/limt order when given as ^{super}_{sub}.milde2021-05-201-7/+12
| | | | | | | | Separate function to handle scripts or limits, Rename handle_keyword() and math.reverse. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8753 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: new text_optarg(), refactor parse_latex_math(), support more TeX cmds.milde2021-05-201-36/+58
| | | | | | | | | | | tex_optarg(): New function to extract an optional argument parse_latex_math() now expects a start-node to expand and returns new current node (makes it usable for nested parsing), Support for \overset, \underset, \xrightarrow, \xleftarrow. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8752 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: Refactor XML output routines.milde2021-05-201-11/+10
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8751 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: simplify node class interface, fix accent handling.milde2021-05-201-9/+12
| | | | | | | | | | | Instantiating functions for "math" class and descendents handle all positional arguments as children/data and named arguments as attributes. Set "accent" argument for <mover> according to LaTeX macro. Influences dropping of i-dot and size of top character, defaults to "automatic" (MathML 3) or "false" (MathML Core Draft). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8750 929543f6-e4f2-0310-98a6-ba3bd3dd1d04