Re: Problem with viewing a pdf but NOT a DVI

2016-12-31 Thread Daniel CLEMENT
Le samedi 31 décembre 2016 à 13:59 +, Guenter Milde a écrit :
> On 2016-12-31, Justin Whitty wrote:
> 
> > Today I have installed LyX from source on Linux Mint Delian Edition
> ...
> 
> > Auto-view file /tmp/lyx_tmpdir.LRmHmuU17448/lyx_tmpbuf0/newfile1.pdf failed
> 
> We had a report on lyx-devel, that Mint uses a new PDF viewer that is
> currently not in the list that LyX searches when (re)configuring.

PMFJI, but I'm also using Linux Mint Debian Edition (LMDE). Here is what
I can tell you about readers:

Linux Mint did introduce some new "X-apps" which aim to be usable under
any desktop they support (that is, only Mate and Cinnamon under LMDE).
Among them is a PDF reader simply called "xreader". It has the same look
and feel as the previous readers: Atril (Mate) and Evince (Cinnamon).

But, AFAIK, it's not pushed by default under the current LMDE (though
they are in the repo.); you have to install it explicitly. (It will
probably be the default under LMDE3, late 2017[?]).

However, I did install these x-apps just out of curiosity, and I can
tell that xreader works fine with LyX (v. 2.1.3 from the repo.). One
nice feature it has, is to retain the window preview size (unlike
previous readers). I had nothing to do in LyX, only to declare xreader
as the system default viewer.

Here is some more info about these x-apps:
http://segfault.linuxmint.com/2016/02/the-first-two-x-apps-are-ready/

HTH - happy 2017, Daniel

> 
> May be the document is exported fine but cannot be shown because LyX did not
> find a viewer.
> 
> Check with File>Export and opening the resulting file
> If this works, set a custom PDF viewer in Settings>Preferences.
> 
> Günter
> 
> 
> 

-- 
Daniel CLEMENT



Re: Problem with viewing a pdf but NOT a DVI

2016-12-31 Thread Guenter Milde
On 2016-12-31, Justin Whitty wrote:

> Today I have installed LyX from source on Linux Mint Delian Edition
...

> Auto-view file /tmp/lyx_tmpdir.LRmHmuU17448/lyx_tmpbuf0/newfile1.pdf failed

We had a report on lyx-devel, that Mint uses a new PDF viewer that is
currently not in the list that LyX searches when (re)configuring.

May be the document is exported fine but cannot be shown because LyX did not
find a viewer.

Check with File>Export and opening the resulting file
If this works, set a custom PDF viewer in Settings>Preferences.

Günter





Re: Problem with viewing a pdf but NOT a DVI

2016-12-31 Thread Kornel Benko
Am Samstag, 31. Dezember 2016 um 02:00:27, schrieb Justin Whitty 

> Hi LyX team,
> 
> First of all, my thanks and congratulations on what I feel is the best piece 
> of software for document preparation that I have ever used. I fell in Love 
> with it AGAIN about 5 years ago. But did use it for the preparation for parts 
> of my MSc thesis in 1998 (though in those days I was very much a LaTeX user).
> 
> Today I have installed LyX from source on Linux Mint Delian Edition due to 
> the repository not having the latest version available. Though everything 
> installed OK, once I had ensured that all the dependencies were available, 
> when I tried to view the pdf I receive the following error:
> 
> Auto-view file /tmp/lyx_tmpdir.LRmHmuU17448/lyx_tmpbuf0/newfile1.pdf failed
> 
> Also attached for your convenience. I have been trying to sieve through the 
> LaTeX log file but can't make head or tail of it I am afraid It has been 
> sometime since I used LaTeX as I am very much reliant on the magic of LyX to 
> simply deal with such problems for me...
> 
> Would someone be so very kind and point me in the right direction. I know it 
> must be something that I haven't done as LyX has been around on every Linux 
> system that I have ever used, but for the life of me I can't work it out. 
> Please also note that this problem does not occur on Linux Mint KDE version 
> (which I have installed on another partition of my hard drive).
> 
> Much thanks in advance for any assistance you can offer.
> 
> Best regards,
> 
> Justin

Justin, I cannot see any errors in the attached log. According to log, the pdf 
file is created.
But maybe you do not have a pdf viewer known to lyx?
Check for Tools->Preferences...->File Handling->File Formats->Format:->PDF 
(pdflatex)->Viewer

Kornel

signature.asc
Description: This is a digitally signed message part.