ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* coma in an argument
@ 2017-02-21 17:57 Pablo Rodriguez
  2017-02-21 18:09 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2017-02-21 17:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: coma in an argument
  2017-02-21 17:57 coma in an argument Pablo Rodriguez
@ 2017-02-21 18:09 ` Hans Hagen
  2017-02-21 18:15   ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2017-02-21 18:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: coma in an argument
  2017-02-21 18:09 ` Hans Hagen
@ 2017-02-21 18:15   ` Pablo Rodriguez
  2017-02-21 19:44     ` Jaroslav Hajtmar
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2017-02-21 18:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: coma in an argument
  2017-02-21 18:15   ` Pablo Rodriguez
@ 2017-02-21 19:44     ` Jaroslav Hajtmar
  0 siblings, 0 replies; 4+ messages in thread
From: Jaroslav Hajtmar @ 2017-02-21 19:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <ntg-context-bounces@ntg.nl za uživatele oinos@gmx.es> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-21 19:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 17:57 coma in an argument Pablo Rodriguez
2017-02-21 18:09 ` Hans Hagen
2017-02-21 18:15   ` Pablo Rodriguez
2017-02-21 19:44     ` Jaroslav Hajtmar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).