Hot answers tagged

3

I know this is old and the existing answers are already great. But in case anyone is searching for this and needed a bit more control, here's how to change the hyperref template. (customize-set-value 'org-latex-hyperref-template " \\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k}, pdfsubject={%d},\n pdfcreator={%c},\n pdflang={%L},\n ...


3

TL;DR Go to path/to/.emacs.d/elpa/pdf-tools-xxx/build and run make clean to clean previously compiled contents manually. Restart emacs and let it build pdf-tools. Then, pdf-tools works again :) I have also met this problem. Follow the error message, we can tell the problem is epdfinfo cannot find the library it wants, which is libpoppler.so.101. After check ...


2

You can use notmuch-show-view-part (bound to .-v by default) while point is in the text/html part to accomplish this. For this to function properly you'll need to make sure your ~/.mailcap file has settings for text/html. Here's what I have in mine on my Mac: text/html; open %s; nametemplate=%s.html Each line is ; delimited with the first field specifying ...


1

You can modify the Emacs file association way by the following code. (defun adviser-find-file (orig-fn file &rest args) (let ((fn (if (commandp 'eaf-open) 'eaf-open orig-fn))) (pcase (file-name-extension file) ("pdf" (apply fn file nil)) ("epub" (apply fn file nil)) (_ (apply orig-fn file args))))) (...


1

The process is: export the Org mode file (say foo.org) to a tjp file (foo.tjp). process the tjp file with tj3: `tj3 foo.tjp view the resulting HTML (Plan.html) file with a browser (both Firefox and Chrome worked for me). Print from the browser to PDF, but make sure to first open More settings and select the Background graphics (Chrome) or Print backgrounds (...


1

I'm no expert by any means but one partial solution is proposed here: https://groups.google.com/g/taskjuggler-users/c/MCs8jz-T4nQ/m/VCOcjc4lqp4J Basically they say to print the page from a web browser while visiting the .html file generated by org-taskjuggler-export-process-and-open. However, at least on Firefox the generated pdf skips the colors and ...


1

I guess the best way to do this would be along these lines: Write a function that takes a bibtex key and generates the pdf filename you want, e.g. it looks up the bibtex entry, gets the authors, year and title, and constructs a legitimate filename from them. There might be lots of corner cases to deal with latex markup in author names and titles. I think ...


1

I don't know how it works, but it was Windows 10 thing. On Debian 10 I don't have this problem anymore.


1

You can do this with the Java variant of pdftk, starting from version 3.1.0. First, create a file with the metadata you want, e.g.: PageLabelBegin PageLabelNewIndex: 1 PageLabelStart: 1 PageLabelPrefix: Cover PageLabelNumStyle: NoNumber PageLabelBegin PageLabelNewIndex: 2 PageLabelStart: 1 PageLabelPrefix: Back Cover PageLabelNumStyle: NoNumber ...


1

First, a solution for using a logo in the header: #+BEAMER_HEADER:\logo{\includegraphics[height=.8cm]{logo.png}\vspace{6cm}\hspace{0.5cm}} * A Slide goes here :PROPERTIES: :BEAMER_OPT: plain :END: ** With some content * Another slide ** Yet more content https://lists.gnu.org/archive/html/emacs-orgmode/2016-07/msg00116.html Second, a solution for your ...


1

What about that one? W runs the command browse-url-of-dired-file (found in dired-mode-map), which is an autoloaded interactive compiled Lisp function in ‘browse-url.el’. It is bound to W, <normal-state> W. (browse-url-of-dired-file) Probably introduced at or before Emacs version 26.1. In Dired, ask a WWW browser to display the file named on this ...


Only top voted, non community-wiki answers of a minimum length are eligible