In that case you would just put it somewhere in your document, e.g. at the top. This kind of “macro“ is called an Attribute Entry[1]
If you need to customize more complex things the first thing you can do is reading and changing asciidoc.conf and <your backend>.conf (e.g. docbook.conf) Bela [1]http://www.methods.co.nz/asciidoc/userguide.html#X18 On Wednesday 14 July 2010 22:50:43 Andy68 wrote: > Thanks for the reply, it seems easy but where do I put that? I guess > that's my problem, I'm having trouble unravelling the sequence of > changes I need to make. Do I put something in [macros] in > asciidoc.conf and then do I need to put some markup some other place? > > Andy > > On Jul 14, 10:47 am, Sven Axelsson <[email protected]> wrote: > > On 14 July 2010 18:53, Andy68 <[email protected]> wrote: > > > Hi! I'm a long time asciidoc user but unfortunately, due to its > > > incredible usability out of the box, have never really dabbled in its > > > customization features. Not sure that's such a big misfortune rather > > > a big kudos to Mr. Rackham! > > > > > > I was wondering if anyone could make a suggestion for including > > > emoticons in documents using some type of markup or macro syntax. > > > Currently, I just do this: > > > > > > image:images/icons/emoticonbigsmile.gif[grin] > > > > > > But would rather do something with a markup, like: > > > > > > ~~grin~~ > > > > > > or some such thing. The docs are good, and I can read, but could some > > > guide me a bit on what I should be doing? Thanks for any suggestions! > > > > This should be easy to do using macros. Define your smilies thusly: > > > > :grin: image:images/icons/emoticonbigsmile.gif[grin] > > > > And use like {grin} whereever you want them in the text. > > > > -- > > Sven Axelsson > > ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++>++++<<<<<-]>++++.+.+ > > +++.>+++++.>+.<<-.>>+.>++++.<<. > > > > +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.- Hide quoted text - > > > > - Show quoted text -
signature.asc
Description: This is a digitally signed message part.
