Overview
Comment: | Fixed problem with parentheses |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8e9839a942f161b389512a93124166d1 |
User & Date: | gawthrop@users.sourceforge.net on 2003-08-17 11:35:07 |
Other Links: | branch diff | manifest | tags |
Context
2003-08-17
| ||
11:35:45 | Zapped ^ to uparrow conversion. check-in: 0ab66340aa user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
11:35:07 | Fixed problem with parentheses check-in: 8e9839a942 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
11:16:34 | This makes the examples check-in: bb0af5aca6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/latex_tidy from [61062c1aa8] to [63a75bd3ee].
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop, 1990, 1994 ############################################################### ## 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. | > > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Copyright (c) P.J.Gawthrop, 1990, 1994 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.22 2002/09/26 08:33:54 geraint ## Removed comma from pattern so that braces are places around each argument ## of a function call. Added greek letter nu as a special variable. ## ## 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. |
︙ | ︙ | |||
134 135 136 137 138 139 140 | -e "s/mttpar//g" \ -e "s/!/\\\/g" \ -e "s/\\$//g" \ -e "s/abs(\([^()]*\))/|{ \1 }|/g" \ -e "s/(\([^(),]*\),/( { \1 } ,/g" \ -e "s/,\([^(),]*\),/, { \1 } ,/g" \ -e "s/,\([^(),]*\))/, { \1 } )/g" \ | | | < < | 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | -e "s/mttpar//g" \ -e "s/!/\\\/g" \ -e "s/\\$//g" \ -e "s/abs(\([^()]*\))/|{ \1 }|/g" \ -e "s/(\([^(),]*\),/( { \1 } ,/g" \ -e "s/,\([^(),]*\),/, { \1 } ,/g" \ -e "s/,\([^(),]*\))/, { \1 } )/g" \ -e "s/(/{\\\\left (/g" \ -e "s/\*\*/^/g" \ -e "s/\*/ /g" \ -e "s/)/\\\right )}/g" \ -e "s/sqrt/\\\sqrt/g" \ -e "s/theta/\\\theta/g" \ -e "s/tau/\\\tau/g" \ -e "s/alpha/\\\alpha/g" \ -e "s/beta/\\\beta/g" \ -e "s/gamma/\\\gamma/g" \ -e "s/delta/\\\delta/g" \ |
︙ | ︙ | |||
173 174 175 176 177 178 179 | -e "s/\\^/\\\uparrow /g" \ | cat -s | \ sed -e "s/ $//g" | \ tr -s '\012' '\012' \ >junk mv junk $1 | < < < < < | 175 176 177 178 179 180 181 | -e "s/\\^/\\\uparrow /g" \ | cat -s | \ sed -e "s/ $//g" | \ tr -s '\012' '\012' \ >junk mv junk $1 |