[tex-live] texdoc question

Philipp Stephani p.stephani2 at googlemail.com
Wed Dec 28 00:56:47 CET 2011


2011/12/27 tobig <hangontheglock at yahoo.de>:
>
> Am 27.12.2011 um 20:59 schrieb Joel C. Salomon:
>
>> What is the mechanism that TeXdoc uses to open (say) PDF files with
>> the system default viewer?  On my Ubuntu system, this has stopped
>> working, instead opening with Nautilus (the file manage) the directory
>> in which the PDF file lives.
>>
> try texdoc -v latex (or sth else)
> It will give you some Information about the string, which is handed to the shell. I have no Ubuntu running in the moment but my Mac says "texdoc info: View comand: open "path/to/manual""

On Gnome, texdoc is supposed to call gnome-open, which uses Gnome's
file associations. So "texdoc -v" should print something like
"gnome-open /path/to/file.pdf". Maybe the association between PDF
files and your viewer is broken. Try right-clicking on a PDF file,
then choose "Properties", and in the tab "Open With" you should be
able to select the correct viewer.



More information about the tex-live mailing list