summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-08 23:39:23 +0000
committerKarl Berry <karl@freefriends.org>2010-11-08 23:39:23 +0000
commit48d2558c3ffad7abe989102c448a8f65f37e1faa (patch)
treeac9584cb1f8aa4768ff447754c1a57d0e864de22 /Master/texmf-dist/doc/lualatex
parent2d2cc890664dd671b263c78b68d0edcfd3b2a2d9 (diff)
new latex package luacode (8nov10)
git-svn-id: svn://tug.org/texlive/trunk@20372 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex')
-rw-r--r--Master/texmf-dist/doc/lualatex/luacode/News2
-rw-r--r--Master/texmf-dist/doc/lualatex/luacode/README43
-rw-r--r--Master/texmf-dist/doc/lualatex/luacode/luacode.pdfbin0 -> 361377 bytes
3 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/lualatex/luacode/News b/Master/texmf-dist/doc/lualatex/luacode/News
new file mode 100644
index 00000000000..f5e2e65989d
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/luacode/News
@@ -0,0 +1,2 @@
+2010/11/08 v1.0
+ * initial version
diff --git a/Master/texmf-dist/doc/lualatex/luacode/README b/Master/texmf-dist/doc/lualatex/luacode/README
new file mode 100644
index 00000000000..6b5ad9e94cf
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/luacode/README
@@ -0,0 +1,43 @@
+ The luacode package for LuaLaTeX
+
+
+Executing Lua code from within TeX with \directlua can sometimes be
+tricky: there is no easy way to use the percent character, counting
+backslashes may be hard, and Lua comments don't work the way you expect.
+This package provides the \luaexec command and the luacode(*)
+environments to help with these problems.
+
+For an introduction to the most important gotchas of \directlua, see
+lualatex-doc.pdf. Before you start using the tools in this package, let me
+insist that the most robust way to manage a non-trivial piece of Lua code is
+to use an external file and source it from Lua, as explained in the cited
+document.
+
+
+Installation
+------------
+
+Here are the recommended installation methods (preferred first).
+
+1. If you are using TeX Live 2008 or later, use 'tlmgr install luacode'.
+If your are using MiKTeX, use the MiKTeX Package Manager.
+Alternatively, try you Linux distribution's package management system.
+
+2. a. Grab luacode.tds.zip on the CTAN.
+ b. Unzip it at the root of one or your TDS trees.
+ c. You may need to update some filename database after this, see your TeX
+ distribution's manual for details. (Hint: with TeX Live, run 'mktexlsr';
+ with MikTeX, look for "Refresh FNDB" in the MikTeX menu.)
+
+3. a. Grab the sources from CTAN or github.
+ b. Run 'make install TEXMFROOT=/path/to/texmf'.
+ (Warning: 'make install' without giving a TEXMFROOT will
+ put files in './texmf', which is probably not what you want.)
+ c. See 2c.
+
+
+Licence
+-------
+
+This package is distributed under the terms of the LPPL v1.3c or later.
+See the source file luacode.dtx for details.
diff --git a/Master/texmf-dist/doc/lualatex/luacode/luacode.pdf b/Master/texmf-dist/doc/lualatex/luacode/luacode.pdf
new file mode 100644
index 00000000000..dd6c072b383
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/luacode/luacode.pdf
Binary files differ