-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Aug 19, 2015 at 11:45:37PM -0400, Jay Dixit wrote:
> I do something similar to change export options between HTML and LaTeX:
> 
> (defun my-org-export-change-options (plist backend)
>   (cond
>    ((equal backend 'html)
>     (plist-put plist :with-toc nil)
>     (plist-put plist :section-numbers nil))
>    ((equal backend 'latex)
>     (plist-put plist :with-toc t)
>     (plist-put plist :section-numbers t)))
>   plist)
> (add-to-list 'org-export-filter-options-functions
> 'my-org-export-change-options)

Thanks!

this one has the charm of being a more centralized solution.

While the macro thingie does the trick for me (for now), I'll give
it a try.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXVaR0ACgkQBcgs9XrR2kaBCgCeJnYBnUtZmYI9mt7hsKLaPsuv
n50An3o03vZWGIihXhQfM8/e6WFeb5AA
=UY8i
-----END PGP SIGNATURE-----

Reply via email to