On 2009-08-19, Jean Daniel wrote:

> Hello,

> I would like to include in my pdf an external file. It is some text
> which should not be interpreted, just included as is preferably in
> preformatted style. The documentation seems to say this is the way:

> .. raw:: html
>    :file: inclusion.html

> http://docutils.sourceforge.net/docs/ref/rst/directives.html#raw-data-pass-through

This is the way to include something that is already in the end-format of
your document.

I suppose you want to `include a file as literal block`__::

  .. include: inclusion.txt
     :literal:
     
__ 
http://docutils.sf.net/docs/ref/rst/directives.html#including-an-external-document-fragment

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to