"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Typeset/Concat/concat_math.cpp" between
TeXmacs-1.99.8-src.tar.gz and TeXmacs-1.99.9-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

concat_math.cpp  (TeXmacs-1.99.8-src):concat_math.cpp  (TeXmacs-1.99.9-src)
skipping to change at line 138 skipping to change at line 138
if (env->fn->math_type == MATH_TYPE_STIX) if (env->fn->math_type == MATH_TYPE_STIX)
print (env->display_style? (spc / 2): (spc / 4)); print (env->display_style? (spc / 2): (spc / 4));
else if (env->fn->math_type == MATH_TYPE_TEX_GYRE) else if (env->fn->math_type == MATH_TYPE_TEX_GYRE)
print (env->display_style? (spc / 2): (spc / 4)); print (env->display_style? (spc / 2): (spc / 4));
else if (it_flag) else if (it_flag)
print (env->display_style? 0: (spc / 4)); print (env->display_style? 0: (spc / 4));
else print (spc / 4); else print (spc / 4);
} }
else print (env->display_style? spc: (spc / 2)); else print (env->display_style? spc: (spc / 2));
} }
// temporarary: use parameters from operator-big class in std-math.syx // FIXME: we should use parameters from operator-big class in std-math.syx
// FIXME: in concat_post, we add some more space behind big operators
// with scripts; this should be understood better and formalized
} }
else typeset_error (t, ip); else typeset_error (t, ip);
} }
string string
replace_primes (string s) { replace_primes (string s) {
string r; string r;
int i, n= N(s); int i, n= N(s);
for (i=0; i<n; i++) for (i=0; i<n; i++)
if (s[i] == '\'') r << "<prime>"; if (s[i] == '\'') r << "<prime>";
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)