RFC Embed files as PDF attachments
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | specvars.tex: Add \virtioauthor commandspecvars.tex | +2 | 0 replies | |
| 2/2 | Embed virtio-queue.h as PDF attachmentcommands-html.tex commands-pdf.tex headerfile.tex +1 more | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH v1 0/2] Embed files as PDF attachments
The PDF specs allow for file attachments to documents. This can be used to make the VIRTIO PDF spec a single source of truth by embedding related files.
This series attaches the virtio-queue.h header file as a proof of concept. It can be inspected and extracted using a compliant PDF viewer such as Adobe's or Firefox's integrated PDF reader.
(Note: I'm not sure if Chrome supports it, my local version does not, neither does Chromium.)
Programmatically extracting files is also possible, allowing for downstream projects to update their headers by accessing the upstream pdf file.
Example using the pdfdetach utility from the Xpdf package of tools (poppler-utils package on debian/ubuntu):
$ pdfdetach -list virtio-v1.3-csd01.pdf 1 embedded files 1: virtio-queue.h $ pdfdetach -save 1 virtio-v1.3-csd01.pdf $ file virtio-queue.h virtio-queue.h: C source, ASCII text
Manos Pitsidianakis (2):
specvars.tex: Add \virtioauthor command
Embed virtio-queue.h as PDF attachment
commands-html.tex | 7 +++++++ commands-pdf.tex | 10 ++++++++++ headerfile.tex | 2 ++ specvars.tex | 3 ++- virtio.tex | 1 + 5 files changed, 22 insertions(+), 1 deletion(-)
base-commit: b495841a8e80d12c1130f8868f4128866291142d
Signature · 1 line
γαῖα πυρί μιχθήτω