New answers tagged

0

does (add-hook 'TeX-after-compilation-finished-functions #'TeX-revert-document-buffer)) do the trick ?


1

To do this, you need to know the keymap used by pdf-sync-minor-mode. Normally this will be something like pdf-sync-minor-mode-map. You can find out by calling C-h v, then using tab completion to get the full name. In this case, it is indeed pdf-sync-minor-mode-map. Now you can use the function define-key to bind your new key to the map. This function takes ...


1

The following code generalizes the answer to your other question about showing the pdf in another frame. It requires a bit more interaction from your side. I propose you set up your frame and window layout beforehand - two frames with two windows each. The windows do not need to show the right buffers yet. You certainly need the two windows with the LaTeX ...


2

This is a variation of the question about preview the pdf in a split buffer beside the source. You can use the following Elisp code in your init file. If you do not have already two frames. The pdf view will open in a window beside the window with the LaTeX source. Select that window and type C-x 5 2 for make-frame-command. There will be a new frame ...


0

Unfortunately for a two column format pdf file, forward search only jumps to the corresponding left hand column line; even though the relevant latex text appears on the right hand column. Is there a way to fix this? I think that this would be better as a separate question (for organisational purposes), but here's a hacky solution. I'm going to override the ...


3

You can set the preferred window via the ACTION for display-buffer, which see. That also works for commands that use display-buffer. From all the possibilities for setting the ACTION the variable display-buffer-overriding-action has the highest priority. The following code shows how to define the action you want and how to set display-buffer-overriding-...


1

just uncomment ;;(pdf-tools-install) in your init.el. If it once installed then it have not to do it every time. That worked for me, had the same problem.


Top 50 recent answers are included