Re: [NTG-context] beta (processaction |)
Hans Hagen wrote: Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde hm, same error if I use \string| or \letterbar do you have a minimal tes file? a solution may be \let\savedbarcommand=| \unexpanded\def|{\savedbarcommand} Yes, this works. I've tried to create a minimal example, but in the end all points to the fact, that | is a special character. So even the use of | as argument of some macro like \FOO[data={||abcx}]{..} is not recommended (without prior catcode change). I use the symbols as an abbreviation for different MP graphics, and it wouldn't make sense to write \letterbar every time. Looks like I have to choose a different symbol. Greetings, Peter - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beta (processaction |)
Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde hm, same error if I use \string| or \letterbar do you have a minimal tes file? a solution may be \let\savedbarcommand=| \unexpanded\def|{\savedbarcommand} Yes, this works. I've tried to create a minimal example, but in the end all points to the fact, that | is a special character. So even the use of | as argument of some macro like \FOO[data={||abcx}]{..} is not recommended (without prior catcode change). I use the symbols as an abbreviation for different MP graphics, and it wouldn't make sense to write \letterbar every time. Looks like I have to choose a different symbol. still experimental is that you can change the catcodetable (pseudo in mkii, native in mkiv) but i won't bring up it's dirty details here \let\savedbarcommand=| \unexpanded\def|{\savedbarcommand} this makes them unexpandable but still using ~ and | for such purposes is kind of tricky Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beta (processaction |)
Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beta (processaction |)
Hans Hagen wrote: Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde hm, same error if I use \string| or \letterbar Peter Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beta (processaction |)
Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde hm, same error if I use \string| or \letterbar do you have a minimal tes file? a solution may be \let\savedbarcommand=| \unexpanded\def|{\savedbarcommand} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beta (processaction |)
Hans Hagen wrote: Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde hm, same error if I use \string| or \letterbar do you have a minimal tes file? not any longer... a solution may be \let\savedbarcommand=| \unexpanded\def|{\savedbarcommand} I'll try this tomorrow and also try to make a new minimal example. Thanks anyway, Peter - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context