Re: [O] Display/print text only for export

2012-05-05 Thread François Pinard
Bastien b...@gnu.org writes:

 Does #+INCLUDE: suits your needs?

Oh!  I never used a colon after #+INCLUDE.  Checking the Org manual, the
colon is systematically there, except within the last paragraph of node
/Updating files/.  Maybe it could be added for consistency?

I did not notice my error as everything worked without the colon.
Adding it everywhere in my files, things still works.  Should Org be
more strict about this?  I would have corrected myself earlier...

François



Re: [O] Display/print text only for export

2012-05-05 Thread Bastien
Hi François,

François Pinard pin...@iro.umontreal.ca writes:

 Bastien b...@gnu.org writes:

 Does #+INCLUDE: suits your needs?

 Oh!  I never used a colon after #+INCLUDE.  Checking the Org manual, the
 colon is systematically there, except within the last paragraph of node
 /Updating files/.  Maybe it could be added for consistency?

Done, thanks.

 I did not notice my error as everything worked without the colon.
 Adding it everywhere in my files, things still works.  Should Org be
 more strict about this?  I would have corrected myself earlier...

The manual is as strict as possible now, but yes, there are places where
the code is still liberal about this.  If it is a problem in such places,  
thanks for taking the time to suggest a fix.

Best,

-- 
 Bastien



Re: [O] Display/print text only for export

2012-05-01 Thread Bastien
Hallo Andreas,

Andreas Kalex andreas.ka...@gmx.de writes:

 I am writing some text in org-mode, in which I will use former
 chapters from the same file and sometimes from other files. 
 Is it possible to use a link for these parts that they should only be
 displayed and/or printed for export (e.g. in pdf)?

Does #+INCLUDE: suits your needs?  It works for exporting, it cannot
display included files in the buffer.

HTH,

-- 
 Bastien