Tag Info

Hot answers tagged

41

Evince and Okular will auto-reload when the file being viewed changes. So does another option: Zathura. That said, my recommendation would still be MuPDF instead, though it'll take some more work to set up. The reason is that MuPDF in general is a much faster program, and will reload faster. It doesn't auto reload like these do, but this can be solved with ...


6

I'd also give TeXworks and its built-in pdf viewer a shot. Whether you compile your input from the command line or via a click on the green button on the top-left of the TeXworks window, its built-in pdf viewer will update right away. TeXworks runs on multiple platforms, including Linux, and is part of the TeXLive distribution.


4

There are several options to get 3d asy viewable in other viewers than Acrobat reader (without interactive 3d feature). The options -noprc and -render=<num> have to be specified. The command asy -f pdf -noprc -render=0 results in vector output (there are some limitations, esp. when transparency is used to draw surfaces) and the other way is, for ...


3

It may not be as fancy as the newer programs, but GV (aka the renovated "GhostView") has the ability to "watch" files. Although thought of as a PostScript viewer, it can also display PDF. Invoke as: gv --watch file.pdf


3

You can get automatic updating with xpdf by setting the following in ~/.latexmkrc: $pdf_previewer = "start xpdf -remote %R %O %S"; $pdf_update_method = 4; $pdf_update_command = "xpdf -remote %R -reload"; These settings are straight out of the latexmk documentation. I've found this works very well, and is my preferred solution at the moment. It has the ...


2

zathura is a highly customizable and functional document viewer. It provides a minimalistic and space saving interface as well as an easy usage that mainly focuses on keyboard interaction. It offers a vim-like experience and most settings can be customized. Main features: automatic document reloading supports PDF, PostScript and DjVu mouse-free navigation ...


2

I managed to get your example working by using: \movie[ height = 6cm, width = 6cm, showcontrols, poster ] {}{waves.wmv} Note that I did that on Arch Linux with: $ okular --version Qt: 4.8.5 KDE Development Platform: 4.12.3 Okular: 0.18.3 For more details on the multimedia package, check this answer or the official documentation.


2

I had exact the same problem. Modifying the function to pass the correct paths did the trick, at least for me. Here is the code: function! SyncTexForward() let s:syncfile = fnamemodify(fnameescape(Tex_GetMainFileName()), ":r").".pdf" let execstr = "silent !okular --unique ".s:syncfile."\\#src:".line(".").expand("%\:p").' &' exec execstr endfunction ...


1

In your .emacs put (eval-after-load "tex" '(add-to-list 'TeX-expand-list '("%a" (lambda nil (expand-file-name (buffer-file-name)))))) Now you can use ("okular --unique %o" (mode-io-correlate "#src:%n%a")) for Okular command. Update: for the record, this change has been introduced in development version of AUCTeX, then starting from next stable version ...


1

When --synctex=1 is passed to the TeX engine, SyncTeX creates metadata that Okular can use for forward searches. To get Okular to open the PDF at the right spot, you must generate SyncTeX metadata and invoke Okular like this: okular document_name#named_destination As of TeX Live 2011, the syntax for named_destination is: ...


1

It works in my machine (openSUSE) with the following options. In LyX, Tools > Preferences > Output > General > PDF command under Forward search: okular --unique "file:$$o#src:$$n $$f" or okular --unique "$$o#src:$$n $$f" Both worked for me. Hope this solves your problem. And $$f option only works with LyX 2.0.5+.


1

Try this instead: okular --unique %o#src:%n%b This is what I use and works fine. Should definitely not open another window with the --unique command so something else is up if that occurs. A similar solution is in link below but through the menus not in the .emacs file. Should just be able to use the command above with what you already have and should ...


1

Unfortunately things became more complicated with TeX Live 2011. A temporary solution to make forward search work with Okular is described here: https://bugs.kde.org/show_bug.cgi?id=274294#c20 Works for me, hope it will do for you, too.


1

I settled on using xpdf. It's not the prettiest, but it was already available on my system. The way things are set up here at work, it is very difficult if not impossible to build something new, so using something that already existed was the easiest solution. To get xpdf to update, you simply have to push r and it will refresh. I can live with that. I ...



Only top voted, non community-wiki answers of a minimum length are eligible