Debian Codegraph @

texmf-dist/doc/latex/moodle/README.md

raw
1 # License
2
3 This work may be distributed and/or modified under the conditions of the
4 LaTeX Project Public License, either version 1.3 of this license or
5 (at your option) any later version. The latest version of this license
6 is in http://www.latex-project.org/lppl.txt and version 1.3 or later is
7 part of all distributions of LaTeX version 2005/12/01 or later.
8
9 # Authors
10
11 Original contents (2016): [Anders O.F. Hendrickson](/author/hendrickson) ([contact](mailto:anders.o.f.hendricksonATgmail.com))
12
13 2019-2023: [Matthieu Guerquin-Kern](/author/guerquin-kern) ([contact](mailto:guerquin-kernATcrans.org))
14
15 # Contents
16
17 This work, under version number 1.0, consists of the files
18 [`moodle.dtx`](/tex-archive/macros/latex/contrib/moodle/moodle.dtx),
19 [`moodle.ins`](/tex-archive/macros/latex/contrib/moodle/moodle.ins), and the derived documentation
20 file [`moodle.pdf`](/tex-archive/macros/latex/contrib/moodle/moodle.pdf).
21
22 The derived file `moodle.sty` can be downloaded from [here](https://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/latex/moodle/moodle.sty?view=co).
23 Details on how to generate derived files from the sources are given in Section "Building" at the end of this document.
24
25 A TDS archive [moodle.tds.zip](http://mirrors.ctan.org/install/macros/latex/contrib/moodle.tds.zip) is
26 also available to be conveniently expanded in your local texmf directory.
27 It contains the derived files `moodle.sty`, `moodle.pdf` and a set of test files.
28
29 # Requirements
30
31 This package (`moodle.sty`) requires the following packages:
32 - [`environ`](/pkg/environ),
33 - [`xkeyval`](/pkg/xkeyval),
34 - [`amssymb`](/pkg/amssymb),
35 - [`trimspaces`](/pkg/trimspaces),
36 - [`etex`](pkg/etex),
37 - [`etoolbox`](pkg/etoolbox),
38 - [`xpatch`](pkg/xpatch),
39 - [`array`](pkg/array),
40 - [`ifplatform`](/pkg/ifplatform),
41 - [`shellesc`](pkg/shellesc),
42 - [`readprov`](pkg/readprov),
43 - [`fancybox`](pkg/fancybox), and
44 - [`getitems`](pkg/getitems).
45
46 The package option `handout` requires:
47 - [`randomlist`](pkg/randomlist).
48
49 In order to manipulate images, the package relies on the following tools:
50 - [`graphics`](pkg/graphics),
51 - [GhostScript](www.ghostscript.com),
52 - [ImageMagick](www.imagemagick.org), and
53 - [optipng](http://optipng.sourceforge.net/).
54
55 Instead, to compile the documentation, the following LaTeX packages are
56 necessary:
57 - [`amssymb`](pkg/amssymb),
58 - [`babel`](pkg/babel),
59 - [`booktabs`](pkg/booktabs),
60 - [`changelog`](pkg/changelog),
61 - [`dtxdescribe`](pkg/dtxdescribe),
62 - [`eurosym`](pkg/eurosym),
63 - [`hyperref`](pkg/hyperref),
64 - [`longtable`](pkg/longtable),
65 - [`minted`](pkg/minted),
66 - [`microtype`](pkg/microtype),
67 - [`tikz`](pkg/tikz),
68 - [`threeparttable`](pkg/threeparttable), and
69 - [`varioref`](pkg/varioref).
70
71 # Building
72
73 The file `moodle.sty` can be generated using the command
74 ```bash
75 latex moodle.ins
76 ````
77 The documentation file `moodle.pdf` can be generated by running
78 successively the three commands:
79 ```bash
80 lualatex -halt-on-error -shell-escape moodle.dtx
81 makeindex -s gglo.ist -o moodle.gls moodle.glo
82 lualatex -halt-on-error -shell-escape moodle.dtx
83 ```
84 (n.b. the requirements in the previous section)