Configured SyncTeX.
This commit is contained in:
parent
7867c69415
commit
5c247da3d9
|
|
@ -206,6 +206,11 @@ rec {
|
||||||
|
|
||||||
programs.zathura = {
|
programs.zathura = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
options = {
|
||||||
|
selection-clipboard = "clipboard";
|
||||||
|
synctex = "true";
|
||||||
|
synctex-editor-command = "texlab inverse-search -i %{input} -l %{line}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.pandoc = { enable = true; };
|
programs.pandoc = { enable = true; };
|
||||||
|
|
|
||||||
|
|
@ -392,6 +392,8 @@ command = "texlab"
|
||||||
#
|
#
|
||||||
# Preview configuration for zathura with SyncTeX search.
|
# Preview configuration for zathura with SyncTeX search.
|
||||||
# For other PDF viewers see https://github.com/latex-lsp/texlab/wiki/Previewing
|
# For other PDF viewers see https://github.com/latex-lsp/texlab/wiki/Previewing
|
||||||
|
build.forwardSearchAfter = true
|
||||||
|
build.onSave = true
|
||||||
forwardSearch.executable = "zathura"
|
forwardSearch.executable = "zathura"
|
||||||
forwardSearch.args = [
|
forwardSearch.args = [
|
||||||
"%p",
|
"%p",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue