32

Today, TeX is a big program, LuaTeX, PDFTeX, METAPOST etc. Where is the public accessing source code for hacking LuaTeX or other implementations. For example, I need to embed TeX into C program or creating Ruby object TeX.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036

3 Answers3

29

TeX Live:

XeTeX:

LuaTeX

MetaPost

pdfTeX

11

The complete sources from which TeX Live is built are available to browse online on a GitHub mirror (note that this is not the upstream source which is a private SVN).

https://github.com/TeX-Live/texlive-source

Therein you can find the source for the different components:

The experimental LuaTeX also has its own GitHub mirror. There you can find the source in the directory source/texk/web2c/luatexdir.

Henri Menke
  • 109,596
9

TeX

https://www.ctan.org/tex-archive/systems/knuth/dist/tex

This is a good starting point.

LuaTeX

http://www.luatex.org/download.html

Neelix
  • 466
  • Luatex link not workin. SVN repository have password. This is wrong answer – Marko Lustro Aug 08 '17 at 12:47
  • 6
    @MarkoLustro I don't follow how it's wrong: that is the official master repo for LuaTeX. One could get the TeX Live version (https://www.tug.org/texlive/svn/), which if you are happy with 'reasonable approximation to current release' is OK, but it's not the 'master' source. – Joseph Wright Aug 08 '17 at 12:59
  • Yes this is oficial web but I cant download source code from this web – Marko Lustro Aug 08 '17 at 13:01
  • A quick google search will tell you user name and passwort – samcarter_is_at_topanswers.xyz Aug 08 '17 at 13:02
  • @MarkoLustro You are expected to ask for it I think – Joseph Wright Aug 08 '17 at 13:03
  • 4
    Username:anonsvn Password:anonsvn – Neelix Aug 08 '17 at 13:03
  • 4
    A "quick" search does not immediately reveal the username and password. (Thanks, Neelix.) However, is it not the case that luatex is distributed under an open license that requires the source code to be publicly available? Why should there be a username and password, even if known? –  Aug 08 '17 at 15:09
  • 1
    It is not that uncommon to require a publicly available username and password for a free repo. However, if 'ask for it' in @JosephWright 's sense means 'email somebody or fill in a form or ....' then that might be problematic for some free licences. But unless they're releasing binaries of the master, it is unlikely to violate anything, so long as source of the releases is easily available. Few (no?) licences say you have to release code for stuff you don't distribute. – cfr Sep 05 '18 at 22:16