Registered Member
|
Hi,
I was trying to display a very simple dvi file in Okular and I get this nasty error message: "Okular was not able to locate all the font files which are necessary to display the current DVI file. Your document might be unreadable." It further says: "kpsewhich --dpi 1200 --mode lexmarks --no-mktex pk sfrm1000.pfb ecrm1000.vf ecrm1000.1200pk findtexmf: --dpi: unknown option" The dvi was produced by compiling a very simple LaTeX code: \documentclass{article} \begin{document} Haha \end{document} Note, I don't have any problem displaying this dvi in another dvi viewer (Yap), so this must be a problem with Okular??? Anyone pls, help??? !!! |
KDE Developer
|
Can you please paste the output of:
$ which kpsewhich $ kpsewhich --version ?
Pino Toscano
|
Registered Member
|
Cant run "which" as I'm on windows, the version command for kpsewhich produces the following:
MiKTeX Finder 2.7.2824 (MiKTeX 2.7) Copyright (C) 2001-2007 Christian Schenk This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. warning: running in deprecated kpathsea emulation mode Cheers |
KDE Developer
|
I guess you need texlive/kpathsea version; not sure we do support miktex.
Pino Toscano
|
Registered Member
|
I've got the same problem with Okular. When I'm trying to open .dvi file it says: "Okular was not able to locate all the font files which are necessary to display the current DVI file. Your document might be unreadable."
On Details section it stated: --- PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games kpsewhich --dpi 1200 --mode lexmarks --no-mktex pk ptmr7t.vf ptmr7t.1200pk ptmb7t.vf ptmb7t.1200pk ptmri7t.vf ptmri7t.1200pk ptmb7t.vf ptmb7t.1200pk ptmr7t.vf ptmr7t.1200pk cmsy10.pfb cmsy10.vf cmsy10.1200pk cmmi10.pfb cmmi10.vf cmmi10.1200pk cmmi7.pfb cmmi7.vf cmmi7.1200pk cmr10.pfb cmr10.vf cmr10.1200pk kpsewhich --dpi 1200 --mode lexmarks --mktex pk ptmr7t.vf ptmr7t.1200pk ptmb7t.vf ptmb7t.1200pk ptmri7t.vf ptmri7t.1200pk ptmb7t.vf ptmb7t.1200pk ptmr7t.vf ptmr7t.1200pk ...and so on. --- shlema@shlema-laptop:~$ which kpsewhich /usr/bin/kpsewhich shlema@shlema-laptop:~$ kpsewhich --version kpathsea version 5.0.0 Copyright 2009 Karl Berry & Olaf Weber. License LGPLv2.1+: GNU Lesser GPL version 2.1 or later <http://gnu.org/licenses/lgpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Anybody have an idea how to solve this issue? |
Registered Member
|
Do bear in mind that a dvi may not display graphics or rotations properly; this is nothing to do with Okular. If you want an accurate display, you would be better using pdflatex and displaying that in Okular.
John Hudson, proud to be a member of KDE forums since 2008-Oct.
|
Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell