Error with spaces in Argument of \startproduct
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
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
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
participants (3)
-
Henning Hraban Ramm
-
Jannik Voges
-
Wolfgang Schuster