summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/sources/general/manuals/luatex/luatex.tex
blob: 00b0b2ea5443b65dc4b81a44113dbc6489bb1f9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
% language=us engine=luatex runpath=texruns:manuals/luatex

% \nopdfcompression

% \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 : 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.
%
% comment   : Of course specific distribution can add to the manual, but that is of course not
%             our responsibility. The official (latest) version of this manual is part of the
%             ConTeXt distribution, including a pdf file that is produced with the current
%             version of ConTeXt. So, in case of doubt use that one as reference. Some of the
%             improvements in the LuaMetaTeX manual that apply to LuaTeX might get retrofitted
%             in LuaTeX manual in due time.

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

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

% todo: all (sub)section to start/stop

% \enabledirectives[hyphenator.flatten]

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

% compoundhyphenmode      : looks okay
% endlocalcontrol         : very experimental
% fixupboxesmode          : very experimental
% mathflattenmode         : looks okay
% mathrulethicknessmode   : looks okay

% after adding primitives: context mult-prm.mkiv

% \enabledirectives[pdf.stripzeros]
% \enabledirectives[metapost.stripzeros]

\environment luatex-style

\startmode[book]
    \environment luatex-style-book
\stopmode

\environment luatex-logos
\environment luatex-private

\startmode[export]

    \setupbackend
      [export=luatex]

\stopmode

\startdocument
  [manual=Lua\TeX,
   status=stable,
   version=1.18]

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

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

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

\startbodymatter
    \component luatex-preamble
    \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

\startbackmatter
    \component luatex-registers
    \component luatex-statistics
\stopbackmatter

\stopdocument