Configuration for texstudio using qpdfview as external pdf viewer

Asked by LU.CH

Yes, it is much more like a FAQ.

As I searched all webpages, there is not much useful information about how to configure qpdfview as external pdf viewer of texstudio.

Considering the case that multiple tex files in a project, the command to specify qpdfview as external pdf viewer could be:

qpdfview --unique ?am.pdf#src:?c:am.tex:@:0 2> /dev/null

I had not find the way to parse the column of cursor to qpdfview, but I think it is enough to make the cooperation.

It is much simple to config texstudio as source editor.

texstudio "%1" -line %2

Hope that would help you.

Question information

Language:
English Edit question
Status:
Answered
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Reichold (adamreichold) said :
#1

Hello Frank,

thanks for sharing this!

The syntax for opening source links is admittedly a bit arcane but also rather flexible if one wants to open an arbitrary number of files with different location specifiers (which again is admittedly only useful for other applications and only if they are not using the D-Bus interface).

Concerning the column information: AFAIK it is considered unreliable in the current implementation of SyncTeX anyway so will mostly be zero, but we decided on passing it around for completeness anyway.

Best regards, Adam.

Can you help with this problem?

Provide an answer of your own, or ask LU.CH for more information if necessary.

To post a message you must log in.