Home
last modified time | relevance | path

Searched refs:texexp (Results 1 – 25 of 25) sorted by relevance

/dports/www/moodle310/moodle/filter/algebra/
H A Dalgebradebug.php132 $texexp = str_replace('#','\not= ',$texexp);
133 $texexp = str_replace('%','\leq ',$texexp);
134 $texexp = str_replace('!','\geq ',$texexp);
135 $texexp = str_replace('\left{','{',$texexp);
137 $texexp = str_replace('\fun',' ',$texexp);
144 $texexp = str_replace('mu','\mu',$texexp);
145 $texexp = str_replace('nu','\nu',$texexp);
146 $texexp = str_replace('xi','\xi',$texexp);
147 $texexp = str_replace('rho','\rho',$texexp);
149 $texexp = str_replace('tau','\tau',$texexp);
[all …]
H A Dfilter.php180 $texexp = str_replace('#','\not= ',$texexp);
181 $texexp = str_replace('%','\leq ',$texexp);
182 $texexp = str_replace('!','\geq ',$texexp);
183 $texexp = str_replace('\left{','{',$texexp);
185 $texexp = str_replace('\fun',' ',$texexp);
192 $texexp = str_replace('mu','\mu',$texexp);
193 $texexp = str_replace('nu','\nu',$texexp);
194 $texexp = str_replace('xi','\xi',$texexp);
195 $texexp = str_replace('rho','\rho',$texexp);
197 $texexp = str_replace('tau','\tau',$texexp);
[all …]
H A Dpix.php40 $texexp = $texcache->rawtext; variable
41 $texexp = str_replace('&lt;','<',$texexp); variable
42 $texexp = str_replace('&gt;','>',$texexp); variable
43 $texexp = preg_replace('!\r\n?!',' ',$texexp); variable
44 $texexp = '\Large ' . $texexp; variable
45 $cmd = filter_tex_get_cmd($pathname, $texexp);
/dports/www/moodle311/moodle/filter/algebra/
H A Dalgebradebug.php132 $texexp = str_replace('#','\not= ',$texexp);
133 $texexp = str_replace('%','\leq ',$texexp);
134 $texexp = str_replace('!','\geq ',$texexp);
135 $texexp = str_replace('\left{','{',$texexp);
137 $texexp = str_replace('\fun',' ',$texexp);
144 $texexp = str_replace('mu','\mu',$texexp);
145 $texexp = str_replace('nu','\nu',$texexp);
146 $texexp = str_replace('xi','\xi',$texexp);
147 $texexp = str_replace('rho','\rho',$texexp);
149 $texexp = str_replace('tau','\tau',$texexp);
[all …]
H A Dfilter.php180 $texexp = str_replace('#','\not= ',$texexp);
181 $texexp = str_replace('%','\leq ',$texexp);
182 $texexp = str_replace('!','\geq ',$texexp);
183 $texexp = str_replace('\left{','{',$texexp);
185 $texexp = str_replace('\fun',' ',$texexp);
192 $texexp = str_replace('mu','\mu',$texexp);
193 $texexp = str_replace('nu','\nu',$texexp);
194 $texexp = str_replace('xi','\xi',$texexp);
195 $texexp = str_replace('rho','\rho',$texexp);
197 $texexp = str_replace('tau','\tau',$texexp);
[all …]
H A Dpix.php40 $texexp = $texcache->rawtext; variable
41 $texexp = str_replace('&lt;','<',$texexp); variable
42 $texexp = str_replace('&gt;','>',$texexp); variable
43 $texexp = preg_replace('!\r\n?!',' ',$texexp); variable
44 $texexp = '\Large ' . $texexp; variable
45 $cmd = filter_tex_get_cmd($pathname, $texexp);
/dports/www/moodle39/moodle/filter/algebra/
H A Dalgebradebug.php132 $texexp = str_replace('#','\not= ',$texexp);
133 $texexp = str_replace('%','\leq ',$texexp);
134 $texexp = str_replace('!','\geq ',$texexp);
135 $texexp = str_replace('\left{','{',$texexp);
137 $texexp = str_replace('\fun',' ',$texexp);
144 $texexp = str_replace('mu','\mu',$texexp);
145 $texexp = str_replace('nu','\nu',$texexp);
146 $texexp = str_replace('xi','\xi',$texexp);
147 $texexp = str_replace('rho','\rho',$texexp);
149 $texexp = str_replace('tau','\tau',$texexp);
[all …]
H A Dfilter.php180 $texexp = str_replace('#','\not= ',$texexp);
181 $texexp = str_replace('%','\leq ',$texexp);
182 $texexp = str_replace('!','\geq ',$texexp);
183 $texexp = str_replace('\left{','{',$texexp);
185 $texexp = str_replace('\fun',' ',$texexp);
192 $texexp = str_replace('mu','\mu',$texexp);
193 $texexp = str_replace('nu','\nu',$texexp);
194 $texexp = str_replace('xi','\xi',$texexp);
195 $texexp = str_replace('rho','\rho',$texexp);
197 $texexp = str_replace('tau','\tau',$texexp);
[all …]
H A Dpix.php40 $texexp = $texcache->rawtext; variable
41 $texexp = str_replace('&lt;','<',$texexp); variable
42 $texexp = str_replace('&gt;','>',$texexp); variable
43 $texexp = preg_replace('!\r\n?!',' ',$texexp); variable
44 $texexp = '\Large ' . $texexp; variable
45 $cmd = filter_tex_get_cmd($pathname, $texexp);
/dports/www/moodle310/moodle/filter/tex/
H A Dfilter.php166 $texexp = '';
171 $texexp = str_replace('<nolink>','',$texexp);
172 $texexp = str_replace('</nolink>','',$texexp);
173 $texexp = str_replace('<span class="nolink">','',$texexp);
174 $texexp = str_replace('</span>','',$texexp);
175 $texexp = preg_replace("/<br[[:space:]]*\/?>/i", '', $texexp); //dlnsk
179 $texexp = preg_replace('/^align=bottom /','',$texexp);
182 $texexp = preg_replace('/^align=top /','',$texexp);
186 $texexp = html_entity_decode($texexp, ENT_QUOTES, 'UTF-8');
193 $texexp = clean_param($texexp, PARAM_TEXT);
[all …]
H A Dtexdebug.php44 if ($action || $texexp) {
52 $md5 = md5($texexp);
89 tex2image($texexp);
94 slasharguments($texexp);
100 TexOutput($texexp, true);
107 TexOutput($texexp);
124 function outputText($texexp) { argument
127 if ($texexp) {
128 echo s($texexp)."\n\n";
138 if (!$texexp) {
[all …]
H A Dlib.php67 * @param string $texexp Formula expression to check.
70 function filter_tex_sanitize_formula(string $texexp): string { argument
97 $texexp = preg_replace_callback($denylist,
101 $texexp
105 $texexp = preg_replace_callback($allowlist,
109 $texexp
112 return $texexp;
115 function filter_tex_get_cmd($pathname, $texexp) { argument
116 $texexp = filter_tex_sanitize_formula($texexp);
117 $texexp = escapeshellarg($texexp);
[all …]
H A Dpix.php49 $texexp = $texcache->rawtext; // the entities are now decoded before inserting to DB variable
50 $lateximage = $latex->render($texexp, $image, 12, $density, $background);
57 $texexp = $texcache->rawtext; variable
58 $texexp = str_replace('&lt;', '<', $texexp); variable
59 $texexp = str_replace('&gt;', '>', $texexp); variable
60 $texexp = preg_replace('!\r\n?!', ' ', $texexp); variable
61 $texexp = '\Large '.$texexp; variable
62 $cmd = filter_tex_get_cmd($pathname, $texexp);
H A Ddisplaytex.php36 $texexp = optional_param('texexp', '', PARAM_RAW); variable
51 <dd><?php p($texexp); ?></dd>
/dports/www/moodle311/moodle/filter/tex/
H A Dfilter.php166 $texexp = '';
171 $texexp = str_replace('<nolink>','',$texexp);
172 $texexp = str_replace('</nolink>','',$texexp);
173 $texexp = str_replace('<span class="nolink">','',$texexp);
174 $texexp = str_replace('</span>','',$texexp);
175 $texexp = preg_replace("/<br[[:space:]]*\/?>/i", '', $texexp); //dlnsk
179 $texexp = preg_replace('/^align=bottom /','',$texexp);
182 $texexp = preg_replace('/^align=top /','',$texexp);
186 $texexp = html_entity_decode($texexp, ENT_QUOTES, 'UTF-8');
193 $texexp = clean_param($texexp, PARAM_TEXT);
[all …]
H A Dtexdebug.php44 if ($action || $texexp) {
52 $md5 = md5($texexp);
89 tex2image($texexp);
94 slasharguments($texexp);
100 TexOutput($texexp, true);
107 TexOutput($texexp);
124 function outputText($texexp) { argument
127 if ($texexp) {
128 echo s($texexp)."\n\n";
138 if (!$texexp) {
[all …]
H A Dlib.php72 * @param string $texexp Formula expression to check.
75 function filter_tex_sanitize_formula(string $texexp): string { argument
102 $texexp = preg_replace_callback($denylist,
106 $texexp
110 $texexp = preg_replace_callback($allowlist,
114 $texexp
117 return $texexp;
120 function filter_tex_get_cmd($pathname, $texexp) { argument
121 $texexp = filter_tex_sanitize_formula($texexp);
122 $texexp = escapeshellarg($texexp);
[all …]
H A Dpix.php49 $texexp = $texcache->rawtext; // the entities are now decoded before inserting to DB variable
50 $lateximage = $latex->render($texexp, $image, 12, $density, $background);
57 $texexp = $texcache->rawtext; variable
58 $texexp = str_replace('&lt;', '<', $texexp); variable
59 $texexp = str_replace('&gt;', '>', $texexp); variable
60 $texexp = preg_replace('!\r\n?!', ' ', $texexp); variable
61 $texexp = '\Large '.$texexp; variable
62 $cmd = filter_tex_get_cmd($pathname, $texexp);
H A Ddisplaytex.php36 $texexp = optional_param('texexp', '', PARAM_RAW); variable
51 <dd><?php p($texexp); ?></dd>
/dports/www/moodle39/moodle/filter/tex/
H A Dfilter.php166 $texexp = '';
171 $texexp = str_replace('<nolink>','',$texexp);
172 $texexp = str_replace('</nolink>','',$texexp);
173 $texexp = str_replace('<span class="nolink">','',$texexp);
174 $texexp = str_replace('</span>','',$texexp);
175 $texexp = preg_replace("/<br[[:space:]]*\/?>/i", '', $texexp); //dlnsk
179 $texexp = preg_replace('/^align=bottom /','',$texexp);
182 $texexp = preg_replace('/^align=top /','',$texexp);
186 $texexp = html_entity_decode($texexp, ENT_QUOTES, 'UTF-8');
193 $texexp = clean_param($texexp, PARAM_TEXT);
[all …]
H A Dtexdebug.php44 if ($action || $texexp) {
52 $md5 = md5($texexp);
89 tex2image($texexp);
94 slasharguments($texexp);
100 TexOutput($texexp, true);
107 TexOutput($texexp);
124 function outputText($texexp) { argument
127 if ($texexp) {
128 echo s($texexp)."\n\n";
138 if (!$texexp) {
[all …]
H A Dpix.php49 $texexp = $texcache->rawtext; // the entities are now decoded before inserting to DB variable
50 $lateximage = $latex->render($texexp, $image, 12, $density, $background);
57 $texexp = $texcache->rawtext; variable
58 $texexp = str_replace('&lt;', '<', $texexp); variable
59 $texexp = str_replace('&gt;', '>', $texexp); variable
60 $texexp = preg_replace('!\r\n?!', ' ', $texexp); variable
61 $texexp = '\Large '.$texexp; variable
62 $cmd = filter_tex_get_cmd($pathname, $texexp);
H A Dlib.php62 function filter_tex_sanitize_formula($texexp) { argument
89 $texexp = preg_replace_callback($denylist,
93 $texexp
97 $texexp = preg_replace_callback($allowlist,
101 $texexp
104 return $texexp;
107 function filter_tex_get_cmd($pathname, $texexp) { argument
108 $texexp = filter_tex_sanitize_formula($texexp);
109 $texexp = escapeshellarg($texexp);
114 return "$executable ++ -e \"$pathname\" -- $texexp";
[all …]
H A Ddisplaytex.php36 $texexp = optional_param('texexp', '', PARAM_RAW); variable
51 <dd><?php p($texexp); ?></dd>
/dports/math/scilab/scilab-6.1.1/scilab/modules/string/macros/
H A Dprettyprint.sci688 function str = texexp(var,n)