emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: svg file from tikz picture


From: Ihor Radchenko
Subject: Re: svg file from tikz picture
Date: Tue, 16 Aug 2022 19:22:42 +0800

reza <reza@housseini.me> writes:

>> It is a part of the same infrastructure, but the LaTeX templates for 
>> html/pdf/svg/tiks export are different for some reason. There is even a 
>> TODO comment in the code saying that things should better be unified. Alas.
>> 
>> Patches improving the situation are always welcome.
>
> Where would I put combined code for ox-latex.el and ob-latex.el?

I do not think that ob-latex code has much to add into ox-latex.
What I was referring to is the giant `cond' form in
org-babel-execute:latex, which produces different LaTeX templates
depending on the output file extension.

The ob-latex templates should probably remain specific to ob-latex since
they are tailored to produce (usually one-page) documents from short
LaTeX snippets.

-- 
Ihor Radchenko,
Org mode contributor,
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]