summaryrefslogtreecommitdiff
path: root/docutils/test/functional/expected
Commit message (Collapse)AuthorAgeFilesLines
* Code simplification in writers.milde2021-06-251-35/+35
| | | | | | | | | | | Use node[...] instead of node.get(...) for basic attributes. Remove HTMLTranslator.topic_classes auxiliary attribute. HTML5: Do not add "compound-first", "compound-middle", or "compound-last" to elements nested in a compound. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8774 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: Semantic markup for footnotes.milde2021-06-252-107/+186
| | | | | | | | | | | | | | Use "aside" instead of a description list for footnotes and citations. While providing decent standard rendering, footnote label and text are no instance of a "definition term" and "definition". Use "invisible" footnote label brackets instead of display="none" with superscript footnotes so that the brackets are kept with drag-and-drop. Adapt stylesheets. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8773 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Change default value for the "auto_id_prefix" setting to "%".milde2021-06-181-0/+0
| | | | | | | 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@8771 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Insert "meta" nodes at begin of document.milde2021-06-174-10/+10
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8767 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Make "meta" a standard node.milde2021-06-172-0/+6
| | | | | | Fixes also bug #241. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8766 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: refactor and extend.milde2021-06-171-280/+232
| | | | | | | | | | | | | | | 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@8760 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: refactor and extend.milde2021-05-271-9/+9
| | | | | | | | | | | | | | | | 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@8758 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: remove unrequired <mrow>s, support more commands.milde2021-05-201-93/+31
| | | | | | | | | | | | | 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@8756 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: new text_optarg(), refactor parse_latex_math(), support more TeX cmds.milde2021-05-201-9/+9
| | | | | | | | | | | 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@8752 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: Refactor XML output routines.milde2021-05-201-42/+146
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8751 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: simplify node class interface, fix accent handling.milde2021-05-201-35/+35
| | | | | | | | | | | 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@8750 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: support more functions and symbols.milde2021-05-201-131/+99
| | | | | | | | | | | | | - Support emellished identifiers, - support more functions and symbols from "amsmath", - map HYPHEN-MINUS -> MINUS SIGN and COLON -> RATIO im math context, - simplify doctests with starred import, - dont wrap content in <mrow> when it is inferred by an element (let these elements inherit from "mrow"). - tex2unichar: Fix/extend character mappings. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8748 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML update: math alphabets, tex_token(), add documentation.milde2021-05-201-17/+4
| | | | | | | | | | * math alphabets: Use token elements for single symbols or names. * tex_token: skip whitespace after command names. * comprehensive documentation/test document. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8747 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: support space commands, fix math alphabets, cleanup.milde2021-05-201-17/+23
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8745 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: auxiliary TeX parsing functions, cleanup.milde2021-05-201-6/+2
| | | | | | | | | | New functions that help parsing a (La)TeX string. Skip <mrow> inside <mstyle>. Fix repr() of token elements. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8744 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: Use <mi> for captial Greek letters.milde2021-05-201-3/+3
| | | | | | | Use ``<mi>`` (letters are identifiers) and set upright with 'mathvariant="normal"'. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8743 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: make delimiters "non-strechy" by default. Fixes bug #407.milde2021-05-201-17/+17
| | | | | | | | | | LaTeX lets delimiters grow to the size of the enclosed content only, when they are arguments to ``\left`` or `\right``. MathML streches delimiters inside ``mrow`` by default. Add ``stretchy="false"`` to keep LaTeX and MathML appearance in sync. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8741 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: Implement "cases" environment in latex2mathml.milde2021-05-207-98/+7
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8740 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: pretty print XML.milde2021-05-201-113/+459
| | | | | | Add newlines and indentation around non-token MathML tags. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8739 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: Use large operators and fix alignment in "math" blocks.milde2021-05-201-25/+25
| | | | | | | | | | | | | | Set displaystyle="true" and class="align" for the outer ``<mtable>``¹ in math blocks. ¹ The "mtable"-wrapper is used to support multi-line formulas similar to the "align" environment in the "amsmath" LaTeX package. Add CSS to left-align the table cells in "align"-emulating mtables. Fixes part of bug #407. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8738 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: Replace deprecated <mfenced> element.milde2021-05-201-14/+14
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8737 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: First part of fix to #407.milde2021-05-201-25/+25
| | | | | | | Partially fix #407 "Inline MathML role and block MathML directive appear with reversed styles." git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8736 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* html5 writer: support field lists with custom indent.milde2021-05-201-2/+16
| | | | | | Review handling of "classes" attribute. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8735 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Write footnote brackets and field term colons to HTML.milde2021-05-202-96/+96
| | | | | | | | Makes them available also without CSS and when copying text. Hide brackets with CSS for "footnote-references=superscript". git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8734 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Remove IE 6 compatibility workaround for S5.milde2021-05-184-84/+0
| | | | | | | | Remove files ``iepngfix.htc`` and blank.gif, adapt code and docs. Fixes bug #169. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8729 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Default of "legacy_class_functions" setting changed to "False".milde2021-05-182-106/+138
| | | | | | | | - The setting `legacy_class_functions`_ now defaults to "False". - latex2e/docutils.sty: Fix excessive padding above sidebar titles. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8728 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.18b.dev, open repository for development.milde2021-05-1717-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8721 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.17.2b.devgrubert2021-04-1717-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8711 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.17.1grubert2021-04-1717-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8705 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.17.1b2.devgrubert2021-04-0917-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8688 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.17.1b1.devgrubert2021-04-0917-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8687 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* set version to 0.17.1b.devgrubert2021-04-0917-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8681 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix bug #406 (MathML translation of ``\mathbf``).milde2021-04-081-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8675 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply patch #160: move macro defs above .TH (thanks Willie and sorry for the ↵grubert2021-04-061-3/+3
| | | | | | delay). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8669 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* specify stylesheet_dirs for embed_images_html5 patch#180grubert2021-04-041-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8662 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* switch to 0.18b.devgrubert2021-04-0317-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8660 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.17grubert2021-04-0317-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8653 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5 writer: support <video>.milde2021-03-201-0/+38
| | | | | | Use <video> for images with video MIME types supported by HTML5. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8639 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixup for r8636: use <small> for line numbers.milde2021-03-201-5/+5
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8637 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: Place code-block line numbers in pseudo-elements.milde2021-03-191-5/+5
| | | | | | | This way, they are skipped when copying text from code blocks. Solves feature request #32. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8636 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5 stylesheet update and cleanup. Class value for documents with ToC.milde2021-03-191-1/+1
| | | | | | | | | * Improve the page layout for responsive design, especially for documents without ToC. * Cleanup, small fixes, and re-organisation. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8635 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5 writer: Add a `viewport` meta tag to fix rendering in mobile browsers.milde2021-03-094-9/+9
| | | | | | | | The default behaviour of many mobile browsers is to render for a virtual viewport size and scale. This breaks CSS styling with the default stylesheets. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8632 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New responsive style for HTML5.milde2021-03-051-6/+16
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8630 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update functional test sample.milde2021-02-237-682/+716
| | | | | | | | | | | Update some links. Describe "meta" directive. Don't use too wide images and tables to allow adaption to small screens (mobile). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8627 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex-writer: add \\leavevmode after term or field name if required.milde2021-02-185-32/+440
| | | | | | Based on patch #176 by John Thorvald Wodder II git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8626 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix/Update HTML5 writer functional test.milde2021-02-131-70/+63
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8622 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.17b2.devgrubert2021-02-1016-16/+16
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8616 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Set version 0.17b1grubert2021-02-1016-16/+16
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8615 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* FIX r8608 moved attribute-optional in html5 test: but not in expected grubert2021-02-101-10/+0
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8612 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small update of the functional test input.milde2021-01-267-7/+17
| | | | | | No change in functionality. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8608 929543f6-e4f2-0310-98a6-ba3bd3dd1d04