Debian Codegraph @

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

raw
1 The `ydoc` class and packages
2 =============================
3 Copyright (c) 2011-2022 by Martin Scharrer <[email protected]>
4 License: [LPPL v1.3c](https://www.latex-project.org/lppl/lppl-1-3c/)
5 CTAN: https://www.ctan.org/pkg/ydoc
6 Texdoc: https://texdoc.org/pkg/ydoc
7 Homepage: https://github.com/MartinScharrer/ydoc
8 Repository: https://github.com/MartinScharrer/ydoc.git
9 Issue tracker: https://github.com/MartinScharrer/ydoc/issues
10
11 `ydoc` provides macros and environments to document LaTeX packages and classes.
12 It is an alternative to the `ltxdoc` class and `doc` package.
13 It targets a different layout and tries to provide more modern styles (`xcolor`, `hyperref`, etc.).
14
15 This is an alpha release. It should not be used yet for other packages.
16
17 INSTALL
18 -------
19
20 This package might be part of your LaTeX distribution (TeX Live, MikTeX, ...) and then is installable using
21 the distributions package manager (TeX Live: `tlmgr install ydoc`).
22 However, it is also manually installable using the following ways:
23
24 ### TDS ZIP FILE ###
25
26 A TDS ZIP file includes all files in a installable format and using the required directory structure.
27 Simply unzip the TDS ZIP file over your TEXMF tree.
28 The TDS ZIP file can be downloaded from CTAN:
29 http://mirrors.ctan.org/install/macros/latex/contrib/ydoc.tds.zip
30
31
32 ### DTX FILE ###
33
34 The `ydoc.dtx` file includes all required files, which can be extracted by compiling it using TeX (not LaTeX):
35
36 tex ydoc.dtx
37
38 To build the documentation compile the same file using LaTeX (preferable 'pdflatex') multiple times:
39
40 pdflatex ydoc.dtx
41 pdflatex ydoc.dtx
42 pdflatex ydoc.dtx
43
44 Copy all files to their correct location of your local TEXMF tree.
45 For example under Linux a personal TEXMF is normally located at `~/texmf` (`$HOME/texmf`)
46 and under Windows usually under `C:\Users\<username>\texmf`.
47 The files can be installed using the following Linux commands:
48
49 mkdir -p "${TEXMF}/tex/latex/ydoc/"
50 mkdir -p "${TEXMF}/source/latex/ydoc/"
51 mkdir -p "${TEXMF}/doc/latex/ydoc/"
52 mkdir -p "${TEXMF}/tex/generic/ydoc/"
53 cp ydoc.sty ydoc.cls ydoc-code.sty ydoc-desc.sty ydoc-doc.sty ydoc-expl.sty ydoc.cfg "${TEXMF}/tex/latex/ydoc"
54 cp ydoc.dtx ydoc.ins "${TEXMF}/source/latex/ydoc"
55 cp ydoc.pdf README "${TEXMF}/doc/latex/ydoc"
56 cp ydocincl.tex ydocstrip.tex "${TEXMF}/tex/generic/ydoc"
57
58 Update the tree database file (might be not required for modern versions and personal TEXMF trees):
59
60 texhash ${TEXMF}
61
62