Hullo Sphinx List,

I believe I have a case where I need specific content based on the final output format. Is there a way to tell Sphinx to only use a certain section of the ReST document based on the final output format?

My problem is that I have a necessarily long line of pre-formatted text (code example). This is no problem for HTML where the browser will simply show a scrollbar and the user can see what they need to. However, for PDF output (latexpdf), the line does not wrap, and therefore gets' cut off at the page boundary. For the PDF case, I'd like to supply an alternate version with a minor comment about the formatting difference.

Thanks,

Kevin

--
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to