<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Inasmuch as... &#187; xmlroff</title>
	<atom:link href="http://inasmuch.as/category/xmlroff/feed/" rel="self" type="application/rss+xml" />
	<link>http://inasmuch.as</link>
	<description>...Life&#039;s but a walking shadow</description>
	<lastBuildDate>Mon, 16 Aug 2010 10:47:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Sizing a graphic to the font size in XSL FO</title>
		<link>http://inasmuch.as/2009/03/16/sizing-a-graphic-to-the-font-size/</link>
		<comments>http://inasmuch.as/2009/03/16/sizing-a-graphic-to-the-font-size/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 10:02:59 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[XSL]]></category>
		<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/?p=155</guid>
		<description><![CDATA[Making a poster about XSLT usage in xmlroff for XML Prague, the fun moment was replacing the uses of &#8220;xmlroff&#8221; with the xmlroff logo. To do the deed, I added some XSL attributes to the &#60;inline-graphic&#62; element in my well-formed XML.  I also made an entity declaration for &#38;xmlroff; so I wouldn&#8217;t have to repeat [...]]]></description>
			<content:encoded><![CDATA[<p>Making a poster about XSLT usage in xmlroff for XML Prague, the fun moment was replacing the uses of &#8220;xmlroff&#8221; with the xmlroff logo.</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-156" title="xmlroff-logo-font-size" src="http://tkg.menteith.com/wp-content/uploads/2009/03/xmlroff-logo-font-size.png" alt="xmlroff-logo-font-size" /></p>
<p><span id="more-155"></span>To do the deed, I added some XSL attributes to the <code>&lt;inline-graphic&gt;</code> element in my well-formed XML.  I also made an entity declaration for <code>&amp;xmlroff;</code> so I wouldn&#8217;t have to repeat the markup each time (and so, having got it right once, it would be right everywhere).</p>
<pre style="text-align: left;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE poster [
&lt;!ENTITY xmlroff '&lt;inline-graphic src="xmlroff.svg" alignment-adjust="-22.5&amp;#37;"
height="from-parent(&amp;apos;font-size&amp;apos;)"/&gt;' &gt;
]&gt;
&lt;poster&gt;
&lt;title&gt;Using XSLT in &amp;xmlroff; for C Code Generation and XSL FO Testing&lt;/title&gt;
&lt;body&gt;
&lt;intro&gt;
&lt;para&gt;&amp;xmlroff; (http://xmlroff.org) is a fast, free, high-quality,...</pre>
<p>where:</p>
<ul>
<li><code>height="from-parent(&amp;apos;font-size&amp;apos;)"</code> sets the graphic height to the current font-size</li>
<li><code>alignment-adjust="-22.5&amp;#37;"</code> (where &#8220;<code>&amp;#37;</code>&#8221; is the numeric reference for &#8220;%&#8221;) moves the bottom of the graphic down so the baseline of the logo text lines up with the baseline of the regular text. When the <code>alignment-adjust</code> value is a percentage, it is calculated relative to the height, so it remains correct when the font size changes.</li>
</ul>
<p>The XSL attributes are just copied through when transforming to XSL FO:</p>
<pre>&lt;xsl:template match="inline-graphic"&gt;
  &lt;fo:external-graphic
    src="url('{@src}')"
    xsl:use-attribute-sets="graphic-atts"
    content-height="scale-to-fit"
    content-width="scale-to-fit"
    scaling-method="resample-any-method"&gt;
    &lt;xsl:copy-of select="@height | @width | @content-height | @content-width |
@scaling-method | @alignment-adjust"/&gt;
  &lt;/fo:external-graphic&gt;
&lt;/xsl:template&gt;</pre>
<p>The result is slightly more interesting text, but also more readable where sentences and paragraphs that started with the all-lowercase &#8220;xmlroff&#8221; now start with the xmlroff logo.</p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2009/03/16/sizing-a-graphic-to-the-font-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xmlroff 0.6.2, libfo-examples 0.6.0</title>
		<link>http://inasmuch.as/2009/03/12/xmlroff-062/</link>
		<comments>http://inasmuch.as/2009/03/12/xmlroff-062/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 12:38:23 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/?p=148</guid>
		<description><![CDATA[xmlroff 0.6.2 and libfo-examples-0.6.0 are now available from http://xmlroff.org/download/xmlroff-0.6.2.tar.gz and http://xmlroff.org/download/libfo-examples-0.6.0.tar.gz libfo-examples 0.6.0 adds xmlroff-gtktree as a work-in-progress demonstration of using a GTK+ tree widget to view the FO tree with what will eventually be a side panel showing the current FO&#8217;s properties. xmlroff 0.6.2 really only has some changes in the header files necessary [...]]]></description>
			<content:encoded><![CDATA[<p>xmlroff 0.6.2 and libfo-examples-0.6.0 are now available from<br />
<a href="http://xmlroff.org/download/xmlroff-0.6.2.tar.gz" target="_blank">http://xmlroff.org/download/xmlroff-0.6.2.tar.gz</a> and<br />
<a href="http://xmlroff.org/download/libfo-examples-0.6.0.tar.gz" target="_blank">http://xmlroff.org/download/libfo-examples-0.6.0.tar.gz</a></p>
<p>libfo-examples 0.6.0 adds xmlroff-gtktree as a work-in-progress<br />
demonstration of using a GTK+ tree widget to view the FO tree with what<br />
will eventually be a side panel showing the current FO&#8217;s properties.</p>
<p>xmlroff 0.6.2 really only has some changes in the header files necessary<br />
to support libfo-examples 0.6.0.</p>
<p>The next xmlroff version will be 0.7.0, which will have some support for<br />
static fo:static-content.</p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2009/03/12/xmlroff-062/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xmlroff 0.6.1</title>
		<link>http://inasmuch.as/2008/10/04/xmlroff-061/</link>
		<comments>http://inasmuch.as/2008/10/04/xmlroff-061/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 16:29:38 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/2008/10/04/xmlroff-061/</guid>
		<description><![CDATA[xmlroff 0.6.1 is at http://xmlroff.org/download/xmlroff-0.6.1.tar.gz. xmlroff 0.6.1 features SVG external graphics rendered as vectors in the Cairo backend and table column order respecting writing mode. Thanks go to lode leroy for the Cairo fix. xmlroff is discussed on the xmlroff-list@xmlroff.org mailing list (subscription required) and on the #xmlroff channel at oftc.net.]]></description>
			<content:encoded><![CDATA[<p>xmlroff 0.6.1 is at <a href="http://xmlroff.org/download/xmlroff-0.6.1.tar.gz" target="_blank">http://xmlroff.org/download/xmlroff-0.6.1.tar.gz</a>.</p>
<p>xmlroff 0.6.1 features SVG external graphics rendered as vectors in the Cairo backend and table column order respecting writing mode.</p>
<p>Thanks go to lode leroy for the Cairo fix.</p>
<p>xmlroff is discussed on the xmlroff-list@xmlroff.org mailing list (subscription required) and on the <code>#xmlroff</code> channel at oftc.net.</p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2008/10/04/xmlroff-061/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xmlroff on Ohloh</title>
		<link>http://inasmuch.as/2008/07/20/xmlroff-on-ohloh/</link>
		<comments>http://inasmuch.as/2008/07/20/xmlroff-on-ohloh/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 15:22:13 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/2008/07/20/xmlroff-on-ohloh/</guid>
		<description><![CDATA[xmlroff is listed on Ohloh at http://www.ohloh.net/projects/xmlroff. IMO, the project cost is overstated and the user count is understated. If you are registered with Ohloh (or if you&#8217;re willing to register), consider clicking on the image below and adding xmlroff to your Ohloh stack.]]></description>
			<content:encoded><![CDATA[<p>xmlroff is listed on Ohloh at <a href="http://www.ohloh.net/projects/xmlroff" title="xmlroff on Ohloh">http://www.ohloh.net/projects/xmlroff</a>.  IMO, the project cost is overstated and the user count is understated.  If you are registered with Ohloh (or if you&#8217;re willing to register), consider clicking on the image below and adding xmlroff to your Ohloh stack.<span id="more-129"></span></p>
<p><script src="http://www.ohloh.net/projects/6922/widgets/project_users" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2008/07/20/xmlroff-on-ohloh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xmlroff 0.6.0</title>
		<link>http://inasmuch.as/2008/07/07/xmlroff-060/</link>
		<comments>http://inasmuch.as/2008/07/07/xmlroff-060/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 14:30:25 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/2008/07/07/xmlroff-060/</guid>
		<description><![CDATA[xmlroff 0.6.0 is at http://xmlroff.org/download/xmlroff-0.6.0.tar.gz. xmlroff 0.6.0 features a BSD license without a restriction against use in a nuclear facility, an xmlroff.1 man page, and graphics rendering in the Cairo backend. Thanks go to Jon Bosak and Mike Anastasio of Sun Microsystems for Sun&#8217;s re-release of its xmlroff source code under the no-restrictions BSD license [...]]]></description>
			<content:encoded><![CDATA[<p>xmlroff 0.6.0 is at <a href="http://xmlroff.org/download/xmlroff-0.6.0.tar.gz" target="_blank">http://xmlroff.org/download/xmlroff-0.6.0.tar.gz</a>.</p>
<p>xmlroff 0.6.0 features a BSD license without a restriction against use in a nuclear facility, an <code>xmlroff.1</code> man page, and graphics rendering in the Cairo backend.</p>
<p>Thanks go to Jon Bosak and Mike Anastasio of Sun Microsystems for Sun&#8217;s re-release of its xmlroff source code under the no-restrictions BSD license and to lode leroy for graphics in the Cairo backend.</p>
<p>xmlroff is discussed on the xmlroff-list@xmlroff.org mailing list (subscription required) and on the <code>#xmlroff</code> channel at oftc.net.</p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2008/07/07/xmlroff-060/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xmlroff in Ubuntu 8.04</title>
		<link>http://inasmuch.as/2008/06/13/xmlroff-in-ubuntu-804/</link>
		<comments>http://inasmuch.as/2008/06/13/xmlroff-in-ubuntu-804/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 15:26:07 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/2008/06/13/xmlroff-in-ubuntu-804/</guid>
		<description><![CDATA[xmlroff is available prepackaged for Ubuntu 8.04! Instead of my reciting the list of packages that you need to build xmlroff, I just need to tell you to install it from the &#8216;universe&#8217; repository using the Synaptics package manager. Thanks must go to W. Martin Borgert and others of the Debian XML/SGML Group for doing [...]]]></description>
			<content:encoded><![CDATA[<p>xmlroff is available prepackaged for Ubuntu 8.04!  Instead of my <a href="http://tkg.menteith.com/2008/02/11/building-xmlroff-on-ubuntu-710/" title="Building xmlroff on Ubuntu 7.10">reciting the list of packages</a> that you need to build xmlroff, I just need to tell you to install it from the &#8216;universe&#8217; repository using the Synaptics package manager.</p>
<p>Thanks must go to W. Martin Borgert and others of the Debian XML/SGML Group for doing the packaging work so that Ubuntu could pick it up as well as to the Ubuntu folks for including it.</p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2008/06/13/xmlroff-in-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xmlroff 0.5.4</title>
		<link>http://inasmuch.as/2008/02/12/xmlroff-054/</link>
		<comments>http://inasmuch.as/2008/02/12/xmlroff-054/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 17:03:02 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/2008/02/12/xmlroff-054/</guid>
		<description><![CDATA[xmlroff 0.5.4 is at http://xmlroff.org/download/xmlroff-0.5.4.tar.gz. This release fixes some table bugs and adds linefeed-treatment and white-space-collapse properties (actually added in 0.5.3, but that release was only announced on the xmlroff-list).]]></description>
			<content:encoded><![CDATA[<p>xmlroff 0.5.4 is at <a href="http://xmlroff.org/download/xmlroff-0.5.4.tar.gz" title="xmlroff 0.5.4">http://xmlroff.org/download/xmlroff-0.5.4.tar.gz</a>.</p>
<p>This release fixes some table bugs and adds linefeed-treatment and white-space-collapse properties (actually added in 0.5.3, but that release was only announced on the xmlroff-list).</p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2008/02/12/xmlroff-054/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building xmlroff on Ubuntu 7.10</title>
		<link>http://inasmuch.as/2008/02/11/building-xmlroff-on-ubuntu-710/</link>
		<comments>http://inasmuch.as/2008/02/11/building-xmlroff-on-ubuntu-710/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 10:31:45 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/2008/02/11/building-xmlroff-on-ubuntu-710/</guid>
		<description><![CDATA[Building xmlroff on Ubuntu 7.10 is straightforward once you install some build tools and the required &#8216;-dev&#8217; packages. Starting with a clean installed system, install the following packages (and their dependencies): libtool autoconf automake1.9 libglib2.0-dev libxslt1-dev libcairo2-dev and/or libgnomeprint2.2-dev libpango1.0-dev libgtk2.0-dev (not libgdk-pixbuf-dev)]]></description>
			<content:encoded><![CDATA[<p>Building xmlroff on Ubuntu 7.10 is straightforward once you install some build tools and the required &#8216;-dev&#8217; packages.</p>
<p>Starting with a clean installed system, install the following packages (and their dependencies):</p>
<ul>
<li>libtool</li>
<li>autoconf</li>
<li>automake1.9</li>
<li>libglib2.0-dev</li>
<li>libxslt1-dev</li>
<li>libcairo2-dev <em>and/or</em> libgnomeprint2.2-dev</li>
<li>libpango1.0-dev</li>
<li>libgtk2.0-dev (<em>not</em> libgdk-pixbuf-dev)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2008/02/11/building-xmlroff-on-ubuntu-710/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The curse of a good bug reporting system</title>
		<link>http://inasmuch.as/2007/07/23/the-curse-of-a-good-bug-reporting-system/</link>
		<comments>http://inasmuch.as/2007/07/23/the-curse-of-a-good-bug-reporting-system/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 13:48:52 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/2007/07/23/the-curse-of-a-good-bug-reporting-system/</guid>
		<description><![CDATA[A good bug reporting system, by being good, can make a project look bad. In five-or-so years on SourceForge, xmlroff garnered 24 bug reports. In the couple of months since moving everything to xmlroff.org, xmlroff has already amassed over 60 Trac tickets. It may look as if xmlroff is suddenly much buggier, but it&#8217;s due [...]]]></description>
			<content:encoded><![CDATA[<p>A good bug reporting system, by being good, can make a project look bad.</p>
<p>In five-or-so years on SourceForge, xmlroff garnered <a href="http://sourceforge.net/projects/xmlroff/" title="Bug total on xmlroff project page">24 bug reports</a>.  In the couple of months since moving everything to <a href="http://xmlroff.org/" title="xmlroff at http://xmlroff.org/">xmlroff.org</a>, xmlroff has already amassed over <a href="http://xmlroff.org/report/6" title="All xmlroff tickets, including closed">60 Trac tickets</a>.</p>
<p>It may look as if xmlroff is suddenly much buggier, but it&#8217;s due to finally having a bug reporting system that&#8217;s easy to use.</p>
<p>Because it&#8217;s easier to use, we use it more.  There&#8217;s been tickets for moving to xmlroff.org and for pie-in-the-sky ideas like a <a href="http://xmlroff.org/ticket/59" title="Trac ticket">Texinfo-XML-to-FO stylesheet</a> as well as for common or garden bugs.  Since it&#8217;s also easy to link to bug reports, there&#8217;s now more ticket numbers in the <a href="http://xmlroff.org/browser/trunk/testing/testresults.xml?rev=66#L164" title="'#20' is a ticket reference.">notes on test results</a> and in <a href="http://xmlroff.org/changeset/20" title="Commit message with a ticket reference.">commit messages</a>.</p>
<p>The proliferating tickets and ticket references point to quality improving, not worsening.  After all, we&#8217;ve also closed more tickets than xmlroff had bug reports while on SourceForge.</p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2007/07/23/the-curse-of-a-good-bug-reporting-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xmlroff 0.5.1</title>
		<link>http://inasmuch.as/2007/07/12/xmlroff-051/</link>
		<comments>http://inasmuch.as/2007/07/12/xmlroff-051/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 10:58:31 +0000</pubDate>
		<dc:creator>tkg</dc:creator>
				<category><![CDATA[xmlroff]]></category>

		<guid isPermaLink="false">http://tkg.menteith.com/2007/07/12/xmlroff-051/</guid>
		<description><![CDATA[xmlroff 0.5.1 is now available from http://xmlroff.org/download/xmlroff-0.5.1.tar.gz. The changes are mainly to the structure of the source code, but I also fixed an error that was causing several segfaults when running the xmlroff testsuite.]]></description>
			<content:encoded><![CDATA[<p>xmlroff 0.5.1 is now available from <a href="http://xmlroff.org/download/xmlroff-0.5.1.tar.gz" title="xmlroff 0.5.1">http://xmlroff.org/download/xmlroff-0.5.1.tar.gz</a>.</p>
<p>The changes are mainly to the structure of the source code, but I also fixed an error that was causing several segfaults when running the xmlroff testsuite.</p>
]]></content:encoded>
			<wfw:commentRss>http://inasmuch.as/2007/07/12/xmlroff-051/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
