BTW: what is the state of https://pypi.org/project/pycmark/ by @ tk0miya? It looks promising as a lightweight alternative for pure CommonMark I finished my work. It has been fully compatible with CommonMark. The remaining task is creating an extension for sphinx using pycmark and pycmark-gfm. I thought to release v1.0 after that, but I lost my interest for it because myst-parser has appeared. 2022年1月6日(木) 23:08 "Günter Milde" via Docutils-develop docutils-develop@lists.sourceforge.net: status: open...
It would be great if we'll be able to install the HEAD of docutils via git command directly. At present, we need to clone the repository before installing it because docutils package is placed under the docutils directory. The separation will resolve that.
The source info of topic node is not filled when topic directive only contains a bullet list
FYI: I applied this patch to Sphinx to support docutils-0.18 (not released yet). https://github.com/sphinx-doc/sphinx/commit/c97c488bb6baad2cd2e76615dbff448286052544 I think this must be a bug of Sphinx, not a docutils. To realize the cross-reference feature, Sphinx processes the target document twice. In the process, we need to fill some configuration to the settings object before building the document. Thanks, Takeshi KOMIYA 2021年10月27日(水) 22:45 engelbert gruber via Docutils-develop docutils-develop@lists.sourceforge.net:...
Thank you for quick fix!
Node ID will be lost when a `--language` option given.
+1 for adding a new option to control the position. I'm also okay to add a directive option instead. Addition to this, I'll add an option for table caption after this discussion.
I don't know about dependencies. But, about the diff, it seems the reason of diff comes python versions. The "print" is a keyword in python2 era. But it becomes a mere function since python3. So it becomes a name now. I guess it might go well if you invoke a testcase with python2. Anyway, checking the output of pygments is too fragile. It often gets broken everytime pygments changes the highlighting rule. It is better to check only that the content is highlighted.
Thanks! Here is a patch to fix it :-)
Did you read the code? It is a code only available under python2. And docutils has still supported it. if sys.version_info < (3, 0): range = xrange What are you expected?
Hi folks, I don't have a strong opinion about migration. Indeed, I prefer to use GitHub and other modern platforms. But it does not mean Sourceforge prevents the contribution to docutils. Actually, I've posted some patches to this project ever. Surely, I must admit I'd needed to remember how to create a patch file from my git repository every time. But it's a minor issue to me. So I'm neutral for this topic. My large concern for this topic is nobody mentioned about the costs of migration. I think...
manpage: an empty citation causes manpage writer crashed
Any updates? Please let me know if my thought is incorrect.
document.note_explicit_target does not support a node having multiple IDs
I made a small fix for this error. Could you review this please? Thanks,
Got TypeError in copying system_message node
Sorry for not responding. LGTM!
I made a patch for such case. What do you think abou this?
A directory named as unsupported language confuses docutils
Allow to inject set of directives and roles for parsing reST
Determine width of ambiguous characters by language
Add Node.astext() as an abstract super method
Remove handlers for deprecated nodes from LaTeX writer
Allow definition_list_item to have multiple terms
SimpleListChecker.visit_definition_list() is duplicated
The docstring of Transformer class is wrong
The docstring of Reader class is wrong
+1: xml.sax.handler.ContentHandler is official place of ContentHandler. Please refer the Python docs: https://docs.python.org/3.6/library/xml.sax.handler.html#xml.sax.handler.ContentHandler
reST parser warns twice for short underline
Fix no source was set to literal block in a bullet list
Fix no source and lineno was set to caption of table
This was already fixed at sphinx side. https://github.com/sphinx-doc/sphinx/issues/3212...
Thank you for reviewing! I missed the empty argument. I updated my patch using i...
listings having multiple labels are converted to invalid HTML
I'm grad to hear that. I updated the patch including testcases and documentation....
Using CSS is fine, but we have to prepare CSS to align tables to center always. I...
Add :align: option to the table directives (table, csv-table and list-table)
rst2man ignores line starting with a period
":figwidth: image" generates unitless width value