Index: mttroot/mtt/bin/trans/latex_tidy ================================================================== --- mttroot/mtt/bin/trans/latex_tidy +++ mttroot/mtt/bin/trans/latex_tidy @@ -12,10 +12,14 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.6 1996/12/12 16:03:19 peterg +## Removed global argument stuff for y - its already done in the +## translation. +## ## Revision 1.5 1996/12/12 15:59:06 peterg ## Generic handling of subscript for y,u,ui ## ## Revision 1.4 1996/12/12 15:54:20 peterg ## Saved it. @@ -33,10 +37,12 @@ ############################################################### cat $1 | \ tr "[A-Z]" "[a-z]" | \ sed -e "s/\// \\\over /g" \ + -e "s/[0-9a-z_]*mtty/mtty/g" \ + -e "s/[0-9a-z_]*mttu/mttu/g" \ -e "s/mttex/\\\chi/g" \ -e "s/mttdx/\\\dot x/g" \ -e "s/mttdz/\\\dot z_/g" \ -e "s/mttdu/\\\dot u_/g" \ -e "s/dot_/ \\\dot /g" \ @@ -51,17 +57,17 @@ -e "s/mtto/O/g" \ -e "s/mttv/V/g" \ -e "s/mttx\([0-9]*\)/x_{\1}/g" \ -e "s/mttui\([0-9]*\)/v_{\1}/g" \ -e "s/mttu\([0-9]*\)/u_{\1}/g" \ + -e "s/mtty\([0-9]*\)/y_{\1}/g" \ + -e "s/mttz\([0-9]*\)/z_{\1}/g" \ -e "s/mtty0/y_0/g" \ -e "s/mttu0/u_0/g" \ -e "s/mttx/x/g" \ -e "s/mttz/z/g" \ - -e "s/[0-9a-z_]*mttu/u/g" \ -e "s/mttyy/Y/g" \ - -e "s/[0-9a-z_]*mtty/y_/g" \ -e "s/mttw/w/g" \ -e "s/mtttf/G/g" \ -e "s/mttpar//g" \ -e "s/\*\*/\^/g" \ -e "s/\*/ /g" \