[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to export an org file, to 2 different locations (in to different
From: |
Uwe Brauer |
Subject: |
Re: how to export an org file, to 2 different locations (in to different formats) |
Date: |
Sat, 28 May 2022 10:40:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>>> "JMM" == Juan Manuel Macías <maciaschain@posteo.net> writes:
> Uwe Brauer writes:
>> When I run it I obtain
>> if: Symbol’s value as variable is void: my-latex-export-path
>>
>> Another point is if I decide to export it to ods, I need to modify that
>> advice, but I agree the new function is more convenient.
> You must add the variables to the document as local variables, at the
> end of the document, like this:
> # Local Variables:
> # my-latex-export-path: "~/path/myfile.tex"
> # my-html-export-path: "~/path/myfile.html"
> # End:
Aha, I see, thanks
Just one observation, while this is more convenient your other method has the
benefit that it allows me to export to 2 files in different locations having
the *same* extension like
> # my-latex-export-path: "~/path/myfile1.tex"
> # my-latex-export-path: "~/path/myfile2.tex"
Which seems more complicated in the other approach.
I have also to confess, that I usually am I bit hesitant to use defadvice since
it changes the vanilla function, and might cause problems, but maybe this is
just me.
In any case thanks for both solution, that was very generous and helpful.
Developers: why to include some of this code in a addon file, if Juan agrees of
course!
Uwe
smime.p7s
Description: S/MIME cryptographic signature
- how to export an org file, to 2 different locations (in to different formats), Uwe Brauer, 2022/05/27
- Re: how to export an org file, to 2 different locations (in to different formats), Juan Manuel Macías, 2022/05/27
- Re: how to export an org file, to 2 different locations (in to different formats), Juan Manuel Macías, 2022/05/27
- Re: how to export an org file, to 2 different locations (in to different formats), Uwe Brauer, 2022/05/28
- Re: how to export an org file, to 2 different locations (in to different formats), Juan Manuel Macías, 2022/05/28
- Re: how to export an org file, to 2 different locations (in to different formats),
Uwe Brauer <=
- Re: how to export an org file, to 2 different locations (in to different formats), Juan Manuel Macías, 2022/05/28
- Re: how to export an org file, to 2 different locations (in to different formats), Ihor Radchenko, 2022/05/29
Re: how to export an org file, to 2 different locations (in to different formats), Uwe Brauer, 2022/05/28
[ODT?] (was: how to export an org file, to 2 different locations (in to different formats)), Uwe Brauer, 2022/05/28
Re: how to export an org file, to 2 different locations (in to different formats), Nick Dokos, 2022/05/31