8000 DocBook 4.5 with <code>..</code> or <literal>...</literal> tags and line breaks / spaces · Issue #7821 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
DocBook 4.5 with <code>..</code> or <literal>...</literal> tags and line breaks / spaces #7821
Closed
@jcurl

Description

@jcurl

Problem: When converting a docbook 4.5 document, that I've created using XML Mind Editor as a book to PDF (see my commit), the resulting PDF takes spaces literally, while DocBook conversion tools do not.

I've tried replacing <literal>...</literal> with <code>...</code> without effect.

I'd like to ask this great project if anyone knows how I can configure formatting of code to allow wrapping of lines and ignore multiple spaces, which XXE inserts in the raw text. I'd like to avoid where possible modifying the document by hand, as XXE will "automatically" put back the new lines.

I'm wondering if this is a bug (difference in other tools, subjective), and how I might customize this behaviour.

Version: I'm using the version of pandoc that comes with Ubuntu 20.04 via the apt-install package.

pandoc 2.5
Compiled with pandoc-types 1.17.5.4, texmath 0.11.2.2, skylighting 0.7.7
Default user data directory: /home/jason/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.

Reproducibility: See the DocBook at output at GitHub, e.g. page 11, 12, 18.

Attempts to Solve:

  • I didn't find anything in Google that I could use. Most documentation is about markdown conversion.
  • Changed literal to code and it didn't help
  • Tried looking for something that I could add to my metadata file, but alas, no luck (yet).

Again, thank you for the wonderful project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0