summaryrefslogtreecommitdiff
path: root/Master/texmf/tex/generic/config/language.us.lua
blob: b2e27bd81624b036410f11ed508e92af8671cc16 (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
-- $Id$
--[[
language.us.dat (and the start of language.dat.lua), used by:
- a special luatex version of hyphen.cfg (derived from the babel system);
- a special luatex version of etex.src (from the e-TeX distributon).

See luatex-hyphen.pdf (currently part of the hyph-utf8 package) for details.

DO NOT EDIT THIS FILE (language.dat.lua)! It is generated by tlmgr by
concatenating language.us with entries from the various packages.

The premade texmf/tex/generic/config/language.dat.lua (where you might be
reading this) in the distribution is a copy of this generated file with
all languages enabled.  It is used when the user asks to run live
(install option R).

To add or remove entries in this file, there are two options:
- if the language is provided by a TeX Live package, you can
  (un)install the corresponding package using tlmgr. Examples:
    tlmgr install hyphen-french
    tlmgr remove hyphen-english
- in any case, you can use a local configuration file:
    TEXMFLOCAL/tex/generic/config/language-local.dat.lua
  with the same format as the present file, then regenerate this file
  and rebuild the formats.  See the manual of tlmgr (try 'man tlmgr'
  or 'texdoc tlmgr'), section "generate" for details.

Warning: formats using this file also use one of language.dat or
language.def. Make sure to update them accordingly. The interaction
between these files is documented in luatex-hyphen.pdf, but here is a
summary:
- a language must be mentionned in language.dat or language.def to be
available; if, in addition, it is:
  - not mentionned in language.dat.lua, then it is dumped in the format;
  - mentionned in language.dat.lua with a special="disabed:<reason>'
  key, then it is not available at all;
  - mentioned in language.dat.lua with a normal entry, then it will not
  be dumped in the format, but loaded at runtime when activated.
]]

return {
	["english"]={
		loader="hyphen.tex",
		special="language0", -- should be dumped in the format
		lefthyphenmin=2,
		righthyphenmin=3,
		synonyms={"usenglish","USenglish","american"},
	},
        -- dumylang and zerohyph are dumped in the format,
        -- since they contain either very few or no patterns at all
-- END of language.us.lua (missing '}' appended after all entries)