*[[Evince:https://projects.gnome.org/evince/]] [#fec1fb99]
*[[Evince:https://wiki.gnome.org/Apps/Evince]] [#fec1fb99]

#ref(https://git.gnome.org/browse/evince/plain/data/icons/256x256/apps/evince.png,right,around,nolink,Evince)
Evince は PDF, PS, EPS, DVI ファイルが表示可能なドキュメントビューアーです.
[[SyncTeX]] に対応しています.
ファイルの自動更新機能もあります.
PS, EPS ファイルの表示には [[Ghostscript]] と PS, EPS ファイルを表示できるようにビルドされた Evince が必要です.

&color(White,#5F2F2F){  ''◆目次◆''  };&br;
-[[Evince:https://wiki.gnome.org/Apps/Evince]]
-[[Evince Document Viewer:https://help.gnome.org/users/evince/stable/index.html.en]]
-[[The evince-list Archives:https://mail.gnome.org/archives/evince-list/]]
-[[MyTeXpert:Evince]]

----
#contents
----

*Evince とは [#l8fbb2e6]
**お知らせ [#i6e6a97a]

Evince は PDF, PS, DVI ファイルが表示可能なドキュメント・ビューアです.~
SyncTeX に対応しています.~
ファイルの自動更新機能もあります.~
Evince 3.30.0 (2018-09-04) で PostScript バックエンドがデフォルトで無効化されました。

-[[Evince:https://projects.gnome.org/evince/]]
-[[Evince Document Viewer:http://library.gnome.org/users/evince/stable/index.html.en]]
--[[Evince Document Viewer › SyncTex » Supported Editors:http://library.gnome.org/users/evince/stable/synctex-editors.html.en]]
-[[evince.mirror:http://sourceforge.net/projects/evince.mirror/]]
Arch Linux, Fedora, openSUSE
のパッケージ管理システムでインストールした Linux 版 Evince は
PostScript バックエンドのサポートが有効化されているので PS, EPS ファイルを表示できます。

-[[[evince] evince 3.30.0 released:https://mail.gnome.org/archives/evince-list/2018-September/msg00000.html]] <-- [[Disable PostScript backend by default:https://gitlab.gnome.org/GNOME/evince/commit/3e8ea509ccb9e32717f4856ee7a7e5ff12944e15]]
-[[meson_options.txt · main · GNOME / evince · GitLab:https://gitlab.gnome.org/GNOME/evince/-/blob/main/meson_options.txt#L13]] <-- option('ps', type: 'feature', value: 'disabled', description: 'whether PS support is requested')
-https://gitlab.archlinux.org/archlinux/packaging/packages/evince/-/blob/main/PKGBUILD?ref_type=heads <-- Arch Linux の evince は ps=enabled
-https://salsa.debian.org/gnome-team/evince/-/blob/debian/master/meson_options.txt#L13 <-- Debian GNU/Linux の evince は ps=disabled
-https://src.fedoraproject.org/rpms/evince/blob/rawhide/f/evince.spec <-- Fedora の evince は ps=enabled
-https://build.opensuse.org/package/view_file/GNOME:Next/evince/evince.spec <-- openSUSE の evince は ps=enabled

**動作環境 [#q9c64542]

Windows, OS X, Linux
Windows, macOS, Linux

**License [#lf30b1e1]
**ライセンス [#lf30b1e1]

[[GPLv2:https://git.gnome.org/browse/evince/tree/COPYING]]
[[GPLv2:https://gitlab.gnome.org/GNOME/evince/blob/master/COPYING]]

**リリース情報 [#m8e1200a]

https://git.gnome.org/browse/evince/refs/tags を参照.~
https://gitlab.gnome.org/GNOME/evince/tags

**ChangeLog [#nb7ae766]
-https://git.gnome.org/browse/evince/
--[[log:https://git.gnome.org/browse/evince/log/]]
**変更履歴 [#nb7ae766]

-https://gitlab.gnome.org/GNOME/evince
--[[コミットログ:https://gitlab.gnome.org/GNOME/evince/commits/master]]

**派生版 [#z48adc83]

-[[Atril:https://github.com/mate-desktop/atril]]
-[[Xreader:https://github.com/linuxmint/xreader]]

*ダウンロード/インストール [#j395f01d]

**Windows [#f2460848]

-[[Apps/Evince/Downloads - GNOME Wiki!:https://wiki.gnome.org/Apps/Evince/Downloads]]
-https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-evince
-http://repo.msys2.org/mingw/x86_64/
-[[FOSS な PDF Viewer for Windows (Evince も導入できた):https://text.baldanders.info/remark/2019/03/about-free-software-pdf-viewers/]]

公式サイトの Windows 版の Evince で日本語を表示したい場合はフォントを埋め込む必要があります.~
自分で Evince をビルドして使用する場合はフォントを埋め込まなくても日本語を表示することが可能です.~
Evince は [[MinGW]] でビルド可能です.~
Windows 版 Evince は MSYS2 の pacman でインストールできます.

**OS X [#y8d21820]
 pacman -S mingw-w64-x86_64-evince

-[[/trunk/dports/gnome/evince/Portfile:http://trac.macports.org/browser/trunk/dports/gnome/evince/Portfile]]
を実行します.

**Linux Mint [#lacd43b5]
mingw-w64-evince 3.34.1 は PDF ファイルは表示できますが、[[PS, EPS ファイルを表示できるようにビルドされていない:https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-evince/PKGBUILD]]ため PS, EPS ファイルを開こうとすると
>
ドキュメント“file:///C:/path/to/foo.ps”を開けません。&br;
ファイルタイプ (Text Document) (test/plain) はサポートしていません&br;
<
>
ドキュメント“file:///C:/path/to/foo.eps”を開けません。&br;
ファイルタイプ (Text Document) (test/plain) はサポートしていません&br;
<
といったメッセージが表示されて PS, EPS ファイルが表示できません。
mingw-w64-evince 3.28.2 までは PostScript バックエンドがデフォルトで有効化されていたので PS, EPS ファイルが表示できました。
PS, EPS ファイルを表示できるようにビルドすれば表示できると思われるので必要な方は自分でビルドしてください。

-http://packages.ubuntu.com/ja/evince

**Debian [#rf817124]
**macOS [#y8d21820]

-http://packages.debian.org/ja/evince
Homebrew から Evince をインストールした場合は PostScript サポートが有効になっています。

**Fedora [#jbf882d0]
-https://formulae.brew.sh/formula/evince
--https://github.com/Homebrew/homebrew-core/blob/master/Formula/e/evince.rb

-https://apps.fedoraproject.org/packages/evince
 brew install evince

**openSUSE [#rd040fd0]
**Arch Linux/Manjaro Linux [#eb51c4f9]

-http://software.opensuse.org/package/evince
-https://www.archlinux.org/packages/?name=evince
-[[Arch LinuxでTeXで出力された日本語pdfをevinceで表示する & fonts.conf公開:http://blog.yomak.info/2015/03/arch-linuxtexpdfevince-fontsconf.html]]

**Arch Linux [#eb51c4f9]
 sudo pacman -S evince poppler-data

-https://www.archlinux.org/packages/?q=evince
**Linux Mint/Debian/Ubuntu [#lacd43b5]

**Gentoo Linux [#lcdb6ed7]
-https://packages.ubuntu.com/ja/evince
-https://packages.debian.org/ja/evince

-http://packages.gentoo.org/package/app-text/evince
Evince は GNOME の標準ドキュメントビューアーなので、最初からインストールされているケースがほとんどでしょう。手動でインストールするには次のようにします。
 sudo apt install evince poppler-data
依存関係により evince-common パッケージもインストールされます。
GNOME keyring サポートを外した evince-gtk パッケージもあります。なお、Evince に依存したプログラムをコンパイルするには
libevince-dev パッケージが必要です。

**Beyond Linux From Scratch [#i9f92bae]
**Fedora [#jbf882d0]

-http://www.linuxfromscratch.org/blfs/view/svn/gnome/evince.html
-http://lfsbookja.sourceforge.jp/BLFS/svn.ja/gnome/evince.html
-https://packages.fedoraproject.org/pkgs/evince/evince/

*SyncTeX [#w699c2c2]
**forward and inverse search [#ga060086]
 sudo dnf install evince poppler-data

fwdevince, evince_forward_search を使用して forward search ができます.~
invevince, bwdevince, evince_inverse_search, evince_backward_search を使用して inverse search ができます.~
inverse search は Ctrl + 左クリックで対応する TeX 文書の該当箇所にジャンプします.~
**openSUSE [#rd040fd0]

***fwdevince &aname(fwdevince); [#ie18c015]
-https://software.opensuse.org/package/evince

[[Evince/fwdevince]] を参照.
 sudo zypper install evince poppler-data

*代替フォントの設定 &aname(substitute); [#id0a7178]
**Beyond Linux From Scratch [#i9f92bae]

フォントが埋め込まれていない場合に Ryumin-Light (明朝体) がゴシック体で表示されてしまう場合は &#x7e;/.config/fontconfig/fonts.conf を作成して代替フォントの設定をします.~
以下の設定では TeX Live に含まれている IPAexMincho, IPAexGothic で表示するようにしています.~
-https://www.linuxfromscratch.org/blfs/view/svn/gnome/evince.html

*代替フォントの設定 &aname(fallback); [#id0a7178]

フォントが埋め込まれていない場合に Ryumin-Light (明朝体) がゴシック体で表示されてしまう場合は &#x7e;/.config/fontconfig/fonts.conf を作成して代替フォントの設定をします.
以下の設定では TeX Live に含まれている IPAexMincho, IPAexGothic で表示するようにしています.

 $ mkdir -p ~/.config/fontconfig
 $ vi ~/.config/fontconfig/fonts.conf

----
-&#x7e;/.config/fontconfig/fonts.conf
----
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
 <dir>/usr/local/texlive/2013/texmf-dist/fonts/truetype/public/ipaex</dir>
 <dir>/usr/local/texlive/2024/texmf-dist/fonts/truetype/public/ipaex</dir>
 <dir>/usr/share/texlive/texmf-dist/fonts/truetype/public/ipaex</dir>
 <dir>/usr/share/texmf-dist/fonts/truetype/public/ipaex</dir>
 <dir>/usr/share/texmf/fonts/truetype/public/ipaex</dir>
 
 <match target="pattern">
   <test qual="any" name="family">
     <string>Ryumin</string>
   </test>
   <edit name="family" mode="prepend" binding="strong">
     <string>IPAexMincho</string>
   </edit>
 </match>
 <match target="pattern">
   <test qual="any" name="family">
     <string>GothicBBB</string>
   </test>
   <edit name="family" mode="prepend" binding="strong">
     <string>IPAexGothic</string>
   </edit>
 </match>
 
 </fontconfig>
----

 $ fc-match Ryumin
 ipaexm.ttf: "IPAex明朝" "Regular"
 $ fc-match GothicBBB
 ipaexg.ttf: "IPAexゴシック" "Regular"

*関連リンク [#n7670496]
-[[(W32TeX)LualatexのPDFがEvinceで日本語が表示されない:http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=836]]
*使い方 [#jfee0cca]

**コマンドラインオプション [#bc93383b]

-https://gitlab.gnome.org/GNOME/evince/-/blob/main/shell/main.c
-https://gitlab.gnome.org/GNOME/evince/-/blob/main/po/ja.po

 $ evince --help
 用法:
   evince [OPTION…] [ファイル…] GNOME ドキュメントビューアー
 
 ヘルプのオプション:
   -h, --help                  ヘルプのオプションを表示する
   --help-all                  ヘルプのオプションをすべて表示する
   --help-gtk                  GTK+ のオプションを表示する
 
 アプリケーションのオプション:
   -p, --page-label=PAGE       表示するドキュメントのページラベル
   -i, --page-index=NUMBER     表示するドキュメントのページ番号
   -n, --named-dest=DEST       表示する Named destination
   -f, --fullscreen            フルスクリーンモードで起動する
   -s, --presentation          プレゼンテーションモードで起動する
   -w, --preview               プレビューアーで起動する
   -l, --find=STRING           ドキュメントの中から単語や語句を検索する
   --display=DISPLAY           使用するXのディスプレイを指定する

**Night Mode(夜間モード) [#c3b2e12b]

Evince には Night Mode(夜間モード)という色を反転させる機能があります。

Ctrl+I で色が反転します。

*SyncTeX [#w699c2c2]
-[[Evince Document Viewer › SyncTex:https://help.gnome.org/users/evince/stable/index.html.en#synctex]]
--[[Evince Document Viewer › SyncTex » Supported Editors:https://help.gnome.org/users/evince/stable/synctex-editors.html.en]]

**forward and inverse search [#ga060086]

fwdevince, evince_forward_search を使用して forward search ができます.
invevince, bwdevince, evince_inverse_search, evince_backward_search を使用して inverse search ができます.
inverse search は Ctrl + 左クリックで対応する TeX 文書の該当箇所にジャンプします.

***fwdevince &aname(fwdevince); [#ie18c015]

[[Evince/fwdevince]] を参照.