Hi, 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)? thx Andreas
Hallo Andreas,
Andreas Kalex <Andreas.Kalex@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
Bastien <bzg@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
Hi François, François Pinard <pinard@iro.umontreal.ca> writes: > Bastien <bzg@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