auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Newbie trying to understand the parser.


From: Bernard Hurley
Subject: Re: [AUCTeX-devel] Newbie trying to understand the parser.
Date: Sat, 19 Jul 2014 02:38:30 +0100
User-agent: Notmuch/0.16+83~g1d8d850 (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu)

>>>>> "Tassilo" == Tassilo Horn <address@hidden> writes:

    Tassilo> In the regexp, there are two grouping constructs \\(..\\).
    Tassilo> The list (1 2) means that the parser should capture the
    Tassilo> strings matching them and put them in the TeX-auto-multi
    Tassilo> variable.  In the cleanup function, the value of the
    Tassilo> variable (a list with 2-tuples, each item being a new
    Tassilo> \def-ed macro) is processed to add the \newmacro-generated
    Tassilo> macros to TeX-symbol-list so that AUCTeX recognizes them.

    Thanks!

    >> (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?

    Tassilo> It has no purpose.  Maybe you have an empty \usepackage{}
    Tassilo> somewhere in your file?

    Thanks, I don't suppose any harm is done when this happens, so I
    may as well ignore it.

    Regards,
    Bernard


-- 

Your fortune cookie for today:

Leona, I want to CONFESS things to you ... I want to WRAP you in a SCARLET
ROBE trimmed with POLYVINYL CHLORIDE ... I want to EMPTY your ASHTRAYS ...

** Fortune cookies are brought to you by GNU/Linux "fortunes" **



reply via email to

[Prev in Thread] Current Thread [Next in Thread]