[Top][All Lists]

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

Re: [Axiom-developer] Vim syntax file

From: Fabio S.
Subject: Re: [Axiom-developer] Vim syntax file
Date: Tue, 12 Nov 2013 23:25:50 +0100 (CET)
User-agent: Alpine 2.02 (DEB 1266 2009-07-14)

1) Are curly brackets ever used in axiom syntax?
It seems to me they are not and they have no meaning in axiom: if it is
so, I can remove them from sanity check, simplifying things.

I don't believe they have any meaning.

Ok, I will remove them from the "sanity check"

2) If I give the command (for example)
)tangle bookvol10.2
then the result is an empty input file.

The tangle command is optimized for files in src/input by default.

I see. My doubt was originated from the fact that last week I wrote a small pamphlet for a package (eea.input.pamphlet) and

)tangle eea

didn't produced any output. This was because I gave a name to every chunck, always the same but not "*": I thought that )tangle would have extracted the chunks regardless of the name. I realized that this was the problem and I corrected it, so I got the desired input file.

I must say that I like it very much the new format where pamphlet are pure latex: this is very natural when writing math.
The previous format was somewhat more clumsy.

I'd encourage you to consider writing your vim file as a literate
program since you're the one who understands it best. Other people
will have to reverse engineer it to understand it.

Well, I think that a vim syntax file is something which is not going to be developed: once it works, it is very unlikely that it will be modified, if ever. In any case, I exensively commented both the vim file and the script that I just submitted: producing it in a literate way I don't think I could add more.


reply via email to

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