Cliff, Andrey

It would be trivial to add another argument to the chunk to
allow your optional language argument.

See the silver file src/doc/axiom.sty.pamphlet, lines 16-63
In particular, see line 50.

To add the optional argument line 50, which now reads:

   \newenvironment{chunk}[1]{

would be changed to read:

   \newenvironment{chunk}[1][1]{


After that change you could write:


\begin{chunk}{chunkname}
\begin{chunk}{chunkname}{spad}
\begin{chunk}{chunkname}{makefile}
\begin{chunk}{chunkname}{lisp}

etc.

Tim


_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to