You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
(27) |
Jun
(22) |
Jul
(72) |
Aug
(82) |
Sep
(86) |
Oct
(138) |
Nov
(100) |
Dec
(62) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(122) |
Feb
(147) |
Mar
(92) |
Apr
(82) |
May
(101) |
Jun
(153) |
Jul
(37) |
Aug
(34) |
Sep
(46) |
Oct
(46) |
Nov
(6) |
Dec
(38) |
2004 |
Jan
(64) |
Feb
(81) |
Mar
(36) |
Apr
(194) |
May
(329) |
Jun
(272) |
Jul
(68) |
Aug
(74) |
Sep
(150) |
Oct
(57) |
Nov
(62) |
Dec
(63) |
2005 |
Jan
(78) |
Feb
(30) |
Mar
(137) |
Apr
(78) |
May
(54) |
Jun
(122) |
Jul
(72) |
Aug
(110) |
Sep
(80) |
Oct
(75) |
Nov
(125) |
Dec
(79) |
2006 |
Jan
(100) |
Feb
(15) |
Mar
(41) |
Apr
(67) |
May
(30) |
Jun
(11) |
Jul
(14) |
Aug
(22) |
Sep
(20) |
Oct
(14) |
Nov
(11) |
Dec
(15) |
2007 |
Jan
(17) |
Feb
(16) |
Mar
(35) |
Apr
(21) |
May
(33) |
Jun
(50) |
Jul
(12) |
Aug
(7) |
Sep
(2) |
Oct
(6) |
Nov
(5) |
Dec
(2) |
2008 |
Jan
(14) |
Feb
(20) |
Mar
(35) |
Apr
(9) |
May
(57) |
Jun
(21) |
Jul
(42) |
Aug
(4) |
Sep
(13) |
Oct
(76) |
Nov
(40) |
Dec
(55) |
2009 |
Jan
(26) |
Feb
(15) |
Mar
(3) |
Apr
(67) |
May
(32) |
Jun
(39) |
Jul
(59) |
Aug
(31) |
Sep
(59) |
Oct
(64) |
Nov
(21) |
Dec
(10) |
2010 |
Jan
(21) |
Feb
(3) |
Mar
(116) |
Apr
(33) |
May
(9) |
Jun
(28) |
Jul
(21) |
Aug
(23) |
Sep
(146) |
Oct
(70) |
Nov
(31) |
Dec
(57) |
2011 |
Jan
(33) |
Feb
(22) |
Mar
(11) |
Apr
(21) |
May
(51) |
Jun
(47) |
Jul
(35) |
Aug
(26) |
Sep
(25) |
Oct
(34) |
Nov
(61) |
Dec
(51) |
2012 |
Jan
(75) |
Feb
(31) |
Mar
(26) |
Apr
(16) |
May
(24) |
Jun
(24) |
Jul
(31) |
Aug
(46) |
Sep
(36) |
Oct
(28) |
Nov
(37) |
Dec
(21) |
2013 |
Jan
(16) |
Feb
(56) |
Mar
(31) |
Apr
(44) |
May
(45) |
Jun
(29) |
Jul
(38) |
Aug
(18) |
Sep
(12) |
Oct
(16) |
Nov
(21) |
Dec
(11) |
2014 |
Jan
(13) |
Feb
(14) |
Mar
(28) |
Apr
(7) |
May
(72) |
Jun
(33) |
Jul
(21) |
Aug
(1) |
Sep
(6) |
Oct
(14) |
Nov
(18) |
Dec
(22) |
2015 |
Jan
(23) |
Feb
(108) |
Mar
(76) |
Apr
(114) |
May
(60) |
Jun
(9) |
Jul
(8) |
Aug
(9) |
Sep
(42) |
Oct
(9) |
Nov
|
Dec
(7) |
2016 |
Jan
(6) |
Feb
(15) |
Mar
(7) |
Apr
|
May
(33) |
Jun
(3) |
Jul
(19) |
Aug
(12) |
Sep
(6) |
Oct
(16) |
Nov
(17) |
Dec
(125) |
2017 |
Jan
(66) |
Feb
(98) |
Mar
(29) |
Apr
(32) |
May
(63) |
Jun
(98) |
Jul
(26) |
Aug
(33) |
Sep
(19) |
Oct
(77) |
Nov
(31) |
Dec
(27) |
2018 |
Jan
(32) |
Feb
(11) |
Mar
(5) |
Apr
(12) |
May
(4) |
Jun
(9) |
Jul
(9) |
Aug
(13) |
Sep
(11) |
Oct
(6) |
Nov
(23) |
Dec
(2) |
2019 |
Jan
(26) |
Feb
(12) |
Mar
(20) |
Apr
(18) |
May
(7) |
Jun
(22) |
Jul
(81) |
Aug
(129) |
Sep
(32) |
Oct
(18) |
Nov
(11) |
Dec
(44) |
2020 |
Jan
(19) |
Feb
(10) |
Mar
(38) |
Apr
(4) |
May
(9) |
Jun
(15) |
Jul
(29) |
Aug
(79) |
Sep
(12) |
Oct
(22) |
Nov
(10) |
Dec
(37) |
2021 |
Jan
(16) |
Feb
(14) |
Mar
(20) |
Apr
(100) |
May
(21) |
Jun
(19) |
Jul
(13) |
Aug
(13) |
Sep
(37) |
Oct
(112) |
Nov
(64) |
Dec
(22) |
2022 |
Jan
(209) |
Feb
(38) |
Mar
(11) |
Apr
(10) |
May
(55) |
Jun
(104) |
Jul
(35) |
Aug
(10) |
Sep
(21) |
Oct
(21) |
Nov
(50) |
Dec
(12) |
2023 |
Jan
(6) |
Feb
|
Mar
(3) |
Apr
(41) |
May
(48) |
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(3) |
Oct
(22) |
Nov
(56) |
Dec
(12) |
2024 |
Jan
(5) |
Feb
(5) |
Mar
(38) |
Apr
(62) |
May
(12) |
Jun
(10) |
Jul
(3) |
Aug
(59) |
Sep
(2) |
Oct
(36) |
Nov
(14) |
Dec
(3) |
2025 |
Jan
(5) |
Feb
(19) |
Mar
(7) |
Apr
(65) |
May
(11) |
Jun
(13) |
Jul
(46) |
Aug
(14) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Günter M. <mi...@us...> - 2023-05-12 15:50:51
|
- **status**: open --> pending-remind - **Comment**: Before the proposed patch can be applied to the repo, it needs to be tested on a system with the new paperconf. Waiting for volunteers. --- **[bugs:#468] New release of libpaper (paperconf) does not work with rst2odt** **Status:** pending-remind **Created:** Wed Mar 08, 2023 10:59 AM UTC by fouinix **Last Updated:** Fri May 12, 2023 03:47 PM UTC **Owner:** nobody Hello, It seems a new release of libpaper has broken rst2odt. `paperconf -s` no longer exists: ~~~ paperconf -s (null): unknown option ‘-s’ ~~~ --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-12 15:47:15
|
- **summary**: New release of libpaper (paperconf) breaks rst2odt --> New release of libpaper (paperconf) does not work with rst2odt - **Comment**: Mind, that the behaviour of `rst2odt` with the new "libpaper" version is similar to the current behaviour on systems without "libpaper/paperconf": the page size defaults to US-Letter and an "info" level message is printed. So it is no complete breakdown. Also mind, that due to "US Letter" page width and height beeing stored in the default style sheet (docutils/writers/odf_odt/styles.odt), documents are generated with "US Letter" page size also on systems with properly working "libpaper" (but no "info" message is printed) unless the user uses a custom stylesheet with different page size! This will be fixed in Docutils 0.20.1. --- **[bugs:#468] New release of libpaper (paperconf) does not work with rst2odt** **Status:** open **Created:** Wed Mar 08, 2023 10:59 AM UTC by fouinix **Last Updated:** Thu Apr 20, 2023 04:44 PM UTC **Owner:** nobody Hello, It seems a new release of libpaper has broken rst2odt. `paperconf -s` no longer exists: ~~~ paperconf -s (null): unknown option ‘-s’ ~~~ --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-11 15:56:31
|
- **status**: open --> open-fixed - **Comment**: Fixed in [r9384 ]. We plan a fixup release 0.20.1 next Tuesday. Thanks for reporting and testing. --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open-fixed **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Thu May 11, 2023 03:49 PM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Michał G. <mgo...@us...> - 2023-05-11 15:49:55
|
This one seems to work. Thanks. Are you planning to make a new release with the fix or should I add the patch to Gentoo? --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Thu May 11, 2023 10:27 AM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-11 10:27:26
|
Indeed. Fixed in new patch. Attachments: - [test_latex2e_2.patch](https://sourceforge.net/p/docutils/bugs/_discuss/thread/72203378f4/ab7a/attachment/test_latex2e_2.patch) (1.5 kB; text/x-patch) --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Thu May 11, 2023 08:11 AM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Michał G. <mgo...@us...> - 2023-05-11 08:11:18
|
``` - % [Errno 2] No such file or directory: PosixPath('test/data/spam.sty') ? ----- + % [Errno 2] No such file or directory: PosixPath('test/data/spam) ``` I think you've missed `.sty'` there. --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Thu May 11, 2023 07:51 AM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-11 08:02:37
|
- **Priority**: 5 --> 3 --- **[feature-requests:#93] Mod operator for math2html** **Status:** open **Group:** Default **Created:** Sat Sep 03, 2022 08:43 PM UTC by Daniel James Perry **Last Updated:** Thu Apr 06, 2023 12:45 PM UTC **Owner:** nobody The latex to html/css code is quite impressive, but it's missing the `\\mod` command (as well as other similar commands like `\\pmod`. It should be a trivial thing to do. BTW please get with the times and start using git PLEASE. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-11 08:00:39
|
> Unfortunately, this is just one example of an "infinite" number of ways you can build invalid documents -- testing for all sorts of violations by custom code may seriously affect performance. However, a [transform](https://docutils.sourceforge.io/docs/ref/transforms.html) testing for conformance could be sensible. It may walk over the document tree and for each node check that the parent node is an instance of the well-defined, small set of allowed parent nodes. Ideas and patches are welcome. --- **[feature-requests:#94] Should docutils whine about nesting simple body elements?** **Status:** open **Group:** None **Created:** Thu Feb 09, 2023 09:55 AM UTC by Julien Palard **Last Updated:** Tue Apr 18, 2023 11:29 AM UTC **Owner:** nobody Context: [This](https://github.com/python/cpython/blob/45fa12aec8f508c224a1521cfe3ae597f1026264/Doc/tools/extensions/pyspecific.py#L149) call to `nested_parse` adds a `Paragraph` node to a `Paragraph` node, this look forbidden by [the doc](https://docutils.sourceforge.io/docs/ref/doctree.html#body-elements), and it also look to misbehave sphinx-side, when translating the document, where we completly loose the nested paragraph once translated. It renders properly though when **not** translated. The linked `nested_parse` returns: ```xml <paragraph classes="availability"> <pending_xref refdoc="index" refdomain="std" refexplicit="True" reftarget="availability" reftype="ref" refwarn="True"> <inline classes="xref std std-ref"> Availability : Unix, not Emscripten, not WASI. <paragraph> Hello world I'm the content of the "availability" directive. ``` If it's really something that should not be done, maybe some kind of warning at build time could help debugging those issues? --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-11 07:51:57
|
Could you test the attached patch? Attachments: - [test_latex2e.patch](https://sourceforge.net/p/docutils/bugs/_discuss/thread/72203378f4/6625/attachment/test_latex2e.patch) (1.5 kB; text/x-patch) --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Thu May 11, 2023 04:19 AM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Michał G. <mgo...@us...> - 2023-05-11 04:19:18
|
Hmm, from a quick glance it's fixed in PyPy3.10 already, so you'd also want a: ``` … and sys.version_info < (3, 10) ``` --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Thu May 11, 2023 04:12 AM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Michał G. <mgo...@us...> - 2023-05-11 04:12:34
|
Yes. The easy way is: ``` hasattr(sys, "pypy_version_info") ``` The more elaborate way is: ``` sys.implementation.name == "pypy" ``` --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Wed May 10, 2023 07:49 PM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 19:49:22
|
Thank you for the context info. We could make the expected output more specific, e.g. ~~~ index 91c116b7e..fb743591f 100755 --- a/docutils/test/test_writers/test_latex2e.py +++ b/docutils/test/test_writers/test_latex2e.py @@ -24,7 +24,10 @@ DATA_ROOT = Path(__file__).resolve().parents[1] / 'data' spam = os.path.relpath(DATA_ROOT/'spam').replace('\\', '/') ham = os.path.relpath(DATA_ROOT/'ham.tex').replace('\\', '/') - +if False: # replace with something True when running under pypy + spampath = f"PosixPath('{spam})" +else: + spampath = f"'{spam}.sty'" class WriterPublishTestCase(unittest.TestCase): @@ -1227,10 +1230,11 @@ def test_bibtex(self): samples_stylesheet_embed['two-styles'] = [ ["""two stylesheets embedded in the header""", head_template.substitute(dict(parts, -stylesheet=r"""% Cannot embed stylesheet: -% [Errno 2] No such file or directory: '""" + spam + r""".sty' -% embedded stylesheet: """ + ham + r""" -\newcommand{\ham}{wonderful ham} +stylesheet=f"""\ +% Cannot embed stylesheet: +% [Errno 2] No such file or directory: {spampath} +% embedded stylesheet: {ham} +\\newcommand{{\\ham}}{{wonderful ham}} """)) + r""" two stylesheets embedded in the header ~~~ Do you know of a sensible statement to use as `something-only-true-when-running-under-pypy`? --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Wed May 10, 2023 03:45 PM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 19:26:45
|
- **status**: open --> closed-fixed - **Comment**: Fixed in Docutils 0.20. Thanks for testing. --- **[bugs:#470] Test failures with Pygments >= 2.13.0** **Status:** closed-fixed **Created:** Tue May 09, 2023 09:34 AM UTC by Jakub Kulik **Last Updated:** Wed May 10, 2023 03:30 PM UTC **Owner:** nobody **Attachments:** - [test.log.txt](https://sourceforge.net/p/docutils/bugs/470/attachment/test.log.txt) (33.2 kB; text/plain) Since Pygments 2.13.0, I am seeing several test failures most likely related to changes in white space handling. The test log is attached. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Michał G. <mgo...@us...> - 2023-05-10 15:45:21
|
> It is a "false alarm", the different output should not trigger a test failure. Indeed. I'm not sure if the different output from PyPy3 is actually intentional but I don't think it should cause a test failure anyway. > How do you start the test with PyPy3? (using docutils-0.20 unpacked from sdist) ``` pypy3 -m venv .venvpypy . .venvpypy/bin/activate pip install . python test/alltests.py ``` > Does the same error show if you run "docutils/test/alltests.py" with Python 3.9.16? No. All tests pass then. I think the `PosixPath(…)` part of exception is PyPy-specific: ``` $ python3.9 -c 'from pathlib import Path; Path("foo").read_text()' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.9/pathlib.py", line 1266, in read_text with self.open(mode='r', encoding=encoding, errors=errors) as f: File "/usr/lib/python3.9/pathlib.py", line 1252, in open return io.open(self, mode, buffering, encoding, errors, newline, File "/usr/lib/python3.9/pathlib.py", line 1120, in _opener return self._accessor.open(self, flags, mode) FileNotFoundError: [Errno 2] No such file or directory: 'foo' $ pypy3.9 -c 'from pathlib import Path; Path("foo").read_text()' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/pypy3.9/pathlib.py", line 1266, in read_text with self.open(mode='r', encoding=encoding, errors=errors) as f: File "/usr/lib/pypy3.9/pathlib.py", line 1252, in open return io.open(self, mode, buffering, encoding, errors, newline, File "/usr/lib/pypy3.9/pathlib.py", line 1120, in _opener return self._accessor.open(self, flags, mode) FileNotFoundError: [Errno 2] No such file or directory: PosixPath('foo') ``` --- **[bugs:#471] 0.20 fails tests on pypy3** **Status:** open **Created:** Wed May 10, 2023 02:53 AM UTC by Michał Górny **Last Updated:** Wed May 10, 2023 07:26 AM UTC **Owner:** nobody When running the test suite of the 0.20 release on PyPy3, I get the following test failure: ``` Testing Docutils 0.20 with Python 3.9.16 on 2023-05-10 at 04:44:04 OS: Linux 6.2.14-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon May 1 15:03:02 -00 2023 (linux, Linux-6.2.14-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37) Working directory: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test Docutils package: /tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/docutils .....................................................................s................................................................................................................................................................................................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................................. ====================================================================== FAIL: test_embed_embed_stylesheet (test_writers.test_latex2e.WriterPublishTestCase) (id="samples_embed_stylesheet['two-styles'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/docutils-0.20/work/docutils-0.20/test/test_writers/test_latex2e.py", line 151, in test_embed_embed_stylesheet self.assertEqual(output, expected) AssertionError: "\\do[452 chars]ory: PosixPath('data/spam.sty')\n% embedded st[439 chars]t}\n" != "\\do[452 chars]ory: 'data/spam.sty'\n% embedded stylesheet: d[428 chars]t}\n" \documentclass[a4paper]{article} % generated by Docutils <https://docutils.sourceforge.io/> \usepackage{cmap} % fix search and cut-and-paste in Acrobat \usepackage{ifthen} \usepackage[T1]{fontenc} %%% Custom LaTeX preamble % PDF Standard Fonts \usepackage{mathptmx} % Times \usepackage[scaled=.90]{helvet} \usepackage{courier} %%% User specified packages and stylesheets % Cannot embed stylesheet: - % [Errno 2] No such file or directory: PosixPath('data/spam.sty') ? ---------- - + % [Errno 2] No such file or directory: 'data/spam.sty' % embedded stylesheet: data/ham.tex \newcommand{\ham}{wonderful ham} %%% Fallback definitions for Docutils-specific commands % hyperlinks: \ifthenelse{\isundefined{\hypersetup}}{ \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage{bookmark} \urlstyle{same} % normal text font (alternatives: tt, rm, sf) }{} %%% Body \begin{document} two stylesheets embedded in the header \end{document} ---------------------------------------------------------------------- Ran 1636 tests in 14.868s FAILED (failures=1, skipped=2) Elapsed time: 15.745 seconds ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Guenter M. <mi...@us...> - 2023-05-10 13:07:28
|
Dear Engelbert, dear Docutils developers, On 2023-05-09, engelbert gruber wrote: > after the quiet test period, 0.20 is the new release Thank you for the release, it allows closing a number of issues. It looks like we need fixup release next week. There are some new issues and glitches (nothing serious yet): https://sourceforge.net/p/docutils/bugs/461/ Spurious files in the sdist: docutils.egg-info/SOURCES.html docutils.egg-info/dependency_links.html docutils.egg-info/top_level.html artifacts from the documentation generation? Should be solved by [r9288] and [r9380] but we should check the generated sdist before uploading. https://sourceforge.net/p/docutils/bugs/467/ Include tox.ini in the sdist. Should be fixed with [r9379] We should check the generated sdist before uploading. https://sourceforge.net/p/docutils/bugs/470/ Test failures with Pygments 2.13.x We need to check the results for Docutils 0.20 and Pygments 2.13 (and possibly just skip the tests if the Pygments version is 2.13) because from the proposed patch it seems that 2.13 introduced a change to whitespace handling that was superseded in 2.14 with a different change. https://sourceforge.net/p/docutils/bugs/471/ A "false alarm" when testing with pypy3. Requires special casing in the expeced error output (we need a suitable conditional to tell whether the test run under pypy). More spurious files in the docutils-0.20.tar.gz sdist package: TODO.txt a local file not in the repo (there is "docs/dev/todo.txt") (consistent formatting in HISTORY.txt is nice to have but a minor issue for changes from years ago). manpage-URUE.txt math.txt mwe-test.txt Left-overs from local testing? Maybe move manpage examples to test/functional/input/... (math.txt is already there and also used in the functional tests). There is also a MANIFEST file in docutils-0.20.tar.gz while in my locally generated sdist, there is only MANIFEST.in I don't know whether MANIFEST is actually required or spurious in an sdist. Thanks, Günter |
From: Günter M. <mi...@us...> - 2023-05-10 12:50:35
|
- **status**: open-fixed --> closed-fixed - **Comment**: The documentation is solved in Docutils 0.20. The mistranslated localisations of the directive name "admonition" will be fixed over the next releases. --- **[bugs:#453] [DOC] generic "admonition" directive also listed as specific** **Status:** closed-fixed **Created:** Wed Jul 27, 2022 09:53 AM UTC by jfbu **Last Updated:** Wed Sep 07, 2022 11:12 AM UTC **Owner:** nobody I quite probably miss something obvious but [admonition directives documentation](https://docutils.sourceforge.io/docs/ref/rst/directives.html#admonitions) is not clear in so far as it lists "admonition" as a specific admonition type then describes it as being a generic type (which requires a title). --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 11:18:24
|
Still, we need to check the results for Docutils 0.20 and Pygments 2.13 (and possibly just skip the tests if the Pygments version is 2.13) because it seems that 2.13 already introduced a change to whitespace handling that was superseded in 2.14 with another change. --- **[bugs:#470] Test failures with Pygments >= 2.13.0** **Status:** open **Created:** Tue May 09, 2023 09:34 AM UTC by Jakub Kulik **Last Updated:** Wed May 10, 2023 09:15 AM UTC **Owner:** nobody **Attachments:** - [test.log.txt](https://sourceforge.net/p/docutils/bugs/470/attachment/test.log.txt) (33.2 kB; text/plain) Since Pygments 2.13.0, I am seeing several test failures most likely related to changes in white space handling. The test log is attached. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 11:07:39
|
- **status**: open-accepted --> closed-accepted - **Comment**: Fixed in [Docutils 0.20](https://pypi.org/project/docutils/0.20) Thanks for the patch and explanations. --- **[patches:#114] rst2odt_prepstyles.py: Port to ElementTree** **Status:** closed-accepted **Group:** None **Created:** Mon Aug 05, 2013 02:12 PM UTC by Michael Schutte **Last Updated:** Wed Apr 26, 2023 01:00 PM UTC **Owner:** nobody **Attachments:** - [rst2odt_prepstyles-elementtree.diff](https://sourceforge.net/p/docutils/patches/114/attachment/rst2odt_prepstyles-elementtree.diff) (1.8 kB; text/x-patch) rst2odt_prepstyles.py currently uses lxml to parse, modify and write XML. The attached patch makes it use ElementTree instead, which has been part of Python's standard library since 2.5. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 11:06:19
|
- **status**: open-fixed --> closed-fixed - **Comment**: Fixed in [Docutils 0.20](https://pypi.org/project/docutils/0.20) Thank you for the report and patch. --- **[patches:#195] invalid html for citation nodes with no siblings** **Status:** closed-fixed **Group:** None **Created:** Thu Aug 25, 2022 08:46 AM UTC by Matthias C. M. Troffaes **Last Updated:** Tue Oct 11, 2022 07:04 PM UTC **Owner:** nobody **Attachments:** - [0001-Fix-previous_sibling-in-case-index-is-0.patch](https://sourceforge.net/p/docutils/patches/195/attachment/0001-Fix-previous_sibling-in-case-index-is-0.patch) (970 Bytes; application/octet-stream) When citations appear in a parent that has no other siblings besides this single citation, a spurious `</div>` is generated resulting in invalid html code. It appears that this is because the opening `<div role="list" class="citation-list">` is not being generated. I've tracked it to this docutils failing to add an opening div for the citation list here: https://github.com/docutils/docutils/blob/master/docutils/docutils/writers/_html_base.py#L632 It gets then closed here leading to the extra tag: https://github.com/docutils/docutils/blob/master/docutils/docutils/writers/_html_base.py#L640 Basically, this is due to odd behaviour of previous_sibling: if index relative to parent is zero and there are no other siblings, it returns the node itself instead of None. This looks like a docutils bug, and the attached patch fixes the issue. Originally reported here: https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/309 . Also reported here: https://github.com/sphinx-doc/sphinx/issues/10784 . --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 11:05:09
|
- **status**: open-accepted --> closed-accepted - **Comment**: Fixed in [Docutils 0.20](https://pypi.org/project/docutils/0.20) Thanks again for your contribution. --- **[patches:#197] MathML: support pandoc(1) as an external converter** **Status:** closed-accepted **Group:** None **Created:** Fri Oct 28, 2022 02:21 PM UTC by Ximin Luo **Last Updated:** Fri Nov 04, 2022 11:18 AM UTC **Owner:** nobody **Attachments:** - [0001-MathML-support-pandoc-1-as-an-external-converter.patch](https://sourceforge.net/p/docutils/patches/197/attachment/0001-MathML-support-pandoc-1-as-an-external-converter.patch) (3.5 kB; text/x-patch) In my personal experience, `pandoc` is more reliable than `latexml`, e.g. the current support for the latter in docutils does not automatically include amsfonts which prevents things like mathbb from working. In `pandoc` it Just Works. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 11:04:11
|
- **status**: open-fixed --> closed-fixed --- **[patches:#201] Adapt tests to Sphinx 6.0.0** **Status:** closed-fixed **Group:** None **Created:** Wed Jan 04, 2023 03:51 PM UTC by Daniel Garcia Moreno **Last Updated:** Wed May 10, 2023 11:03 AM UTC **Owner:** nobody **Attachments:** - [sphinx-6.0.0.patch](https://sourceforge.net/p/docutils/patches/201/attachment/sphinx-6.0.0.patch) (5.8 kB; text/x-patch) Sphinx 6.0.0 changes the format a bit, this patch fixes some tests that are broken with the latest release. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 11:03:53
|
Fixed in [Docutils 0.20](https://pypi.org/project/docutils/0.20). Thank you for reporting. (Cf. [bugs:470] for open problems with Pygments 2.13) --- **[patches:#201] Adapt tests to Sphinx 6.0.0** **Status:** open-fixed **Group:** None **Created:** Wed Jan 04, 2023 03:51 PM UTC by Daniel Garcia Moreno **Last Updated:** Tue Apr 18, 2023 12:08 PM UTC **Owner:** nobody **Attachments:** - [sphinx-6.0.0.patch](https://sourceforge.net/p/docutils/patches/201/attachment/sphinx-6.0.0.patch) (5.8 kB; text/x-patch) Sphinx 6.0.0 changes the format a bit, this patch fixes some tests that are broken with the latest release. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 10:34:26
|
- **status**: open-fixed --> closed-fixed - **Comment**: Fixed in [Docutils 0.20](https://pypi.org/project/docutils/0.20) Thank you for reporting. --- **[bugs:#384] allow omission of citations (rst2latex with --use-bibtex option)** **Status:** closed-fixed **Labels:** rst2latex **Created:** Fri Dec 20, 2019 07:11 PM UTC by Alan **Last Updated:** Mon Dec 19, 2022 08:47 PM UTC **Owner:** nobody Using the incredibly helpful `--use-bibtex=mybst,mybib` option, unless I provide targets for all the citation references, I do not get citation references in the text. Instead the citation references marked as errors. Since I provide the citation info in ``mybib``, this seems completely pointless; can it be turned off? Günter asked that I file this as a bug report. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 10:32:35
|
- **status**: open-fixed --> closed-fixed - **Comment**: Fixed in [Docutils 0.20](https://pypi.org/project/docutils/0.20) Thank you for reporting. --- **[bugs:#464] Remove use of deprecated locale.getdefaultlocale** **Status:** closed-fixed **Created:** Mon Dec 19, 2022 09:11 PM UTC by Matthias Koeppe **Last Updated:** Tue Jan 10, 2023 01:13 PM UTC **Owner:** nobody docutils.io calls the function locale.getdefaultlocale, which is deprecated since Python 3.11 - https://docs.python.org/3/library/locale.html#locale.getdefaultlocale, Reference: https://trac.sagemath.org/ticket/33842#comment:116 --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2023-05-10 10:31:53
|
- **status**: open-fixed --> closed-fixed - **Comment**: Fixed in [Docutils 0.20](https://pypi.org/project/docutils/0.20) Thank you for reporting. --- **[bugs:#463] Bug in nodes.py warnings** **Status:** closed-fixed **Created:** Thu Dec 08, 2022 01:41 PM UTC by Julianus Pfeuffer **Last Updated:** Mon Dec 19, 2022 12:27 PM UTC **Owner:** nobody Hi! I think https://sourceforge.net/p/docutils/code/8949/ introduced a bug in https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/docutils/nodes.py#l1071 Not sure if you can split the string with a comma there. It breaks a lot of code. The error is: ~~~ Exception occurred: File "/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/docutils/nodes.py", line 1069, in set_class warnings.warn('docutils.nodes.Element.set_class() is deprecated; ' TypeError: argument for warn() given by name ('stacklevel') and position (3) ~~~ --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |