General ⇒ Trouble with Evince
Trouble with Evince
I am trying to use Evince to view pdf outputs from Latex, but when I click the "view output" button, I see Evince open a blank slate: no document. TeXnicCenter freezes for a while, and then announces, "[DocOpen("%bm.pdf")][FileOpen(%bm.pdf")]
Cannot Execute the command."
How do I get Evince to open Latex outputs using the "view output" button in TeXnicCenter?
Thanks for your time.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Trouble with Evince
Anyway, those look like DDE commands, which probably aren't supported by evince. (But probably aren't necessary either.)
Could you post what settings you have for the View output part of the Output profile? (Or something like that… It's been a long time since I used TeXnicCenter.)
Re: Trouble with Evince
See the attached image for my PDF Viewer profile settings:
- Attachments
-
- Capture.PNG (67.91 KiB) Viewed 6976 times
Trouble with Evince
You might also consider using SumatraPDF as your viewer, which supports SyncTeX-based Forward/Reverse search. (A future version of Evince probably will do so as well, but I don't think the current one does.)
However, I'm a bit worried about what you say about Adobe Reader. Adobe Reader is horribly slow and bloated software, not to mention closed source, so I certainly encourage you to explore alternatives, but I can't think of any reason why LaTeX-generated PDF shouldn't appear/render correctly in it, once the darn thing actually loads. (And if it doesn't appear correctly in Adobe Reader, that's a real problem, since Adobe Reader is by far the most common reader out there!)
Could you provide a quick example of a file that isn't appearing correctly in Adobe Reader?
Trouble with Evince
I now have everything working except for the forward search and inverse search features. It would be great if I could get them working.
Here's the DDE command I'm using for the Forward Search feature:
Command: [ForwardSearch("%bm.pdf","%nc",%l,0)]
Server: SUMATRA
Topic: control
When I hit view, the document loads, and in the position it was when I last closed the pdf file, but now TeXnicCenter gives me:
[ForwardSearch("%bm.pdf","%nc",%l,0)]
Cannot execute the command.
Re: Trouble with Evince
http://william.famille-blum.org/blog/st ... 010-000413
Also be sure that -synctex=1 is called in the compilation routine (and that you're using a new enough of a TeX engine to support SyncTeX!).
I've never tried this, though, and have no way to test, but good luck!
(Since you're no longer having trouble with evince, however, best to start a new topic if you continue to have trouble.)