[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Feature Request: Specifying a 'master file' in included fil
From: |
Rasmus |
Subject: |
Re: [O] Bug: Feature Request: Specifying a 'master file' in included files [9.0.1 (9.0.1-elpa @ /home/schnecki/.emacs.d/elpa/org-20161118/)] |
Date: |
Wed, 14 Dec 2016 10:27:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Hi Manuel,
Manuel Schneckenreither <address@hidden> writes:
> I have a feature request. It would be awesome if there was a master file setup
> similar to auctex such that whenever an export is started while residing in an
> included file the export is automatically called from the master buffer (main
> file
> with headers and all includes). This would generate the desired exported
> document
> (html,LaTeX,...). Currently, something similar may be done using the
> publishing,
> but this only works for HTML exports. I'm thinking of something like
> following at
> the top of the included file:
Why does it only work for html export? You can chose whichever export
backend you want for publishing projects. There’s even a "current
project" option in C-c C-e. Of course you’d need to explicitly add the
projects you need.
> # Set master in file introduction.org
> #+MASTER_FILE: main.org # possibly even with relative path, like ../main.org
I have no opinion on whether it’s worth having such a keyword.
Thanks,
Rasmus
--
This space is left intentionally blank