Pedro Andres Aranda Gutierrez <[email protected]> writes:
>> Consider a user who wants to set org-latex-fontspec-config for latex
>> export and then happen to export to beamer. The export will be broken
>> unless the variable is temporarily set to nil. This is awkward.
>> Our canonical way to deal with such conflicts between derived backends
>> is overriding parent backend option. Like how beamer does it for
>> LATEX_CLASS option.
>
> This is not my experience. I will show @emacsconf. I’ve been using
> FONTSPEC with beamer and lualatex since I wrote the code well before
> the summer.
Then, I do not understand what you mean by
If you do not want or need any specific configuration for the
~fontspec~ package, make sure that ~org-latex-fontspec-config~ is set
to ~nil~ (this is the default value). This is normally the case when
exporting to ~beamer~, where you most probably want to use the fonts
defined in the template.
(All other changes are ok)
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>