summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/hand-ini.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-11-23 19:48:34 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-11-23 19:48:34 +0100
commit18499e46a49b8ccf4346686d1cf626ada33935b8 (patch)
treebd0ae7b601b323e20954c10c07598637d9403e00 /tex/context/base/mkiv/hand-ini.mkxl
parent4b089e589d39346a66a27d04f9857fe16e4b7b41 (diff)
downloadcontext-18499e46a49b8ccf4346686d1cf626ada33935b8.tar.gz
2020-11-23 18:39:00
Diffstat (limited to 'tex/context/base/mkiv/hand-ini.mkxl')
-rw-r--r--tex/context/base/mkiv/hand-ini.mkxl113
1 files changed, 0 insertions, 113 deletions
diff --git a/tex/context/base/mkiv/hand-ini.mkxl b/tex/context/base/mkiv/hand-ini.mkxl
deleted file mode 100644
index 3fd82f239..000000000
--- a/tex/context/base/mkiv/hand-ini.mkxl
+++ /dev/null
@@ -1,113 +0,0 @@
-%D \module
-%D [ file=hand-ini,
-%D version=2008.02.12,
-%D title=\CONTEXT\ Handling Macros,
-%D subtitle=Initialization,
-%D author=Hans Hagen,
-%D date=\currentdate,
-%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
-%C
-%C This module is part of the \CONTEXT\ macro||package and is
-%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
-%C details.
-
-%D Handling is implemented differently in \MKIV. Maybe I'll cook up
-%D some compatibility hack.
-
-% \definefontfeature[demo][default][mode=node,expansion=quality]
-% \definefontfeature[demo][default][mode=node,protrusion=pure]
-
-% experimental setup:
-%
-% \showframe \setupalign[hanging] \enabletrackers[fonts.protrusion]
-%
-% \definefontfeature[default] [default][mode=node,script=latn]
-% %definefontfeature[whatever][default][mode=node,lfbd=yes,rtbd=yes,script=latn]
-% \definefontfeature[whatever][default][mode=node,protrusion=quality]
-% \definefontfeature[whocares][default][mode=node,protrusion=yes,opbd=yes,script=latn] % left|right|yes
-%
-% \definedfont[fxlbi.otf*default] \input tufte 0123456789 \par \dorecurse{15}{1 2 3 4 5 6 7 8 9 0 } \par
-% \definedfont[fxlbi.otf*whatever] \input tufte 0123456789 \par \dorecurse{15}{1 2 3 4 5 6 7 8 9 0 } \par
-% \definedfont[fxlbi.otf*whocares] \input tufte 0123456789 \par \dorecurse{15}{1 2 3 4 5 6 7 8 9 0 } \par
-%
-% %definefontfeature[whocares][default][mode=node,protrusion=2,opbd=yes,script=latn,featurefile=texgyrepagella-regularxx.fea]
-% \definefontfeature[whocares][default][mode=node,protrusion=2,opbd=yes,script=latn]
-%
-% \definedfont[texgyrepagella-regularxx.otf*whocares] \input tufte
-
-\unprotect
-
-%D Probbaly not yet used by many.
-
-\permanent\tolerant\protected\def\setupfontexpansion [#1]#*[#2]{\clf_setupfontexpansion {#1}{#2}}
-\permanent\tolerant\protected\def\setupfontprotrusion[#1]#*[#2]{\clf_setupfontprotrusion{#1}{#2}}
-
-% \setupfontprotrusion[quality-upright][vector=quality]
-% \setupfontprotrusion[quality-slanted][vector=quality,right=1.5]
-
-\pushoverloadmode
-
- \let\adjustspacing\relax \newcount\adjustspacing % a little bit protection
- \let\protrudechars\relax \newcount\protrudechars % a little bit protection
-
-\popoverloadmode
-
-%D At some point we can introduce extreme expansion, i.e. \type {\normaladjustspacing\plustwo}.
-
-% 0 = disabled
-% 1 = notused (thesis)
-% 2 = glyph + kern
-% 3 = glyph only (default)
-
-\def\font_expansion_enable {\normaladjustspacing\plusthree}
-\def\font_expansion_enable_k{\normaladjustspacing\plustwo}
-%def\font_expansion_enable_n{\normaladjustspacing\plusone}
-\def\font_expansion_disable {\normaladjustspacing\zerocount}
-
-\def\font_protruding_enable_b{\normalprotrudechars\plusthree} % also deal with r2l (experimental lmtx)
-\def\font_protruding_enable {\normalprotrudechars\plustwo }
-\def\font_protruding_disable {\normalprotrudechars\zerocount}
-
-\appendtoks \font_expansion_disable \to \everyforgetall % Here or not here?
-\appendtoks \font_protruding_disable \to \everyforgetall % Here or not here?
-
-% \def\fonthandlingerror{\writestatus\m!fonts{font handling is replaced by features in mkiv}}
-%
-% \let\fonthandling\empty
-%
-% \protected\def\startfonthandling #1{\fonthandlingerror\fonthandlingerror\gobbleuntil\stopfonthandling} % can't happen
-% \protected\def\definefonthandling {\dotripleempty\dodefinefonthandling}
-% \protected\def\setupfonthandling {\dodoubleempty\dosetupfonthandling }
-% \def\dodefinefonthandling[#1][#2][#3]{\fonthandlingerror}
-% \def\dosetupfonthandling [#1][#2]{\fonthandlingerror}
-% \def\usehandling [#1]{\fonthandlingerror}
-
-\installcorenamespace{expansion}
-
-\installcommandhandler \??expansion {expansion} \??expansion
-
-\appendtoks
- \setuevalue{\??expansion:\currentexpansion}%
- {\adjustspacingstep \expansionparameter\c!step\relax
- \adjustspacingstretch\expansionparameter\c!stretch\relax
- \adjustspacingshrink \expansionparameter\c!shrink\relax}%
-\to \everydefineexpansion
-
-\setupexpansion
- [\c!step=1,
- \c!stretch=40,
- \c!shrink=20]
-
-% \defineexpansion
-% [myexpansion]
-% [\c!stretch=50,
-% \c!shrink=20]
-
-\permanent\tolerant\protected\def\setexpansion[#1]{\begincsname\??expansion:#1\endcsname}
-
-%D New in \LMTX: can be used grouped.
-
-\permanent\protected\def\noexpansion {\bitwiseflip\glyphoptions\noexpansioncode}
-\permanent\protected\def\noprotrusion{\bitwiseflip\glyphoptions\noprotrusioncode}
-
-\protect \endinput