Wolfgang Schuster wrote:
Am 12.09.2009 um 14:50 schrieb Hans Hagen:
what happens if you define 'none' to disable liga explicitly
the three argument version of \definefontfeature is more handy but the definition for mkii makes no sense
\def\dodefinefontfeature[#1][#2][#3]% {\doifassignmentelse{#2} {\setevalue{\??fa#1}{#2}} {\let\!!stringa\empty
\def\mkdodefinefontfeature##1{\edef\!!stringa{\ifx\!!stringa\empty\else\!!stringa,\fi##1}}%
\processcommalist[#2]\mkdodefinefontfeature \setevalue{\??fa#1}{\ifx\!!stringa\empty\else\!!stringa,\fi#3}}}
wouldn't be
... \def\mkdodefinefontfeature##1%
{\edef\!!stringa{\ifx\!!stringa\empty\else\!!stringa,\fi\executeifdefined{\??fa##1}\empty}}%
...
better?
sure. actually most of these \mk* macros hav eto go (date from the shared time) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------