Am Thu, 05 Nov 2009 22:18:54 +0100 schrieb Hans Hagen: >> Hi Roger, List >> >> Thanks that sounds ok, but now I need to know I can use this by an >> external program, as I try to build a letter for Lx-Office, an >> OpenSource ERP Programm that uses TeX for processing the output and I >> can not really switch in it the type how it is called, so I need more >> or less an indocument version for this, like the if-then-else-clauses >> so thanks but I think it is not the way I can use it. > > \expandafter\convertargument\jobname\to\testablejobname > \expandafter\convertargument mkii\to\Myjobname > > \doif{mkii}{\testablejobname} { mkii } > > you need to do this conversion first as jobname has funny catcodes > > Hans
Hi Hans, thanks will try it and see how it works, really fascinated about conTeXt, is a great work and I really like it also I just started to use it and am a real newbe in using it. Greetings Martin ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________