Hi all,
I'm trying to understand how the parser works as I would like to write
some style files for TikZ. I hope you don't mind if I ask some possibly
stupid questions, but I haven't seem them answered anywhere.
The first question is this: The code in "Hacking the Parser" in the info
file contains:
(defvar TeX-newmacro-regexp
'("\\\\newmacro{\\\\\\([a-zA-Z]+\\)}{\\\\\\([a-zA-Z]+\\)}"
(1 2) TeX-auto-multi)
"Matches \newmacro definitions.")
What is the purpose of the list (1 2) and what is the significance of
the numbers?
For the second question, the following file (01-Hagen-Petri-net.ly) was
automatically generated in my auto subdirectory:
(TeX-add-style-hook "01-Hagen-Petri-net"
(lambda ()
(TeX-run-style-hooks
"tikz"
""
"latex2e"
"art10"
"article"
"a4paper")))
Why does it contain an empty string? What is the purpose of it?
Regards,
Bernard.
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel