<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-28011</id>
	<title>Nabble - AsciiDoc - Discussion</title>
	<updated>2008-05-22T11:14:13Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/AsciiDoc---Discussion-f28011.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AsciiDoc---Discussion-f28011.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-17421838</id>
	<title>test</title>
	<published>2008-05-22T11:14:13Z</published>
	<updated>2008-05-22T11:14:13Z</updated>
	<author>
		<name>metaperl</name>
	</author>
	<content type="html">test
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17421838&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/test-tp17421838p17421838.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17415738</id>
	<title>ANN: blogpost 0.9.0 released</title>
	<published>2008-05-22T01:52:33Z</published>
	<updated>2008-05-22T01:52:33Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">There has been a code base rewrite and lots of changes since the first
&lt;br&gt;release
&lt;br&gt;(&lt;a href=&quot;http://www.nabble.com/ANN%3A-blogpost---Wordpress-weblog-client-for-AsciiDoc-to17270014.html):&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/ANN%3A-blogpost---Wordpress-weblog-client-for-AsciiDoc-to17270014.html):&lt;/a&gt;&lt;br&gt;&lt;br&gt;- Media files (images, videos, audio, document) referenced in your
&lt;br&gt;&amp;nbsp; &amp;nbsp;AsciiDoc documents are automatically uploaded and linked to the
&lt;br&gt;&amp;nbsp; &amp;nbsp;uploaded blog.
&lt;br&gt;- Only new or modified media files are uploaded (changes detected
&lt;br&gt;&amp;nbsp; &amp;nbsp;using cached MD5 checksums).
&lt;br&gt;- Metadata caching means post options are remembered and don't need to
&lt;br&gt;&amp;nbsp; &amp;nbsp;be repeated every time you update your posts.
&lt;br&gt;- WordPress Pages can be posted and updated (blogpost includes a
&lt;br&gt;&amp;nbsp; &amp;nbsp;patched wordpresslib.py containing Page methods).
&lt;br&gt;&lt;br&gt;My blog on media processing has a couple of embedded images and
&lt;br&gt;explains blogpost media processing:
&lt;br&gt;&lt;a href=&quot;http://srackham.wordpress.com/2008/05/22/blogpost-media-processing/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://srackham.wordpress.com/2008/05/22/blogpost-media-processing/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Here's a link to a example article from the AsciiDoc (which also
&lt;br&gt;contains images) distribution that I've posted using blogpost to
&lt;br&gt;WordPress.com:
&lt;br&gt;&lt;a href=&quot;http://srackham.wordpress.com/asciidoc-example-article/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://srackham.wordpress.com/asciidoc-example-article/&lt;/a&gt;&lt;br&gt;&lt;br&gt;See also the blogpost(1) man page:
&lt;br&gt;&lt;a href=&quot;http://srackham.wordpress.com/blogpost1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://srackham.wordpress.com/blogpost1/&lt;/a&gt;&lt;br&gt;&lt;br&gt;blogpost has only just dried, please post bug reports and suggestions.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17415738&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-blogpost-0.9.0-released-tp17415738p17415738.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17398139</id>
	<title>Re: fop v0.20 vs v0.95</title>
	<published>2008-05-20T20:54:05Z</published>
	<updated>2008-05-20T20:54:05Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">Mikhail Yakshin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello, Stuart,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; First, I'd like to thank you for your excellent AsciiDoc suite: I'm
&lt;br&gt;&amp;gt; using it already for two of my project and I'm looking for more :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I was generating HTMLs using AsciiDoc for a while, and recently I've
&lt;br&gt;&amp;gt; came up with a task of PDF generation. Looks like the best way to do
&lt;br&gt;&amp;gt; so it using docbook-&amp;gt;fo-&amp;gt;pdf chain, but, alas, I've stumbled upon a
&lt;br&gt;&amp;gt; long-lasting problem with .fo documents made by asciidoc toolchain
&lt;br&gt;&amp;gt; (a2x) are not suitable for newer versions of Apache FOP v0.95, but
&lt;br&gt;&amp;gt; compile okay using ancient versions (v0.20.*).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've seen you mentioning this problem on various forums/mailing lists:
&lt;br&gt;&amp;gt; you wrote that you've got mystical unhandled Java exception and
&lt;br&gt;&amp;gt; there's no way around it. In fact, after spending several hours of
&lt;br&gt;&amp;gt; reading DocBook specifications and DocBook XSL, I've understood that
&lt;br&gt;&amp;gt; it's pretty simple: DocBook XSLs have 2 parameters named
&lt;br&gt;&amp;gt; &amp;quot;fop.extensions&amp;quot; and &amp;quot;fop1.extensions&amp;quot;. You don't call DocBook XSLs
&lt;br&gt;&amp;gt; directly, but propagate some default parameters using special &amp;quot;fo.xsl&amp;quot;
&lt;br&gt;&amp;gt; stylesheet, distributed with AsciiDoc. The problem with fop v0.95
&lt;br&gt;&amp;gt; compatibility can be easily solved by replacing &amp;quot;fop.extensions&amp;quot; with
&lt;br&gt;&amp;gt; &amp;quot;fop1.extensions&amp;quot; in that file:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;lt;xsl:param name=&amp;quot;fop.extensions&amp;quot; select=&amp;quot;1&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; +&amp;lt;xsl:param name=&amp;quot;fop1.extensions&amp;quot; select=&amp;quot;1&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After that, I've successfully made it work with modern Apache FOP :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hope it helps and new version of AsciiDoc would support newer FOP out
&lt;br&gt;&amp;gt; of the box ;)
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Thank you Mikhail for doing the hard stuff. I've verified it works on 
&lt;br&gt;fop-0.95 and have applied your patch:
&lt;br&gt;&lt;a href=&quot;http://hg.sharesource.org/asciidoc/rev/e1bc93fef523&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.sharesource.org/asciidoc/rev/e1bc93fef523&lt;/a&gt;&lt;br&gt;&lt;br&gt;I've also cc'd this to the asciidoc-discuss mailing list as I'm sure 
&lt;br&gt;others will be interested in this.
&lt;br&gt;&lt;br&gt;See also: &lt;a href=&quot;http://xmlgraphics.apache.org/fop/0.95/upgrading.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlgraphics.apache.org/fop/0.95/upgrading.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;I also had to remove a line defining 'bgcolor' from ./docbook/common.xsl 
&lt;br&gt;with it in got the following FOP exception:
&lt;br&gt;&lt;br&gt;SEVERE: Exception
&lt;br&gt;javax.xml.transform.TransformerException: 
&lt;br&gt;org.apache.fop.fo.ValidationException: 
&lt;br&gt;file:/home/srackham/projects/asciidoc/trunk/doc/asciidoc.fo:471:514: 
&lt;br&gt;Error(471/514): fo:block, Invalid property name 'bgcolor'.
&lt;br&gt;&lt;br&gt;This problem was alluded to in a previous post 
&lt;br&gt;&lt;a href=&quot;http://www.mail-archive.com/asciidoc-discuss@metaperl.com/msg00118.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/asciidoc-discuss@.../msg00118.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Some differences I've noticed between 0.20 and 0.95:
&lt;br&gt;&lt;br&gt;- FOP 0.20.5 scales images if they overflow page width, FOP 0.95beta 
&lt;br&gt;does not (./doc/music-filter.pdf).
&lt;br&gt;&lt;br&gt;I must say I'm leaning towards dblatex(1) to generate PDF's:
&lt;br&gt;&lt;br&gt;- dblatex is easy to install (on Linux)
&lt;br&gt;- requires no configuration
&lt;br&gt;- is blindingly fast
&lt;br&gt;- one step conversion, docbook XML to PDF (no FO generation, no need for 
&lt;br&gt;XSL Stylesheets and patches, XSLT processing or Java).
&lt;br&gt;- Internal document hyperlinks are implemented (this is really handy).
&lt;br&gt;- The output documents are more compact with about 20% less pages.
&lt;br&gt;&lt;br&gt;The only drawback is that the output is quite plain -- anyone out there 
&lt;br&gt;with any dblatex styling experience?
&lt;br&gt;&lt;br&gt;I really need to clean up the FOP stuff in the user guide (FOP install 
&lt;br&gt;stuff doesn't really belong) and mention dblatex(1).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;--
&lt;br&gt;Stuart Rackham
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17398139&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-fop-v0.20-vs-v0.95-tp17398139p17398139.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17287739</id>
	<title>Re: [PATCH] a2x: allow custom options to fop</title>
	<published>2008-05-16T20:16:07Z</published>
	<updated>2008-05-16T20:16:07Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">Hi Miklos
&lt;br&gt;&lt;br&gt;Patch uploaded to repo: &lt;a href=&quot;http://hg.sharesource.org/asciidoc/rev/6668cc811844&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.sharesource.org/asciidoc/rev/6668cc811844&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks for the patch, your patience and for also attending to the man 
&lt;br&gt;page changes.
&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;&lt;br&gt;&lt;br&gt;Miklos Vajna wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, May 05, 2008 at 02:34:15AM +0200, Miklos Vajna &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17287739&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vmiklos@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://frugalware.org/~vmiklos/patches/a2x-fop-opts.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://frugalware.org/~vmiklos/patches/a2x-fop-opts.diff&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; i needed this patch because using accents with the default fonts is
&lt;br&gt;&amp;gt;&amp;gt; problematic in pdf documents, but there was no easy way to pass a custom
&lt;br&gt;&amp;gt;&amp;gt; configuration file. i think it'll be useful for others as well ;)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Stuart, could you please comment this patch? :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i don't think it would break anything, but i would be happy to get an
&lt;br&gt;&amp;gt; &amp;quot;ack&amp;quot; from you ;)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thanks
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; asciidoc-discuss mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17287739&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;/div&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17287739&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--a2x%3A-allow-custom-options-to-fop-tp17053024p17287739.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17271657</id>
	<title>Re: [PATCH] a2x: allow custom options to fop</title>
	<published>2008-05-16T03:25:18Z</published>
	<updated>2008-05-16T03:25:18Z</updated>
	<author>
		<name>Miklos Vajna</name>
	</author>
	<content type="html">On Mon, May 05, 2008 at 02:34:15AM +0200, Miklos Vajna &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17271657&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vmiklos@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://frugalware.org/~vmiklos/patches/a2x-fop-opts.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://frugalware.org/~vmiklos/patches/a2x-fop-opts.diff&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i needed this patch because using accents with the default fonts is
