LyXlyx on linux mint 18: view document not working

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
zacdiggum
Posts: 1
Joined: Sat Aug 13, 2016 4:55 pm

lyx on linux mint 18: view document not working

Post by zacdiggum »

Hey there,

I recently upgraded to linux mint 18. After installing lyx and all the necessary texlive packages including texlive-xetex I noticed that I'm unable to view/convert a document. The little eyes icon is greyed out and the 'view other formats' dropdown list only gives me the DVI, OpenDocument and MS Word options. Strange thing is, exporting via the file menu works. Xetex is installed correctly, I get an output from pdflatex -v and xelatex -v. Has anyone here encountered that problem before?

Thanks in advance...

Edit: I think part has something to do with http://latex-community.org/forum/viewto ... 19&t=10855 and the document viewer being renamed to xreader in lm18. The solution in the post won't work, though. The preview icon becomes active when I insert xreader as viewer application but throws an error on preview.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

NDR
Posts: 5
Joined: Fri Dec 16, 2016 9:39 pm

lyx on linux mint 18: view document not working

Post by NDR »

Hi,
I have the same issue, tried to search into the Lyx forum but this doesn't seem to be raised. Anyone else experienced or solved this?
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

lyx on linux mint 18: view document not working

Post by scottkosty »

If you make a simple document (e.g. "hello world") and go to File > Export > PDF (pdflatex), is a PDF file created in the directory or is an error given? If an error, what is it?
NDR
Posts: 5
Joined: Fri Dec 16, 2016 9:39 pm

lyx on linux mint 18: view document not working

Post by NDR »

Indeed, export to PDF works via the file menu, but this means that I have to leave LYX and use a PDF reader, find and open manually the exported file. This was supposed to work via the icons as explained by zacdiggum. Only DVI works internally.
Edit: my configuration is Mint 18, with Lyx 2.2.2 was firstly installed via apt-get. Then I tried today via source compilation: pb is still there. However, I am not able to reinstall an older version of Lyx (say 2.1.5) to compare..
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

lyx on linux mint 18: view document not working

Post by scottkosty »

Are you able to install a different PDF reader? For example, Evince or Okular or mupdf or Zathura? After installing, go to Tools > Reconfigure and then restart LyX. Does the eyes icon become active?
NDR
Posts: 5
Joined: Fri Dec 16, 2016 9:39 pm

lyx on linux mint 18: view document not working

Post by NDR »

It was a settings problem. I played with them but I am not sure of what I did. I think I only installed qpdfview, reconfigured. I admit this is not very conclusive nor helpful.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

lyx on linux mint 18: view document not working

Post by scottkosty »

No problem. If the problem is resolved, you can mark this thread as 'solved'.
Post Reply