When hitting C-c C-a
to display a PDF, the buffer opens automatically below the TeX source code. How can I force it to open on the right side?
I am currently using shackle
to manually control the location of buffers, but the line below does not work (this shackle
setup has been tested with other buffers):
(use-package shackle
:ensure t
:custom
(shackle-rules '(("^.*\\.pdf$" :regexp t :align 'right :size 0.25 :select t)
))
(shackle-default-rule nil)
)
(shackle-mode 1)
Surprisingly, I am able to control the relative size of the buffer (:size
) as long as I specify :align `below
(which also indicates the regular expression is being correctly matched).
Is this perhaps related to the TeX-view
function?
latex-preview-pane-mode
, the window is split verticaly.