&lt;br&gt;&amp;gt; problematic in pdf documents, but there was no easy way to pass a custom
&lt;br&gt;&amp;gt; configuration file. i think it'll be useful for others as well ;)
&lt;br&gt;&lt;br&gt;Stuart, could you please comment this patch? :)
&lt;br&gt;&lt;br&gt;i don't think it would break anything, but i would be happy to get an
&lt;br&gt;&amp;quot;ack&amp;quot; from you ;)
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17271657&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/17271657/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--a2x%3A-allow-custom-options-to-fop-tp17053024p17271657.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17270014</id>
	<title>ANN: blogpost - Wordpress weblog client for AsciiDoc</title>
	<published>2008-05-16T01:33:27Z</published>
	<updated>2008-05-16T01:33:27Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">I've just released blogpost, a Wordpress command-line weblog client
&lt;br&gt;for AsciiDoc written in Python. It creates and updates weblog entries
&lt;br&gt;directly from AsciiDoc source documents. You can also delete and list
&lt;br&gt;Wordpress weblog entries from the command-line.
&lt;br&gt;&lt;br&gt;Here are some documents I've uploaded to wordpress.com using blogpost:
&lt;br&gt;&lt;br&gt;blogpost Rationale and Overview:
&lt;br&gt;&lt;a href=&quot;http://srackham.wordpress.com/2008/05/15/blogging-with-asciidoc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://srackham.wordpress.com/2008/05/15/blogging-with-asciidoc/&lt;/a&gt;&lt;br&gt;&lt;br&gt;The AsciiDoc User Guide:
&lt;br&gt;&lt;a href=&quot;http://srackham.wordpress.com/asciidoc-user-guide/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://srackham.wordpress.com/asciidoc-user-guide/&lt;/a&gt;&lt;br&gt;&lt;br&gt;blogpost man page:
&lt;br&gt;&lt;a href=&quot;http://srackham.wordpress.com/blogpost1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://srackham.wordpress.com/blogpost1/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Project repo and download here:
&lt;br&gt;&lt;a href=&quot;http://hg.sharesource.org/blogpost/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.sharesource.org/blogpost/&lt;/a&gt;&lt;br&gt;&lt;br&gt;This is a first release, there will be bugs, please post bug reports
&lt;br&gt;and suggestions.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;--
&lt;br&gt;Stuart Rackham
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17270014&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-blogpost---Wordpress-weblog-client-for-AsciiDoc-tp17270014p17270014.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17197454</id>
	<title>Re: ANN: AsciiDoc 8.2.6</title>
	<published>2008-05-12T15:27:23Z</published>
	<updated>2008-05-12T15:27:23Z</updated>
	<author>
		<name>Bill Harris</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Stuart Rackham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17197454&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;srackham@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; You're running under Windows so as I had only tested on Linux (Xubuntu 
