emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* basename of exported subtree?
@ 2015-07-20 13:58 Matt Price
  2015-07-20 14:06 ` Suvayu Ali
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Price @ 2015-07-20 13:58 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

Is it possible to set the basename of an exported subtree to something
*other* than the name of the parent file -- to, say, the subtree headline,
or some property thereof?  Thank you!

[-- Attachment #2: Type: text/html, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: basename of exported subtree?
  2015-07-20 13:58 basename of exported subtree? Matt Price
@ 2015-07-20 14:06 ` Suvayu Ali
  2015-07-20 14:19   ` Leslie Harlley Watter
  0 siblings, 1 reply; 5+ messages in thread
From: Suvayu Ali @ 2015-07-20 14:06 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Jul 20, 2015 at 09:58:26AM -0400, Matt Price wrote:
> Is it possible to set the basename of an exported subtree to something
> *other* than the name of the parent file -- to, say, the subtree headline,
> or some property thereof?  Thank you!

Doesn't setting the EXPORT_FILE_NAME property work?

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: basename of exported subtree?
  2015-07-20 14:06 ` Suvayu Ali
@ 2015-07-20 14:19   ` Leslie Harlley Watter
  2015-07-20 18:12     ` Matt Price
  0 siblings, 1 reply; 5+ messages in thread
From: Leslie Harlley Watter @ 2015-07-20 14:19 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]

To change the title of the exported subtree you can use a

#+TITLE: Other title than your subtree title

Below your subtree.

Check this link: http://orgmode.org/manual/Export-settings.html

----
When exporting only a subtree, each of the previous keywords3 can be overridden locally by special node properties. These begin with ‘EXPORT_’, followed by the name of the keyword they supplant. For example, ‘DATE’ and ‘OPTIONS’ keywords become, respectively, ‘EXPORT_DATE’ and ‘EXPORT_OPTIONS’ properties. 
---- 

You could also try to add EXPORT_TITLE: My other title 

as a property.


Cheers,

LEslie


Em Mon, Jul 20, 2015 at 04:06:53PM +0200, Suvayu Ali escreveu o seguinte:
>) Date: Mon, 20 Jul 2015 16:06:53 +0200
>) From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
>) To: emacs-orgmode@gnu.org
>) Subject: Re: [O] basename of exported subtree?
>) X-Original-To: leslie@watter.net
>) 
>) On Mon, Jul 20, 2015 at 09:58:26AM -0400, Matt Price wrote:
>) > Is it possible to set the basename of an exported subtree to something
>) > *other* than the name of the parent file -- to, say, the subtree headline,
>) > or some property thereof?  Thank you!
>) 
>) Doesn't setting the EXPORT_FILE_NAME property work?
>) 
>) -- 
>) Suvayu
>) 
>) Open source is the future. It sets us free.
>) 
>) :-- final da mensagem Re: [O] basename of exported subtree? de Suvayu Ali <fatkasuvayu+linux@gmail.com> --:

-- 
Leslie H. Watter
 "Always do right.  This will gratify some people and astonish the rest."
		-- Mark Twain

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: basename of exported subtree?
  2015-07-20 14:19   ` Leslie Harlley Watter
@ 2015-07-20 18:12     ` Matt Price
  2015-07-21  8:43       ` Suvayu Ali
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Price @ 2015-07-20 18:12 UTC (permalink / raw)
  Cc: Org Mode

[-- Attachment #1: Type: text/plain, Size: 2103 bytes --]

On Mon, Jul 20, 2015 at 10:19 AM, Leslie Harlley Watter <leslie@watter.org>
wrote:

> To change the title of the exported subtree you can use a
>
> #+TITLE: Other title than your subtree title
>
> Below your subtree.
>
> Check this link: http://orgmode.org/manual/Export-settings.html
>
> ----
> When exporting only a subtree, each of the previous keywords3 can be
> overridden locally by special node properties. These begin with ‘EXPORT_’,
> followed by the name of the keyword they supplant. For example, ‘DATE’ and
> ‘OPTIONS’ keywords become, respectively, ‘EXPORT_DATE’ and ‘EXPORT_OPTIONS’
> properties.
> ----
>
> You could also try to add EXPORT_TITLE: My other title
>

Neither of these changed the actual file name, but Suvayu's euggestion --
setting the EXPORT_FILE_NAME property -- did the trick.  Thank you both!  I
was unable to find this in the org documentation on my own, though now that
I am able to search it I find that it is listed in 12.3, export settings.
Sorry and thank you!
m


> as a property.
>
>
> Cheers,
>
> LEslie
>
>
> Em Mon, Jul 20, 2015 at 04:06:53PM +0200, Suvayu Ali escreveu o seguinte:
> >) Date: Mon, 20 Jul 2015 16:06:53 +0200
> >) From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
> >) To: emacs-orgmode@gnu.org
> >) Subject: Re: [O] basename of exported subtree?
> >) X-Original-To: leslie@watter.net
> >)
> >) On Mon, Jul 20, 2015 at 09:58:26AM -0400, Matt Price wrote:
> >) > Is it possible to set the basename of an exported subtree to something
> >) > *other* than the name of the parent file -- to, say, the subtree
> headline,
> >) > or some property thereof?  Thank you!
> >)
> >) Doesn't setting the EXPORT_FILE_NAME property work?
> >)
> >) --
> >) Suvayu
> >)
> >) Open source is the future. It sets us free.
> >)
> >) :-- final da mensagem Re: [O] basename of exported subtree? de Suvayu
> Ali <fatkasuvayu+linux@gmail.com> --:
>
> --
> Leslie H. Watter
>  "Always do right.  This will gratify some people and astonish the rest."
>                 -- Mark Twain
>

[-- Attachment #2: Type: text/html, Size: 3080 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: basename of exported subtree?
  2015-07-20 18:12     ` Matt Price
@ 2015-07-21  8:43       ` Suvayu Ali
  0 siblings, 0 replies; 5+ messages in thread
From: Suvayu Ali @ 2015-07-21  8:43 UTC (permalink / raw)
  To: emacs-orgmode

Hi Matt,

On Mon, Jul 20, 2015 at 02:12:17PM -0400, Matt Price wrote:
> 
> Neither of these changed the actual file name, but Suvayu's euggestion --
> setting the EXPORT_FILE_NAME property -- did the trick.  Thank you both!  I
> was unable to find this in the org documentation on my own, though now that
> I am able to search it I find that it is listed in 12.3, export settings.

The first guess for most subtree export properties is, prepend EXPORT_
to whatever was the keyword for a normal export.  So you can have,
EXPORT_TITLE, EXPORT_AUTHOR, EXPORT_OPTIONS, etc.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-21  8:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-20 13:58 basename of exported subtree? Matt Price
2015-07-20 14:06 ` Suvayu Ali
2015-07-20 14:19   ` Leslie Harlley Watter
2015-07-20 18:12     ` Matt Price
2015-07-21  8:43       ` Suvayu Ali

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).