![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Mojca Miklavec wrote:
On 9/14/07, Hans Hagen wrote:
Mojca Miklavec wrote:
Hello,
I was trying to figure out how to process simple HTML files with the new code, but I fail to understand the details. Here's a simple file I would like to process:
keep in mind that this is still somewhat experimental
Sure :) That's why I'm sending files for testing :) :) :)
- i'll make a table mapper (need it anyway), cals tables are already provided - idem for preformatted and verbatim - your code: d[k] = dk:gsub(" ",' ') dk = d[k] d[k] = dk:gsub("≤", '\\mathematics{\\le}') local dk = d[k] dk = dk:gsub(" ",' ') dk = dk:gsub("≤", '\\mathematics{\\le}') d[k] = dk or .... mojcasentities = { nbsp = " ", le = "'\\mathematics{\\le}' } local d[k]= d[k]:gsub("&(.-);",mojcasentities) (there probably already is code for that) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------