&lt;br&gt;&amp;gt; 7.10) I tried the AsciiDoc distribution article.txt under Windows 
&lt;br&gt;&amp;gt; (Windows XP SP2, Python 2.5.2 (I'm not using Cygwin)).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which rendered the embedded images fine fine (see 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.methods.co.nz/misc/article.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.methods.co.nz/misc/article.html&lt;/a&gt;), though I did get non-zero 
&lt;br&gt;&amp;gt; exit codes (seems be Python related, doesn't affect the output but I 
&lt;br&gt;&amp;gt; haven't got to the bottom of it):
&lt;br&gt;&lt;br&gt;Ah, I see. &amp;nbsp;Your script encodes the image and embeds it. &amp;nbsp;I thought that
&lt;br&gt;it merely embedded it, and so I encoded the image separately. &amp;nbsp;Not
&lt;br&gt;surprisingly, asciidoc didn't seem to know what to do with a
&lt;br&gt;base64-encoded image as input to the process.
&lt;br&gt;&lt;br&gt;Thanks; it worked easily for me today. &amp;nbsp;Now if you'd only get MS to
&lt;br&gt;retrofit this into IE 6 and 7 or get all my clients to switch to FF, I'd
&lt;br&gt;be set. :-)
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;&lt;br&gt;Bill
&lt;br&gt;- -- 
&lt;br&gt;Bill Harris &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://facilitatedsystems.com/weblog/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facilitatedsystems.com/weblog/&lt;/a&gt;&lt;br&gt;Facilitated Systems &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Everett, WA 98208 USA
&lt;br&gt;&lt;a href=&quot;http://facilitatedsystems.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facilitatedsystems.com/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; phone: +1 425 337-5541
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.7 (MingW32)
&lt;br&gt;Comment: For more information, see &lt;a href=&quot;http://www.gnupg.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnupg.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;iD8DBQFIKMRO3J3HaQTDvd8RAoSiAJ9GIVB8H3J2clIn9I50lqyJ0HH+2wCeKeyU
&lt;br&gt;oMYMqmovGZeLjIREgTIFIb4=
&lt;br&gt;=6nHG
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17197454&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-AsciiDoc-8.2.6-tp16970726p17197454.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17181132</id>
	<title>Re: ANN: AsciiDoc 8.2.6</title>
	<published>2008-05-11T20:55:45Z</published>
	<updated>2008-05-11T20:55:45Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">Hi Bill
&lt;br&gt;&lt;br&gt;Bill Harris wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;&amp;gt; Hash: SHA1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Stuart Rackham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17181132&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;srackham@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; The only noteworthy functional addition is embedded image support using 
&lt;br&gt;&amp;gt;&amp;gt; the data: URI Scheme (&lt;a href=&quot;http://en.wikipedia.org/wiki/Data:_URI_scheme&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Data:_URI_scheme&lt;/a&gt;) for 
&lt;br&gt;&amp;gt;&amp;gt; XHTML documents (it's a nifty demonstration of the use of the {sys} 
&lt;br&gt;&amp;gt;&amp;gt; system attribute).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That sounded cool (although I think most of my clients use IE7), so I
&lt;br&gt;&amp;gt; tried it out. &amp;nbsp;While 8.2.6 looks good so far, I can't make this feature
&lt;br&gt;&amp;gt; work. &amp;nbsp;I'd appreciate a clean and full example.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To make life easy (or so I thought -- I'll try cygwin's base64.exe
&lt;br&gt;&amp;gt; later, when I can make this work), I went to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.sveinbjorn.org/cgi-bin/dataurlmaker-cgi.pl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sveinbjorn.org/cgi-bin/dataurlmaker-cgi.pl&lt;/a&gt;&amp;nbsp;and converted a
&lt;br&gt;&amp;gt; small picture I had on my computer. &amp;nbsp;It gave me a string of the form
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;img src=&amp;quot;data:image/jpeg;base64,/9j/4AAQ ... bunch of stuff elided ... WrCk460UVYH//Z&amp;quot; width=&amp;quot;172&amp;quot; height=&amp;quot;243&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I prepended image:: and pasted the resultant into my previously working
&lt;br&gt;&amp;gt; document. &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I ran asciidoc.py --unsafe -a data-uri -a toc file.txt.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The resulting HTML file shows image::&amp;lt;&amp;quot;data:image/jpeg... in the output
&lt;br&gt;&amp;gt; instead of a picture. &amp;nbsp;I tested my browser (FF 2.0.0.14) at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.mozilla.org/quality/networking/testing/datatests.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mozilla.org/quality/networking/testing/datatests.html&lt;/a&gt;, and it
&lt;br&gt;&amp;gt; seems to work.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I also tried it without the toc attribute, and I tried something like
&lt;br&gt;&amp;gt; the format in asciidoc.html:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ,----
&lt;br&gt;&amp;gt; | .Main circuit board
&lt;br&gt;&amp;gt; | [caption=&amp;quot;Figure 2:&amp;quot;]
&lt;br&gt;&amp;gt; | image::images/layout.png
&lt;br&gt;&amp;gt; `----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; except that I used the &amp;lt;&amp;gt; enclosed stuff after image::, too.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any tips?
&lt;/div&gt;&lt;br&gt;You're running under Windows so as I had only tested on Linux (Xubuntu 
&lt;br&gt;7.10) I tried the AsciiDoc distribution article.txt under Windows 
&lt;br&gt;(Windows XP SP2, Python 2.5.2 (I'm not using Cygwin)).
&lt;br&gt;&lt;br&gt;Which rendered the embedded images fine fine (see 
&lt;br&gt;&lt;a href=&quot;http://www.methods.co.nz/misc/article.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.methods.co.nz/misc/article.html&lt;/a&gt;), though I did get non-zero 
&lt;br&gt;exit codes (seems be Python related, doesn't affect the output but I 
&lt;br&gt;haven't got to the bottom of it):
&lt;br&gt;&lt;br&gt;C:\bin\asciidoc&amp;gt;asciidoc -a data-uri --unsafe doc/article.txt
&lt;br&gt;WARNING: article.txt: line 37: {sys:python -uc &amp;quot;import base64,sys; 
&lt;br&gt;base64.encode(sys.stdin,sys.stdout)&amp;quot; &amp;lt; &amp;quot;images/smallnew.png&amp;quot;}: non-zero 
&lt;br&gt;exit status
&lt;br&gt;WARNING: article.txt: line 40: {sys:python -uc &amp;quot;import base64,sys; 
&lt;br&gt;base64.encode(sys.stdin,sys.stdout)&amp;quot; &amp;lt; &amp;quot;images/tiger.png&amp;quot;}: non-zero 
&lt;br&gt;exit status
&lt;br&gt;&lt;br&gt;You can run the same encoding command that asciidoc runs from the DOS 
&lt;br&gt;prompt e.g. (one line)
&lt;br&gt;&lt;br&gt;C:\bin\asciidoc&amp;gt;python -uc &amp;quot;import base64,sys; 
&lt;br&gt;base64.encode(sys.stdin,sys.stdout)&amp;quot; &amp;lt; &amp;quot;images/tiger.png&amp;quot;
&lt;br&gt;&lt;br&gt;This spews out the base64 encoding that the {sys} attribute embeds in 
&lt;br&gt;the XHTML output document (why the exit code is non-zero eludes me, but 
&lt;br&gt;as I said before this doesn't affect the output).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17181132&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-AsciiDoc-8.2.6-tp16970726p17181132.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17136903</id>
	<title>Re: ANN: AsciiDoc 8.2.6</title>
	<published>2008-05-08T14:34:24Z</published>
	<updated>2008-05-08T14:34:24Z</updated>
	<author>
		<name>Bill Harris</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Stuart Rackham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17136903&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;srackham@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; The only noteworthy functional addition is embedded image support using 
&lt;br&gt;&amp;gt; the data: URI Scheme (&lt;a href=&quot;http://en.wikipedia.org/wiki/Data:_URI_scheme&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Data:_URI_scheme&lt;/a&gt;) for 
&lt;br&gt;&amp;gt; XHTML documents (it's a nifty demonstration of the use of the {sys} 
&lt;br&gt;&amp;gt; system attribute).
&lt;br&gt;&lt;br&gt;That sounded cool (although I think most of my clients use IE7), so I
&lt;br&gt;tried it out. &amp;nbsp;While 8.2.6 looks good so far, I can't make this feature
&lt;br&gt;work. &amp;nbsp;I'd appreciate a clean and full example.
&lt;br&gt;&lt;br&gt;To make life easy (or so I thought -- I'll try cygwin's base64.exe
&lt;br&gt;later, when I can make this work), I went to
&lt;br&gt;&lt;a href=&quot;http://www.sveinbjorn.org/cgi-bin/dataurlmaker-cgi.pl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sveinbjorn.org/cgi-bin/dataurlmaker-cgi.pl&lt;/a&gt;&amp;nbsp;and converted a
&lt;br&gt;small picture I had on my computer. &amp;nbsp;It gave me a string of the form
&lt;br&gt;&lt;br&gt;&amp;lt;img src=&amp;quot;data:image/jpeg;base64,/9j/4AAQ ... bunch of stuff elided ... WrCk460UVYH//Z&amp;quot; width=&amp;quot;172&amp;quot; height=&amp;quot;243&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;I prepended image:: and pasted the resultant into my previously working
&lt;br&gt;document. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I ran asciidoc.py --unsafe -a data-uri -a toc file.txt.
&lt;br&gt;&lt;br&gt;The resulting HTML file shows image::&amp;lt;&amp;quot;data:image/jpeg... in the output
&lt;br&gt;instead of a picture. &amp;nbsp;I tested my browser (FF 2.0.0.14) at
&lt;br&gt;&lt;a href=&quot;http://www.mozilla.org/quality/networking/testing/datatests.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mozilla.org/quality/networking/testing/datatests.html&lt;/a&gt;, and it
&lt;br&gt;seems to work.
&lt;br&gt;&lt;br&gt;I also tried it without the toc attribute, and I tried something like
&lt;br&gt;the format in asciidoc.html:
&lt;br&gt;&lt;br&gt;,----
&lt;br&gt;| .Main circuit board
&lt;br&gt;| [caption=&amp;quot;Figure 2:&amp;quot;]
&lt;br&gt;| image::images/layout.png
&lt;br&gt;`----
&lt;br&gt;&lt;br&gt;except that I used the &amp;lt;&amp;gt; enclosed stuff after image::, too.
&lt;br&gt;&lt;br&gt;Any tips?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Bill
&lt;br&gt;- -- 
&lt;br&gt;Bill Harris &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://facilitatedsystems.com/weblog/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facilitatedsystems.com/weblog/&lt;/a&gt;&lt;br&gt;Facilitated Systems &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Everett, WA 98208 USA
&lt;br&gt;&lt;a href=&quot;http://facilitatedsystems.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facilitatedsystems.com/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; phone: +1 425 337-5541
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.7 (MingW32)
&lt;br&gt;Comment: For more information, see &lt;a href=&quot;http://www.gnupg.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnupg.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;iD8DBQFII3Hg3J3HaQTDvd8RAvI2AJ91xXHpQf+fX/LtQIp/J9+n8dd/ugCdEf/0
&lt;br&gt;MALQ03MvxLLzffiZV8jNm8Q=
&lt;br&gt;=xjrL
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17136903&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-AsciiDoc-8.2.6-tp16970726p17136903.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17079260</id>
	<title>Re: Unanswered questions etc.</title>
	<published>2008-05-06T02:39:03Z</published>
	<updated>2008-05-06T02:39:03Z</updated>
	<author>
		<name>Dag Wieers</name>
	</author>
	<content type="html">On Tue, 6 May 2008, Stuart Rackham wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; When I'm busy like this I tend to go for the low hanging fruit when it
&lt;br&gt;&amp;gt; comes to responses, leaving the big (usually more important) stuff till
&lt;br&gt;&amp;gt; later.
&lt;br&gt;&lt;br&gt;Exactly the same emergency mode I tend to fall into too often. :)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-- &amp;nbsp; dag wieers, &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17079260&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dag@...&lt;/a&gt;, &amp;nbsp;&lt;a href=&quot;http://dag.wieers.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dag.wieers.com/&lt;/a&gt;&amp;nbsp; &amp;nbsp;--
&lt;br&gt;[Any errors in spelling, tact or fact are transmission errors]
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17079260&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-AsciiDoc-8.2.6-tp16970726p17079260.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17073313</id>
	<title>Unanswered questions etc.</title>
	<published>2008-05-05T16:58:09Z</published>
	<updated>2008-05-05T16:58:09Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">Please don't think I'm deliberately ignoring questions/patches etc on 
&lt;br&gt;the list, I do read everything, it's just that at the moment I'm really 
&lt;br&gt;busy -- I wish there were more hours in the day :-)
&lt;br&gt;&lt;br&gt;When I'm busy like this I tend to go for the low hanging fruit when it 
&lt;br&gt;comes to responses, leaving the big (usually more important) stuff till 
&lt;br&gt;later.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;--
&lt;br&gt;Stuart Rackham
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17073313&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-AsciiDoc-8.2.6-tp16970726p17073313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17053024</id>
	<title>[PATCH] a2x: allow custom options to fop</title>
	<published>2008-05-04T17:34:15Z</published>
	<updated>2008-05-04T17:34:15Z</updated>
	<author>
		<name>Miklos Vajna</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://frugalware.org/~vmiklos/patches/a2x-fop-opts.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://frugalware.org/~vmiklos/patches/a2x-fop-opts.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;i needed this patch because using accents with the default fonts is
