Login Form






Lost Password?
No account yet? Register

Syndicate

Polls

Already have planned this year's holidays?
 

Newsflash

 The "Forbes" has published a list of best places to vacation for singles. You can question the choice of American journalists, however, a good article to read. Let's see how to spend the American holiday single!
 
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
sphinx raw external file in preformatted style (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: sphinx raw external file in preformatted style
#5703
Jean Daniel (Visitor)
Click here to see the profile of this user
Birthdate:
sphinx raw external file in preformatted style  
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... So I tried .. raw:: latex    :file: mytext.txt But I do not know how to tell the Writer to include it as preformatted. Do you know how to do that? Thanks for your help,
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5704
Guenter Milde (Visitor)
Click here to see the profile of this user
Birthdate:
sphinx raw external file in preformatted style  
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... 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-exte... Günter
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5705
sphinx raw external file in preformatted style  
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... If you're using sphinx, how about the `literalinclude` directive?     http://sphinx.pocoo.org/markup/code.html Wouter van Heyst
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5706
Jean Daniel (Visitor)
Click here to see the profile of this user
Birthdate:
sphinx raw external file in preformatted style  
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... 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-exte... Günter
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5707
Jean Daniel (Visitor)
Click here to see the profile of this user
Birthdate:
sphinx raw external file in preformatted style  

If you're using sphinx, how about the `literalinclude` directive?    http://sphinx.pocoo.org/markup/code.html
The literal include is indeed very featureful, I'll need this for python code. Thank you. I am not sure I am happy there are two commands though. Maybe I wish the standard include had all the feature or maybe sphinx could have extended the same directive. Cheers
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Who's Online

We have 1 guest online

Where to vacation?
Introducing the proposals in the four corners of the travel world and practical advice on what to do to experience an unforgettable holiday. All this worry you on vacation just where in the deck chair and how to set the local delicacy to eat for dinner. Some had long since decided this year where previews.dodge-used.co.uk Holzhaus poşyczki he will spend a vacation. Others just are looking for a country that is worth a visit. Interesting information about the cities and regions - north, south, east and west - may become an inspiration for you and hint. Among our proposals will find something for everyone, both fans of active tourism, Fertighäuser Kiteboarding used cars and those for whom vacation is relaxing on the beach and wonderful sloth - regardless of whether the direction of travel set story, wanting fun, or search for new sensations for the palate.

How and where to go on holiday during the crisis?
Holiday season has already begun. This year's leave and holidays, Mehrgenerationenhaus used cars used cars however, may differ slightly from the past. Why? Market situation and therefore household budgets, many of us are limited in comparison with last years. An average family can not afford this year on holiday trips - so look for used cars Deutsch Polnisch Übersetzen 2 Polnische Pflegedienst alternative, cheaper forms of recreation. Holiday trips always are associated with pretty large expenditure. This year's holiday surveys were mainly aimed to the question regarding travel in a time of crisis. A survey of Polish Internet users, which the institute has conducted the ARC Market and Opinion in February 2009 on the basis of the content contained on forums, blogs and social networking sites that people implants warsaw moto.motorization4u.co.uk kina domowe feel the crisis. Approximately 26% of the respondents said they had to cancel the holiday due to its financial situation. Many people felt that he must shorten his journey or turn to cheaper foreign plans, national tours. Internet users pointed out that fear an increase in the cost of holidays because of the weakening position of a buck. Despite the crisis, a lot of people choose to the long-awaited vacation with the exception that reduces its length.