*[[zathura:https://pwmt.org/projects/zathura/]] [#z4200d90] &color(White,#5F2F2F){ ''◆CONTENTS◆'' };&br; #contents *zathura とは [#s6eb3d04] zathura は高いカスタマイズ性と機能性を備えたドキュメントビューアです.~ PDF ファイルや PS ファイルが表示できます.~ SyncTeX に対応しています.~ ファイルの自動更新機能もあります.~ -[[Home | pwmt.org:https://pwmt.org/]] --[[zathura:https://pwmt.org/projects/zathura/]] --[[girara:https://pwmt.org/projects/girara/]] -[[The zathura Archives:https://lists.pwmt.org/archive/zathura/]] -[[The girara Archives:https://lists.pwmt.org/archive/girara/]] **動作環境 [#q9b59e7d] OS X, Linux, BSD [[Known supported distributions:https://pwmt.org/projects/zathura/installation/#known-supported-distributions]] を参照.~ **License [#v6901e72] [[zlib/libpng License:https://git.pwmt.org/?p=zathura.git;a=blob;f=LICENSE;hb=HEAD]] **リリース情報 [#p5c718a4] -https://git.pwmt.org/?p=zathura.git;a=tags -https://git.pwmt.org/?p=girara.git;a=tags -[[News:https://pwmt.org/news/]] を参照.~ Version 0.2.7 で SyncTeX (forward and inverse search) に対応しました.~ **ChangeLog [#fdab5877] ***zathura [#wf24e546] -https://git.pwmt.org/?p=zathura.git;a=shortlog;h=refs/heads/develop (develop) -https://git.pwmt.org/?p=zathura.git (summary) ***girara [#l7dfb095] -https://git.pwmt.org/?p=girara.git;a=shortlog;h=refs/heads/develop (develop) -https://git.pwmt.org/?p=girara.git (summary) *ダウンロード/インストール [#w2221884] **OS X [#hcc17832] -[[/trunk/dports/office/zathura:http://trac.macports.org/browser/trunk/dports/office/zathura/Portfile]] -[[/trunk/dports/office/zathura-plugin-pdf-poppler:http://trac.macports.org/browser/trunk/dports/office/zathura-plugin-pdf-poppler/Portfile]] **Arch Linux [#h8cd5d50] -https://www.archlinux.org/packages/?name=zathura -https://www.archlinux.org/packages/?q=zathura **Linux Mint [#cc8ebe01] -http://packages.ubuntu.com/ja/zathura **Debian [#x8dcc844] -https://packages.debian.org/ja/zathura **Fedora [#f03f2bfa] -https://apps.fedoraproject.org/packages/zathura **openSUSE [#p01e8065] -http://software.opensuse.org/package/zathura *不具合 [#ue94eec4] -https://bugs.pwmt.org/ *使い方 [#w279d8d0] **キーボード操作 [#ta398819] zathura は [[Vim]] キーバインドを採用しています.~ [[Emacs]] ライクなキーバインドにカスタマイズすることもできます. → [[Emacs like key bindings for zathura:https://gist.github.com/3168313]]~ **コマンドラインオプション [#u4f91695] -https://git.pwmt.org/?p=zathura.git;a=blob;f=zathura/main.c;hb=HEAD $ zathura --help Usage: zathura [OPTION...] [file1] [file2] [...] Help Options: -h, --help Show help options Application Options: -e, --reparent=xid Reparents to window specified by xid -c, --config-dir=path Path to the config directory -d, --data-dir=path Path to the data directory -p, --plugins-dir=path Path to the directories containing plugins --fork Fork into the background -w, --password=password Document password -P, --page=number Page number to go to -l, --debug=level Log level (debug, info, warning, error) -v, --version Print version information -s, --synctex Enable synctex support -x, --synctex-editor-command=cmd Synctex editor (forwarded to the synctex command) --synctex-forward=position Move to given synctex position --synctex-pid=pid Highlight given position in the given process --mode=mode Start in a non-default mode *SyncTeX [#g93d0312] -[[LaTeX forward/inverse searches with Zathura:http://wiki.math.cmu.edu/iki/wiki/tips/20140310-zathura-fsearch.html]] **forward search [#m29e6702] TeX ファイルの 30 行目に対応する PDF ファイルの該当する箇所にジャンプしたい場合は $ zathura hoge.pdf & $ zathura --synctex-forward 30:0:hoge.tex hoge.pdf のように実行します.~ zathura で forward search をする場合は,あらかじめ PDF ファイルを開いておく必要があります.~ プロセス ID を指定して forward search をすることもできます.~ pgrep や pidof を使用するとプロセス ID が取得できます.~ $ zathura hoge.pdf & $ PID=`pgrep zathura` $ zathura --synctex-pid=$PID --synctex-forward 30:0:hoge.tex hoge.pdf $ zathura hoge.pdf & $ PID=`pidof zathura` $ zathura --synctex-pid=$PID --synctex-forward 30:0:hoge.tex hoge.pdf **inverse search [#c00c992e] TeXstudio の場合は $ zathura -s -x "texstudio '%{input}' -line %{line}" "hoge.pdf" のように実行して zathura 上で Ctrl + 左クリックを実行すると TeXstudio が起動して TeX 文書の対応する行にジャンプします.~ *関連リンク [#l21c05df] -[[Emacs like key bindings for zathura:https://gist.github.com/3168313]] //-[[zathura - a document viewer (Page 1) / Community Contributions / Arch Linux Forums:https://bbs.archlinux.org/viewtopic.php?id=115118]] //-[[zathura - a PDF viewer (Page 1) / Community Contributions / Arch Linux Forums:https://bbs.archlinux.org/viewtopic.php?id=80458]] //--[[SyncTeX kludge:https://bbs.archlinux.org/viewtopic.php?pid=807105#p807105]]