&lt;br&gt;problematic in pdf documents, but there was no easy way to pass a custom
&lt;br&gt;configuration file. i think it'll be useful for others as well ;)
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17053024&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/17053024/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--a2x%3A-allow-custom-options-to-fop-tp17053024p17053024.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17047370</id>
	<title>Using multiline variables in configuration file attributes</title>
	<published>2008-05-04T07:59:40Z</published>
	<updated>2008-05-04T07:59:40Z</updated>
	<author>
		<name>Noah Slater-3</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I am looking for a way to use multiline values for attributes in AsciiDoc
&lt;br&gt;configuration files but can't seem to work it out.
&lt;br&gt;&lt;br&gt;Is there a way to do this?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Noah Slater - Bytesexual &amp;lt;&lt;a href=&quot;http://bytesexual.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bytesexual.org/&lt;/a&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17047370&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-multiline-variables-in-configuration-file-attributes-tp17047370p17047370.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17047365</id>
	<title>Using attributes inside other attributes</title>
	<published>2008-05-04T07:59:24Z</published>
	<updated>2008-05-04T07:59:24Z</updated>
	<author>
		<name>Noah Slater-3</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I am having some problems getting attributes inside other attributes to work.
&lt;br&gt;&lt;br&gt;I have the following sample asciidoc.conf:
&lt;br&gt;&lt;br&gt;&amp;nbsp; [attributes]
&lt;br&gt;&lt;br&gt;&amp;nbsp; pubdate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;quot;2008&amp;quot;
&lt;br&gt;&amp;nbsp; author &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;quot;Noah Slater&amp;quot;
&lt;br&gt;&amp;nbsp; publisher &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;quot;Bytesexual&amp;quot;
&lt;br&gt;&amp;nbsp; copyrightholder = &amp;quot;{publisher={author}}&amp;quot;
&lt;br&gt;&amp;nbsp; copyrightyears &amp;nbsp;= &amp;quot;{pubdate}&amp;quot;
&lt;br&gt;&lt;br&gt;There are two problems I am having with this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; 1. the copyrightholder attribute only works if the publisher attribute is set,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if this is undefined the author attribute is not substituted.
&lt;br&gt;&lt;br&gt;&amp;nbsp; 2. the copyrightyears attribute remains undefined
&lt;br&gt;&lt;br&gt;The documentation seems to indicate that I can use simple attributes like this.
&lt;br&gt;&lt;br&gt;What am I doing wrong?
&lt;br&gt;&lt;br&gt;I am using AsciiDoc version 8.2.5.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Noah Slater - Bytesexual &amp;lt;&lt;a href=&quot;http://bytesexual.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bytesexual.org/&lt;/a&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17047365&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-attributes-inside-other-attributes-tp17047365p17047365.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16970943</id>
	<title>Re: ANN: AsciiDoc 8.2.6</title>
	<published>2008-04-29T14:29:33Z</published>
	<updated>2008-04-29T14:29:33Z</updated>
	<author>
		<name>Miklos Vajna</name>
	</author>
	<content type="html">On Wed, Apr 30, 2008 at 09:17:39AM +1200, Stuart Rackham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16970943&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;srackham@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I've done limited testing on Windows and Python 2.3 (most testing and 
&lt;br&gt;&amp;gt; development on Xubuntu 7.10 + Python 2.5.1), so yell out if you 
&lt;br&gt;&amp;gt; experience regression problems.
&lt;br&gt;&lt;br&gt;hm, it seems the tex backend is somewhat broken. here is what i do:
&lt;br&gt;&lt;br&gt;wget -O test.txt &lt;a href=&quot;http://frugalware.org/~boobaa/stuff/doc-u.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://frugalware.org/~boobaa/stuff/doc-u.txt&lt;/a&gt;&lt;br&gt;&lt;br&gt;$ asciidoc --unsafe --backend=latex -a toc test.txt
&lt;br&gt;WARNING: [music-block] missing template section
&lt;br&gt;WARNING: [music-block] missing template section
&lt;br&gt;&lt;br&gt;but test.tex created properly
&lt;br&gt;&lt;br&gt;this is 8.2.5. after upgrading to 8.2.6:
&lt;br&gt;&lt;br&gt;$ asciidoc --unsafe --backend=latex -a toc test.txt
&lt;br&gt;FAILED: malformed section entry: \\=\textbackslash{}
&lt;br&gt;&lt;br&gt;and no output created. feel free to correct me if this is just a pebkac
&lt;br&gt;:)
&lt;br&gt;&lt;br&gt;thanks.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16970943&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/16970943/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-AsciiDoc-8.2.6-tp16970726p16970943.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16970726</id>
	<title>ANN: AsciiDoc 8.2.6</title>
	<published>2008-04-29T14:17:39Z</published>
	<updated>2008-04-29T14:17:39Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">Hi All
&lt;br&gt;&lt;br&gt;There have been a lot of small (hopefully useful) changes and bug fixes 
&lt;br&gt;since 8.2.5 so I thought it was time to formally release them:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.methods.co.nz/asciidoc/CHANGELOG.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.methods.co.nz/asciidoc/CHANGELOG.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The only noteworthy functional addition is embedded image support using 
&lt;br&gt;the data: URI Scheme (&lt;a href=&quot;http://en.wikipedia.org/wiki/Data:_URI_scheme&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Data:_URI_scheme&lt;/a&gt;) for 
&lt;br&gt;XHTML documents (it's a nifty demonstration of the use of the {sys} 
&lt;br&gt;system attribute).
&lt;br&gt;&lt;br&gt;I've done limited testing on Windows and Python 2.3 (most testing and 
&lt;br&gt;development on Xubuntu 7.10 + Python 2.5.1), so yell out if you 
&lt;br&gt;experience regression problems.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16970726&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-AsciiDoc-8.2.6-tp16970726p16970726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16964996</id>
	<title>Re: Semantic markup?</title>
	<published>2008-04-29T09:51:55Z</published>
	<updated>2008-04-29T09:51:55Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;On Tue, Apr 29, 2008 at 07:41:24PM +0300, Alex Efros wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Next idea was to avoid possible visual disorientation when our documents
&lt;br&gt;&amp;gt; will be used with default configuration. For example, if we'll use ``...''
&lt;br&gt;&amp;gt; for something custom, in default configuration such things will be
&lt;br&gt;&amp;gt; enclosed in quotation marks and may looks strange because quotation marks
&lt;br&gt;&amp;gt; will be inappropriate in that place. The idea was to define non-standard css
&lt;br&gt;&amp;gt; class names for markup WITHIN document, using attributes for example.
&lt;br&gt;&amp;gt; In this case even if standard asciidoc config/css will be used to convert
&lt;br&gt;&amp;gt; these documents, the markup with changed meaning will looks like normal
&lt;br&gt;&amp;gt; text (because standard css doesn't provide styles for non-standard class
&lt;br&gt;&amp;gt; names generated by standard configuration because of these attributes)
&lt;br&gt;&amp;gt; and so will not looks inappropriate, at least.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That last idea is only thing which require asciidoc modifications and
&lt;br&gt;&amp;gt; maybe it's just overkill and not really useful feature at all.
&lt;/div&gt;&lt;br&gt;It may worth to note this feature not only allow to avoid possible
&lt;br&gt;disorientation because of non-standard usage of ``...'', but also it allow
&lt;br&gt;us to use ^...^ and ~...~ (which will turn into normal text with standard
&lt;br&gt;configuration instead of super/sub text which will add much more
&lt;br&gt;disorientation than quotation marks), i.e. all 8 markup types supported by
&lt;br&gt;asciidoc!
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16964996&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16964996.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16964733</id>
	<title>Re: Semantic markup?</title>
	<published>2008-04-29T09:41:24Z</published>
	<updated>2008-04-29T09:41:24Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;On Tue, Apr 29, 2008 at 09:34:55AM +1200, Stuart Rackham wrote:
