5

I'm using a dev version of Kile to take advantage of the new PDF-preview feature (not the snippet-preview you find in Kile 2.1, a full preview feature similar to other modern LaTeX editors like TeXmaker, etc.).

While the preview is offered by the Okular PDF reader, I'd like to change that to another PDF reader of my choice, does anybody know if it is possible?

  • 2
    Those voting to close should at least leave a comment to say why... – Andrew Swann Aug 7 '13 at 15:08
  • Is this OT? I saw some similar questions for other text editors so I posted mine too... – f.boc Aug 7 '13 at 15:34
  • Given that (a dev version of) Okular is listed as a prerequisite here I would guess that you must use Okular. – Torbjørn T. Aug 8 '13 at 7:04
  • @TorbjørnT. I looked at that page too, but it also says "This page was last modified on 21 December 2011, at 09:37." which is rather old. – Andrew Swann Aug 8 '13 at 7:22
  • 1
    @f.boc Kile is an "LaTeX development environment" so generally on topic here. As you are asking about a dev version, I would guess the best place to get an answer is on the the Kile development list, but there may also be experts here who know. – Andrew Swann Aug 8 '13 at 7:47
6
+200

(this answer only works for Linux users, sorry)

There are two issues here.

If you have a problem with the previewer user interface provided by Okular, I think there is not much you can do. You would probably need to fork Kile entirely to change that.

If you have a problem with the PDF backend (poppler) you can compile a different PDF backend for Okular, that in turn will be used by the previewer inside Kile. As far as I know there are two alternative PDF backends for Okular:

1) muPDF backend: which will completely replace poppler and kind of works (I use it on a regular basis)

2) Cairo backend which will only replace the poppler subpixel font rendering with the one provided by Cairo

Your distribution may already provide packages for the alternative backends (for example, Arch does).

Since you've not stated what your specific problem is, I can't really tell if changing the rendering engine will solve your problem.

  • this is easier than it seems, the problem was in the rendering so I solved switching to the mupdf backend. Thank you very much, this deserves a bounty! – f.boc Aug 24 '13 at 8:56
  • by the way, I noticed that after switching to mupdf, synctex does not work anymore. It seems it's not supported. – f.boc Aug 25 '13 at 19:06
  • yes, synctex support is not implemented. You can test the standalone muPDF app to see if it is a problem of the backend or the support is completely missing frm mupdf (I suspect this is the case). – Nico Boni Aug 27 '13 at 5:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.