Hi Matthew

Matthew Marshall wrote:
Hi --

I would like to suggest that blockquotes without attribution be
rendered in docbook without attribution tags.

For example,

_____
some text
_____

is currently rendered as:

<blockquote>
<attribution></attribution>
<simpara>some text</simpara>
</blockquote>

My suggestion is that it be rendered:

<blockquote>
<simpara>some text</simpara>
</blockquote>

The reason I prefer this is that converting the docbook renders the
attribution dash mark where it expects the attribution -- which looks
strange for blockquotes without attribution.

Good idea, I've edited the docbook.conf file for the next release and I've attached the patch below.



Thanks,
Matthew

_______________________________________________
Asciidoc-discuss mailing list
Asciidoc-discuss@metaperl.com
http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss


Cheers, Stuart
--
Stuart Rackham
--- docbook.conf        2007-01-18 11:21:11.243179710 +1300
+++ docbook.conf.NEW    2007-01-18 11:17:08.126733269 +1300
@@ -243,10 +243,13 @@
 # The epigraph element may be more appropriate than blockquote.
 <blockquote{id? id="{id}"}>
 <title>{title}</title>
-<attribution>
+# Include attribution only if either {attribution} or {citetitle} are defined.
+{attribution#}<attribution>
+{attribution%}{citetitle#}<attribution>
 {attribution}
 <citetitle>{citetitle}</citetitle>
-</attribution>
+{attribution#}</attribution>
+{attribution%}{citetitle#}</attribution>
 |
 </blockquote>
 
_______________________________________________
Asciidoc-discuss mailing list
Asciidoc-discuss@metaperl.com
http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Reply via email to