&lt;br&gt;&amp;gt; Rather than answering this question directly it's probably easier if I 
&lt;br&gt;&amp;gt; describe the rationale behind the current AsciiDoc markup and it's 
&lt;br&gt;&amp;gt; relationship to semantic markups.
&lt;br&gt;&lt;br&gt;Thanks, this is really important and interesting.
&lt;br&gt;&lt;br&gt;&amp;gt; [...] semantic markup (outside of document structural elements), while
&lt;br&gt;&amp;gt; intellectually appealing, has very limited practical utility for
&lt;br&gt;&amp;gt; presentational documents (i.e. documents whose primary function is to be
&lt;br&gt;&amp;gt; read by humans).
&lt;br&gt;&lt;br&gt;Agreed.
&lt;br&gt;&lt;br&gt;&amp;gt; After all, do you really need additional annotations to remind yourself
&lt;br&gt;&amp;gt; that the text is a file name (or a menu command or a source code listing)?
&lt;br&gt;&lt;br&gt;:) No, I don't need this.
&lt;br&gt;&lt;br&gt;But I'm trying to define some general guidelines &amp;quot;which markup use for
&lt;br&gt;what&amp;quot; in all our software documentation - just to keep it consistent.
&lt;br&gt;&lt;br&gt;It's ok to have several documents written without such consistency (for
&lt;br&gt;example if they was written by different authors), but when several people
&lt;br&gt;write many documents for different parts of same software project - we
&lt;br&gt;have to use common style, just like in code! Without this it will be hard
&lt;br&gt;to read such documentation, where on first page file name was italic, on
&lt;br&gt;second bold, and on third is doesn't have special markup at all. Keeping
&lt;br&gt;in mind case with one author edit documentation written initially by
&lt;br&gt;another... no, thanks, we really need to use consistent markup! :)
&lt;br&gt;&lt;br&gt;&amp;gt; There's is an argument that you need semantic markup to enforce 
&lt;br&gt;&amp;gt; consistency in output documents -- I would counter that a writer who is 
&lt;br&gt;&amp;gt; incapable of maintaining simple formatting conventions would almost 
&lt;br&gt;&amp;gt; certainly be incapable of consistently applying semantic markup.
&lt;br&gt;&lt;br&gt;Agreed. But you doesn't count case with many authors, mentioned above.
&lt;br&gt;&lt;br&gt;&amp;gt; Again, having said all that, there's no reason you can't configure the
&lt;br&gt;&amp;gt; AsciiDoc markup to be as semantic as you like. It may even be a
&lt;br&gt;&amp;gt; good idea if you specialize in one one or two problem domains.
&lt;br&gt;&lt;br&gt;Ok, let me reformulate my question without word &amp;quot;semantic&amp;quot; (which is nice,
&lt;br&gt;cool, wow, etc. but result in misunderstanding here and now).
&lt;br&gt;&lt;br&gt;I need to provide a table like:
&lt;br&gt;&amp;nbsp; &amp;nbsp; `...`	used for command examples
&lt;br&gt;&amp;nbsp; &amp;nbsp; '...'	used for filenames and menu items
&lt;br&gt;&amp;nbsp; &amp;nbsp; _..._	used to emphasize some text
&lt;br&gt;&amp;nbsp; &amp;nbsp; *...*	alternative way to emphasize some text
&lt;br&gt;&amp;nbsp; &amp;nbsp; etc.	etc.
&lt;br&gt;for all people who will write documentation for our projects.
&lt;br&gt;This is ease, don't require any changes in asciidoc configuration, etc.
&lt;br&gt;&lt;br&gt;Next, I found same visual presentation used for too many items, because:
&lt;br&gt;a) &amp;nbsp;'...' and _..._ generate same css class name
&lt;br&gt;b) &amp;nbsp;`...` and +...+ generate same css class name
&lt;br&gt;c) &amp;nbsp;^...^ and ~...~ has useless for us visual presentation and
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; so should be avoided
&lt;br&gt;d) &amp;nbsp;``...'' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is questionable because it usually enough to use usual
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;...&amp;quot; and reuse ``...'' for something more important
&lt;br&gt;That mean while AsciiDoc support 8 different markup types inside text,
&lt;br&gt;we can use only 5 of them, and these 5 have only 3 different visual
&lt;br&gt;presentations. 8-&amp;gt;3 is significant limitation, and I trying to solve this
&lt;br&gt;issue in some way.
&lt;br&gt;&lt;br&gt;Of course I can create custom asciidoc configuration and custom css to
&lt;br&gt;solve this, but this will make our documents incompatible with any other
&lt;br&gt;asciidoc configuration/css. If this is unavoidable we can probably live
&lt;br&gt;with it, but I want to keep our documents as compatible as possible.
&lt;br&gt;&lt;br&gt;Keeping in mind compatibility, we have to avoid using ^...^ and ~...~
&lt;br&gt;because their default visual presentation are too conspicuous and can't be
&lt;br&gt;used for anything else. Other 6 markup types (having 4 different visual
&lt;br&gt;presentations in default configuration) are less conspicuous and can be
&lt;br&gt;used for our custom visual presentations. Actually, we'll need to have
&lt;br&gt;italic, bold and monospace anyway, so actual incompatibility with default
&lt;br&gt;configuration/styles will be limited to:
&lt;br&gt;a) _..._ &amp;nbsp; &amp;nbsp;will probably mean underline instead of italic (only '...'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; will be used for italic, as in default configuration)
&lt;br&gt;b) +...+ &amp;nbsp; &amp;nbsp;will probably mean something special for us with non-standard
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; css style (i.e. not monospace) (the `...` will be used for
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; monospace, as in default configuration)
&lt;br&gt;c) ``...'' &amp;nbsp;will probably mean something special too, also with non-standard
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; css style (usual &amp;quot;...&amp;quot; will be used to markup quoted text
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; without any css style for it) 
&lt;br&gt;This way we'll have twice more visual presentations (6 instead of 3) with
&lt;br&gt;our custom configuration/css and our documents will still looks good with
&lt;br&gt;default asciidoc configuration!
&lt;br&gt;&lt;br&gt;Next idea was to avoid possible visual disorientation when our documents
&lt;br&gt;will be used with default configuration. For example, if we'll use ``...''
&lt;br&gt;for something custom, in default configuration such things will be
&lt;br&gt;enclosed in quotation marks and may looks strange because quotation marks
&lt;br&gt;will be inappropriate in that place. The idea was to define non-standard css
&lt;br&gt;class names for markup WITHIN document, using attributes for example.
&lt;br&gt;In this case even if standard asciidoc config/css will be used to convert
&lt;br&gt;these documents, the markup with changed meaning will looks like normal
&lt;br&gt;text (because standard css doesn't provide styles for non-standard class
&lt;br&gt;names generated by standard configuration because of these attributes)
&lt;br&gt;and so will not looks inappropriate, at least.
&lt;br&gt;&lt;br&gt;That last idea is only thing which require asciidoc modifications and
&lt;br&gt;maybe it's just overkill and not really useful feature at all.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16964733&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16964733.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16962087</id>
	<title>Re: Semantic markup?</title>
	<published>2008-04-29T07:36:53Z</published>
	<updated>2008-04-29T07:36:53Z</updated>
	<author>
		<name>Bill Harris</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Stuart Rackham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16962087&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;srackham@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; The primary goals of AsciiDoc's markup, in order of importance, are:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Human readable an writable (any documents should be read comfortably 
&lt;br&gt;&amp;gt; by readers with no prior knowledge of AsciiDoc).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Simple (for humans to learn and memorize).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Generalized (not overly biased toward specific problem domains).
&lt;br&gt;&lt;br&gt;Hi Stuart, Alex,
&lt;br&gt;&lt;br&gt;That last is the reason I asked my question. &amp;nbsp;I see asciidoc as a
&lt;br&gt;general tool. &amp;nbsp;I use it for certain client reports, for example, as well
&lt;br&gt;as for taking notes and other tasks. &amp;nbsp;I started using it for generating
&lt;br&gt;presentations, but I found I liked beamer itself better than the initial
&lt;br&gt;asciidoc beamer extensions (although I applaud that work and can see its
&lt;br&gt;utility).
&lt;br&gt;&lt;br&gt;I was concerned that too much of a focus on semantic markup might make
&lt;br&gt;this more of a software documentation tool and less of a general tool.
&lt;br&gt;I have used DocBook to write documents that don't pertain to software,
&lt;br&gt;but I admit that it fits the software documentation role quite well.
&lt;br&gt;(With nxml-mode, this Emacs user feels no need for a specialized
&lt;br&gt;editor.)
&lt;br&gt;&lt;br&gt;I am very happy with the three objectives you stated here. &amp;nbsp;If you stay
&lt;br&gt;focused on those, I'm not worried about any extensions you might add.
&lt;br&gt;If you add objectives (e.g., document software well), I'm concerned that
&lt;br&gt;you may risk compromising your second and third goals. &amp;nbsp;I see that using
&lt;br&gt;this to document software could be very handy; while I haven't been
&lt;br&gt;following the discussion closely, I hope Stuart's suggestions offer you
&lt;br&gt;help, Alex.
&lt;br&gt;&lt;br&gt;Thanks for the cool tool.
&lt;br&gt;&lt;br&gt;Bill
&lt;br&gt;- -- 
&lt;br&gt;Bill Harris &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://facilitatedsystems.com/weblog/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facilitatedsystems.com/weblog/&lt;/a&gt;&lt;br&gt;Facilitated Systems &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Everett, WA 98208 USA
&lt;br&gt;&lt;a href=&quot;http://facilitatedsystems.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facilitatedsystems.com/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; phone: +1 425 337-5541
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.7 (MingW32)
&lt;br&gt;Comment: For more information, see &lt;a href=&quot;http://www.gnupg.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnupg.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;iD8DBQFIFzKI3J3HaQTDvd8RAqMLAJ9qOQurUybq314/46RaHYmb764p7ACeJroy
&lt;br&gt;fR3na65rkOaX99vaC5AsC7w=
&lt;br&gt;=zo/G
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16962087&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16962087.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16948860</id>
	<title>Re: Semantic markup?</title>
	<published>2008-04-28T14:34:55Z</published>
	<updated>2008-04-28T14:34:55Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">Alex Efros wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Mon, Apr 28, 2008 at 12:58:10PM +1200, Stuart Rackham wrote:
