On 2016-03-08 11:33, Alan Schmitt writes:
> Thank you for the suggestion. At the moment I use a macro (because I
> need to put the resulting figure in a figure environment, as I want a
> label and caption), but I will give this a try.
I'm fairly happy with what I ended up doing (using a macro as
On 2016-03-07 17:34, "Charles C. Berry" writes:
> On Mon, 7 Mar 2016, Alan Schmitt wrote:
>
>> Hello,
>>
>> I'm trying to adapt the example that allows to export a figure both to
>> tikz and to png so that I don't have to manually add all the header
>> lines.
>>
>
> Maybe this gets you a step clo
On Mon, 7 Mar 2016, Alan Schmitt wrote:
Hello,
I'm trying to adapt the example that allows to export a figure both to
tikz and to png so that I don't have to manually add all the header
lines.
Maybe this gets you a step closer
#+begin_src emacs-lisp :results silent
(defmacro by-backend
Hello,
I'm trying to adapt the example that allows to export a figure both to
tikz and to png so that I don't have to manually add all the header
lines.
Here is what I tried:
#+LATEX_HEADER: \usepackage{tikz}
* Tikz test
Here's a tree, exported to both html and pdf.
#+header: :file (by-backend