From 446f26cc1dcf3154951287824f354133a0718016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Thu, 2 Jul 2020 11:41:15 +0200 Subject: [PATCH] Update README --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ac0544b..1802e83 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,18 @@ You need an up-to-date TeX Live installation and the latest version of LuaMetaTe Additionally a special library version of LuaTeX's kpathsea Lua binding is needed which is provided as a binary for Linux x64. For other platforms you might have to compile it yourself. Drop me a line if you need any instructions. -## How to install +## How to install (automatically) +Obtain `luametatex` from ConTeXt, drop the binary into the same location where your `luatex` binary is installed and then run `install.sh`. + +## How to install (manually) Obtain `luametatex` from ConTeXt, drop the binary into the same location where your `luatex` binary is installed and copy (or sym-link) the file `luametalatex.lua` into the same directory. Additionally create a sym-link `luametalatex` to `luametatex` in the same directory. Then copy (or sym-link) this entire repo to `.../texmf-local/tex/lualatex/luametalatex`. Finally add the line ``` luametalatex luametatex language.dat,language.dat.lua --lua="$(kpsewhich luametalatex.lua)" luametalatex.ini ``` -to your local `fmtutil.cnf`. Then you should be able to run `fmtutil-sys --byfmt luametalatex` to generate the format. +to your local `fmtutil.cnf` and configure paths for luametalatex in your `texmf.cnf`. Then you should be able to run `fmtutil-sys --byfmt luametalatex` to generate the format. If this worked you can built (simple) LaTeX documents using the command `luametalatex`. + +You can then repeat the same instructions with `luametalatex-dev` and `luametaplain` to also get access to development and plain TeX formats