[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to expand macro in LaTeX export? How to use different options pe
From: |
Greg Minshall |
Subject: |
Re: How to expand macro in LaTeX export? How to use different options per export type? |
Date: |
Thu, 01 Apr 2021 06:47:23 +0300 |
Jean Louis,
when publishing, one presents a data structure
~org-publish-project-alist~ that defines the back ends and options for
publishing actions. the options are here:
----
https://orgmode.org/manual/Publishing-options.html#Publishing-options
----
below is an example. as you can see, publishing to different back ends
can have different values for a given option. (well, not that i do it
that much here...)
cheers, Greg
----
(setq org-publish-project-alist
'(("ess-org-html"
:with-toc nil
:base-directory "./"
:publishing-directory "./artefacts"
:exclude ".*"
:include ("ess-org.org")
:publishing-function org-html-publish-to-html)
("ess-org-pdf"
:with-toc nil
:base-directory "./"
:publishing-directory "./artefacts"
:exclude ".*"
:include ("ess-org.org")
:publishing-function org-latex-publish-to-pdf)
("ess-org-beamer-html"
:with-toc nil
:base-directory "./"
:publishing-directory "./artefacts"
:exclude ".*"
:include ("ess-org-beamer.org")
:publishing-function org-html-publish-to-html)
("ess-org-beamer-pdf"
:with-toc nil
:base-directory "./"
:publishing-directory "./artefacts"
:exclude ".*"
:include ("ess-org-beamer.org")
:publishing-function org-beamer-publish-to-pdf)
("ess-org" :components ("ess-org-html"
"ess-org-pdf"
"ess-org-beamer-html"
"ess-org-beamer-pdf"))))
Re: How to expand macro in LaTeX export? How to use different options per export type?, Greg Minshall, 2021/03/31