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


-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to