Re: [NTG-context] coma in an argument

2017-02-21 Thread Jaroslav Hajtmar
Hello Pablo.
Of course – it was my wrong example see:
\executesystemcommand{context --result invoice-\cA.pdf --arguments = "cA 
={\cA}" servingfile.tex}. Braces are of course important.
Thanx to Hans for his correction.

Jaroslav Hajtmar





Dne 21.02.17 19:15, ntg-context za uživatele Pablo Rodriguez 
 napsal(a):

On 02/21/2017 07:09 PM, Hans Hagen wrote:
> On 2/21/2017 6:57 PM, Pablo Rodriguez wrote:
>>  contextjit --arguments="cA=a, b" a.tex
> 
>   contextjit --arguments="cA={a, b}" a.tex

Hans,

many thanks for the fast reply and your help.

The answer is simple, but my mind seems to be simpler right now ;-).

Pablo
-- 
http://www.ousia.tk

___
If your question is of interest to others as well, please add an entry to 
the Wiki!

maillist : ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net

___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] coma in an argument

2017-02-21 Thread Pablo Rodriguez
On 02/21/2017 07:09 PM, Hans Hagen wrote:
> On 2/21/2017 6:57 PM, Pablo Rodriguez wrote:
>>  contextjit --arguments="cA=a, b" a.tex
> 
>   contextjit --arguments="cA={a, b}" a.tex

Hans,

many thanks for the fast reply and your help.

The answer is simple, but my mind seems to be simpler right now ;-).

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] coma in an argument

2017-02-21 Thread Hans Hagen

On 2/21/2017 6:57 PM, Pablo Rodriguez wrote:

 contextjit --arguments="cA=a, b" a.tex



 contextjit --arguments="cA={a, b}" a.tex
--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] coma in an argument

2017-02-21 Thread Pablo Rodriguez
Dear list,

I have this stupid sample:

\starttext
\def\cA{a, b, c}
\doifelse{\env{cA}}{\cA}{equal}{unequal}
\stoptext

I compile it with:

contextjit --arguments="cA=a, b" a.tex

Because of the coma, I get this error:

check > missing or ungrouped '=' after 'b'
   in line '29 (15>environment:)'
\wait =

Is there a way to write the arguments option value, so that I can type
"a, b"?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___