Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7369 | georgesk | 1 | GK, 2014-01-04: |
2 | changed the syntax for the parameter ret_str in wims_mathml.y |
||
3 | to allow a valid compilation with bison-3.0; the compilation with |
||
4 | previous versions of bison remains still valid. See the bug report |
||
5 | at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733369 |
||
5520 | bpr | 6 | done : |
8913 | bpr | 7 | - array row separators "\\" \cr "\tabularnewline" (...) |
5520 | bpr | 8 | - special space "\ " allowed |
9 | - Accent replacing by htmlcodes (list is not yet complete...) |
||
10 | - Added "\right." if unbalanced \left( ... |
||
11 | (preventing errors in mathml) |
||
12 | - added arg --max-mml-size to wims_mathml: |
||
13 | wims_mathml will now know directly what our max_allowable_buffer_size is |
||
14 | if the produced XML string is larger it will just send "ERROR" |
||
15 | mathml() will return 0 ; and wims will do "insmath with gifs" |
||
16 | note: this is just for a single call to wims_mathml |
||
17 | note: is your latex is too large, just split it into two or more smaller calls to wims_mathml |
||
18 | \( latex1 ) \( latex2 ) \( latex3 ) ... \( latex_n ) |
||
19 | |||
20 | - added C-lib headers in wims_mathml.cc to compile on linux (must look into this) |
||
21 | |||
22 | - fixed "empty row" ERROR in "single collumn array" |
||
23 | \begin{array}{c} A \\ \\ \\ B \end{array} |
||
24 | |||
25 | - added \bigint \biggint \bigggint without increasing fontsize (that results in loss of horizontal symmetry) |
||
26 | Drawback (not solved yet...) is that "\left[ \biggint_{0}^{\pi} \right." the "[" will not take the stretched size of "\biggint" |
||
27 | Incase increase in fontsize, the "[" will stretch...have to see how this works... |
||
8913 | bpr | 28 | |
5520 | bpr | 29 | - transform {\\rm } in \textrm{ } in texmath.c (bpr) |
8913 | bpr | 30 | |
5520 | bpr | 31 | - if cal letters do not exist, take the roman one. |
32 | |||
33 | - restored converting ">" into "\gt" in wims_mathml.c |
||
34 | restored converting "<" into "\lt" in wims_mathml.c |
||
35 | - solve f'(x) messing up javacript for clickfill ( ' -> \' ) |
||
36 | |||
37 | - \input{size}{id}{style}{readonly} |
||
8913 | bpr | 38 | size: 0,999 spaces allowed |
5520 | bpr | 39 | id:0,999 spaces allowed -> mathml0 .. mathml999 (prefix mathml is hardcoded : reply1 = document.getElementById("mathml"+p); |
40 | style: no "" allowed ; spaces allowed |
||
8913 | bpr | 41 | readonly : 0,1 spaces allowed(0 = write ; 1=readonly) |
5520 | bpr | 42 | example : \input{ 5 }{0 }{ color: red;fontcolor:blue;border 1px}{ 1} |
43 | - \input added support for hexcolor background-color:#00ff00; |
||
8913 | bpr | 44 | - corrected some flaws with stretchy parenthesis; |
5520 | bpr | 45 | corrected missing \right. procedure in wims_mathml.cc |
46 | \lpar \rpar usable in createxo for \left( without \right) |
||
47 | \lbracket \rbracket usable in createxo for \left[ without \right] |
||
48 | \langle \rangle usable in createxo for \left< without \right> |
||
49 | |||
50 | - improved size & appearance of integral sign \int (larger) |
||
51 | other sizes are bigint biggint bigggint |
||
52 | Now parenthesis around integral sign are stretchy |
||
8913 | bpr | 53 | (),[],{},<> |
5520 | bpr | 54 | \lpar\rpar , \lbracket\rbracket, \lbrace\rbrace ,\langle\rangle |
55 | - added array with vertical separators (will need testing) |
||
56 | - add dfrac ; set dfrac to be 120% of \frac{}{} ...tune in to your favorite value ! |
||
57 | both frac/dfrac are in displaystyle. |
||
58 | - wims_mathml.l : add \Bf as "dialect" for \bf \boldfont |
||
59 | - add \not =, \not=, \not\in, \not \in |
||
8913 | bpr | 60 | - changed lpar/rpar lbracket/rbracket lbrace/rbrace to OTHERDELIM |
5520 | bpr | 61 | - added support for unbalanced \lbracket (etc) |
62 | - removed unused code (...) |
||
63 | - removed faulty " |
||
64 | - added \diagup \diagdown |
||
65 | - added \ointclockwise \varointclockwise \sqint \fint" |
||
66 | more will come |
||
67 | - added extra (non LaTeX) option to \begin{array}{} command. |
||
68 | now a single "-" will produce on all rows a "\hline" |
||
69 | now "-.-.-" will produce a hline under row1,row3,row5 |
||
70 | (the MathML code attribute is: rowlines="solid none solid none solid") |
||
8913 | bpr | 71 | The options do not adversely interfere with normal latex (for gif) |
5520 | bpr | 72 | example: |
73 | \begin{array}{c|c:|c-.-.-.} 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \end{array} |
||
74 | |||
75 | - added lots of (probably useless) unicode symbols matching (ams)latex commands. |
||
76 | added file UNICODE-2-LATEX.txt to be used as "database" for future reference. |
||
77 | Note: not all commands are integrated in wims_mathml.l (just a random selection...) |
||
78 | Note: the 'return' is just globally set ; it may need some fine tuning. |
||
79 | Note: there is a limit to the amount of rules that can be used in wims_mathml.y |
||
80 | these are defined in "flexdef.h": we should not pass this "JAMSTATE -32766" limit |
||
81 | |||
82 | - add option in wims_mathml to set the fontsize in mathml from wims (via mathml.c) |
||
83 | |||
84 | - add small script to extract latex commands from "wims_mathml" (just for info) |
||
85 | |||
86 | - add option to use zoom on MathML : to test copy mathml.c.ZOOM to mathml.c |
||
87 | adm/light is adapted to adjusting size and zoom_option |
||
8913 | bpr | 88 | |
89 | - add \size[120]{\frac{1}{\sqrt{\pi}}} to set size sub string in mathml |
||
5520 | bpr | 90 | \size[0 - 999]{any tex string you like} |
91 | for now no spaces are allowed in size argument: like in \size[ 123 ]{} |
||
92 | We must discuss if we can adapt to known LaTex syntax? |
||
93 | |||
94 | - add alternatives just to avoid mathml-errors (...): |
||
8913 | bpr | 95 | \begin{align*} \begin{dcases} \begin{alignat} \begin{equation} \begin{eqnarray} |
5520 | bpr | 96 | \emph{} \vphantom |
97 | - add { n \choose k } as alternative for \binom{n}{k} |
||
98 | - add \sfrac{1}{3} : 1/3 |
||
99 | - add \lmoustache \rmoustache \lgroup \rgroup \Arrowvert \bracevert |
||
8913 | bpr | 100 | - add support for {\rm sin} syntax : \sin \rm{sin} {\rm sin} are equal Roman font |
5520 | bpr | 101 | In MathML Romanfont RM is <MI mathvariant="norma"></MI> tag |
102 | (all other comon functions like cos,tan,log,etc are <MI></MI>) |
||
103 | Note: every "word" will be in <MI>word</MI> tags |
||
8913 | bpr | 104 | - added 'value' param to \input |
5520 | bpr | 105 | - \input{size}{id}{style}{value}{readonly} |
8913 | bpr | 106 | |
5537 | schaersvoo | 107 | - finished error handling |
108 | wims_mathml.y : All errors will flag ERROR to stdout/stderror. |
||
5556 | schaersvoo | 109 | Wims will switch to insmath_with gifs... |
5579 | schaersvoo | 110 | - zooming "font + 100" % (was "font + 150" %) |
8913 | bpr | 111 | - "reinvented" {\rm text} |
5579 | schaersvoo | 112 | - removed declaration from <math></math> tag (it is already present in page) |
113 | - added config.c / mathml.c variable "disable_zoom" (used -for example- in dynapi3.phtml) |
||
5592 | schaersvoo | 114 | - restored declaration <math xmlns="http://www.w3.org/1998/Math/MathML"></math> tag |
115 | we have to look into this closer ! |
||
5595 | schaersvoo | 116 | - small change in ERROR (no printing to stderror) |
8913 | bpr | 117 | - mathml.c : clean exit after ERROR (...) |
5598 | schaersvoo | 118 | - wims_mathml.l : removed unused code of mine 4*x -> 4x .This is done by wims.cgi |
119 | will soon try to clean more : remove all non-wims code (remove all unused itex2mml specific code) |
||
5613 | schaersvoo | 120 | - corrected stupid typo error { n \choose k } : free $3 was not possible (should be $4 !) |
5632 | schaersvoo | 121 | - corrected wrong n-th root display \root{3} \of{ 2^{456} } |
122 | the "\of" is now ignored : 2^{456} will now be under root-flag |
||
123 | other way of writing: \root{3}{2^{456}} |
||
5667 | schaersvoo | 124 | - added |
125 | "\\longmapsto" {yylval = wims_mathml_copy_string("⟼"); return MOL;} |
||
126 | "\\Longmapsfrom" {yylval = wims_mathml_copy_string("⟽"); return MOL;} |
||
127 | "\\Longmapsto" {yylval = wims_mathml_copy_string("⟾"); return MOL;} |
||
8913 | bpr | 128 | - 20/9/2012 added |
5675 | schaersvoo | 129 | "\\large" { yylval=wims_mathml_copy_string("150%");wims_mathml_env_start = 1; return TMP_FONTSIZE;} |
130 | "\\Large" { yylval=wims_mathml_copy_string("180%");wims_mathml_env_start = 1; return TMP_FONTSIZE;} |
||
131 | "\\huge" { yylval=wims_mathml_copy_string("220%");wims_mathml_env_start = 1; return TMP_FONTSIZE;} |
||
5680 | schaersvoo | 132 | "\\Huge" { yylval=wims_mathml_copy_string("260%");wims_mathml_env_start = 1; return TMP_FONTSIZE;} |
133 | |||
5681 | schaersvoo | 134 | -26/9/2012 added forgotten "^+-=" to recognisable "text value" in inputfield in \input{size}{id}{style}{value}{readonly} |
135 | a {value} like "{10^3 - 10^2 = 9*10^2}" will be processed normally. |
||
5916 | schaersvoo | 136 | |
8913 | bpr | 137 | -5/11/2012 added "\cline{}" as empty command. |
5916 | schaersvoo | 138 | \cline{2-5} will now be ignored and not interpreted as "text" |
139 | the horizontal line in matrix can be imitated by \begin{array}{c.c.c.c-c.} |
||
140 | meaning a horizontal line under the 4-th row |
||
141 | This non-latex syntax "{c.c.c.c-c.}" will be ignored in math-with-gifs |
||
5935 | schaersvoo | 142 | -7/11/2012 |
143 | replace non-unique id="wims_mathml" by a unique id="wims_mathml..." |
||
5996 | schaersvoo | 144 | -18/11/2012 |
145 | corrected some syntax issues only noticed by older compiler |
||
6185 | schaersvoo | 146 | corrected compiler warnings for "time_t" etc |
147 | -15/12/2012 |
||
148 | corrected stretchy parenthesis display flaw in \left( { 1 \over 2 } \right) |
||
7122 | schaersvoo | 149 | -24/10/2013 |
150 | added forgotten char "/" to \input recognizable characters for "value" like '1/233' |
||
151 | \input{size}{id}{style}{value}{readonly} |
||
152 | \input{10}{0}{background-color:lightblue;color:red;font-size:1.2em}{ 1/234 }{1} |
||
153 | only interesting if a pre_filled_in input_field is needed... |
||
154 | still problems with chars '>' '<' because they are converted into \lt \gt in wims_mathml.cc |
||
7219 | schaersvoo | 155 | -22/11/2013 |
8913 | bpr | 156 | added quick fix |
7219 | schaersvoo | 157 | \underrightarrow{123456789} |
158 | \overrightarrow{12345678} |
||
7223 | bpr | 159 | -24/11/2013 |
160 | added \underleftarrow \overleftarrow \underleftrightarrow \overleftrightarrow |
||
7224 | schaersvoo | 161 | -25/11/2013 |
162 | in extra arrows: forgotten to add "wims_mathml_free_string($2);" |
||
163 | TODO: check if these can be harmonized eg made more generic |
||
7225 | schaersvoo | 164 | -25/11/2013 |
165 | Harmonized UNDERARROW OVERARROW ; to add more just |
||
8913 | bpr | 166 | "\\my_new_under_Arrow" {yylval = wims_mathml_copy_string("&some_unicode_arrow;"); return UNDERARROW;} |
167 | "\\my_new_over_Arrow" {yylval = wims_mathml_copy_string("&some_unicode_arrow;"); return OVERARROW; } |
||
7225 | schaersvoo | 168 | added as proof of concept: |
169 | \overrightharpoonup |
||
170 | \overrightharpoondown |
||
171 | \underrightharpoonup |
||
172 | \underrightharpoondown |
||
8913 | bpr | 173 | |
7332 | schaersvoo | 174 | -23/12/2013 |
175 | - added new environment '\begin{html} any_valid_html_text \end{html}' |
||
176 | - corrected (W3C) mathml string output for '\input{size}{id}{style}{value}{readonly}' |
||
177 | - added str_replace() to replace '\lt' and '\gt' from SVG-text or HTML-text into '<' and '>' |
||
178 | - corrected SVG environment (trouble with \lt \gt) |
||
8913 | bpr | 179 | |
7333 | schaersvoo | 180 | We now use the 'W3C correct' annotations for embedding HTML / SVG in XML: |
7332 | schaersvoo | 181 | <semantics><annotation-xml encoding="application/xhtml+xml"> any_valid_html_text </annotation-xml></semantics> |
182 | <semantics><annotation-xml encoding="SVG1.1"> any_valid_svg_text </annotation-xml></semantics> |
||
8913 | bpr | 183 | |
7332 | schaersvoo | 184 | Example: |
185 | my homebrew 'input_pseudo_latex' |
||
186 | \frac{ \input{2}{0}{color:red}{?}{0} }{ 1234 } |
||
187 | is equivalent to: |
||
188 | \frac{ \begin{html}<input size='2' id='mathml0' style='color:red' value='?' />\end{html} }{ 1234 } |
||
8913 | bpr | 189 | |
7332 | schaersvoo | 190 | In the html/svg environment, any thing goes, like the square root of an image... |
191 | \sqrt{ \begin{html} <img src="my_image.gif" alt="noalt" /> \end{html} } |
||
192 | |||
193 | These are all -of course- incompatible with Latex ! |
||
7337 | schaersvoo | 194 | -25/12/2013 |
195 | -add 'xmlns="http://www.w3.org/1999/xhtml"' to <input /> |
||
8913 | bpr | 196 | -remove the <mn></mn> around <input /> : no longer needed |
197 | |||
198 | \input{5}{0}{color:red}{?}{0} |
||
7338 | schaersvoo | 199 | gets translated into: |
8913 | bpr | 200 | |
7337 | schaersvoo | 201 | <semantics> |
202 | <annotation-xml encoding="application/xhtml+xml"> |
||
203 | <input type="text" xmlns="http://www.w3.org/1999/xhtml" size="5" id="mathml0" value="?" style="color:red" /> |
||
204 | </annotation-xml> |
||
205 | </semantics> |
||
8913 | bpr | 206 | |
7338 | schaersvoo | 207 | If MathJax fixes it's bug concering the 'encoding' , the input-field will work natively in Chrome+MathJax extension... |
7339 | schaersvoo | 208 | -26/12/2013 |
209 | Fixing MathJax inputfield bug by using a 'textarea' instead of a 'input' |
||
210 | -Corrected 'rowlines' in 'array' environment (using 'none' instead of '') |
||
211 | MathJax actually shows rowlines when rowlines="" ... |
||
8913 | bpr | 212 | |
7339 | schaersvoo | 213 | -Using a 'pre-styled textarea' as inputfield look-alike : fixing the compatibility / bug issue with MathJaX in Chrome |
8913 | bpr | 214 | \input{4}{0}{color:red}{1234}{1} |
215 | gets translated into: |
||
216 | <semantics> |
||
217 | <annotation-xml encoding="application/xhtml+xml"> |
||
7339 | schaersvoo | 218 | <textarea xmlns="http://www.w3.org/1999/xhtml" cols="4" rows="1" id="mathml0" style="vertical-align:middle;overflow:hidden;resize:none;color:red" readonly="readonly"> |
219 | 1234 |
||
220 | </textarea> |
||
221 | </annotation-xml> |
||
222 | </semantics> |
||
8913 | bpr | 223 | |
7339 | schaersvoo | 224 | NOTE: revert to inputfields when MathJax is upgraded regarding usage of (X)HTML in MathML. |
7347 | schaersvoo | 225 | -28/12/2013 |
226 | Corrected non-stretchy perentheses |
||
227 | wims_mathml.y: setting all LEFT/RIGHT delimiters to <mo stretchy="true"> |
||
8913 | bpr | 228 | |
7390 | schaersvoo | 229 | -18/1/2014 |
230 | added \limit : does nothing |
||
231 | example: \int \limit_{123}^{123} is equal to \int_{123}^{123} |
||
7394 | schaersvoo | 232 | note: in latex \limit will center the text above and/or under the symbol (\int,\wedge etc) |
233 | If a identical behaviour (centered) is needed, use: |
||
234 | \underset{123}{ \overset{123} \int } |
||
8913 | bpr | 235 | |
7552 | schaersvoo | 236 | -9/3/2014 |
237 | added \char44 == , (bug 8461) |
||
8656 | schaersvoo | 238 | -4/3/2015 |
8655 | schaersvoo | 239 | added {"\ {0,5}[a-zA-Z0-9#\ :\-\_\+\=\(\)\[\]\@\~\!\#\$\%\^\&\*\/\,;.*\^\?]{0,250}\ {0,5}"} |
240 | to recognizable chars in input |
||
8656 | schaersvoo | 241 | -5/3/2015 Simplified input "regex" to "\\input{"\ {0,5}[0-9]{1,3}\ {0,5}"}{"*.*"}{"*.*"}{"*.*"}{"\ {0,3}[0-1]\ {0,3}"}" |
8657 | schaersvoo | 242 | -5/3/2015 last commit no good : multiple inputs in a single latex command are not recognized (??) |
8913 | bpr | 243 | revert to 4/3 |
244 | 09-06-2015: add textcolor |
||
9568 | schaersvoo | 245 | - size font-size:1.0em; in inputfield |
9540 | bpr | 246 | 26/09/2015: now all mathcal fonts exist. |
9568 | schaersvoo | 247 | |
9976 | schaersvoo | 248 | 30/09/2015: FOR TESTING: added a span element 'font-size=1em' around the math and set default tex-size=100% in mathml.c |
249 | |||
11496 | bpr | 250 | 30/04/2016: in MathJaX V2.6 the issue with the inputfield in mathml seems to be resolved. |
9976 | schaersvoo | 251 | Switching back from "textarea" to "inputfield" |
252 | Note+todo: latest html5 options for "input" are not yet implemented. |
||
11071 | schaersvoo | 253 | |
11496 | bpr | 254 | 27/10/2016 : revert to textarea , because of some bug in Safari. |
11071 | schaersvoo | 255 | Mathjax can not cure this browser error: |
256 | https://github.com/mathjax/MathJax/issues/1644 |
||
257 | the textarea will ignore an "enter" (keycode 13) and will be in everyday usage similar to an input-field |
||
258 | revert to inputfield when Safari (and possibly other Webkit browsers) have better support |
||
259 | (but this willnot happen in the near future, I'm afraid...) |
||
260 | At the same time "exec.c" is modified: it will activate Mathjax for all non-real-gecko-browsers. |
||
11496 | bpr | 261 | |
11333 | schaersvoo | 262 | 22/2/2017 ; fix for the pari [version > 2.9.0] printtex output "\*" |
263 | pari: printtex(35*x^6 - 8*x + 3) --> 35\*x^6 - 8\*x + 3 |
||
11335 | schaersvoo | 264 | "\\*" {yylval=wims_mathml_copy_string(" "); return MI;} |
11496 | bpr | 265 | 23/2/2017 pari printtex " \*" --> ⁢ |
266 | 08/05/2017 add ; in code as &#x |
||
12073 | bpr | 267 | 15/05/2017 |
11531 | schaersvoo | 268 | added "_" as non-latex code for array environment. |
269 | latex usage: |
||
270 | \begin{array}{c|c:c|c -._.-.} |
||
271 | 1 & 2 & 3 & 4 \\ |
||
272 | 1 & 2 & 3 & 4 \\ |
||
273 | 1 & 2 & 3 & 4 \\ |
||
274 | 1 & 2 & 3 & 4 \\ |
||
275 | 1 & 2 & 3 & 4 \\ |
||
276 | 1 & 2 & 3 & 4 \\ |
||
12073 | bpr | 277 | \end{array} |
278 | |||
11531 | schaersvoo | 279 | meaning: |
280 | solid vertical lines between columns 1,2 |
||
281 | dashed vertical line between 2,3 |
||
282 | solid vertical lines between columns 3,4 |
||
12073 | bpr | 283 | |
11531 | schaersvoo | 284 | solid horizontal line between row 1,2 |
285 | no horizontal line between row 2,3 |
||
286 | dashed horizontal line between row 3,4 |
||
287 | no horizontal line between row 4,5 |
||
12073 | bpr | 288 | solid horizontal line between row 5,6 |
11531 | schaersvoo | 289 | |
290 | NOTE: the problem is the in mathml all attributes must be known before the actual table can be filled...so all layout information must be derived from the {c|c:c|c -._.-.} |
||
291 | <mtable rowspacing="0.5ex" columnalign="center center center center" columnlines="solid dashed solid" rowlines="solid none dashed none solid none"> |
||
11553 | schaersvoo | 292 | To solve this in itex2mml/wims_mathml one must store the mathml strings into ca 6 variables...and print these when the \end{array is found... |
293 | |||
294 | 17/05/2017 a fix for \hline incompatibility between real latex and wims_mathml |
||
12073 | bpr | 295 | |
296 | \hline is now ignored (just an empty string...\hline never had a real meaning (ROWSEP) in wims_mathml) |
||
11553 | schaersvoo | 297 | an array now can use both "\hline" and the "non-latex" syntax for horizontal lines (-._) |
298 | the \hline will give the correct separation line in math-image-mode. |
||
12073 | bpr | 299 | \cr \tabularnewline are unchanged...giving 'ROWSEP' |
11553 | schaersvoo | 300 | note: |
301 | find ~/public_html/modules/[EHU]* -type f -name "*def" -exec grep -H "\\hline" "{}" ";" |
||
302 | will find only one hit: U1/algebra/docsyslin.fr/doc/1/exgauss.def |
||
11708 | schaersvoo | 303 | |
12073 | bpr | 304 | 31/5/2017 bug in MathJax : rowlines="" will show rowlines . So we explicitly declare rowlines=" none " |
305 | |||
11715 | schaersvoo | 306 | 27/6/2017 jm.evers |
11708 | schaersvoo | 307 | introduced some accents in "math mode" |
308 | LaTeX Description |
||
309 | \`{o} grave accent |
||
310 | \'{o} acute accent |
||
311 | \^{o} circumflex |
||
312 | \"{o} umlaut, trema or dieresis |
||
313 | \H{o} long Hungarian umlaut (double acute) |
||
314 | \~{o} tilde |
||
315 | \c{c} cedilla |
||
316 | \k{a} ogonek |
||
317 | \l{} barred l (l with stroke) |
||
318 | \={o} macron accent (a bar over the letter) |
||
319 | \b{o} bar under the letter |
||
320 | \.{o} dot over the letter |
||
321 | \d{u} dot under the letter |
||
322 | \r{a} ring over the letter |
||
323 | \u{o} breve over the letter |
||
324 | \v{s} caron/há?ek ("v") over the letter |
||
325 | \t{oo} "tie" (inverted u) over the two letters |
||
326 | \o{} slashed o (o with stroke) |
||
327 | |||
328 | |||
329 | there is no way to introduce tex-like accents in the text{} / textrm{} command family. |
||
330 | use something like this in "direct exec" |
||
331 | |||
332 | \Huge |
||
333 | \begin{array}{lll} |
||
334 | \"{O} & \'{O} & \`{O} \\ |
||
335 | \^{O} & \~{O} & \r{O} \\ |
||
336 | \c{O} & \.{O} & \={O} \\ |
||
337 | \k{O} & \b{O} & \d{O} \\ |
||
338 | \O{} & \o{} & \l{} & \\ |
||
339 | \H{O} & \t{uu} & \textrm{Hall}\"{o} \; \textrm{means Hallo in Danish ? } |
||
340 | \end{array} |
||
341 | |||
11727 | schaersvoo | 342 | 29/6/2017 jm.evers |
11711 | schaersvoo | 343 | added: |
344 | if ((yyleng > 1) && (yylval != wims_mathml_empty_string)) yylval[yyleng+1]='\0'; |
||
11715 | schaersvoo | 345 | and removed freeing of $1 by introducing *s1 and freeing this pointer after use (see wims_mathml.y) |
12073 | bpr | 346 | The problems are clear on Linux GCC : |
11715 | schaersvoo | 347 | (clang|bison|flex FreeBSD no (!?) problems...) |
11711 | schaersvoo | 348 | MathML: wims_mathml(82765,0x7fff77497000) malloc: *** error for object 0x10e29cb89: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Image: |
11715 | schaersvoo | 349 | This solution works, but I do not understand why !! |
11711 | schaersvoo | 350 | |
11721 | schaersvoo | 351 | Found probable cause: the ~ was missing , and was causing the freeing due to another match of \~ (I guess...) |
352 | |||
11717 | schaersvoo | 353 | added user info for implemented arrows,symbols and stuff |
354 | added Celcius and a few other missing things... |
||
11727 | schaersvoo | 355 | |
356 | 1/7/2017 |
||
357 | forgotten \u{} |
||
12025 | schaersvoo | 358 | 11/10/2017 all "e" will be typeset in mathvariant 'normal' as requested: |
12073 | bpr | 359 | |
12027 | schaersvoo | 360 | 12/10/2017 |
12073 | bpr | 361 | added lex macro EULER for 'e' (don't know of another trick to implement...) |
362 | |||
363 | 19/10/2017 |
||
364 | delete the modification for EULER |
||
12086 | schaersvoo | 365 | |
12108 | schaersvoo | 366 | 30/10/2017 |
13310 | obado | 367 | Correcting odd behaviour in Gecko's mathml : not showing an overline in the fancy themes |
12086 | schaersvoo | 368 | ( plain theme [default] is not affected) |
369 | changed the mo-tag "wims_mathml.y" line 1497 (added space) |
||
370 | ### |
||
371 | WIDEBAR closedTerm { |
||
372 | $$ = wims_mathml_copy3("<mover>", $2, "<mo>¯</mo></mover>"); |
||
373 | wims_mathml_free_string($2); |
||
374 | }; |
||
375 | ### |
||
376 | into |
||
377 | <mo> ¯ </mo> |
||
378 | |||
12108 | schaersvoo | 379 | 11/11/2017 |
380 | added \it as alternative for \mathit or \emph --> ITALICS |
||
381 | |||
12113 | schaersvoo | 382 | 13/11/2017 |
13310 | obado | 383 | r12112 | obado | 2017-11-13 12:14:53 +0100 (Mon, 13 Nov 2017) | 1 line |
384 | [minor/css] replace the inline style (span element) "font-size:1em" on mathml by a css class, that can be eventually customised. (use themes/__css/maths.css) |
||
13153 | schaersvoo | 385 | |
386 | 3/7/2018 added \Longleftarow [BPR] |
||
13310 | obado | 387 | |
388 | 09/04/2018 |
||
389 | add changes included in itex2MML v1.4.10 : |
||
390 | https://golem.ph.utexas.edu/~distler/code/itexToMML/revision/64 |
||
391 | Add some new large math operators (\bigsqcap and \biginterleave) |
||
392 | from the MathML3 Operator Dictionary. |
||
13858 | schaersvoo | 393 | 19/4/2019 |
394 | added '\cancel' as alternative syntax for '\slash'... |
||
14226 | schaersvoo | 395 | see https://wimsedu.info/?topic=utilisation-de-package-latex-specifique/#post-4941 |
396 | |||
397 | 25/8/2019 |
||
398 | added (a few things to sync with KaTeX) |
||
399 | \brace,\brack |
||
400 | some array shortcuts : \cases,\aligned,\Bmatrix,\Vmatrix,\vmatrix,\pmatrix |
||
14658 | bpr | 401 | |
402 | 15/02/2020 |
||
403 | added \not\subset (without spaces) |