Asciidoc does not do *input* substitutions, it is intended to only do
*output* substitutions.  I understand From Stuart that this is because
Asciidoc was first developed on Linux where there are many
substitution tools already, and the paradigm of chaining multiple
tools is well established.  So you can use your favourite specialist
substitution tool before asciidoc, rather than provide such a facility
as part of Asciidoc where it was likely to have fewer features and
would need maintaining.

That bit of backstory doesn't help you much of course, unless you can
indeed use a pre-asciidoc stage to do the substitutions.  Or even an
all-change in your editor.

Unfortunately the processing order can't now be changed since it will
change the semantics of the language and may break existing docs.

Cheers
Lex

On 24 February 2014 02:18, Harry Percival <[email protected]> wrote:
> naively tried this, in an asciidoc.conf:
>
> [replacements]
> 1st=1^st^
> 2nd=2^nd^
> 3rd=3^rd^
>
> But it doesn't work cos replacements happen after quotes.  Anyone know a
> workaround?
>
>
>
> --
> ------------------------------
> 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.
> 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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to