Hi Eric et al.,
I now have a system I am happy with mostly for using LaTeX code blocks
heading to multiple export targets. The solution I am using is a
combination of what has been discussed in this thread (by-backend
customisation of headers for babel) and using noweb substitution for the
main
Hi Eric,
Eric S Fraga e.fr...@ucl.ac.uk writes:
Hi Eric et al.,
I now have a system I am happy with mostly for using LaTeX code blocks
heading to multiple export targets. The solution I am using is a
combination of what has been discussed in this thread (by-backend
customisation of
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
[...]
But since you have a dedicated latex export-only block, the simplest
solution would be to put the caption inside:
D'uh! That is so obvious (in hindsight ;-) blush... thanks!
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org
Eric Schulte schulte.e...@gmail.com writes:
[...]
My patch introduced a new variable `org-babel-latex-htlatex-packages'
which controls the packages added to these latex to SVG code block
snippets. The following should work.
(push {your-package} org-babel-latex-htlatex-packages)
Yes,
I updated the example again. Try this:
--8---cut here---start-8---
#+LATEX_HEADER: \usepackage{tikz}
* Tikz test
#+name: contents
#+header: :exports (if (and (boundp 'backend) (eq (org-export-backend-name
backend) (intern latex))) results none)
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Hi Eric,
[...]
I updated the example again. Try this:
Brilliant. Thanks. This works perfectly. I can see the changes you've
made and they make sense (in hindsight for me) except for the (intern
latex) bit... but this is probably to
Eric Schulte schulte.e...@gmail.com writes:
Building from this example, the attached patch to ob-latex.el combined
with the attached org-mode file should export the latex (tikz) code as
an inline SVG image to HTML and as embedded tikz to latex.
If this works generally I can commit the patch
Hi Eric,
Eric Schulte schulte.e...@gmail.com writes:
I updated the example again. Try this:
--8---cut here---start-8---
#+LATEX_HEADER: \usepackage{tikz}
* Tikz test
#+name: contents
#+header: :exports (if (and (boundp 'backend) (eq
Eric S Fraga e.fr...@ucl.ac.uk writes:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Hi Eric,
[...]
I updated the example again. Try this:
Brilliant. Thanks. This works perfectly. I can see the changes you've
made and they make sense (in hindsight for me) except for the
Rasmus ras...@gmx.us writes:
Eric Schulte schulte.e...@gmail.com writes:
Building from this example, the attached patch to ob-latex.el combined
with the attached org-mode file should export the latex (tikz) code as
an inline SVG image to HTML and as embedded tikz to latex.
If this works
This is very nice and works well for me. I would very much like to see
that in orgmode. Thanks a lot!
Great, I've just committed this patch. Thanks for your original example
which this simply extends.
How do I extend your example to output latex for latex, svg for html and
png in all
Hi Eric,
Eric Schulte schulte.e...@gmail.com writes:
This is very nice and works well for me. I would very much like to see
that in orgmode. Thanks a lot!
Great, I've just committed this patch. Thanks for your original example
which this simply extends.
How do I extend your example
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
Eric Schulte schulte.e...@gmail.com writes:
This is very nice and works well for me. I would very much like to see
that in orgmode. Thanks a lot!
Great, I've just committed this patch. Thanks for your original example
which this simply extends.
Thanks for this Eric! I've tried it out
Hi Eric,
Eric Schulte schulte.e...@gmail.com 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
Eric S Fraga e.fr...@ucl.ac.uk writes:
Eric Schulte schulte.e...@gmail.com writes:
This is very nice and works well for me. I would very much like to see
that in orgmode. Thanks a lot!
Great, I've just committed this patch. Thanks for your original example
which this simply extends.
Eric S Fraga e.fr...@ucl.ac.uk writes:
Hello again,
I am trying to get an example that worked with the old exporter to work
with the new exporter. The aim is to have a tikzpicture exported to
both LaTeX and HTML. The example is in the following message from over
a year ago now:
Rasmus ras...@gmx.us writes:
Is what I want possible with the new exporter? If so, I imagine the
test for the backend must be different now. Any pointers very welcome!
It needs to be added to `org-html-inline-image-rules' and some
potential translation should be added to
And did anybody tried the svg backend available from tikz, rather than
relying
on pdf conversion?
Fabrice
2013/7/10 Rasmus ras...@gmx.us
Rasmus ras...@gmx.us writes:
Is what I want possible with the new exporter? If so, I imagine the
test for the backend must be different now. Any
Rasmus ras...@gmx.us writes:
[...]
Tikz/pgf works for the latex exporter. Just insert it as a file link
(with extension tikz or pgf) or as latex verbatim code.
Yes, thanks. However, I guess I didn't explain very well what I was
looking for.
I use tikz all the time and typically enclose
Hi Eric,
Eric S Fraga e.fr...@ucl.ac.uk writes:
Rasmus ras...@gmx.us writes:
[...]
Tikz/pgf works for the latex exporter. Just insert it as a file link
(with extension tikz or pgf) or as latex verbatim code.
Yes, thanks. However, I guess I didn't explain very well what I was
looking
Hello again,
I am trying to get an example that worked with the old exporter to work
with the new exporter. The aim is to have a tikzpicture exported to
both LaTeX and HTML. The example is in the following message from over
a year ago now:
http://article.gmane.org/gmane.emacs.orgmode/53900
22 matches
Mail list logo