* org Publish subtree to pdf
@ 2013-08-17 1:58 Martin Leduc
2013-08-17 8:26 ` Suvayu Ali
2013-08-17 8:28 ` Nicolas Goaziou
0 siblings, 2 replies; 4+ messages in thread
From: Martin Leduc @ 2013-08-17 1:58 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I have a large org file with several projects in it. I can export one of
them (a subtree) to pdf by using C-c C-e C-s l o. However, I would like to
use the Publish function since it allows to export the pdf to another folder.
However, by using C-s (Subtree option) and P (for publish) and x (to choose
template from org-publish-project-alist), the Subtree option does not seem
to work well. The entire tree is exported though without the content of
higher-level headlines.
Is it the normal behavior to be expected from the publish function ? What is
the best way to export in pdf to another location ?
Thanks,
Martin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org Publish subtree to pdf
2013-08-17 1:58 org Publish subtree to pdf Martin Leduc
@ 2013-08-17 8:26 ` Suvayu Ali
2013-08-17 8:28 ` Nicolas Goaziou
1 sibling, 0 replies; 4+ messages in thread
From: Suvayu Ali @ 2013-08-17 8:26 UTC (permalink / raw)
To: emacs-orgmode
Hi Martin,
On Sat, Aug 17, 2013 at 01:58:57AM +0000, Martin Leduc wrote:
>
> Is it the normal behavior to be expected from the publish function ?
There is some setup required to use publish. (info "(org) Publishing")
> What is the best way to export in pdf to another location ?
You can simply set the :EXPORT_FILE_NAME: property with a filename in a
subdirectory. Something like:
* subtree to export
:PROPERTIES:
:EXPORT_FILE_NAME: subdir/exported.pdf
:END:
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org Publish subtree to pdf
2013-08-17 1:58 org Publish subtree to pdf Martin Leduc
2013-08-17 8:26 ` Suvayu Ali
@ 2013-08-17 8:28 ` Nicolas Goaziou
2013-08-17 17:19 ` Martin Leduc
1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2013-08-17 8:28 UTC (permalink / raw)
To: Martin Leduc; +Cc: emacs-orgmode
Hello,
Martin Leduc <mart_00@hotmail.com> writes:
> I have a large org file with several projects in it. I can export one of
> them (a subtree) to pdf by using C-c C-e C-s l o. However, I would like to
> use the Publish function since it allows to export the pdf to another folder.
>
> However, by using C-s (Subtree option) and P (for publish) and x (to choose
> template from org-publish-project-alist), the Subtree option does not seem
> to work well.
Subtree export is not meant to be used along with publishing. The latter
works on complete files only.
> The entire tree is exported though without the content of higher-level
> headlines.
>
> Is it the normal behavior to be expected from the publish function ? What is
> the best way to export in pdf to another location ?
Use EXPORT_FILE_NAME node property. See penultimate paragraph from
section 12.3 in the manual.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org Publish subtree to pdf
2013-08-17 8:28 ` Nicolas Goaziou
@ 2013-08-17 17:19 ` Martin Leduc
0 siblings, 0 replies; 4+ messages in thread
From: Martin Leduc @ 2013-08-17 17:19 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
Thanks for your answers. That worked perfectly.
Martin
> From: n.goaziou@gmail.com
> To: mart_00@hotmail.com
> CC: emacs-orgmode@gnu.org
> Subject: Re: org Publish subtree to pdf
> Date: Sat, 17 Aug 2013 10:28:06 +0200
>
> Hello,
>
> Martin Leduc <mart_00@hotmail.com> writes:
>
> > I have a large org file with several projects in it. I can export one of
> > them (a subtree) to pdf by using C-c C-e C-s l o. However, I would like to
> > use the Publish function since it allows to export the pdf to another folder.
> >
> > However, by using C-s (Subtree option) and P (for publish) and x (to choose
> > template from org-publish-project-alist), the Subtree option does not seem
> > to work well.
>
> Subtree export is not meant to be used along with publishing. The latter
> works on complete files only.
>
> > The entire tree is exported though without the content of higher-level
> > headlines.
> >
> > Is it the normal behavior to be expected from the publish function ? What is
> > the best way to export in pdf to another location ?
>
> Use EXPORT_FILE_NAME node property. See penultimate paragraph from
> section 12.3 in the manual.
>
>
> Regards,
>
> --
> Nicolas Goaziou
[-- Attachment #2: Type: text/html, Size: 1696 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-17 17:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-17 1:58 org Publish subtree to pdf Martin Leduc
2013-08-17 8:26 ` Suvayu Ali
2013-08-17 8:28 ` Nicolas Goaziou
2013-08-17 17:19 ` Martin Leduc
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.