% macros=mkvi

% \disabledirectives[vspacing.synchronizepage]

% wsl /data/context/runcontext.sh --global --path=/mnt/c/data/develop/context/manuals/mkiv/external/luatex luatex.tex
%
% same runtime as regular context or linux

% author    : Hans Hagen with Taco Hoekwater, Luigi Scarso & Hartmut Henkel
% copyright : PRAGMA ADE & 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 (parts of) 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.
%
% 238 pages : 2017-07-06
%             luatex 9.5 sec / luajittex 7.0 sec
%             Dell 7600 / i7 3840QM / passmark 1.922 / Windows 10 64 bit

% \tex vs \type vs \syntax vs. \luatex
% \em \it \/

% "context --nodates --nocompression luatex" can be used for comparison
% runs, not that we do it

% \enabledirectives[hyphenator.flatten]

% \setupsynctex[state=start,method=max] % adds 5 pct overhead

\environment luatex-style
\environment luatex-logos

\startmode[export]

    \setupbackend
      [export=luatex]

\stopmode

\dontcomplain

\startdocument
  [status=experimental,
   version=1.08.0]

\startnotmode[*export]
    \component luatex-titlepage
\stopnotmode

\startmode[*export]
    \component luatex-export-titlepage
\stopmode

\startfrontmatter
    \component luatex-contents
    \component luatex-introduction
\stopfrontmatter

\startbodymatter
    \component luatex-enhancements
    \component luatex-modifications
    \component luatex-lua
    \component luatex-languages
    \component luatex-fonts
    \component luatex-math
    \component luatex-nodes
    \component luatex-callbacks
    \component luatex-tex
    \component luatex-graphics
    \component luatex-fontloader
    \component luatex-backend
\stopbodymatter

\stopdocument
