> It is better not to edit the system conf files because they will be
> overwritten every time you upgrade so if your package manager
> automatically upgrades Asciidoc you will lose your changes.
You are correct. Users should not need to edit the Asciidoc system
files since as you describe there are better options. I did this
merely as a quick way that I knew would work without too much futzing
around to confirm for myself and by way of example (not a
recommendation) how to go about getting this to work in the interest
of being thorough for those that wish to implement this option in
whatever way makes sense for them. I personally find that it is easier
just to edit the (X)HTML files until a slicker solution appears since
the number of pages for me will be few.
> The { } is the asciidoc syntax for attribute substitution. So
> Asciidoc tries to find an attribute called tex2jax and when it can't
> find it drops the line.
>
> Use \{ } to avoid the problem.
The issue mentioned about the skipped line with the asciidoc(1)
WARNING message can be remedied by adding a \ character in two places
(left of each {) as in:
<script type="text/x-mathjax-config">
MathJax.Hub.Config(\{tex2jax: \{inlineMath: [['$','$'], ['\\(','\
\)']]}});
</script>
Thanks for your insight on that. The warning message gives you the
clue, but I did not have the time to ferret this out.
So if any .conf files are going to be edited, this is the correct form
for this particular statement. For those that are making different
modifications to MathJax defaults than this one, it may be necessary
to tweak these with more or less backslash (\) escapes.
I will revise the sample I posted with this information so that it is
accessible where it counts.
Thanks for helping me clarify these issues. I'm going to bed now. I've
been up all day and all night flying back from Frankfurt, Germany. My
flight home to Columbus, Ohio from Dulles was cancelled at 12:30 am
after I waited for 5 hours. I had to get a hotel room and pay for a
cab. I have only these two days off and I come back and do this again.
None of this has anything to do with Asciidoc except I am taking some
credit here for perseverance under stress.
David
--
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.