Hi Lex,

thanks for this tip, it definitely makes things easier to maintain!

>From the documentation I have understood that I need to copy the whole
file. Maybe it would be good to state it explicitly that you can use
only a part of it?

--
Regards,
Tomek Kaczanowski

On 27 Lip, 02:13, Lex Trotman <[email protected]> wrote:
> On 27 July 2012 03:56, Tomek Kaczanowski <[email protected]> wrote:
>
>
>
>
>
>
>
>
>
> > Hi Lex,
>
> >> Of course if you really need to format the caption differently you can
> >> create your own custom xhtml11.conf and copy the [image-blockmacro]
> >> section from the system xhtml11.conf and edit as you please.
> > great, this is what I wanted!
>
> > For those interested, I copied xhtml11.conf to the directory I have my
> > asciidoc source files 
> > (seehttp://www.methods.co.nz/asciidoc/userguide.html#X27)
> > and changed a part of image-blockmacro from:
>
> > <div class="title">{caption={figure-caption} {counter:figure-number}. }
> > {title}</div>
>
> > to:
>
> > <div class="title">{title}</div>
> > <div class="caption">{caption={figure-caption}}</div>
>
> > And that is it.
>
> > BTW. I also had to copy asciidoc.js and asciidoc.css to appropriate
> > folders structure.
>
> The asciidoc conf files work like CSS, you only need to copy the part
> that you want to change, not the whole conf file.  If as I suggested
> you copied *only* the [image-blockmacro] section you wouldn't need to
> move anything else, and then you would also see changes to all other
> parts of the xhtml11.conf when you upgrade your asciidoc.
>
> Cheers
> Lex
>
>
>
>
>
>
>
> > --
> > Regards,
> > Tomek Kaczanowski
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "asciidoc" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/asciidoc?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to