Skip to content

Using Sioyek as a pdf viewer in Emacs #347

Answered by JHonaker
ejuarezg asked this question in Q&A
Discussion options

You must be logged in to vote

In order to setup Sioyek for SyncTeX with Emacs, you'll need to modify a few customization options.

First, you will need to add Sioyek to the TeX-view-program-list like you have, but there are a few more things that need to go there to get SyncTeX working. You also have to replace the default PDF viewer in TeX-view-program-selection which determines which program to use based on a series of predicates. For PDFs, you'll want to change the one listed under output-pdf.

(custom-set-variables
  '(TeX-view-program-list
    '(("Sioyek"
      ("sioyek %o --reuse-instance"
        (mode-io-correlate " --forward-search-file %b --forward-search-line %n --inverse-search \"emacsclient --no-wait +%2:%3 %1

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@JHonaker
Comment options

@eshrh
Comment options

@AlexD97
Comment options

@Ziqi-Yang
Comment options

@AlexD97
Comment options

Answer selected by ejuarezg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants