Debian Codegraph @

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

raw symbols SCIP
1 photobook
2 =========
3
4 [LaTeX](https://www.latex-project.org/) document class for making photo books.
5
6
7 Available on:
8 - CTAN: https://ctan.org/pkg/photobook
9 - GitHub: https://github.com/flynx/photobook
10
11
12 ## Install / Build
13
14 The simplest way to install is to use either
15 [TeX Live](https://www.tug.org/texlive/)'s or [MiKTeX](https://miktex.org/)'s
16 standard way to install modules.
17
18
19 Installing from source:
20 ```shell
21 # get the source...
22 $ git clone https://github.com/flynx/photobook.git
23
24 # if desired, install in the user context...
25 $ cd ./photobook
26 $ make install
27 ```
28
29 The `photobook` document class requires a set of modules to be installed
30 for it to function, the full list is included in the docs and can be
31 generated and printed by calling:
32 ```shell
33 $ make depends
34 ```
35
36 For more info on `make` targets see the: [./Makefile](./Makefile)
37
38
39
40 # Documentation
41
42 Pre-built documentation can be found in the
43 [Github releases](https://github.com/flynx/photobook/releases/latest) or on
44 [CTAN](http://mirrors.ctan.org/macros/latex/contrib/photobook/photobook.pdf).
45
46
47 A full book (dummy) example is included in [./examples/book/](./examples/book/)
48 and can be used as a reference / starting point.
49
50
51
52 ## Building documentation
53
54 Building the reference from source is done by:
55 ```shell
56 $ make pdf
57 ```
58
59 Build requirements for docs:
60 - LaTeX tool chain (including: `lualatex`, `latexmk`, ..)
61 The simplest way to get started is [TeX Live](https://www.tug.org/texlive/),
62 either a full install or for specific modules see the _Packages_ section
63 in [photobook.cls](./photobook.cls),
64 - Un\*x-like environment (`bash`, GNU Make, coreutils, ...),
65 on Windows systems, either [Cygwin](https://www.cygwin.com/) or
66 [WSL/WSL2](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux)
67 should work fine.
68
69
70
71 ## Notes
72
73 - The main reference is maintained inline with the source [photobook.cls](./photobook.cls)
74 thus it is both human-readable next to the code it documents and is
75 used to build the `photobook.pdf`.
76 Extracting the documentation source (`photobook*.tex`) is done
77 by [make](./Makefile) via [cls2tex.sh](scripts/README.md#cls2texsh) when
78 building the docs, see them for more info.
79 - There is a bug in default captions not being typeset correctly if too
80 long, a workaround is to place them in a `minipage` like this:
81 ```latex
82 \imagecell{%
83 \begin{minipage}{\cellwidth}%
84 long caption text...
85 \end{minipage}%
86 }{some-image}
87 ```
88 (still working on a solution for this).
89 - `photobook` is mostly used with `lualatex`, other engines are mostly
90 supported but some features may misbehave.
91
92
93 ## Authors
94
95 [Alex A. Naanou](https://github.com/flynx)
96
97
98
99 ## License
100
101 [BSD 3-Clause License](./LICENSE)
102
103 Copyright (c) 2021-2023, Alex A. Naanou,
104 All rights reserved.
105
106
107 <!-- vim:set ts=4 sw=4 nowrap : -->