anammari / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Pandoc escapes quotation mark in man output #165

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Pandoc escapes the " character in man page output.

  Test "test" test.

becomes

  Test \"test\" test\.

Which means all text after the first \" is regarded as a comment, and is
not displayed.

The Pandoc version is 0.46, used on Debian Linux.

Original issue reported on code.google.com by jeroenleeuwestein@gmail.com on 24 Sep 2009 at 11:18

GoogleCodeExporter commented 8 years ago
This is already fixed in the latest version of pandoc, 1.2.1.
Your example is rendered as
Test \[lq]test\[rq] test.

Unfortunately debian is way behind in packaging pandoc; fortunately, that will 
soon
change.  A new maintainer is currently working on packaging 1.2.1, and it 
should not
be long before it gets to unstable.

If you want an updated pandoc sooner, you can compile from source, using 
instructions
included in the package.

Original comment by fiddloso...@gmail.com on 24 Sep 2009 at 2:43

GoogleCodeExporter commented 8 years ago
PS. For a quick fix, you might try just running pandoc with the -S option.
I haven't tried this on 0.46, but it might work.

Original comment by fiddloso...@gmail.com on 24 Sep 2009 at 3:01

GoogleCodeExporter commented 8 years ago
I already tried -S, and it does work for normal text, but not when the 
quotation mark
is inside a code span (i.e., between backticks). I'll just hack around this 
until the
new version is there. Thanks!

Original comment by jeroenleeuwestein@gmail.com on 24 Sep 2009 at 5:25