&lt;br&gt;&amp;gt;&amp;gt; With this patch I still get positioning problems in IE7 (7.0.6001.18000).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Actually, that's not important. I think right solution will be to generate 
&lt;br&gt;&amp;gt; static ToC. Even with current one-pass asciidoc realization it's still
&lt;br&gt;&amp;gt; possible to plug ToC generation script before asciidoc:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; cat file.txt | add_ToC | asciidoc -
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So I think this patch shouldn't be included in asciidoc. Most people live
&lt;br&gt;&amp;gt; without it for a long time, few who need it - will find it in maillist...
&lt;br&gt;&amp;gt; while we can focus on right solution. ;-)
&lt;/div&gt;&lt;br&gt;I agree that the patch is not really necessary, in my opinion the 
&lt;br&gt;solution is to use the DocBook XSL Stylesheets toolchain (as per my 
&lt;br&gt;previous posting:
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/forum/ViewPost.jtp?post=16917259&amp;framed=y&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/forum/ViewPost.jtp?post=16917259&amp;framed=y&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BTW, there one more thing which keep bothering me: idea about making
&lt;br&gt;&amp;gt; generated html more semantic. Of course asciidoc can't add semantic if
&lt;br&gt;&amp;gt; there no semantic markup in source file, so this should be applied to
&lt;br&gt;&amp;gt; source file first. As example. I wrote documentation about software tools,
&lt;br&gt;&amp;gt; projects, articles about software, etc. This sort of documentation
&lt;br&gt;&amp;gt; contains inside text (i.e. inlined, not as separate blocks) things like
&lt;br&gt;&amp;gt; filenames, short examples of commands, specific terms, references to man
&lt;br&gt;&amp;gt; pages, etc... - in addition to usual simple bold/italic/underline text
&lt;br&gt;&amp;gt; markup. I'd like to be able to markup filenames as &amp;quot;filenames&amp;quot; in source
&lt;br&gt;&amp;gt; file, i.e. in different way I markup usual bold/italic/monospaced in text.
&lt;br&gt;&amp;gt; And generated html should use different css class names for filenames and
&lt;br&gt;&amp;gt; usual bold/italic/monospaced text - this allow to distinguish them using
&lt;br&gt;&amp;gt; usual css. What you think about this idea? Is there any reasons why this
&lt;br&gt;&amp;gt; can't/shouldn't be done which I don't know?
&lt;/div&gt;&lt;br&gt;There's absolutely no reason why any or all of this can't be done (by
&lt;br&gt;writing a custom configuration file containing changes and additions to 
&lt;br&gt;the existing markup).
&lt;br&gt;&lt;br&gt;Whether there are reasons it should be done is a separate question. 
&lt;br&gt;Rather than answering this question directly it's probably easier if I 
&lt;br&gt;describe the rationale behind the current AsciiDoc markup and it's 
&lt;br&gt;relationship to semantic markups.
&lt;br&gt;&lt;br&gt;The AsciiDoc markup is a fairly simple and general presentational 
&lt;br&gt;markup, it was designed that way -- the markup elements relate mostly to 
&lt;br&gt;document structure and textual highlighting, the markup conventions are 
&lt;br&gt;designed to keep the visual appearance as close as possible to a normal 
&lt;br&gt;document. The out-of-the-box markup not meant to be a semantic markup 
&lt;br&gt;(at least not in the DocBook sense), perhaps it should be called 
&lt;br&gt;'Structural Markup'.
&lt;br&gt;&lt;br&gt;The primary goals of AsciiDoc's markup, in order of importance, are:
&lt;br&gt;&lt;br&gt;- Human readable an writable (any documents should be read comfortably 
&lt;br&gt;by readers with no prior knowledge of AsciiDoc).
&lt;br&gt;&lt;br&gt;- Simple (for humans to learn and memorize).
&lt;br&gt;&lt;br&gt;- Generalized (not overly biased toward specific problem domains).
&lt;br&gt;&lt;br&gt;All three design criteria are interdependent.
&lt;br&gt;&lt;br&gt;While the ability to style a document independent of the markup is
&lt;br&gt;good (I would say essential), semantic markup (outside of document
&lt;br&gt;structural elements), while intellectually appealing, has very limited 
&lt;br&gt;practical utility for presentational documents (i.e. documents whose 
&lt;br&gt;primary function is to be read by humans). After all, do you really need 
&lt;br&gt;additional annotations to remind yourself that the text is a file name 
&lt;br&gt;(or a menu command or a source code listing)? If you do the document is 
&lt;br&gt;probably poorly written. All that's needed are a few unobtrusive text 
&lt;br&gt;highlighting and document structuring conventions which the the author 
&lt;br&gt;is free to style and use as taste and the target audience dictates.
&lt;br&gt;&lt;br&gt;As soon as you go down the semantic path you are immediately up against 
&lt;br&gt;the AsciiDoc design criteria:
&lt;br&gt;&lt;br&gt;- Semantic markup elements are invariably biased towards a particular 
&lt;br&gt;problem domain (software documentation in the case of DocBook).
&lt;br&gt;&lt;br&gt;- There is a proliferation of new (often seldom used) elements to the 
&lt;br&gt;detriment of readability and simplicity.
&lt;br&gt;&lt;br&gt;There's is an argument that you need semantic markup to enforce 
&lt;br&gt;consistency in output documents -- I would counter that a writer who is 
&lt;br&gt;incapable of maintaining simple formatting conventions would almost 
&lt;br&gt;certainly be incapable of consistently applying semantic markup.
&lt;br&gt;&lt;br&gt;Again, having said all that, there's no reason you can't configure the
&lt;br&gt;AsciiDoc markup to be as semantic as you like. It may even be a
&lt;br&gt;good idea if you specialize in one one or two problem domains.
&lt;br&gt;&lt;br&gt;&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16948860&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16948860.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16946628</id>
	<title>Re: Semantic markup?</title>
	<published>2008-04-28T12:43:34Z</published>
	<updated>2008-04-28T12:43:34Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;On Mon, Apr 28, 2008 at 12:28:32PM -0700, Bill Harris wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; DocBook: &amp;nbsp;semantic markup, document single-sourcing and reuse
&lt;br&gt;&lt;br&gt;In short, I try to avoid overcomplicated things. DocBook is
&lt;br&gt;overcomplicated - at least for me and my tasks.
&lt;br&gt;&lt;br&gt;Writing documentation is hard task for most software engineers, and if
&lt;br&gt;they can't write documentation using their usual text editor without
&lt;br&gt;spending time for additional things like markup (and especially - XML-like
&lt;br&gt;markup!) - they will try to avoid writing documentation at all.
&lt;br&gt;&lt;br&gt;Using text editor specially designed to edit DocBook isn't an option,
&lt;br&gt;because nearly all Vim and Emacs users unable to use other text editors -
&lt;br&gt;they lack too many useful features or require too many time for learning
&lt;br&gt;one more (needless!) text editor.
&lt;br&gt;&lt;br&gt;So... if we can add some semantic to asciidoc without making it and it
&lt;br&gt;usage more complex... why not? Maybe this feature allow few more people to
&lt;br&gt;migrate from DocBook to AsciiDoc. :)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16946628&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/16946628/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16946628.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16946396</id>
	<title>Re: Semantic markup?</title>
	<published>2008-04-28T12:28:32Z</published>
	<updated>2008-04-28T12:28:32Z</updated>
	<author>
		<name>Bill Harris</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Just curious: what's your intended distinction among asciidoc, LaTeX,
