Just wanted to note the following - if you have installed texlive from a script, then obviously all the necessities are on your system - but evince could still fail opening the DVI because it doesn't know where the texmf.cmf file is.
That can be remedied by use of TEXMFCNF variable - however, that is not all; even after setting it correctly, you may get "Permission Denied". That problem is due to apparmor controlling evince, and is described here: [SOLVED] texlive 2009 + evince = no love - Ubuntu Forums - http://ubuntuforums.org/showthread.php?p=8690020 What I did was: sudo mv /etc/apparmor.d/usr.bin.evince /etc/apparmor.d/disable/ sudo shutdown -r now ... and after restart, I could run: TEXMFCNF=/path/to/texlive/2011/texmf/web2c evince mytemp.dvi ... and tex fonts are generated, and the document renders in evince.. Note that calling this path however: TEXMFCNF=/path/to/texlive/2011 evince mytemp.dvi ... will actually *not* work, even if there is a texmf.cnf file there - it may fail with "page: Error: could not load font" in stdout, and "Unable to open document" in evince. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/42410 Title: evince reports "incorrect format" for DVI files when no TeX distribution is installed. evince should Suggests tetex-bin To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/42410/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
