1%D \module 2%D [ file=m-mkivhacks, 3%D version=2008.10.20, 4%D title=\CONTEXT\ Modules, 5%D subtitle=Temporary Compatilibility Hacks, 6%D author=Hans Hagen, 7%D date=\currentdate, 8%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] 9%C 10%C This module is part of the \CONTEXT\ macro||package and is 11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 12%C details. 13 14%D For Aditya, who needed it for his thesis. 15 16 17 -- -- a lot or work 18 -- 19 -- mathematics.slots.euler = { 20 -- [0x03B1] = { "mr", 0x0B }, -- alpha 21 -- } 22 -- 23 -- mathematics.slots.euler = table.merge(mathematics.slots.traditional,mathematics.slots.euler) 24 -- 25 -- versus a quick hack 26 27 document.hacks = document.hacks or { } 28 29 function document.hacks() 30 mathematics.families.lcgreek = mathematics.families.mr 31 mathematics.families.ucgreek = mathematics.families.mr 32 mathematics.families.vargreek = mathematics.families.mr 33 34 mathematics.define(mathematics.slots.euler) 35 end 36 37 38% \usemodule[mkivhacks] \setups{eulermath} 39% \definetypeface[modern][mm][math][euler][default] 40% \usemathcollection[eul] 41% \switchtobodyfont[modern,11pt] 42% \starttext 43% $\alpha$ 44% \stoptext 45 46\startsetups eulermath 47 document.hacks() 48\stopsetups 49 50\endinput 51 |