summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/hyph-utf8/lib/tex/hyphen/path.rb
blob: fda422b11a8cd8540b7d14ebba429b6cbfebdd78 (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
module TeX
  module Hyphen
    module PATH
      ROOT = File.expand_path('../../../../../../../..', __FILE__)

      TeXROOT = File.join(ROOT, 'hyph-utf8')
      TeX_GENERIC = File.join(TeXROOT, 'tex', 'generic')
      PAT = File.join(TeX_GENERIC, 'hyph-utf8', 'patterns')
      TXT = File.join(PAT, 'txt')
      TEX = File.join(PAT, 'tex')
      PTEX = File.join(PAT, 'ptex')
      QUOTE = File.join(PAT, 'quote')
      LOADER = File.join(TeX_GENERIC, 'hyph-utf8', 'loadhyph')

      SUPPORT = File.join(TeXROOT, '%s', 'generic', 'hyph-utf8', 'languages', '*')

      HYPHU8 = File.join('tex', 'generic', 'hyph-utf8')

      TL = File.join(ROOT, 'TL')
      LANGUAGE_DAT = File.join(PATH::TL, 'texmf-dist', 'tex', 'generic', 'config')
      # hyphen-foo.tlpsrc for TeX Live
      TLPSRC = File.join(PATH::TL, 'tlpkg', 'tlpsrc')
    end
  end
end