From da65270cdbb449c68e6e9f06dd8089b64275a2d3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 30 Aug 2017 23:02:13 +0000 Subject: multilang (30aug17) git-svn-id: svn://tug.org/texlive/trunk@45179 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/multilang/README.md | 90 +++++++++++++++++++++ .../texmf-dist/doc/latex/multilang/multilang.pdf | Bin 0 -> 416564 bytes 2 files changed, 90 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/multilang/README.md create mode 100644 Master/texmf-dist/doc/latex/multilang/multilang.pdf (limited to 'Master/texmf-dist/doc/latex/multilang') diff --git a/Master/texmf-dist/doc/latex/multilang/README.md b/Master/texmf-dist/doc/latex/multilang/README.md new file mode 100644 index 00000000000..95f7c52da46 --- /dev/null +++ b/Master/texmf-dist/doc/latex/multilang/README.md @@ -0,0 +1,90 @@ +The multilang Package +======================= + +Copyright (C) 2016-2017 Richard Gay + +Released under the [LaTeX Project Public License](http://www.latex-project.org/lppl/) version 1.2 or later + +## Abstract + +Maintaining a LaTeX document with translations for multiple languages +can be cumbersome and error-prone. +The `multilang` package provides a set of macros for defining macros and +environments as wrappers around existing macros and environments. +These wrappers allow one to clearly specify multiple translations for the +arguments to the wrapped macros and environments while only the +translation of the document's language is actually shown. +Choosing a translation then is as simple as choosing the document's +language via `babel` or `polyglossia`. + +## Availability + +The `multilang` package is on [CTAN](http://www.ctan.org/pkg/multilang), +where you can also find the [documentation](http://mirrors.ctan.org/macros/latex/contrib/multilang/multilang.pdf), +as well as on [github](https://github.com/Ri-Ga/multilang). + +## Manual Installation + +The `multilang` package comes with (at least) the following files +* multilang.ins +* multilang.dtx +* README.md + +and possibly also with +* Makefile +* multilang.pdf (generated from multilang.dtx) +* multilang.sty (generated from multilang.dtx) + +To install the `multilang` package, you additionally need +* docstrip.tex + +To build the package (`multilang.sty`), run one of the following +``` + latex multilang.ins + make package (needs Makefile) +``` + +Put the resulting `multilang.sty` somewhere where LaTeX can find it. +Read the documentation of your LaTeX system to find out where this +might be. + +## Building Documentation + +To build the documentation of the `multilang` package, you additionally +need the following classes and packages (including their dependencies) +* ltxdoc +* babel +* cleveref +* csquotes +* datetime2 +* enumitem +* environ +* etoolbox +* hypdoc +* idxlayout +* pbox +* pgfkeys +* pgfopts +* sectionbox +* showexpl +* translations +* xcolor +* xspace + +as well as +* pdflatex + +To build the documentation (`multilang.pdf`), either run +``` + make docs +``` +or the following sequence of commands +``` + pdflatex multilang.dtx + makeindex -s gind.ist -o multilang.ind multilang.idx + makeindex -s gglo.ist -o multilang.gls multilang.glo + pdflatex multilang.dtx + pdflatex multilang.dtx +``` + +Happy TeX'ing diff --git a/Master/texmf-dist/doc/latex/multilang/multilang.pdf b/Master/texmf-dist/doc/latex/multilang/multilang.pdf new file mode 100644 index 00000000000..456ef7bff89 Binary files /dev/null and b/Master/texmf-dist/doc/latex/multilang/multilang.pdf differ -- cgit v1.2.3