Hi,
Concerned with the answers to the [that
topic](http://www.ntg.nl/pipermail/ntg-context/2014/077099.html), I was
thinking if I could define a command Exercise with a optional argument (the
Answer).
\defineblock[question]
\defineblock[answer]
\defineenumeration[question][text={Question}]
This:
\defineblock[question]
\defineblock[answer]
\defineenumeration[question][text={Question}]
\defineenumeration[answer] [text={Answer}]
\keepblocks[question]
\hideblocks[answer]
\def\mynewcommand{\dosingleempty\doMyNewCommand}
\def\doMyNewCommand[#1]#2{%
\iffirstargument
Am 30.03.2014 um 19:28 schrieb Xan dxpubl...@telefonica.net:
This:
\defineblock[question]
\defineblock[answer]
\defineenumeration[question][text={Question}]
\defineenumeration[answer] [text={Answer}]
\keepblocks[question]
\hideblocks[answer]
And so? This has not [mathematical] solution ;-)
Xan.
The block commands use a buffer to store the content and buffers can’t be
used in commands.
Wolfgang
___
If your question is of interest to others as well,
Hallo,
btw, i'm sure that you've seen
\starttexdefinition blabla #1 #2
which like setups ignores spaces so one can have readable
macros
i was the one who requested the parameterless version
\starttexdefinition commandonly
I experimented a little with this:
Hello all,
How do I define the \setuptitlepage and \placetitlepage commands in the
environment file? These commands are used as shown in the example below.
\environment docenv
\setuptitlepage[author=weare,
name=thisismyname,
Am 05.02.10 09:03, schrieb Marius:
Hello all,
How do I define the \setuptitlepage and \placetitlepage commands in the
environment file? These commands are used as shown in the example below.
Since you do not explain what do you expect from both commands it's not
possible to give you an
Thank you for the link, the answer to my question was as in the example you
gave, but with a single argument. The solution to my problem given below
works, but I can't find the answer to the following question. What is the
difference between \dosingleempty and \dosingleargument ?
On 5-2-2010 14:57, Marius wrote:
Thank you for the link, the answer to my question was as in the example you
gave, but with a single argument. The solution to my problem given below
works, but I can't find the answer to the following question. What is the
difference between \dosingleempty and
On 5-2-2010 10:29, Wolfgang Schuster wrote:
Am 05.02.10 09:03, schrieb Marius:
Hello all,
How do I define the \setuptitlepage and \placetitlepage commands in the
environment file? These commands are used as shown in the example below.
Since you do not explain what do you expect from both
Am 05.02.10 18:53, schrieb Hans Hagen:
\setvariables
[whatever]
[set={\setup[whateverpage]}]
nice feature for setvariables lovers :)
Wolfgang
___
If your question is of interest to others as well, please
On 5-2-2010 19:08, Wolfgang Schuster wrote:
Am 05.02.10 18:53, schrieb Hans Hagen:
\setvariables
[whatever]
[set={\setup[whateverpage]}]
nice feature for setvariables lovers :)
yes, for those getting the creeps of #1 an dso
btw, i'm sure that you've seen
\starttexdefinition blabla #1 #2
Am 05.02.10 19:19, schrieb Hans Hagen:
btw, i'm sure that you've seen
\starttexdefinition blabla #1 #2
which like setups ignores spaces so one can have readable macros
i was the one who requested the parameterless version
\starttexdefinition commandonly
Wolfgang
On 5-2-2010 19:21, Wolfgang Schuster wrote:
Am 05.02.10 19:19, schrieb Hans Hagen:
btw, i'm sure that you've seen
\starttexdefinition blabla #1 #2
which like setups ignores spaces so one can have readable macros
i was the one who requested the parameterless version
\starttexdefinition
14 matches
Mail list logo