| 1 |
# bib2qr |
| 2 |
|
| 3 |
[](https://www.latex-project.org/lppl/lppl-1-3c.txt) |
| 4 |
[](https://codeberg.org/Cs137/bib2qr/releases/latest) |
| 5 |
[](https://ctan.org/pkg/bib2qr) |
| 6 |
|
| 7 |
A LaTeX package for citing BibTeX entries with QR codes. |
| 8 |
|
| 9 |
The `bib2qr` package provides functionality to cite BibTeX entries with QR codes |
| 10 |
for easy sharing and referencing. The target of the QR code is the entry's DOI, |
| 11 |
or URL if no DOI exists. A citation generated via `\qrfullcite`, which is part |
| 12 |
of `bib2qr`, might look as follows: |
| 13 |
|
| 14 |
[](https://codeberg.org/Cs137/bib2qr/media/branch/main/example/qrfullcite_example.png) |
| 15 |
|
| 16 |
|
| 17 |
## Installation |
| 18 |
|
| 19 |
Skip this section, if `bib2qr` is already provided in your TeX distribution. |
| 20 |
You should be able to install it [from the CTAN](https://www.ctan.org/pkg/bib2qr) |
| 21 |
via your distribution's utility (e.g. the TeX Live Utility). |
| 22 |
|
| 23 |
### Manual installation |
| 24 |
|
| 25 |
You can get the package's source code from the |
| 26 |
[project repository on Codeberg](https://codeberg.org/Cs137/bib2qr). |
| 27 |
The repository contains a build script, which allows you to build the required |
| 28 |
files for the `bib2qr` package and copy them into your _TeX Directory Structure_ |
| 29 |
(TDS) using `l3build`. Ensure that `l3build` is installed on your system and run |
| 30 |
it from the repository's root directory as follows: |
| 31 |
|
| 32 |
```bash |
| 33 |
l3build install --full |
| 34 |
``` |
| 35 |
|
| 36 |
The `--full` option ensures that all necessary files are built and installed. |
| 37 |
|
| 38 |
If you do not want to install the package into your TDS, but use it in a |
| 39 |
particular LaTeX project, follow the steps listed below. |
| 40 |
|
| 41 |
1. unpack `bib2qr.sty` from the `bib2qr.dtx` file |
| 42 |
- using `l3build` and the `build.lua` script: `l3build unpack`, __or__ |
| 43 |
- directly via the installer file: `pdflatex bib2qr.ins` |
| 44 |
2. copy the extracted `bib2qr.sty` file into the same directory as your LaTeX sources. |
| 45 |
|
| 46 |
|
| 47 |
## Usage |
| 48 |
|
| 49 |
Please consult the [package documentation](http://mirrors.ctan.org/macros/latex/contrib/bib2qr/bib2qr.pdf) |
| 50 |
for detailed usage information. |
| 51 |
|
| 52 |
If you have any questions or need assistance, feel free to |
| 53 |
[open an issue on the repository](https://codeberg.org/Cs137/bib2qr/issues). |
| 54 |
|
| 55 |
|
| 56 |
## Changes |
| 57 |
|
| 58 |
All notable changes to this project are documented in the file |
| 59 |
[`CHANGELOG.md`](https://codeberg.org/Cs137/bib2qr/src/branch/main/CHANGELOG.md). |
| 60 |
|
| 61 |
|
| 62 |
## Contributing |
| 63 |
|
| 64 |
Contributions to the `bib2qr` package are very welcomed. Feel free to submit a |
| 65 |
pull request, if you would like to contribute to the project. In case you are |
| 66 |
unfamiliar with the process, consult the |
| 67 |
[forgejo documentation](https://forgejo.org/docs/latest/user/pull-requests-and-git-flow/) |
| 68 |
and follow the steps using this repository instead of the `example` repository. |
| 69 |
|
| 70 |
Create your [pull request (PR)](https://codeberg.org/Cs137/bib2qr/pulls) to |
| 71 |
inform that you start working on a contribution. Provide a clear description |
| 72 |
of your envisaged changes and the motivation behind them, prefix the PR's title |
| 73 |
with ``WIP: `` until your changes are finalised. |
| 74 |
|
| 75 |
All kind of contributions are appreciated, whether they are |
| 76 |
bug fixes, new features, or improvements to the documentation. |
| 77 |
|
| 78 |
|
| 79 |
### Contributors |
| 80 |
|
| 81 |
- [Christian Schreinemachers](https://codeberg.org/Cs137) |
| 82 |
- [Markus Kohm](https://codeberg.org/komascript) |
| 83 |
|
| 84 |
|
| 85 |
--- |
| 86 |
|
| 87 |
This package was created and is maintained by Christian Schreinemachers, (C) 2024. |
| 88 |
|