diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-01-12 17:15:07 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-01-12 17:15:07 +0100 |
commit | 8d8d528d2ad52599f11250cfc567fea4f37f2a8b (patch) | |
tree | 94286bc131ef7d994f9432febaf03fe23d10eef8 /tex/context/base/hand-ini.mkiv | |
parent | f5aed2e51223c36c84c5f25a6cad238b2af59087 (diff) | |
download | context-8d8d528d2ad52599f11250cfc567fea4f37f2a8b.tar.gz |
2016-01-12 16:26:00
Diffstat (limited to 'tex/context/base/hand-ini.mkiv')
-rw-r--r-- | tex/context/base/hand-ini.mkiv | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/tex/context/base/hand-ini.mkiv b/tex/context/base/hand-ini.mkiv deleted file mode 100644 index d4bffdb14..000000000 --- a/tex/context/base/hand-ini.mkiv +++ /dev/null @@ -1,82 +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 New stuff. - -\unexpanded\def\setupfontexpansion {\dodoubleargument\font_expansion_setup } -\unexpanded\def\setupfontprotrusion{\dodoubleargument\font_protrusion_setup} - -\def\font_expansion_setup [#1][#2]{\clf_setupfontexpansion {#1}{#2}} -\def\font_protrusion_setup[#1][#2]{\clf_setupfontprotrusion{#1}{#2}} - -% \setupfontprotrusion[quality-upright][vector=quality] -% \setupfontprotrusion[quality-slanted][vector=quality,right=1.5] - -\let\adjustspacing\relax \newcount\adjustspacing % a little bit protection -\let\protrudechars\relax \newcount\protrudechars % a little bit protection - -% at some point we can introduce extreme expansion, i.e. \normaladjustspacing\plustwo - -% 0 = disabled -% 1 = notused (thesis) -% 2 = glyph + kern -% 3 = glyph only - -\def\font_expansion_enable {\normaladjustspacing\plusthree} -\def\font_expansion_enable_k{\normaladjustspacing\plustwo} -\def\font_expansion_disable {\normaladjustspacing\zerocount} - -\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 -% -% \unexpanded\def\startfonthandling #1{\fonthandlingerror\fonthandlingerror\gobbleuntil\stopfonthandling} % can't happen -% \unexpanded\def\definefonthandling {\dotripleempty\dodefinefonthandling} -% \unexpanded\def\setupfonthandling {\dodoubleempty\dosetupfonthandling } -% \def\dodefinefonthandling[#1][#2][#3]{\fonthandlingerror} -% \def\dosetupfonthandling [#1][#2]{\fonthandlingerror} -% \def\usehandling [#1]{\fonthandlingerror} - -\protect \endinput |