[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] tikz for multiple targets
From: |
Andreas Leha |
Subject: |
Re: [O] tikz for multiple targets |
Date: |
Fri, 12 Jul 2013 01:15:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi Eric,
Eric Schulte <address@hidden> writes:
>> Thanks for the quick answer. I am aware, that imagemagick is needed.
>> Let me rephrase my question using your example:
>>
>>> #+LATEX_HEADER: \usepackage{tikz}
>>>
>>> First execute the second code block, to define the convenience macro
>>> and to set the required new variables in ob-latex.el. Then export to
>>> HTML and to pdf to see the tree exported as an SVG image and as
>>> embedded tikz respectively.
>>>
>>> * Tikz test
>>> Here's a tree, exported to both html and pdf.
>>>
>>> #+header: :file (by-backend (html "tree.svg") (pdf 'nil) (t "tree.png"))
>>> #+header: :imagemagick
>>
>> I seem not to be able to apply (by-backend ) at the 'top-level, like so:
>>
>> #+header: (by-backend (html 'nil) (pdf 'nil) (t ":imagemagick"))
>>
>> Why is that?
>>
>
> Because elisp evaluation is available for header argument *values*, not
> for the entire header argument line. Instead you could do the
> following, or just use the example in my previous email which sets
> :imagemagick in all cases.
>
> #+header: :imagemagick (by-backend ((html pdf) 'nil) (t "yes"))
>
> Cheers,
I understand. Thanks a lot for the clarification.
Regards,
Andreas
- Re: [O] tikz for multiple targets, (continued)
- Re: [O] tikz for multiple targets, Eric S Fraga, 2013/07/10
- Re: [O] tikz for multiple targets, Andreas Leha, 2013/07/11
- Re: [O] tikz for multiple targets, Eric Schulte, 2013/07/11
- Re: [O] tikz for multiple targets, Andreas Leha, 2013/07/11
- Re: [O] tikz for multiple targets, Eric Schulte, 2013/07/11
- Re: [O] tikz for multiple targets,
Andreas Leha <=
- Re: [O] tikz for multiple targets, Eric S Fraga, 2013/07/11
- Re: [O] tikz for multiple targets, Eric Schulte, 2013/07/11
- Re: [O] tikz for multiple targets, Eric S Fraga, 2013/07/15
- Re: [O] tikz for multiple targets, Eric S Fraga, 2013/07/16
- Re: [O] tikz for multiple targets, Andreas Leha, 2013/07/16
- Re: [O] tikz for multiple targets, Eric S Fraga, 2013/07/16
- Re: [O] tikz for multiple targets, Eric S Fraga, 2013/07/11
- Re: [O] tikz for multiple targets, Eric Schulte, 2013/07/11