Help save net neutrality! Learn more.
Close

Activity for Günter Milde

  • Günter Milde Günter Milde modified ticket #335

    Title length incorrect when using emoji unicode characters

  • Günter Milde Günter Milde posted a comment on ticket #335

    Closing as fixed as it is fixed upstream (Python 3.6 and 2.7).

  • Günter Milde Günter Milde modified ticket #335

    Title length incorrect when using emoji unicode characters

  • Günter Milde Günter Milde posted a comment on ticket #335

    Thank you for reporting. However, this is not a bug in Docutils, but rather the consequence of a changed definition of the "east asian width" property of the respective Unicode characters in Unicode and subsequently in the Python "unicodedata" module (cf. https://docs.python.org/3/whatsnew/3.6.html#unicodedata) (see also the discussion at https://gist.github.com/mandel59/d05522cdb42a652bf423). Docutils determines the width of the section title with the function docutils.utils.column_width() which...

  • Günter Milde Günter Milde modified ticket #335

    Title length incorrect when using certain unicode characters (some emoji)

  • Günter Milde Günter Milde modified a comment on ticket #334

    Thank you for reporting a problem you found in Docutils. It is, however a feature, not a bug: $ belongs to the set of section markup characters. http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#sections section markup is not allowed inside table cells. (The first example is actually not a table but two sections: the first with over- and underline and title "Term", the second with underlined title "$".) In case of short lines (<4 chars) and over-underline mismatch, the parser assumes...

  • Günter Milde Günter Milde modified a comment on ticket #334

    Thank you for reporting a problem you found in Docutils. It is, however a feature, not a bug: $ belongs to the set of section markup characters. http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#sections section markup is not allowed inside table cells. (The first example is actually not a table but two sections: the first with over- and underline and title "Term", the second with underlined title "$".) In case of short lines (<4 chars) and over-underline mismatch, the parser assumes...

  • Günter Milde Günter Milde modified ticket #334

    Table cell with only $ have info warning

  • Günter Milde Günter Milde posted a comment on ticket #334

    Thank you for reporting a problem you found in Docutils. It is, however a feature, not a bug: $ belongs to the set of section markup characters. http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#sections section markup is not allowed inside table cells. (The first example is actually not a table but two sections: the first with over- and underline and title "Term", the second with underlined title "$".) In case of short lines (<4 chars) and over-underline mismatch, the parser assumes...

  • Günter Milde Günter Milde committed [r8205]

    Update documentation of length units.

  • Günter Milde Günter Milde committed [r8204]

    Add "rawsource" to reference text derived from embedded URI or alias.

  • Günter Milde Günter Milde committed [r8203]

    Apply patch by Engelbert Gruber to fix encoding problem under Py3.6 on Windows.

  • Günter Milde Günter Milde committed [r8202]

    Minor documentation update: smartquotes is still experimental.

  • Günter Milde Günter Milde committed [r8201]

    Cleanup: remove <2.6 compatibility code.

  • Günter Milde Günter Milde committed [r8200]

    Properly escape LaTeX commands in test samples.

  • Günter Milde Günter Milde committed [r8199]

    Move tests for (un)escaping functions to test_utils.

  • Günter Milde Günter Milde committed [r8198]

    Ignore backslash-escaped separators when extracting authors from a paragraph.

  • Günter Milde Günter Milde committed [r8197]

    "rawsource" attribute for text of inline elements and definition list terms.

  • Günter Milde Günter Milde committed [r8196]

    Ensure `rawsource` in "unicode" directive.

  • Günter Milde Günter Milde committed [r8195]

    New function `utils.unescape_rawsource`.

  • Günter Milde Günter Milde committed [r8194]

    `Text.rstrip` and `Text.lstrip` now handle `rawsource` attribute.

  • Günter Milde Günter Milde committed [r8193]

    Document docinfo transform of "author paragraphs".

  • Günter Milde Günter Milde modified ticket #332

    smartquotes fails to distinguish open and close quotation marks

  • Günter Milde Günter Milde posted a comment on ticket #332

    The handling of non-ASCII whitespace is fixed in revision 8189. Eventual support for escaped whitespace in smartquotes would be a separate enhancement request. The issue of the "use smartquotes" setting defaults in Sphinx is off-topic here.

  • Günter Milde Günter Milde committed [r8190]

    smartquotes: Fix bug #332.

  • Günter Milde Günter Milde posted a comment on ticket #332

    About use cases in Japanese (I don't understand this language): ...It is one of good workarounds, but a following string (a double quote following a Japanese period): ...フィールドがあります。"Title" フィールドには、... is too common to realize the lack of space character. What would be the expected output in this case: a) ASCII quotes, b) English typographical quotes, c) Japanese typographical quotes? For a), use an "inline literal" ...フィールドがあります。"Title" フィールドには、... For b) and c) you can use the literal Unicode characters...

  • Günter Milde Günter Milde modified a comment on ticket #332

    (3) A backslash-escaped space, before the opening quote, should force open-quote recognition. But it doesn't. IMO that's the real bug here. The "smartquote" transform acts on the doctree after parsing. Any rST syntax (including backslash-escaped spaces) is removed by then. One solution would be to support backslash escaped spaces similar to rST in the "smartquote" module. This would require double escaping in the rST source -- This work (but currently doesn't): ...フィールドがあります。\\ "Title" フィールドには、......

  • Günter Milde Günter Milde posted a comment on ticket #332

    (3) A backslash-escaped space, before the opening quote, should force open-quote recognition. But it doesn't. IMO that's the real bug here. The "smartquote" transform acts on the doctree after parsing. Any rST syntax (including backslash-escaped spaces) is removed by then. One solution would be to support backslash escaped spaces similar to rST in the "smartquote" module. This would require double escaping in the rST source -- This work (but currently doesn't): ...フィールドがあります。\\ "Title" フィールドには、......

  • Günter Milde Günter Milde modified ticket #225

    table multirow cell with more than one paragraph fails with LaTeX

  • Günter Milde Günter Milde modified ticket #231

    manpages on solarix

  • Günter Milde Günter Milde modified ticket #257

    windows7 py3.4.1 testsuite encoding bug

  • Günter Milde Günter Milde committed [r8189]

    Rename files to care for case-insensitive file systems.

  • Günter Milde Günter Milde posted a comment on ticket #331

    Also, this does not depend on the substitution character beeing a space. The effect happens with any 2 inline elements followed by a trimmed substitution. A similar shift also happens to the whitespace behind the substituted character if one more inline element follows. See attachment.

  • Günter Milde Günter Milde committed [r8187]

    Fix :width: option for the table directives.

  • Günter Milde Günter Milde modified ticket #57

    add vh and vw as allowable length units

  • Günter Milde Günter Milde posted a comment on ticket #57

    Ticket moved from /p/docutils/bugs/328/

  • Günter Milde Günter Milde modified ticket #56

    :key:value not caught as badly formed option, but rather taken as an argument

  • Günter Milde Günter Milde posted a comment on ticket #56

    Ticket moved from /p/docutils/bugs/330/

  • Günter Milde Günter Milde modified ticket #330

    :key:value not caught as badly formed option, but rather taken as an argument

  • Günter Milde Günter Milde posted a comment on ticket #330

    Thank you for the suggestion. Howerver, this is a feature request, not a bug. You may reopen it under https://sourceforge.net/p/docutils/feature-requests/ or start a thread in the docutils-devel list. You may experiment with the code in parsers/rst/states.py around line 2170 and the parse_directive_options method at line 2191. Tested patches are welcome. BTW: The interpretation of the given example depends on the directive, it could be one multi-line argument as in .. admonition:: test :me:not Content...

  • Günter Milde Günter Milde committed [r8186]

    Hamonise and fix directive documentation.

  • Günter Milde Günter Milde modified ticket #328

    add vh and vw as allowable length units

  • Günter Milde Günter Milde posted a comment on ticket #328

    This is a feature request, not a bug. Please discuss this at the docutils-user or docutils-devel list or add to https://sourceforge.net/p/docutils/feature-requests/.

  • Günter Milde Günter Milde modified ticket #329

    unnecessary 'align' in figure directive

  • Günter Milde Günter Milde posted a comment on ticket #329

    Actually, the figure directive updates the 'align' option with its own version (see the different defintions of Image.align and Figure.align). (You cannot use the align_v_values = ('top', 'middle', 'bottom') in the figure option.

  • Günter Milde Günter Milde modified ticket #327

    selfpattr] -> self[attr]

  • Günter Milde Günter Milde posted a comment on ticket #327

    Fixed in Revision 8185. Thank you for reporting.

  • Günter Milde Günter Milde committed [r8185]

    Fix typo in docstring.

  • Günter Milde Günter Milde modified ticket #326

    Node.update_basic_atts() tries to update non basic attributes

  • Günter Milde Günter Milde posted a comment on ticket #326

    Thank you for the report. The actual problem seems to be that one of the Sphinx-created nodes (todo, todolist?) misses the "ids" basic attribute. When this node is updated using its replace_self() method, the missing basic attribute causes the key error. Every Docutils doctree Element is expected to have the basic attributes: See the docstring for Element.basic_attributes defined in nodes.py line 435:: basic_attributes = ('ids', 'classes', 'names', 'dupnames') """List attributes which are defined...

  • Günter Milde Günter Milde modified ticket #138

    Add HTML comments for CSS: <style><!-- ... --></style>

  • Günter Milde Günter Milde posted a comment on ticket #138

    Thank you for the info, closing as outdated.

  • Günter Milde Günter Milde modified ticket #121

    Add a :width: option for the table directives

  • Günter Milde Günter Milde posted a comment on ticket #121

    Applied in Revision: 8183 Thanks for the patch.

  • Günter Milde Günter Milde committed [r8184]

    Apply [ 121 ] Add a :width: option for the table directives.

  • Günter Milde Günter Milde modified ticket #138

    Add HTML comments for CSS: <style><!-- ... --></style>

  • Günter Milde Günter Milde modified ticket #325

    Warning on multiparagraph copyright field that is correctly recognised

  • Günter Milde Günter Milde posted a comment on ticket #325

    Closing as invalid: The warning is justified because the docinfo field in this example is recognized as generic docinfo field while the field name suggest the intention to get this recognized as a "copyright" element. (See the preceding comment for workarounds and suggestions.) Thank you for reporting.

  • Günter Milde Günter Milde modified a comment on ticket #325

    Coming from a standard transform, the warning is not specific to rst2man but shown with every docutils front-end. The documentation may be difficult to understand but is, IMO, non-ambiguous: Unless otherwise indicated below, each of the bibliographic elements’ field bodies may contain a single paragraph only. with the exceptions: “Authors”, “Dedication”, “Abstract”, and unregistered/generic fields. The "copyright" field may only have one paragraph and is hence not recognized as a registered bibliographic...

  • Günter Milde Günter Milde committed [r8183]

    Add field name as class argument to generic docinfo fields unconditionally.

  • Günter Milde Günter Milde posted a comment on ticket #325

    Coming from a standard transform, the warning is not specific to rst2man but shown with every docutils front-end. The documentation may be difficult to understand, IMO non-ambiguous: Unless otherwise indicated below, each of the bibliographic elements’ field bodies may contain a single paragraph only. with the exceptions: “Authors”, “Dedication”, “Abstract”, and unregistered/generic fields. The "copyright" field may only have one paragraph and is hence not recognized as a registered bibliographic...

  • Günter Milde Günter Milde committed [r8182]

    odf_odt: fix misprint in conversion from mm to cm

  • Günter Milde Günter Milde posted a comment on ticket #138

    Could you please give an example where the current behaviour is is a problem (which browser is affected and what is the output)?

  • Günter Milde Günter Milde modified ticket #209

    rst2latex uses quote environment for literal blocks

  • Günter Milde Günter Milde posted a comment on ticket #209

    With the recent addition to class handling of environments in the latex writer, independent styling of quotes and literal blocks becomes possible (although tricky). Since 2017-09-22, the wrapping in quote environments is replaced by a global xleftmargin setting if "lstlistings" is used for literal blocks. This can be customized in preamble code or a custom style sheet.

  • Günter Milde Günter Milde committed [r8181]

    Fix source encoding declaration in html5 writer.

  • Günter Milde Günter Milde committed [r8180]

    Fixes and test for literal block handling in LaTeX.

  • Günter Milde Günter Milde committed [r8179]

    HTML5-compatible meta tags for docinfo items authors, date, and copyright.

  • Günter Milde Günter Milde committed [r8178]

    more compact comments for __version_info__

  • Günter Milde Günter Milde committed [r8177]

    Automatically update version_info when changing __version__ per script.

  • Günter Milde Günter Milde committed [r8176]

    Documentation update.

  • Günter Milde Günter Milde committed [r8175]

    Document rST syntax change.

  • Günter Milde Günter Milde modified ticket #324

    table with empty multicolumn cell produces LaTeX with missing bracket

  • Günter Milde Günter Milde posted a comment on ticket #324

    Fixed in revision 8174. Thank you for the report.

  • Günter Milde Günter Milde committed [r8174]

    Fix [ 324 ] Invalid LaTeX for table with empty multicolumn cell.

  • Günter Milde Günter Milde modified ticket #31

    adding pygments options to code directive

  • Günter Milde Günter Milde posted a comment on ticket #31

    Closing as duplicate: Discussion moved to patches/112.

  • Günter Milde Günter Milde posted a comment on ticket #31

    Is this something the project is still considering? It is not ruled out but also not a high priority todo item. I'd love to have the ability to pass additional Pygments options. How can I help make this happen? A generic starter for contributors is in the Docutils documentation under http://docutils.sourceforge.net/docs/dev/policies.html#how-to-get-a-new-feature-into-docutils. For ideas in this particular case, have a look at the suggestions and preconditions in the discussion of patch/112. For help...

  • Günter Milde Günter Milde committed [r8173]

    0.15.dev must not be used after 0.15b or 0.15rc.

  • Günter Milde Günter Milde committed [r8171]

    Small cleanup and formatting edits.

  • Günter Milde Günter Milde committed [r8166]

    Test __version_info__.releaselevel values.

  • Günter Milde Günter Milde committed [r8164]

    Drop 2.4 and 2.5 compatibility code, part 2.

  • Günter Milde Günter Milde committed [r8163]

    Drop compatibility code for Python 2.4 and 2.5.

  • Günter Milde Günter Milde modified ticket #323

    latex with custom template can't access the raw document title

  • Günter Milde Günter Milde posted a comment on ticket #323

    The issue is fixed in the repository: only parts['titledata'] contains the additional formatting and labels, parts['title'] and parts['subtitle'] only contain the content of the (sub)title line.

  • Günter Milde Günter Milde committed [r8162]

    Documentation update: Dropped support for Python 2.4, 2.5, 3.1, and 3.2.

  • Günter Milde Günter Milde posted a comment on ticket #306

    Yes, it is.

  • Günter Milde Günter Milde committed [r8161]

    Fix [ 323 ]: do not add ``\\\\phantomsection`` and whitespace to ``parts["title"].

  • Günter Milde Günter Milde committed [r8160]

    Update documentation of the version identification.

  • Günter Milde Günter Milde modified ticket #322

    reference treated as image (AssertionError)

  • Günter Milde Günter Milde posted a comment on ticket #322

    The assertion is there to ensure the doctree is well-formed. References are inline elements (i.e. must be nested in a Text element, see docutils/docs/ref/doctree.html#inline-elements) with just one exception mentioned in docutils.dtd: <!ELEMENT reference %text.model;> If you want to strip the paragraph elements in list items, see the html4css1 writer which strips paragraphs in compact lists (you may need to tell it the list is to be considered compact). I recommend to keep the paragraphs and use...

  • Günter Milde Günter Milde committed [r8145]

    Announce end of support for Python 3.1, and 3.2 after the 0.14 release.

  • Günter Milde Günter Milde committed [r8144]

    smartquotes transform: Keep "rawsource" when "educating" quotes.

  • Günter Milde Günter Milde committed [r8143]

    Add recent fixes to HISTORY.

  • Günter Milde Günter Milde modified ticket #183

    wrong format for NOTE

  • Günter Milde Günter Milde modified ticket #276

    ODT Writer strips classes from inline character markup when more than one class

  • Günter Milde Günter Milde posted a comment on ticket #276

    The bug was fixed by Jeffrey/timehorse 2015-06-03.

  • Günter Milde Günter Milde modified a comment on ticket #276

    I added this content to my test document (thanks for supplying it):: .. role:: action :class: action parenthetical Hello... `(beat)`:action: ...there! The ODT writer generated the following in content.xml inside the resulting ODT file (after pretty printing it with tidy):: <text:p text:style-name="rststyle-textbody">Hello... <text:span text:style-name="rststyle-action"> <text:span text:style-name="rststyle-parenthetical"> (beat)</text:span> </text:span>...there!</text:p> So, it does seem like the...

  • Günter Milde Günter Milde modified ticket #280

    Confusing (old?) odtwriter docs and code in the sandbox

  • Günter Milde Günter Milde posted a comment on ticket #280

    Closing. Thanks for the fix.

1 >