Use zathura for tex viewing on Linux

This commit is contained in:
Natsu Kagami 2022-09-29 09:54:53 +02:00
parent c95a577832
commit 7d643e5f0c
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -9,13 +9,6 @@ let
}); });
}; };
evince-synctex = (pkgs.fetchFromGitHub {
owner = "latex-lsp";
repo = "evince-synctex";
rev = "593b00c938d82786b8bbaf584ebe68744f9c8407";
sha256 = "sha256-Q9kZ/XmXEsoZpflF5n16I5bsyS2S8gS9OYkOPM47ryg=";
}) + "/evince_synctex.py";
kak-lsp = pkgs.libs.crane.buildPackage { kak-lsp = pkgs.libs.crane.buildPackage {
src = pkgs.sources.kak-lsp; src = pkgs.sources.kak-lsp;
buildInputs = (with pkgs; buildInputs = (with pkgs;
@ -70,8 +63,8 @@ in
args = [ "-r" "-g" "%l" "%p" "%f" ]; args = [ "-r" "-g" "%l" "%p" "%f" ];
} else } else
{ {
executable = "${pkgs.qpdfview}/bin/qpdfview"; executable = "${pkgs.zathura}/bin/zathura";
args = [ "--unique" "%p#src:%f:%l:1" ]; args = [ "--synctex-forward" "%l:1:%f" "%p" "-x" "/home/nki/.bin/kaktex jump %{input} %{line}" ];
}); });
}; };
}; };