私のLubuntu 11.10がLatexを使用して生成された.dviファイルを開くことができない理由を知りたいです。
誰でもこの問題を解決するのに役立ちますか?
を使用すると、evince L1.dvi
端末でevince
ファイルが開かれますが開かず、端末からのメッセージは次のようになります。
evince L1.dvi
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-buttons.css:159:10: Expected valid border
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:102:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:117:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:134:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:153:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:165:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:175:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:186:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:198:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:208:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:218:16: Themeing engine 'adwaita' not found
(evince:3556): Gtk-WARNING **: Theme parsing error: gtk-bars.css:223:16: Themeing engine 'adwaita' not found
warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c.
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmti10
mktexpk: Permissão negada
kpathsea: Appending font creation commands to missfont.log.
page: Warning: font `cmti10' at 600x600 not found, trying `cmr10' instead
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr10
mktexpk: Permissão negada
page: Warning: font `cmti10' not found, trying metric files instead
kpathsea: Running mkofm cmti10
mkofm: Permissão negada
kpathsea: Running mktextfm cmti10
mktextfm: Permissão negada
page: Warning: metric file for `cmti10' not found, trying `cmr10' instead
kpathsea: Running mkofm cmr10
mkofm: Permissão negada
kpathsea: Running mktextfm cmr10
mktextfm: Permissão negada
page: Error: could not load font `cmti10'
warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c.
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmti10
mktexpk: Permissão negada
kpathsea: Appending font creation commands to missfont.log.
page: Warning: font `cmti10' at 600x600 not found, trying `cmr10' instead
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr10
mktexpk: Permissão negada
page: Warning: font `cmti10' not found, trying metric files instead
kpathsea: Running mkofm cmti10
mkofm: Permissão negada
kpathsea: Running mktextfm cmti10
mktextfm: Permissão negada
page: Warning: metric file for `cmti10' not found, trying `cmr10' instead
kpathsea: Running mkofm cmr10
mkofm: Permissão negada
kpathsea: Running mktextfm cmr10
mktextfm: Permissão negada
page: Error: could not load font `cmti10'
(evince:3556): EvinceView-CRITICAL **: ev_document_model_set_document: assertion `EV_IS_DOCUMENT (document)' failed
(evince:3556): EvinceDocument-CRITICAL **: ev_document_get_n_pages: assertion `EV_IS_DOCUMENT (document)' failed
(evince:3556): EvinceDocument-CRITICAL **: ev_document_get_max_page_size: assertion `EV_IS_DOCUMENT (document)' failed
答え1
UbuntuはAppArmorを使用するようにevinceを設定し、適切な権限を持っていても特定のファイルにアクセスできないようにします。バラより.Xauthorityを読み取れないため、Evinceを起動できません。違うけど関連質問ですね
カスタムTeXインストールはありますか?その場合、evince によって AppArmor がフォントファイルを作成できないことがあります。バラよりUbuntuのバグ 846639、システムのAppArmor構成を回復する方法を示します。
xdvi
簡単な回避策は、フォントを作成できるように別のビューア(たとえば)でファイルを一度表示することです。そうすれば、証拠はその内容を読むことができます。それとも走る
allneeded L1.dvi
コマンドを実行しallcm
、allec
いくつかの一般的なフォントを生成できます。