% language=us runpath=texruns:manuals/fonts

% author    : Hans Hagen
% copyright : ConTeXt Development Team
% license   : Creative Commons Attribution ShareAlike 4.0 International
% reference : pragma-ade.nl | contextgarden.net | texlive (related) distributions
% origin    : the ConTeXt distribution
%
% comment   : Because this manual is distributed with TeX distributions it comes with a rather
%             liberal license. We try to adapt these documents to upgrades in the (sub)systems
%             that they describe. Using parts of the content otherwise can therefore conflict
%             with existing functionality and we cannot be held responsible for that. Many of
%             the manuals contain characteristic graphics and personal notes or examples that
%             make no sense when used out-of-context.
%
% comment   : Some chapters might have been published in TugBoat, the NTG Maps, the ConTeXt
%             Group journal or otherwise. Thanks to the editors for corrections. Also thanks
%             to users for testing, feedback and corrections.

% \definefontfeature[default][default][globalkern=true]
%
% \usemodule[speedtest]

\enabletrackers[fonts.usage]

\enablemode[simple] % ,oversized

\startbuffer[abstract]

    This book is about fonts and how they are dealt with in \CONTEXT\ \MKIV\ and
    \LUATEX. Although we use \CONTEXT\ as starting point, much applies to the
    generic font handler that ships as part of this macro package. We discuss the
    way fonts are dealt with in the engine, font formats, standard features and
    additional goodies. Tracing and the extensibility of code are also discussed.
    This book is the more technical companion of the regular \CONTEXT\ font
    manual.

\stopbuffer

\environment fonts-environment

\startdocument
  [author=Hans Hagen,
   title=Fonts out of \ConTeXt,
   subtitle=explaining luatex and mkiv,
   affiliation=PRAGMA ADE,
   comment=work in progress,
   cover:color:1=darkred,
   cover:color:2=darkgreen,
   cover:color:3=darkblue,
   cover:color:4=darkyellow,
   cover:color:5=darkgray]

    \startfrontmatter
        \component manuals-explaining-contents
        \component fonts-introduction
    \stopfrontmatter

    \startbodymatter
        \component fonts-formats
        \component fonts-modes
        \component fonts-lookups
        \component fonts-methods
        \component fonts-features
        \component fonts-scripts
        \component fonts-math
        \component fonts-extensions
        \component fonts-hooks
        \component fonts-tricks
        \component fonts-compact
    \stopbodymatter

    \startappendices
        \component fonts-appendix
    \stopappendices

\stopdocument
