Debian Codegraph @

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

raw
1 # doibanner
2
3 A LaTeX package to generate DOI banners and links.
4
5 The `doibanner` package allows to generate a banner for a declared [digital
6 object identifier](https://www.doi.org/the-identifier/what-is-a-doi/) (DOI).
7 It provides the `\doibanner` macro, which draws the banner using
8 [`TikZ`](https://www.ctan.org/pkg/tikz) and adds a link via
9 [`hyperref`](https://www.ctan.org/pkg/hyperref), if desired. Its output can
10 be scaled by [`adjustbox`](https://www.ctan.org/pkg/adjustbox) and it might
11 look as follows:
12
13 ![_DOI banner generated with `\doibanner`_](./example/doibanner_example.png "Example generated with doibanner")
14
15 Latest release: 2024-07-28 v0.3
16
17
18 ## Installation
19
20 Skip this section, if `doibanner` is already provided in your TeX distribution.
21 You should be able to install it [from the CTAN](https://www.ctan.org/pkg/doibanner)
22 via your distribution's utility (e.g. the TeX Live Utility).
23
24 ### Manual installation
25
26 You can get the package's source code from the
27 [project repository on Codeberg](https://codeberg.org/Cs137/doibanner).
28 The repository contains a build script, which allows you to build the required
29 files for the `doibanner` package and copy them into your _TeX Directory Structure_
30 (TDS) using `l3build`. Ensure that `l3build` is installed on your system and run
31 it from the repository's root directory as follows:
32
33 ```bash
34 l3build install --full
35 ```
36
37 The `--full` option ensures that all necessary files are built and installed.
38
39 If you do not want to install the package into your TDS, but use it in a
40 particular LaTeX project, follow the steps listed below.
41
42 1. unpack `doibanner.sty` from the `doibanner.dtx` file
43 - using `l3build` and the `build.lua` script: `l3build unpack`, __or__
44 - directly via the installer file: `pdflatex doibanner.ins`
45 2. copy the extracted `doibanner.sty` file into the same directory as your LaTeX sources.
46
47
48 ## Usage
49
50 Please consult the [package documentation](http://mirrors.ctan.org/macros/latex/contrib/doibanner/doibanner.pdf)
51 for detailed usage information.
52
53 If you have any questions or need assistance, feel free to
54 [open an issue on the repository](https://codeberg.org/Cs137/doibanner/issues).
55
56
57 ## Contributing
58
59 Contributions to the `doibanner` package are very welcomed. Feel free to submit
60 a [pull request (PR)](https://codeberg.org/Cs137/doibanner/pulls), if you would
61 like to contribute to the project. In case you are unfamiliar with the process,
62 consult the [forgejo documentation](https://forgejo.org/docs/latest/user/pull-requests-and-git-flow/)
63 and follow the steps using this repository instead of the `example` repository.
64
65 Create your [pull request (PR)](https://codeberg.org/Cs137/doibanner/pulls) to
66 inform that you started working on a contribution. Provide a clear description
67 of your envisaged changes and the motivation behind them, prefix the PR's title
68 with ``WIP: `` until your changes are finalised.
69
70 All kind of contributions are appreciated, whether they are
71 bug fixes, new features, or improvements to the documentation.
72
73
74 ### Contributors
75
76 - [Christian Schreinemachers](https://codeberg.org/Cs137)
77 - [Marei Peischl](https://chaos.social/@TeXhackse)
78
79
80 ## Changes
81
82 All notable changes to this project are documented in the file
83 [`CHANGELOG.md`](https://codeberg.org/Cs137/doibanner/src/branch/main/CHANGELOG.md).
84
85
86 ## Credits
87
88 This package was created and is maintained by Christian Schreinemachers, (C) 2024.
89 The source code is hosted on [Codeberg](https://codeberg.org/Cs137/doibanner).
90 It is subject to the [LaTeX Project Public License 1.3c](https://www.ctan.org/license/lppl1.3).
91