Index: mttroot/mtt/bin/trans/rep_txt2tex ================================================================== --- mttroot/mtt/bin/trans/rep_txt2tex +++ mttroot/mtt/bin/trans/rep_txt2tex @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.4 2002/05/09 16:07:54 gawthrop +## Now handles multiple options whis .tex files as well +## ## Revision 1.3 2002/05/01 14:07:05 gawthrop ## Added -dr foo (reads files from foo) dir. ## ## Revision 1.2 2002/04/28 18:55:03 geraint ## Fixed [ 549658 ] awk should be gawk. @@ -166,11 +169,11 @@ args = gensub(/"/, "", "g", args); # args = substr(Args,2,length(Args)-2); # if ( (length(Args)>0)&&(match(Multiple,Representation)>0)) { if ( (length(args)>0)&&(match(Language,"ps")>0)) { _Args = sprintf("-%s", args); - __Args = sprintf("-%s", gensub(/_/, "-", "g", args) ); + __Args = sprintf("-%s", gensub(/_/, "_", "g", args) ); ___Args = sprintf("-%s", gensub(/,/, "-", "g", args) ); } else { _Args = "";