On 22 April 2013 15:00, hydrostarr <[email protected]> wrote:
> On 4/21/13 11:35 PM, Lex Trotman wrote:
>
> copy the [image-blockmacro] section from the asciidoc xhtml.conf to your
> xhtml.conf file and move the second last line to after the
> [image-blockmacro]
>
> On 4/21/13 11:35 PM, Lex Trotman wrote:
>
> copy the [image-blockmacro] section from the asciidoc xhtml.conf to your
> xhtml.conf file and move the second last line to after the
> [image-blockmacro]
>
>
> Thx much for help. However, am unclear as to what my xhtml.conf file
> should look like (not sure what "move the second last line to after the
> [image-blockmacro]" means). Here's the content I have saved as
> 'xhtml11.conf' in my document's directory (as per the name I saw in the std
> asciidoc directory -- per MacOS homebrew):
>
>
> #
> # xhtml11.conf
> #
> # Asciidoc configuration file.
> # xhtml11 backend, generates XHTML 1.1 conformant markup.
> #
>
> [image-blockmacro]
> <div class="imageblock{style? {style}}{role? {role}}{unbreakable-option?
> unbreakable}"{id? id="{id}"}{align? style="text-align:{align};"}{float?
> style="float:{float};"}>
>
To here
> <div class="content">
> <a class="image" href="{link}">
> {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}"
> alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} />
> {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height?
> height="{height}"}
> src="data:image/{eval:os.path.splitext(r'{target}')[1][1:]};base64,
> {data-uri#}{sys:"{python}" -u -c "import base64,sys;
> base64.encode(sys.stdin,sys.stdout)" <
> "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}" />
> {link#}</a>
> </div>
>
move the following line
> <div class="title">{caption={figure-caption} {counter:figure-number}.
> }{title}</div>
> </div>
>
>
>>
Cheers
Lex
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.