Skip to content
emanuelealiverti edited this page Nov 9, 2016 · 6 revisions

This page is meant to collect some guidelines about custom viewers set-up. Feel free to add you own tips.

qpdfview

qpdfview is avaiable here. It can be integrated with LaTexTools with a couple of triks.

Forward Search

Open the settings from the menu via Preferences | Package Settings | LaTeXTools | Settings - User

    {
    "viewer": "command",
       "linux" : {
        "forward_sync_command":"qpdfview --unique $pdf_file#src:$src_file:$line:$col",
        "view_command": "qpdfview --unique"
    },

###Inverse Search Open ~/.config/qpdfview/qpdfview.conf with any text editor. At the [documentView] section, set the following variables (leaving others as they are):

autoRefresh=true
highlightDuration=3000
sourceEditor=subl %1:%2

autoRefresh guarantees refreshing after each compilation. highlightDuration set the duration of the temporary highlights in microseconds (e.g. 3000 are 3 seconds). As for inverse search, the only mandatory one is sourceEditor, where %1 is replaced by the absolute path of the TeX file, and %2 by line number.

Clone this wiki locally