Overview
Comment:Replaced |x| with |{x}|. LaTeX now renders abs(fractions) correctly.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b350f1a98274f7aaaa3ee262af6f7e1fb75afad0138d63c8ed344933d259f09b
User & Date: geraint@users.sourceforge.net on 2002-08-21 18:11:15.000
Other Links: branch diff | manifest | tags
Context
2002-08-23
09:13:58
Sensitivity version check-in: c578ade4ca user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-08-21
18:11:15
Replaced |x| with |{x}|. LaTeX now renders abs(fractions) correctly. check-in: b350f1a982 user: geraint@users.sourceforge.net tags: origin/master, trunk
18:01:01
Fixed [598316] mtt2sys broken on Octave-2.1.36.

Tests for Octave version that is not 2.0.x, uses setsyssignals() instead of
direct access to internal structure for renaming of system signals. check-in: 19e7f14adf user: geraint@users.sourceforge.net tags: origin/master, trunk

Changes
10
11
12
13
14
15
16








17
18
19
20
21
22
23
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31







+
+
+
+
+
+
+
+







# Copyright (c) P.J.Gawthrop, 1990, 1994

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## 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.
## Replaced ^ with \uparrow (less misleading - latex maths doesn't understand operator precedence or words).
## Replaced abs(x) with |x| when x does not contain brackets.
##
## Revision 1.19  2002/08/19 14:37:05  geraint
## Fixed eta, beta, theta, Theta and zeta.
##
## Revision 1.18  2001/06/11 19:43:50  gawthrop
## MTT is now much more sophisticated in generating lbl files
## Labels can contain maths
## Repetative components are now broken
119
120
121
122
123
124
125
126

127
128
129
130
131
132
133
127
128
129
130
131
132
133

134
135
136
137
138
139
140
141







-
+







    -e "s/mttz/z/g" \
    -e "s/mttyy/Y/g" \
    -e "s/mttw/w/g" \
    -e "s/mttt/T/g" \
    -e "s/mttpar//g" \
    -e "s/!/\\\/g" \
    -e "s/\\$//g" \
    -e "s/abs(\([^()]*\))/| \1 |/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" \

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]