<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dzu's Blog (Einträge über svg)</title><link>https://blog.lazy-evaluation.net/</link><description></description><atom:link href="https://blog.lazy-evaluation.net/de/categories/svg.xml" rel="self" type="application/rss+xml"></atom:link><language>de</language><copyright>Contents © 2025 &lt;a href="mailto:dzu@member.fsf.org"&gt;Detlev Zundel&lt;/a&gt; </copyright><lastBuildDate>Wed, 10 Dec 2025 16:11:12 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Orgmode And Tikz Diagrams</title><link>https://blog.lazy-evaluation.net/de/posts/orgmode-tikz.html?pk_campaign=feed</link><dc:creator>Detlev Zundel</dc:creator><description>&lt;div&gt;&lt;div id="orgcc92790" class="figure"&gt;
&lt;p&gt;&lt;img src="https://blog.lazy-evaluation.net/de/images-generated/ob-tikz-example.svg" alt="ob-tikz-example.svg" class="org-svg"&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;
Of course it is easy to include a diagram with a post, but the
standard procedure to create/edit the diagram with an external GUI
tool does not resonate with me.  Even back in my diploma thesis I fell
in love with Donald Knuth's &lt;a href="https://en.wikipedia.org/wiki/MetaPost"&gt;MetaPost&lt;/a&gt; system to describe diagrams
in a declarative way and let the tool do the drawing.
&lt;/p&gt;

&lt;p&gt;
For some &lt;a href="https://latex-beamer.com/quick-start/"&gt;LaTeX Beamer&lt;/a&gt; presentations I used &lt;a href="http://ditaa.sourceforge.net/"&gt;ditaa&lt;/a&gt; in the meantime but
inside a &lt;b&gt;make&lt;/b&gt; flow that took care of the dependencies.  The diagrams
and the presentation were strictly separated.  For the blog posts I
did not yet have a good solution, until I switched to blogging in
orgmode.  Compared to ReST and Asciidoc posts, Emacs orgmode provides
a much richer ecosystem with lots of hooks into other systems by means
of the &lt;a href="https://orgmode.org/worg/org-contrib/babel/"&gt;org-babel&lt;/a&gt; system.
&lt;/p&gt;

&lt;p&gt;
So by switching the post source format, blogging in orgmode should
actually hook into e.g. Graphviz out of the box.  And indeed with a
little fine tuning, this is an amazingly elegant way to include
visualizations in the posts.
&lt;/p&gt;

&lt;p&gt;
As org-mode (through exporting to LaTex Beamer) has also become the
source format of my presentations, this new freedom easily extends
into presentations and even regular PDF documents by exporting to
LaTeX only.  So the means shown here to produce diagrams for the blog
are also usable when you want to generate Beamer presentations or
LaTeX documents.  As we will see, the choice of output formats is
linked to the targeted use-case.
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blog.lazy-evaluation.net/de/posts/orgmode-tikz.html?pk_campaign=feed"&gt;Weiterlesen…&lt;/a&gt; (1 min verbleiben zum Lesen)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.lazy-evaluation.net/de/posts/orgmode-tikz.html</guid><pubDate>Thu, 20 Mar 2025 20:38:34 GMT</pubDate></item><item><title>Inline Diagrams in Orgmode</title><link>https://blog.lazy-evaluation.net/de/posts/orgmode-diagrams.html?pk_campaign=feed</link><dc:creator>Detlev Zundel</dc:creator><description>&lt;div&gt;&lt;div style="text-align:center" class="imageblock" id="org01d9b7f"&gt;

&lt;div id="orgc4fb143" class="figure"&gt;
&lt;p&gt;&lt;img src="https://blog.lazy-evaluation.net/de/images-generated/orgmode-export.svg" alt="orgmode-export.svg" class="org-svg"&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;
Of course it is easy to include a diagram with a post, but the
standard procedure to create/edit the diagram with an external GUI
tool does not resonate with me.  Even back in my diploma thesis I fell
in love with Donald Knuth's &lt;a href="https://en.wikipedia.org/wiki/MetaPost"&gt;MetaPost&lt;/a&gt; system to describe diagrams
in a declarative way and let the tool do the drawing.
&lt;/p&gt;

&lt;p&gt;
For some &lt;a href="https://latex-beamer.com/quick-start/"&gt;LaTeX Beamer&lt;/a&gt; presentations I used &lt;a href="http://ditaa.sourceforge.net/"&gt;ditaa&lt;/a&gt; in the meantime but
inside a &lt;b&gt;make&lt;/b&gt; flow that took care of the dependencies.  The diagrams
and the presentation were strictly separated.  For the blog posts I
did not yet have a good solution, until I switched to blogging in
orgmode.  Compared to ReST and Asciidoc posts, Emacs orgmode provides
a much richer ecosystem with lots of hooks into other systems by means
of the &lt;a href="https://orgmode.org/worg/org-contrib/babel/"&gt;org-babel&lt;/a&gt; system.
&lt;/p&gt;

&lt;p&gt;
So by switching the post source format, blogging in orgmode should
actually hook into e.g. Graphviz out of the box.  And indeed with a
little fine tuning, this is an amazingly elegant way to include
visualizations in the posts.
&lt;/p&gt;

&lt;p&gt;
As org-mode (through exporting to LaTex Beamer) has also become the
source format of my presentations, this new freedom easily extends
into presentations and even regular PDF documents by exporting to
LaTeX only.  So the means shown here to produce diagrams for the blog
are also usable when you want to generate Beamer presentations or
LaTeX documents.  As we will see, the choice of output formats is
linked to the targeted use-case.
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blog.lazy-evaluation.net/de/posts/orgmode-diagrams.html?pk_campaign=feed"&gt;Weiterlesen…&lt;/a&gt; (9 min verbleiben zum Lesen)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.lazy-evaluation.net/de/posts/orgmode-diagrams.html</guid><pubDate>Fri, 30 Sep 2022 19:38:34 GMT</pubDate></item></channel></rss>