/itexToMML

To download this project, use:
bzr branch http://golem.ph.utexas.edu/~distler/code/itexToMML/

« back to all changes in this revision

Viewing changes to itex-src/itex2MML.l

  • Committer: Jacques Distler
  • Date: 2007-02-24 22:23:59 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20070224222359-wt2f85y4xx9qgltv
Fixed TeX primes.

Show diffs side-by-side

added added

removed removed

1
 
/*             itex2MML 1.1.10
2
 
 *   itex2MML.l last modified 2/15/2007
 
1
/*             itex2MML 1.1.11
 
2
 *   itex2MML.l last modified 2/24/2007
3
3
 */
4
4
 
5
5
%{
140
140
"="   |
141
141
"~"   |
142
142
";"   |
143
 
"'"   |
144
143
"?"   |
145
144
"#"   |
146
145
"`"   |
147
146
"*"        {yylval=itex2MML_copy_string(yytext); return MOL;}
148
147
 
 
148
"'"        {yylval=itex2MML_copy_string("′"); return MOL;}
 
149
"''"     {yylval=itex2MML_copy_string("″"); return MOL;}
 
150
"'''"  {yylval=itex2MML_copy_string("‴"); return MOL;}
 
151
 
149
152
"\\alpha"   |
150
153
"\\beta" |
151
154
"\\gamma" |