Index: mttroot/mtt/bin/trans/latex_tidy
==================================================================
--- mttroot/mtt/bin/trans/latex_tidy
+++ mttroot/mtt/bin/trans/latex_tidy
@@ -12,10 +12,13 @@
 ###############################################################
 ## Version control history
 ###############################################################
 ## $Id$
 ## $Log$
+## Revision 1.21  2002/08/21 18:11:15  geraint
+## Replaced |x| with |{x}|. LaTeX now renders abs(fractions) correctly.
+##
 ## Revision 1.20  2002/08/20 19:33:21  geraint
 ## Minor bug fixes and enhancements (I hope):
 ##
 ## Delimited expressions within function calls to prevent denominators from continuing beyond commas.
 ## Allow latex to adjust size of parentheses according to expression within.
@@ -87,11 +90,11 @@
 ###############################################################
  
 cat $1 | \
 tr "[A-Z]" "[a-z]" | \
 sed \
-    -e "s/_\([a-z0-9,]*\)/_{\1}/g" \
+    -e "s/_\([a-z0-9]*\)/_{\1}/g" \
     -e "s/\// \\\over /g" \
     -e "s/[0-9a-z_]*mtty/mtty/g" \
     -e "s/[0-9a-z_]*mttu/mttu/g" \
     -e "s/mttx\([0-9]*\)/x_{\1}/g" \
     -e "s/mttex\([0-9]*\)/\\\chi_{\1}/g" \
@@ -153,10 +156,11 @@
     -e "s/^eta/\\\eta/g" \
     -e "s/kappa/\\\kappa/g" \
     -e "s/lambd/\\lambda/g" \
     -e "s/lambda/\\\lambda/g" \
     -e "s/mu/\\\mu/g" \
+    -e "s/nu/\\\nu/g" \
     -e "s/phi/\\\phi/g" \
     -e "s/pi/\\\pi/g" \
     -e "s/rho/\\\rho/g" \
     -e "s/sigma/\\\sigma/g" \
     -e "s/omega/\\\omega/g" \