Re: [NTG-context] Error with spaces in Argument of \startproduct

2020-11-25 Thread Henning Hraban Ramm

> Am 24.11.2020 um 22:38 schrieb Wolfgang Schuster 
> :
> 
> Jannik Voges schrieb am 24.11.2020 um 22:24:
>> Hello,
>> as the title suggested, I get an error when using spaces in the argument of 
>> \startproduct. For example typesetting
>> \startproduct{foo bar}
> 
> You can have a filename with a space use
> 
>\startproduct [foo bar]
> 
> but you don't even need the filename when you replace it with *, e.g.
> 
>\startproduct *
> 
> or
> 
>\startproduct [*]

Since I learned about *, I used it extensively, but then I recognized, I can’t 
refer to the component filename with \currentcomponent any more. (I use it for 
filter-generated contents like LilyPond music.)
Just as a warning, in case you stumble upon that.

Hraban
___
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] Error with spaces in Argument of \startproduct

2020-11-24 Thread Jannik Voges

Hello,


as the title suggested, I get an error when using spaces in the argument 
of \startproduct. For example typesetting



\startproduct{foo bar}


\starttext

foo

\stoptext

\stopproduct


results in an error:

tex error   > tex error on line 2 in file ./foo bar.tex: Too many }'s


Best regards

Jannik Voges
___
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] Error with spaces in Argument of \startproduct

2020-11-24 Thread Wolfgang Schuster

Jannik Voges schrieb am 24.11.2020 um 22:24:

Hello,

as the title suggested, I get an error when using spaces in the argument 
of \startproduct. For example typesetting


\startproduct{foo bar}


You can have a filename with a space use

\startproduct [foo bar]

but you don't even need the filename when you replace it with *, e.g.

\startproduct *

or

\startproduct [*]

Wolfgang
___
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
___