emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+bind options ignored during async export
@ 2018-03-26 14:39 Julien Cubizolles
  2018-03-26 16:19 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Cubizolles @ 2018-03-26 14:39 UTC (permalink / raw)
  To: emacs-orgmode

The options specified by #+ keywords are set during asynchronous export
whereas those specified by the #+BIND: method aren't. In the following
example, org-latex-image-default-width is set to .25\linewidth only in
synchronous export whereas the author is set regardless of the type of
export.

--8<---------------cut here---------------start------------->8---
#+AUTHOR: myself
#+BIND: org-latex-image-default-width ".25\\linewidth"

* 1st heading
[[file:some_picture.png]]
--8<---------------cut here---------------end--------------->8---

I think both the #+KEYWORD: and #+BIND: should have the same behaviour
whereas one is using async export or not.

Julien.

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

* Re: #+bind options ignored during async export
  2018-03-26 14:39 #+bind options ignored during async export Julien Cubizolles
@ 2018-03-26 16:19 ` Nicolas Goaziou
  2018-03-27  9:47   ` Julien Cubizolles
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2018-03-26 16:19 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

Hello,

Julien Cubizolles <j.cubizolles@free.fr> writes:

> The options specified by #+ keywords are set during asynchronous export
> whereas those specified by the #+BIND: method aren't. In the following
> example, org-latex-image-default-width is set to .25\linewidth only in
> synchronous export whereas the author is set regardless of the type of
> export.
>
> #+AUTHOR: myself
> #+BIND: org-latex-image-default-width ".25\\linewidth"
>
> * 1st heading
> [[file:some_picture.png]]
>
> I think both the #+KEYWORD: and #+BIND: should have the same behaviour
> whereas one is using async export or not.

I don't think it is related. Maybe `org-export-allow-bind-keywords' is
nil in your async configuration.

Regards,

-- 
Nicolas Goaziou

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

* Re: #+bind options ignored during async export
  2018-03-26 16:19 ` Nicolas Goaziou
@ 2018-03-27  9:47   ` Julien Cubizolles
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2018-03-27  9:47 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Julien Cubizolles <j.cubizolles@free.fr> writes:

> I don't think it is related. Maybe `org-export-allow-bind-keywords' is
> nil in your async configuration.

You're right, it was nil. When it is set, #+BIND: works as
expected. Thanks.

Julien.

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

end of thread, other threads:[~2018-03-27  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-26 14:39 #+bind options ignored during async export Julien Cubizolles
2018-03-26 16:19 ` Nicolas Goaziou
2018-03-27  9:47   ` Julien Cubizolles

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).