How to set default view command with real file name?

I have this line in my .emacs :

 (setq TeX-view-program-list '(("Okular" "okular --unique %u"))) 

When I type Cc Cc, then View, the command turns out to be okular --unique %u , however I would like it to be okular-unique filename.pdf

Can anyone help? Thank you very much

+4
source share
1 answer

I think you should have something like this for your configuration:

 (setq TeX-view-program-selection '((output-pdf "PDF Viewer"))) (setq TeX-view-program-list '(("PDF Viewer" "okular %o"))) 

I'm not sure if this is okular-unique - this is the name of the program - in this case, just replace okular with okular-unique.

+3
source

All Articles