&lt;br&gt;and DocBook? &amp;nbsp;I see them as three distinct tools, useful for three
&lt;br&gt;distinct categories of work:
&lt;br&gt;&lt;br&gt;&amp;nbsp; asciidoc: easy generation of simple documents
&lt;br&gt;&amp;nbsp; LaTeX: &amp;nbsp; &amp;nbsp;high-quality typesetting
&lt;br&gt;&amp;nbsp; DocBook: &amp;nbsp;semantic markup, document single-sourcing and reuse
&lt;br&gt;&lt;br&gt;If you begin to add functionality to asciidoc to cover semantic markup
&lt;br&gt;as you've described, when does it become more efficient just to write
&lt;br&gt;DocBook source? &amp;nbsp;If I write in DocBook, at least I have tools such as
&lt;br&gt;nxml-mode to make life easier, and I've got schemas and DTDs that have
&lt;br&gt;been honed by many a user and many a standards meeting.
&lt;br&gt;&lt;br&gt;Bill
&lt;br&gt;- -- 
&lt;br&gt;Bill Harris &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://facilitatedsystems.com/weblog/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facilitatedsystems.com/weblog/&lt;/a&gt;&lt;br&gt;Facilitated Systems &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Everett, WA 98208 USA
&lt;br&gt;&lt;a href=&quot;http://facilitatedsystems.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facilitatedsystems.com/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; phone: +1 425 337-5541
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.7 (MingW32)
&lt;br&gt;Comment: For more information, see &lt;a href=&quot;http://www.gnupg.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnupg.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;iD8DBQFIFiVk3J3HaQTDvd8RAqrEAJ9zvVcxE8OJ/ypfsJ+EGC6skQAKiQCfeS+i
&lt;br&gt;qaclG+bqpKq7IJ+AY/F7jvU=
&lt;br&gt;=IE0b
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16946396&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16946396.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16931386</id>
	<title>Semantic markup? (was: Re: ToC #hash position patch)</title>
	<published>2008-04-27T19:42:38Z</published>
	<updated>2008-04-27T19:42:38Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;On Mon, Apr 28, 2008 at 12:58:10PM +1200, Stuart Rackham wrote:
&lt;br&gt;&amp;gt; With this patch I still get positioning problems in IE7 (7.0.6001.18000).
&lt;br&gt;&lt;br&gt;Actually, that's not important. I think right solution will be to generate 
&lt;br&gt;static ToC. Even with current one-pass asciidoc realization it's still
&lt;br&gt;possible to plug ToC generation script before asciidoc:
&lt;br&gt;&amp;nbsp; &amp;nbsp; cat file.txt | add_ToC | asciidoc -
&lt;br&gt;&lt;br&gt;So I think this patch shouldn't be included in asciidoc. Most people live
&lt;br&gt;without it for a long time, few who need it - will find it in maillist...
&lt;br&gt;while we can focus on right solution. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;BTW, there one more thing which keep bothering me: idea about making
&lt;br&gt;generated html more semantic. Of course asciidoc can't add semantic if
&lt;br&gt;there no semantic markup in source file, so this should be applied to
&lt;br&gt;source file first. As example. I wrote documentation about software tools,
&lt;br&gt;projects, articles about software, etc. This sort of documentation
&lt;br&gt;contains inside text (i.e. inlined, not as separate blocks) things like
&lt;br&gt;filenames, short examples of commands, specific terms, references to man
&lt;br&gt;pages, etc... - in addition to usual simple bold/italic/underline text
&lt;br&gt;markup. I'd like to be able to markup filenames as &amp;quot;filenames&amp;quot; in source
&lt;br&gt;file, i.e. in different way I markup usual bold/italic/monospaced in text.
&lt;br&gt;And generated html should use different css class names for filenames and
&lt;br&gt;usual bold/italic/monospaced text - this allow to distinguish them using
&lt;br&gt;usual css. What you think about this idea? Is there any reasons why this
&lt;br&gt;can't/shouldn't be done which I don't know?
&lt;br&gt;&lt;br&gt;As for me, at least two different markup for italic ('' and __) and
&lt;br&gt;monospace (`` and ++) should generate 4 different css class names instead
&lt;br&gt;of 2. This isn't enough but adding 2 more to 3 existing will nearly double
&lt;br&gt;amount of available markups! Things like ^super^ and ~sub~ are rarely used
&lt;br&gt;in software documentation, so they also can be reused for different things.
&lt;br&gt;&lt;br&gt;Here is how it can be realized to really add semantic information instead
&lt;br&gt;of just changing css and making it incompatible with other asciidoc texts
&lt;br&gt;(which will use ^super^ for making text looks super :) and not to markup
&lt;br&gt;references to man pages):
&lt;br&gt;- at document header user can redefine attributes (or include file with
&lt;br&gt;&amp;nbsp; such attribute declarations because they are likely will be same for
&lt;br&gt;&amp;nbsp; many similar documents)
&lt;br&gt;- these attributes set user-defined css class names to possible markup
&lt;br&gt;&amp;nbsp; (not to all, of course, only to markup user wish to redefine):
&lt;br&gt;&amp;nbsp; &amp;nbsp; :markup-underscore:	 &amp;nbsp; &amp;nbsp;underline
&lt;br&gt;&amp;nbsp; &amp;nbsp; :markup-quote:	 &amp;nbsp; &amp;nbsp;pathname
&lt;br&gt;&amp;nbsp; &amp;nbsp; :markup-backticks:	 &amp;nbsp; &amp;nbsp;command
&lt;br&gt;&amp;nbsp; &amp;nbsp; :markup-tilde:	 &amp;nbsp; &amp;nbsp;ref2man
&lt;br&gt;- file with such redefined attributes will generate html with semantic
&lt;br&gt;&amp;nbsp; class names and specially crafted css, which support these classes (in
&lt;br&gt;&amp;nbsp; addition to usual default classes) will show this html better than
&lt;br&gt;&amp;nbsp; default css... but it will be still possible to use default css for such
&lt;br&gt;&amp;nbsp; file or use that extended css to process usual asciidoc files
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16931386&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16931386.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16930603</id>
	<title>Re: patch: correct #hash position after updating ToC</title>
	<published>2008-04-27T17:58:10Z</published>
	<updated>2008-04-27T17:58:10Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">Alex Efros wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Sat, Apr 26, 2008 at 06:07:58AM +0300, Alex Efros wrote:
&lt;br&gt;&amp;gt;&amp;gt; I wonder is it possible to fix this issue without introducing this side
&lt;br&gt;&amp;gt;&amp;gt; effect (which is just another issue itself, to be honest)?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Of course it's possible. :) Fixed version below.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- toc.js.orig 2008-04-26 05:40:53.000000000 +0300
&lt;br&gt;&amp;gt; +++ toc.js &amp;nbsp; &amp;nbsp; &amp;nbsp;2008-04-26 05:42:09.000000000 +0300
&lt;br&gt;&amp;gt; @@ -66,4 +66,6 @@
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (entries.length == 0)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;document.getElementById(&amp;quot;header&amp;quot;).removeChild(toc);
&lt;br&gt;&amp;gt; + &amp;nbsp;if (document.location.hash.length &amp;gt; 0)
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp;document.location.replace(document.location.hash);
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;With this patch I still get positioning problems in IE7 (7.0.6001.18000).
&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16930603&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16930603.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16917259</id>
	<title>Re: patch: correct #hash position after updating ToC</title>
	<published>2008-04-26T13:35:50Z</published>
	<updated>2008-04-26T13:35:50Z</updated>
	<author>
		<name>Stuart Rackham</name>
	</author>
	<content type="html">Alex Efros wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Sat, Apr 26, 2008 at 02:16:12PM +0200, Miklos Vajna wrote:
