<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using HaXml to make a PDF slideshow from an Inkscape SVG</title>
	<atom:link href="http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/</link>
	<description>on Mathematics and Computation</description>
	<lastBuildDate>Mon, 12 May 2008 21:35:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Kenn</title>
		<link>http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/comment-page-1/#comment-32</link>
		<dc:creator>Kenn</dc:creator>
		<pubDate>Mon, 21 Apr 2008 15:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/#comment-32</guid>
		<description>&lt;p&gt;I got this 
&lt;a href=&quot;http://www.amazon.com/Bamboo-Small-Pen-Tablet-Only/dp/B000V9T2JA/ref=pd_bbs_sr_1?ie=UTF8&amp;s=electronics&amp;qid=1208792831&amp;sr=8-1&quot; rel=&quot;nofollow&quot;&gt;Wacom Bamboo&lt;/a&gt; mostly because it was so cheap.  (Student budget)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I got this 
<a href="http://www.amazon.com/Bamboo-Small-Pen-Tablet-Only/dp/B000V9T2JA/ref=pd_bbs_sr_1?ie=UTF8&amp;s=electronics&amp;qid=1208792831&amp;sr=8-1" rel="nofollow">Wacom Bamboo</a> mostly because it was so cheap.  (Student budget)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Björn Buckwalter</title>
		<link>http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/comment-page-1/#comment-31</link>
		<dc:creator>Björn Buckwalter</dc:creator>
		<pubDate>Mon, 21 Apr 2008 13:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/#comment-31</guid>
		<description>&lt;p&gt;Nice. What tablet model did you get? I&#039;d like to be able to embed images (in particular free-form drawings from a tablet) in my literate haskell code, perhaps as XML or some mime-encoded binary format(?). Would of course need a decent editor to go with it...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice. What tablet model did you get? I&#8217;d like to be able to embed images (in particular free-form drawings from a tablet) in my literate haskell code, perhaps as XML or some mime-encoded binary format(?). Would of course need a decent editor to go with it&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kenn</title>
		<link>http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/comment-page-1/#comment-30</link>
		<dc:creator>Kenn</dc:creator>
		<pubDate>Mon, 21 Apr 2008 05:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/#comment-30</guid>
		<description>&lt;p&gt;See also: &lt;a href=&#039;http://wiki.inkscape.org/wiki/index.php/Tools#Multipage_presentation_or_book&#039; rel=&quot;nofollow&quot;&gt;resources from the Inkscape Wiki&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>See also: <a href='http://wiki.inkscape.org/wiki/index.php/Tools#Multipage_presentation_or_book' rel="nofollow">resources from the Inkscape Wiki</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: ingolia</title>
		<link>http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/comment-page-1/#comment-29</link>
		<dc:creator>ingolia</dc:creator>
		<pubDate>Sun, 20 Apr 2008 20:15:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.kennknowles.com/blog/2008/04/20/using-haxml-to-make-a-pdf-slideshow-from-an-inkscape-svg/#comment-29</guid>
		<description>&lt;p&gt;I was just today thinking about making animated slides from an Inkscape SVG file by generating a set of PDF files with only a subset of layers.  This seems like a pretty good place to start.&lt;/p&gt;

&lt;p&gt;For this project, when you don&#039;t need to examine or update the top-level element itself, I found it useful to use&lt;/p&gt;

&lt;p&gt;myFilterElem cfilt (Elem _ _ contents) = concatMap cfilt contents
layerNames = map verbatim . myFilterElem getLayerNames . xmlElem&lt;/p&gt;

&lt;p&gt;and similarly&lt;/p&gt;

&lt;p&gt;filterLayers layerPred doc = myOnContent (visible &lt;code&gt;o&lt;/code&gt; onlyLayer) doc
    where onlyLayer = iffind &quot;inkscape:label&quot; layerOrBG keep
          layerOrBG l = if layerPred l then keep else none&lt;/p&gt;

&lt;p&gt;myOnContent cfilt (Document p s (Elem en ea contents) m)
    = Document p s (Elem en ea (concatMap cfilt contents)) m&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I was just today thinking about making animated slides from an Inkscape SVG file by generating a set of PDF files with only a subset of layers.  This seems like a pretty good place to start.</p>

<p>For this project, when you don&#8217;t need to examine or update the top-level element itself, I found it useful to use</p>

<p>myFilterElem cfilt (Elem _ _ contents) = concatMap cfilt contents
layerNames = map verbatim . myFilterElem getLayerNames . xmlElem</p>

<p>and similarly</p>

<p>filterLayers layerPred doc = myOnContent (visible <code>o</code> onlyLayer) doc
    where onlyLayer = iffind &#8220;inkscape:label&#8221; layerOrBG keep
          layerOrBG l = if layerPred l then keep else none</p>

<p>myOnContent cfilt (Document p s (Elem en ea contents) m)
    = Document p s (Elem en ea (concatMap cfilt contents)) m</p>]]></content:encoded>
	</item>
</channel>
</rss>

