Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@eshrh
Comment options

@AlexD97
Comment options

@Ziqi-Yang
Comment options

@AlexD97
Comment options

@EssenSea
Comment options

Answer selected by ejuarezg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants