* Error with spaces in Argument of \startproduct
@ 2020-11-24 21:24 Jannik Voges
2020-11-24 21:38 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Jannik Voges @ 2020-11-24 21:24 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error with spaces in Argument of \startproduct
2020-11-24 21:24 Error with spaces in Argument of \startproduct Jannik Voges
@ 2020-11-24 21:38 ` Wolfgang Schuster
2020-11-25 9:57 ` Henning Hraban Ramm
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-11-24 21:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error with spaces in Argument of \startproduct
2020-11-24 21:38 ` Wolfgang Schuster
@ 2020-11-25 9:57 ` Henning Hraban Ramm
0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-11-25 9:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 24.11.2020 um 22:38 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
>
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-25 9:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 21:24 Error with spaces in Argument of \startproduct Jannik Voges
2020-11-24 21:38 ` Wolfgang Schuster
2020-11-25 9:57 ` Henning Hraban Ramm
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).