summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-23 15:52:22 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-23 21:32:16 -0500
commitefbd3731c986a8555869c184cda69ff9b910ce9f (patch)
tree0fb2ab20c6618c120baac1d192ee5c5558fb1fe0 /README.org
parent7c62b0a53c35f2cfce07469fb771ef0aa8f2302d (diff)
pdf support
Diffstat (limited to 'README.org')
-rw-r--r--README.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.org b/README.org
index e8a3542..e95aff5 100644
--- a/README.org
+++ b/README.org
@@ -63,6 +63,7 @@ Currently supported formats are:
- Markdown (~.md~) : converted with Pandoc
- Org-mode (~.org~) : converted with Pandoc
+ - PDF (~.pdf~) : embedded with PDF.js
I don't need to tell you how to make these types of files.
@@ -107,6 +108,21 @@ when converting to HTML. See the Org-mode and Pandoc documentation.
AFAIK, unfortunately Org-mode only has values as strings, no
structured data.
+** Setting metadata: PDF
+
+PDF files natively support embedding certain bits of metadata. The
+bits that we use are:
+
+ - title
+ - author
+ - creation date
+ - modification date
+
+If you need to set any other metadata attributes, or want to override
+the values in the PDF (since setting them can be difficult), create
+YAML file with the same name as the PDF file, but with the ~.yaml~
+file extension instead of ~.pdf~.
+
** Metadata attributes that are handles specially
There are some metadata attributes that are used specially by the site