&lt;br&gt;&amp;gt;&amp;gt; i think a solution would be to buffer the ouput in case the output is a
&lt;br&gt;&amp;gt;&amp;gt; file and not stdin.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Not necessarily. There no reason to put all possible functionality into
&lt;br&gt;&amp;gt; single tool. I think it's better to develop additional script which will
&lt;br&gt;&amp;gt; process document and output ToC. Actually, I suppose such a &amp;quot;tool&amp;quot; can be
&lt;br&gt;&amp;gt; just separate config file for asciidoc:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - user run asciidoc asking to convert file.txt using xhtml11.conf
&lt;br&gt;&amp;gt; &amp;nbsp; * asciidoc run another asciidoc asking to convert file.txt using ToC.conf
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; and wait until it finish and return prepared static ToC
&lt;br&gt;&amp;gt; &amp;nbsp; * asciidoc process file.txt as usually plus output result of previous
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; asciidoc run in place of ToC
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I will not be surprised if this can be done using current functionality -
&lt;br&gt;&amp;gt; I remember something about possibility to run external command from .conf
&lt;br&gt;&amp;gt; file. Source highlight work this way AFAIK.
&lt;/div&gt;&lt;br&gt;ToC generation does break the single pass implementation of asciidoc. 
&lt;br&gt;With regards static ToC, you can do this using DocBook XSL Stylesheets 
&lt;br&gt;toolchain (the JS XHTML ToC is a quick and dirty way to get a ToC if you 
&lt;br&gt;haven't configured the toolchain). The DocBook route also adds the 
&lt;br&gt;option of generating chunked XHTML documents. Here's the chunked User 
&lt;br&gt;Guide example: &lt;a href=&quot;http://www.methods.co.nz/asciidoc/chunked/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.methods.co.nz/asciidoc/chunked/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers, Stuart
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16917259&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16917259.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16916028</id>
	<title>Re: patch: correct #hash position after	updating ToC</title>
	<published>2008-04-26T11:27:18Z</published>
	<updated>2008-04-26T11:27:18Z</updated>
	<author>
		<name>Miklos Vajna</name>
	</author>
	<content type="html">On Sat, Apr 26, 2008 at 04:52:25PM +0300, Alex Efros &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16916028&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;powerman@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; - user run asciidoc asking to convert file.txt using xhtml11.conf
&lt;br&gt;&amp;gt; &amp;nbsp; * asciidoc run another asciidoc asking to convert file.txt using ToC.conf
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; and wait until it finish and return prepared static ToC
&lt;br&gt;&amp;gt; &amp;nbsp; * asciidoc process file.txt as usually plus output result of previous
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; asciidoc run in place of ToC
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I will not be surprised if this can be done using current functionality -
&lt;br&gt;&amp;gt; I remember something about possibility to run external command from .conf
&lt;br&gt;&amp;gt; file. Source highlight work this way AFAIK.
&lt;br&gt;&lt;br&gt;they are called filters. i'm not sure if you can pass the whole file.txt
&lt;br&gt;to a filter as well (the source highlight works just for given code
&lt;br&gt;blocks).
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16916028&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/16916028/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16916028.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16915732</id>
	<title>Re: patch: correct #hash position after	updating ToC</title>
	<published>2008-04-26T10:56:20Z</published>
	<updated>2008-04-26T10:56:20Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;On Sat, Apr 26, 2008 at 06:07:58AM +0300, Alex Efros wrote:
&lt;br&gt;&amp;gt; I wonder is it possible to fix this issue without introducing this side
&lt;br&gt;&amp;gt; effect (which is just another issue itself, to be honest)?
&lt;br&gt;&lt;br&gt;Of course it's possible. :) Fixed version below.
&lt;br&gt;&lt;br&gt;--- toc.js.orig 2008-04-26 05:40:53.000000000 +0300
&lt;br&gt;+++ toc.js &amp;nbsp; &amp;nbsp; &amp;nbsp;2008-04-26 05:42:09.000000000 +0300
&lt;br&gt;@@ -66,4 +66,6 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (entries.length == 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;document.getElementById(&amp;quot;header&amp;quot;).removeChild(toc);
&lt;br&gt;+ &amp;nbsp;if (document.location.hash.length &amp;gt; 0)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;document.location.replace(document.location.hash);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16915732&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16915732.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16913161</id>
	<title>Re: patch: correct #hash position after updating	ToC</title>
	<published>2008-04-26T06:52:25Z</published>
	<updated>2008-04-26T06:52:25Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;On Sat, Apr 26, 2008 at 02:16:12PM +0200, Miklos Vajna wrote:
&lt;br&gt;&amp;gt; i think a solution would be to buffer the ouput in case the output is a
&lt;br&gt;&amp;gt; file and not stdin.
&lt;br&gt;&lt;br&gt;Not necessarily. There no reason to put all possible functionality into
&lt;br&gt;single tool. I think it's better to develop additional script which will
&lt;br&gt;process document and output ToC. Actually, I suppose such a &amp;quot;tool&amp;quot; can be
&lt;br&gt;just separate config file for asciidoc:
&lt;br&gt;&lt;br&gt;- user run asciidoc asking to convert file.txt using xhtml11.conf
&lt;br&gt;&amp;nbsp; * asciidoc run another asciidoc asking to convert file.txt using ToC.conf
&lt;br&gt;&amp;nbsp; &amp;nbsp; and wait until it finish and return prepared static ToC
&lt;br&gt;&amp;nbsp; * asciidoc process file.txt as usually plus output result of previous
&lt;br&gt;&amp;nbsp; &amp;nbsp; asciidoc run in place of ToC
&lt;br&gt;&lt;br&gt;I will not be surprised if this can be done using current functionality -
&lt;br&gt;I remember something about possibility to run external command from .conf
&lt;br&gt;file. Source highlight work this way AFAIK.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16913161&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/16913161/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16913161.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16912338</id>
	<title>Re: patch: correct #hash position after	updating ToC</title>
	<published>2008-04-26T05:19:30Z</published>
	<updated>2008-04-26T05:19:30Z</updated>
	<author>
		<name>Miklos Vajna</name>
	</author>
	<content type="html">On Sat, Apr 26, 2008 at 02:16:12PM +0200, Miklos Vajna &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16912338&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vmiklos@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; i think a solution would be to buffer the ouput in case the output is a
&lt;br&gt;&amp;gt; file and not stdin.
&lt;br&gt;&lt;br&gt;in case the input*
&lt;br&gt;&lt;br&gt;sorry for the typo.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16912338&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/16912338/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16912338.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16912320</id>
	<title>Re: patch: correct #hash position after	updating ToC</title>
	<published>2008-04-26T05:16:12Z</published>
	<updated>2008-04-26T05:16:12Z</updated>
	<author>
		<name>Miklos Vajna</name>
	</author>
	<content type="html">On Sat, Apr 26, 2008 at 07:05:22AM +0300, Alex Efros &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16912320&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;powerman@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; BTW, most ease and correct way to solve (actually - avoid) all issues with
&lt;br&gt;&amp;gt; ToC - don't use JavaScript to generate it on the fly. Is there any reasons
&lt;br&gt;&amp;gt; why not generate static ToC when generating html itself?
&lt;br&gt;&lt;br&gt;i guess that's because asciidoc reads the input as a stream, without
&lt;br&gt;buffering. obviously it can't print the toc when it does not see the end
&lt;br&gt;of the input.
&lt;br&gt;&lt;br&gt;i think a solution would be to buffer the ouput in case the output is a
&lt;br&gt;file and not stdin.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16912320&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/16912320/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16912320.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16911509</id>
	<title>Re: centre aligned text, fonts and colours</title>
	<published>2008-04-26T03:24:58Z</published>
	<updated>2008-04-26T03:24:58Z</updated>
	<author>
		<name>RoryWalsh</name>
	</author>
	<content type="html">Great Alex, thanks a lot.
&lt;br&gt;&lt;br&gt;Rory.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Alex Efros wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Fri, Apr 25, 2008 at 02:30:51PM +0100, Rory Walsh wrote:
&lt;br&gt;&amp;gt;&amp;gt; To summarise I guess I'm asking if I can create/set my own custom 
&lt;br&gt;&amp;gt;&amp;gt; layout/format to an asciidoc text. Any suggestions will be greatly 
&lt;br&gt;&amp;gt;&amp;gt; appreciated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If your output format is html, then most, if not all such things can be
&lt;br&gt;&amp;gt; easily changed using your custom CSS. In all other cases you can
&lt;br&gt;&amp;gt; change existing or write own custom asciidoc config file in /etc/asciidoc/
&lt;br&gt;&amp;gt; and have nearly full control over output format.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16911509&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/centre-aligned-text%2C-fonts-and-colours-tp16897473p16911509.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16910441</id>
	<title>bug? missing empty line after list</title>
	<published>2008-04-26T01:01:48Z</published>
	<updated>2008-04-26T01:01:48Z</updated>
	<author>
		<name>J. Wuttke</name>
	</author>
	<content type="html">Producing a manpage with asciidoc 8.2.5, I observe the following:
&lt;br&gt;&lt;br&gt;- every list is preceeded by an empty line
&lt;br&gt;- but it is not followed by an empty line
&lt;br&gt;This offends logic and readability.
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16910441&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bug--missing-empty-line-after-list-tp16910441p16910441.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16909257</id>
	<title>Re: patch: correct #hash position after	updating ToC</title>
	<published>2008-04-25T21:05:22Z</published>
	<updated>2008-04-25T21:05:22Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;BTW, most ease and correct way to solve (actually - avoid) all issues with
&lt;br&gt;ToC - don't use JavaScript to generate it on the fly. Is there any reasons
&lt;br&gt;why not generate static ToC when generating html itself?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16909257&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16909257.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16908939</id>
	<title>Re: patch: correct #hash position after	updating ToC</title>
	<published>2008-04-25T20:07:58Z</published>
	<updated>2008-04-25T20:07:58Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp;document.location = document.location;
&lt;br&gt;&lt;br&gt;BTW, there side effect in adding additional item in browser history.
&lt;br&gt;So user will need to click 'Back' twice to get to previous pages.
&lt;br&gt;I wonder is it possible to fix this issue without introducing this side
&lt;br&gt;effect (which is just another issue itself, to be honest)?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16908939&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16908939.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16908908</id>
	<title>patch: correct #hash position after updating ToC</title>
	<published>2008-04-25T20:02:21Z</published>
	<updated>2008-04-25T20:02:21Z</updated>
	<author>
		<name>Alex Efros-4</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;Problem: after clicking on url with hash like /doc/index.html#something
&lt;br&gt;page loaded positioned on #something, but after updating ToC position
&lt;br&gt;changed (usually ToC push page several lines down).
&lt;br&gt;&lt;br&gt;This behaviour exists in Opera 9/Linux, FF 2/Linux and Safari/Mac. 
&lt;br&gt;In IE 6/7 this problem doesn't exists, but looks like proposed patch
&lt;br&gt;doesn't broke anything IE so it should be safe to use it to fix other
&lt;br&gt;browsers.
&lt;br&gt;&lt;br&gt;--- toc.js.orig 2008-04-26 05:40:53.000000000 +0300
&lt;br&gt;+++ toc.js &amp;nbsp; &amp;nbsp; &amp;nbsp;2008-04-26 05:42:09.000000000 +0300
&lt;br&gt;@@ -66,4 +66,6 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (entries.length == 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;document.getElementById(&amp;quot;header&amp;quot;).removeChild(toc);
&lt;br&gt;+ &amp;nbsp;if (document.location.hash.length &amp;gt; 0)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;document.location = document.location;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WBR, Alex.
&lt;br&gt;_______________________________________________
&lt;br&gt;asciidoc-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16908908&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asciidoc-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch%3A-correct--hash-position-after-updating-ToC-tp16908908p16908908.html" />
</entry>

</feed>
