emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Charles Millar <millarc@verizon.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [ANN] Add EXPORT_FILE_NAME keyword
Date: Wed, 21 Dec 2016 10:32:57 +0100	[thread overview]
Message-ID: <87tw9xy6d2.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <93ae6cda-6077-125c-7bdf-979f197d0573@verizon.net> (Charles Millar's message of "Tue, 20 Dec 2016 19:25:18 -0500")

Hello,

Charles Millar <millarc@verizon.net> writes:


> However, I tried to export a subheading with, e.g.
> #+EXPORT_FILE_NAME: /foo/baz,
> and
> the result is /foo/bar.pdf,     not /foo/baz.pdf

Where does "bar" come from?

> This is not the same result that using the PROPERTIES construct in
> a subheading, which will export with the subheading :EXPORT_FILE_NAME:
> /foo/baz, which does generate a short document named /foo/baz.pdf
>
> Should we be able to apply the new #+EXPORT_FILE_NAME: to a subheading
> or does it work only for an entire buffer?

As every keyword (i.e., #+KEYWORD syntax), it applies to the whole
document. However export properties (i.e., :PROPERTY: syntax) override
them.

> Org mode version 9.0.2 (release_9.0.2-132-gc130b2 @
> /usr/local/share/emacs/site-lisp/org-mode/lisp/)
> GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of
> 2015-03-07 on trouble, modified by Debian
>
> 2. An editorial suggestion for the realted ORGNEWS item which
> currently reads:
>
> Simiralry to ~:EXPORT_FILE_NAME:~ property, this keyword allow to
> specify the name of the output file upon exporting the document. This
> has also an effect on publishing.
>
> be changed along the following lines?
>
> Similar to ~:EPORT_FILE_NAME:~ property, this keyword allows the user
> to specify the name of the output file upon exporting the document.
> This also has an effect on publishing (or "This also effects
> publishing."

Of course. Thank you.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-12-21  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-20 16:17 [ANN] Add EXPORT_FILE_NAME keyword Nicolas Goaziou
2016-12-21  0:25 ` Charles Millar
2016-12-21  9:32   ` Nicolas Goaziou [this message]
2016-12-21 12:11     ` Charles Millar
2016-12-21 15:43       ` Nicolas Goaziou
2016-12-21 17:30     ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tw9xy6d2.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=millarc@verizon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).