On Thu, 24 May 2018 14:50:36 +0200, Hans Hagen wrote:
> On 5/24/2018 11:21 AM, Christoph Reller wrote:
>> On Wed, 23 May 2018 16:01:05 +0200, Hans Hagen wrote:
>>> On 5/23/2018 3:39 PM, Christoph Reller wrote:
What is the right way to define a command with both mandatory and
option
On Thu, 24 May 2018 21:01:59 +0200
Pablo Rodriguez wrote:
> dir seems magic to me. I don’t understand how it works, not even how
> it can be used for drawing not having an origin.
All MP drawings have an origin (0,0).
(dir angle) returns a pair on a unit circle surrounding the origin, i.e.
(cos
On 5/24/2018 9:33 PM, Hans Hagen wrote:
picture t ; t := textext("\Ux{EB09}")
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 03
On 5/24/2018 9:01 PM, Pablo Rodriguez wrote:
Dear Alan,
I have the following sample (as I wrote, this is addictive ;-)):
\startMPpage
draw fullcircle scaled (.06TextWidth - .05LineHeight);
for m=1 step 2 until 10 :
path s ; s := (dir30--dir150--dir315--dir90--dir225--cycl
Dear Alan,
I have the following sample (as I wrote, this is addictive ;-)):
\startMPpage
draw fullcircle scaled (.06TextWidth - .05LineHeight);
for m=1 step 2 until 10 :
path s ; s := (dir30--dir150--dir315--dir90--dir225--cycle)
scaled m;
n := (m * 50) ;
On 05/24/2018 06:30 PM, Alan Braslau wrote:
> On Thu, 24 May 2018 18:11:05 +0200 Pablo Rodriguez wrote:
>
>> paging through the manuals, Metafun seems easier than MetaPost.
>>
>> I think it will take me a while to understand the basics of it.
>
> Metafun is an extension to MetaPost, providing som
On Thu, 24 May 2018 18:11:05 +0200
Pablo Rodriguez wrote:
> paging through the manuals, Metafun seems easier than MetaPost.
>
> I think it will take me a while to understand the basics of it.
Metafun is an extension to MetaPost, providing some useful tools and
improving on some "standard" MetaP
On 05/23/2018 11:24 PM, Alan Braslau wrote:
> On Wed, 23 May 2018 21:06:42 +0200
> [...]
> If you are going to use MP, why not read the manual (mpman.pdf) or
> better yet, refer to the MetaFun manual that is even available in
> printed form at http://www.h2o-books.com/catalog/context/metafun?
Alan
On Thu, 24 May 2018 11:24:34 +0200
Christoph Reller wrote:
> Thank you Hraban for pointing me to the wiki. I was aware of this page
> but it contains only the case of mandatory arguments in curly braces
> {} not in brackets [].
One must *not* confuse with the LaTeX convention where "mandatory"
a
Hi,
> Arguments in brackets are always optional (if I don’t misunderstand),
> depending on your own logic (\if*argument, \ifempty etc.)
The original intent was for user-level commands to have square brackets
for arguments setting things up, and curly braces for arguments that
are actually typese
Am 2018-05-24 um 11:24 schrieb Christoph Reller :
> On Wed, 23 May 2018 17:54:39 +0200, Henning Hraban Ramm
> wrote:
What is the right way to define a command with both mandatory and
optional arguments, e.g:
>>> i'm not sure wht happens at your end but this is the best way:
>>
>> Also
On 5/24/2018 11:21 AM, Christoph Reller wrote:
On Wed, 23 May 2018 16:01:05 +0200, Hans Hagen wrote:
On 5/23/2018 3:39 PM, Christoph Reller wrote:
Hi,
What is the right way to define a command with both mandatory and
optional arguments, e.g:
\MyCommand[optional][mandatory]
Consider the fol
On Wed, 23 May 2018 17:54:39 +0200, Henning Hraban Ramm wrote:
> Date: Wed, 23 May 2018 17:54:39 +0200
> From: Henning Hraban Ramm
> To: mailing list for ConTeXt users
> Subject: Re: [NTG-context] Defining command with optional and
> mandatory arguments
> Message-ID:
> Content-Typ
On Wed, 23 May 2018 16:01:05 +0200, Hans Hagen wrote:
>
> On 5/23/2018 3:39 PM, Christoph Reller wrote:
>> Hi,
>>
>> What is the right way to define a command with both mandatory and
>> optional arguments, e.g:
>>
>> \MyCommand[optional][mandatory]
>>
>> Consider the following MWE:
>>
>> \unexpand
14 matches
Mail list logo