1GPG-KEY2LATEX(1) User Contributed Perl Documentation GPG-KEY2LATEX(1)
2
3
4
6 gpg-key2latex - Generate a LaTeX file for fingerprint slips.
7
9 gpg-key2latex [-p papersize] [-s] [--show-photo] [--show-qrcode] keyid
10 [keyid...]
11
13 gpg-key2latex generates a LaTeX file with an OpenPGP key fingerprint
14 and User IDs, repeated as often as it fits on a single page. The LaTeX
15 data is written to STDOUT. Note: In most cases the generated file can
16 be compiled to PDF using pdflatex(1), but xelatex(1) is required if
17 some UID contains CJK characters.
18
20 -p paper-size, --paper-size=paper-size
21 Select the output paper size. The default is the output of
22 paperconf(1), or a4 if libpaper-utils isn't installed.
23
24 -s, --show-subkeys
25 Show subkey information.
26
27 --show-photo
28 Show the first valid user attribute, if any. Note: This writes JPG
29 files to the current directory.
30
31 --show-qrcode
32 Show a QR code of the string specified by --qrcode-data. Note:
33 This writes PDF files to the current directory. Requires
34 qrencode(1) and epstopdf(1).
35
36 --qrcode-data=string
37 The data to encode in a QR code (implies --show-qrcode). The
38 string "%f" is expanded to the OpenPGP key fingerprint (40
39 hexadecimal digits, without spaces); "%k" is expanded to the long
40 (16 hexadecimal digits) key ID; "%%" is replaced by a single "%".
41
42 The default data to encode, if --qrcode-data is not specified, is
43 the string "OPENPGP4FPR:%f".
44
45 --attr-height
46 The height, in number of lines, of the photo and QR code. The
47 default is the number of User ID, with a maximum of 5.
48
49 -?, --help
50 Print a brief help and exit.
51
52 --version
53 Print the version and exit.
54
56 HOME
57 The default home directory.
58
59 GNUPGBIN
60 The gpg binary. Default: "gpg".
61
62 GNUPGHOME
63 The default working directory for gpg. Default: "$HOME/.gnupg".
64
66 gpg(1), gpg-key2ps(1)
67
69 Bugs or feature requests for gpg-key2latex should be filed with the
70 Debian project's bug tracker at <https://www.debian.org/Bugs/>.
71
73 Guilhem Moulin <guilhem@debian.org>
74
76 Copyright (c) 2014 Guilhem Moulin. gpg-key2latex is free software,
77 distributed under the GNU Public License, version 3 or later.
78
79
80
81perl v5.36.0 2023-01-20 GPG-KEY2LATEX(1)