diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2009-12-01 11:32:49 +1300 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2009-12-01 11:32:49 +1300 |
commit | 6b289cb9b6122b110ebff5fce95aaf193e5b61fe (patch) | |
tree | c8e8984631ff0116845f79f6ea7de8f641a2e4f2 | |
parent | fa4cedd87d5aa3f4a9bbc5ef1f0b1baadf218b6e (diff) | |
download | asciidoc-6b289cb9b6122b110ebff5fce95aaf193e5b61fe.tar.gz |
HTML outputs: Table and figure caption punctuation set to more usual syntax.
-rw-r--r-- | html4.conf | 6 | ||||
-rw-r--r-- | xhtml11.conf | 6 |
2 files changed, 6 insertions, 6 deletions
@@ -48,7 +48,7 @@ template::[pi-blockmacro] # src attribute must be first attribute for blogpost compatibility.
<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
{link#}</a>
-<p><b>{caption={figure-caption} {counter:figure-number}: }</b>{title}</p>
+<p><b>{caption={figure-caption} {counter:figure-number}. }</b>{title}</p>
</div>
[unfloat-blockmacro]
@@ -269,7 +269,7 @@ template::[quoteblock] [exampleblock]
<a name="{id}"></a>
-<p><b>{caption={example-caption} {counter:example-number}: }</b>{title}</p>
+<p><b>{caption={example-caption} {counter:example-number}. }</b>{title}</p>
<table frame="border" width="100%" cellpadding="15">
<tr><td style="border-left: 2px solid silver;">
|
@@ -332,7 +332,7 @@ style="float:{float};" frame="{frame%border}"
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
cellspacing="0" cellpadding="4">
-<caption><b>{caption={table-caption} {counter:table-number}: }</b>{title}</caption>
+<caption><b>{caption={table-caption} {counter:table-number}. }</b>{title}</caption>
{headrows#}<thead>
{headrows}
{headrows#}</thead>
diff --git a/xhtml11.conf b/xhtml11.conf index d5ae759..88e0770 100644 --- a/xhtml11.conf +++ b/xhtml11.conf @@ -92,7 +92,7 @@ latexmath-style=template="latexmathblock",subs=[] {data-uri#}{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{outdir={indir}}/{imagesdir=}{imagesdir?/}{target}"}" />
{link#}</a>
</div>
-<div class="title">{caption={figure-caption} {counter:figure-number}: }{title}</div>
+<div class="title">{caption={figure-caption} {counter:figure-number}. }{title}</div>
</div>
[unfloat-blockmacro]
@@ -308,7 +308,7 @@ template::[quoteblock] [exampleblock]
<div class="exampleblock"{id? id="{id}"}>
-<div class="title">{caption={example-caption} {counter:example-number}: }{title}</div>
+<div class="title">{caption={example-caption} {counter:example-number}. }{title}</div>
<div class="content">
|
</div></div>
@@ -368,7 +368,7 @@ style="float:{float};" frame="{frame%border}"
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
cellspacing="0" cellpadding="4">
-<caption class="title">{caption={table-caption} {counter:table-number}: }{title}</caption>
+<caption class="title">{caption={table-caption} {counter:table-number}. }{title}</caption>
{colspecs}
{headrows#}<thead>
{headrows}
|