Re: Give parts of commands/definitions to a called command (to parse arguments)
Oliver Bandel <[email protected]> Fri, 22 Apr 2016 02:10:27 +0200
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <20160422021027.Horde.bAx5nbfL5rmXb8xKNlwXhJD@webmail.in-berlin.de> |
Zitat von Oliver Bandel <[email protected]> (Fri, 22 Apr 2016 01:37:28 +0200) > Zitat von Valery Ushakov <[email protected]> (Thu, 21 Apr 2016 > 00:10:15 +0300) > >> On Wed, Apr 20, 2016 at 19:33:38 +0200, Oliver Bandel wrote: >> >>> def vvec >>> right body >>> { pmatrix strut { Yes } body } >>> >>> The body is nor parsed again, so it is not seen as command, when using >>> >>> vvec { row col a row col b row col c } >>> >>> inside @Eq. >> [...] >>> Or are there other ways to achieve my goal? >> >> Just use a macro. "pmatrix" itself is a macro that supplies some >> additional paramters to "matrix". >> >> import @Math macro vvec { pmatrix strut { Yes } } > [...] > > Thanks, that works :-) But it throws a message: "no value for context variable `EqCurrStyle', using the empty string" What's this about? Can it become a problem, which yields to dropped objects? Ciao, Oliver