summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authoroscar <oscar@qcore>2015-05-31 19:35:11 +0200
committeroscar <oscar@qcore>2015-05-31 19:35:11 +0200
commit2fcae9de79ffaf22f9c0ac9faf95bc68d4468e5a (patch)
treefbe042d6c646f7d95132c046b2d2b61c0f3c6faf /README.org
parentb1aff9dd250cbb2c8f48f8016faaafc0915b0967 (diff)
Added recolor feature based on pdf-info-setoptions
Diffstat (limited to 'README.org')
-rw-r--r--README.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.org b/README.org
index c5631ad..6b903bd 100644
--- a/README.org
+++ b/README.org
@@ -47,6 +47,18 @@
*** SyncTeX
Jump from a position on a page directly to the TeX source and
vice-versa.
+*** Recolor
+ It is possible to process the colors of the page before it is
+ displayed, which is useful in certain cases (such as reading in
+ low light conditions.) This is an example that switches black and
+ white:
+#+begin_src elisp
+(add-hook 'pdf-tools-enabled-hook
+ (lambda ()
+ (pdf-info-setoptions :render/usecolors t
+ :render/foreground "white"
+ :render/background "black")))
+#+end_src
*** Misc
+ Display PDF's metadata.
+ Mark a region and kill the text from the PDF.