You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Emacs version 30.1 as packaged for Linux Debian 13/trixie started by emacs -q minimal.org without any additional packages, I prepare an Emacs orgmode file (cf. zip archive attached below) including a bullet list. By default, if a line becomes overly long to be displayed in the frame, the key chord M-S-q (meta/Alt key + shift + q) allows to fold the line to fit again into the frame; and if the line is within a bullet list, the indentation of this new line automatically reflects the level of hierarchy. This is retained in pandoc's conversion to rst with the optional "autowrap" the test page summarizes with pandoc --from org --to rst --standalone --no-highlight.
Like "normal running text", lines in bullet lists equally may include brief snippets/keywords of code enclosed by a pair of =, or ~ pandoc converts into pairs of two back ticks.
The conversion however fails if a brief snippet of code including white space is right at the line break; the indentation is "off", a check of the trypandoc.rst generated by the test page with rstcheck (version 6.2.4) for instance reports
$ rstcheck trypandoc.rst
trypandoc.rst:7: (WARNING/2) Inline literal start-string without end-string.
trypandoc.rst:10: (WARNING/2) Inline literal start-string without end-string.
Error! Issues detected.
A conversion of the .rst file to pdf with rst2pdf (here version 0.102) passes with errors reported back to the CLI
$ rst2pdf trypandoc.rst
trypandoc.rst:7: (WARNING/2) Inline literal start-string without end-string.
trypandoc.rst:10: (WARNING/2) Inline literal start-string without end-string.
and a less than optimal result.
The issue might be related to #4618 reported in May 2018
Pandoc version?
The observations relate to Pandoc version 3.6.4 as currently used by the project's test page.
Because of a problem with pandoc's conversion of .org files to
yield .rst files,[1] the documentation within the Python wheel
will go on with (GitHub flavored) Markdown files.
[1] jgm/pandoc#10730
Signed-off-by: Norwid Behrnd <[email protected]>
The markdown reader doesn't allow newlines to go into inline code; this avoids the problem at the reader level. So one solution is to make the org reader agree with this.
Another solution would be to have the RST writer convert any \n in inline code to spaces.
Explain the problem.
With Emacs version 30.1 as packaged for Linux Debian 13/trixie started by
emacs -q minimal.org
without any additional packages, I prepare an Emacs orgmode file (cf. zip archive attached below) including a bullet list. By default, if a line becomes overly long to be displayed in the frame, the key chordM-S-q
(meta/Alt key + shift + q) allows to fold the line to fit again into the frame; and if the line is within a bullet list, the indentation of this new line automatically reflects the level of hierarchy. This is retained in pandoc's conversion to rst with the optional "autowrap" the test page summarizes withpandoc --from org --to rst --standalone --no-highlight
.Like "normal running text", lines in bullet lists equally may include brief snippets/keywords of code enclosed by a pair of
=
, or~
pandoc converts into pairs of two back ticks.The conversion however fails if a brief snippet of code including white space is right at the line break; the indentation is "off", a check of the
trypandoc.rst
generated by the test page with rstcheck (version 6.2.4) for instance reports$ rstcheck trypandoc.rst trypandoc.rst:7: (WARNING/2) Inline literal start-string without end-string. trypandoc.rst:10: (WARNING/2) Inline literal start-string without end-string. Error! Issues detected.
A conversion of the .rst file to pdf with rst2pdf (here version 0.102) passes with errors reported back to the CLI
and a less than optimal result.
The issue might be related to #4618 reported in May 2018
Pandoc version?
The observations relate to Pandoc version 3.6.4 as currently used by the project's test page.
2025-03-27_pandoc_org2rst.zip
The text was updated successfully, but these errors were encountered: