For anyone else that doesn't care whether callout numbers actually link to each other, and for anyone else who didn't realise that this is totally possible -- if you encode your asciidoc files as utf-8, you can always just include the literal characters, eg ➊ , directly in your source, and in your listings...
That's a little tedious, since it's hard to type those in. I did also have a bit of a play with the replacements section of the conf files, eg: [replacements] %1%=➊ which will replace any %1% from your main text with a ➊. But not a %1% inside a code listing, unless you get very clever with your [subs=] prefixes. cheers all, HP PS - just for anyone else like me that really struggled to get callouts working -- they don't, out of the box. you have to switch them on, either at the command-line, or (simpler) in an asciidoc.conf file next to your main docs. You also have to find the path to where you installed asciidoc, and find the images/icons folder in there, so you can add the following lines to your asciidoc.conf: [attributes] icons iconsdir=/path/to/asciidoc/images/icons On 16 April 2013 00:11, Lex Trotman <[email protected]> wrote: > > > > On 16 April 2013 07:57, Dan Allen <[email protected]> wrote: > >> >> >> >> On Mon, Apr 15, 2013 at 3:09 AM, Lex Trotman <[email protected]> wrote: >> >>> >>> Your previous suggestion looks fine (I havn't had a chance to try it) >>> but you are now on my list of ***users of px measurements*** :). I'm sure >>> you know its not portable, so don't encourage it :) >>> >> >> I used ems whenever I possibly can. In this case, I needed precision to >> est the correct ratio. The next step would be to convert these into em >> using a function from Foundation 4 called emCalc() that selects the em >> equivalents to the px at a given scale. I just have't done it yet. >> >> Ok, you're excused :) > > Cheers > Lex > > > >> -Dan >> >> -- >> Dan Allen >> Principal Software Engineer, Red Hat | Author of Seam in Action >> Registered Linux User #231597 >> >> http://google.com/profiles/dan.j.allen >> http://mojavelinux.com >> http://mojavelinux.com/seaminaction >> >> -- >> 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. > > > -- ------------------------------ Harry J.W. Percival ------------------------------ Twitter: @hjwp Mobile: +44 (0) 78877 02511 Skype: harry.percival -- 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.
