On 2012-02-10, Jose Gomez-Dans wrote: > I am grabbing data from some configuration files using literalinclude. > These files are plain ASCII and are properly processed for the HTML > documentation. For the PDF, however, the lines are too long, and get > clipped out. I understand that this is because sphinx is putting the > contents into a Verbatim environment, that doesn't do line breaks.
> I can't modify the input files and split them, as they are > configuration files. I was wondering whether there's something to let > latex/sphinx know that I want those lines wrapped? I think the > listings or minted packages deals with this problem, but haven't seen > them used in conjunction with sphinx. The Docutils latex writer has a config option to use the listings environment for literal blocks. I don't know whether this is ported to Sphinx, though. Another option is to define a different "teletype" font in the LaTeX preamble, e.g. with \renewcommand{\ttdefault}{txtt} Günter -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.