Re: Evince as default viewer

2017-08-25 Thread Scott Kostyshak
On Fri, Aug 25, 2017 at 07:44:09PM -0400, Paul A. Rubin wrote:
> On 08/25/2017 07:29 PM, Scott Kostyshak wrote:
> > On Fri, Aug 25, 2017 at 02:12:47PM -0400, Paul A. Rubin wrote:
> > 
> > > Note that, with either approach, if you reinstall qpdfview, the next time
> > > you run reconfigure it's liable to break again.
> > If you set the viewer in preferences, then I don't think it should
> > change after running reconfigure.
> > 
> > Scott
> You're probably right about that, give or take installing a new version of
> LyX. When I upgraded LyX to 2.2.3, I think it thunked my viewer preferences,
> but that was probably a one-off (the business with Mint changing the default
> text editor, PDF viewer, image viewer and something else I've forgotten
> now).

Ah yes that could happen. If you can ever reproduce an issue where a
newer version of LyX thunks something, then we would like to fix that.
I remember seeing a couple of reports about that on Ubuntu. But it is
hard to remember to back up your user directory before an upgrade, so
it's hard to reproduce.

Scott


signature.asc
Description: PGP signature


Re: Evince as default viewer

2017-08-25 Thread Paul A. Rubin

On 08/25/2017 07:29 PM, Scott Kostyshak wrote:

On Fri, Aug 25, 2017 at 02:12:47PM -0400, Paul A. Rubin wrote:


Note that, with either approach, if you reinstall qpdfview, the next time
you run reconfigure it's liable to break again.

If you set the viewer in preferences, then I don't think it should
change after running reconfigure.

Scott
You're probably right about that, give or take installing a new version 
of LyX. When I upgraded LyX to 2.2.3, I think it thunked my viewer 
preferences, but that was probably a one-off (the business with Mint 
changing the default text editor, PDF viewer, image viewer and something 
else I've forgotten now).




Re: Evince as default viewer

2017-08-25 Thread Scott Kostyshak
On Fri, Aug 25, 2017 at 02:12:47PM -0400, Paul A. Rubin wrote:

> Note that, with either approach, if you reinstall qpdfview, the next time
> you run reconfigure it's liable to break again.

If you set the viewer in preferences, then I don't think it should
change after running reconfigure.

Scott


signature.asc
Description: PGP signature


Re: texlive2017 and lyx

2017-08-25 Thread Kornel Benko
Am Freitag, 25. August 2017 um 20:30:47, schrieb Wolfgang Engelmann 

> 
> Am 25.08.2017 um 19:15 schrieb Kornel Benko:
> > Am Freitag, 25. August 2017 um 16:09:14, schrieb Wolfgang Engelmann 
> > 
> >> Am 25.08.2017 um 15:46 schrieb Kornel Benko:
> >>> Am Freitag, 25. August 2017 um 15:20:57, schrieb Wolfgang Engelmann 
> >>> 
>  I was too quick: The tlmgr is from an earlier texlive which is in
>  /usr/share/texlive2016.
>  How do I get the tlmgr from
>  /usr/local/texlive/2017/bin/x86_64-linux
>  working? Do I have to set a path? How? Which one?
>  sorra for silly questions, but I got stuck here
>  Wolfgang
> >>> Why don't you set your PATH so that 
> >>> "/usr/local/texlive/2017/bin/x86_64-linux" is before "/usr/bin"?
> >>>
> >>>   Kornel
> >> Isn't, what I have? >>
> >> #paths for texlive2017
> >> PATH=/usr/local/texlive/2017/bin/i386-linux:$PATH; export PATH
> >> MANPATH=/usr/local/texlive/2017/texmf-dist/doc/man:$MANPATH; export MANPATH
> >> INFOPATH=/usr/local/texlive/2017/texmf-dist/doc/info:$INFOPATH; export
> >> INFOPATH
> >> Wolfgang
> > WRONG PATH, change "i386-linux" to "x86_64-linux"
> >
> > If you do this, then what does
> > # which tlmgr
> > or
> > # where tlmgr
> > say?
> >
> > Is /usr/local/texlive/2017/bin/x86_64-linux/tlmgr executable?
> >
> > Kornel
> Thanks, Kornel, I have changed to what you wrote. How would I on the 
> command line change the rights for the tlmgr.pl, which are right now 
> user=root and group=root?

This is OK, if you installed as root (which you have apparently)

> Unfortunately I have uninstalled the 2016 texlive and have no tlmgr 
> available

tlmgr is part of TL2017 as well.
Here:
#which tlmgr
/usr/local/texlive/2017/bin/x86_64-linux/tlmgr
# ls -l /usr/local/texlive/2017/bin/x86_64-linux/tlmgr
> ~/Downloads$ which tlmgr
>  >no response

Means that the PATH is not OK.
Check
# ls -l /usr/local/texlive/2017/bin/x86_64-linux/tlmgr
lrwxrwxrwx 1 kornel kornel 41 nov 25  2016 
/usr/local/texlive/2017/bin/x86_64-linux/tlmgr -> 
../../texmf-dist/scripts/texlive/tlmgr.pl
# ls -lL /usr/local/texlive/2017/bin/x86_64-linux/tlmgr
-rwxr-xr-x 1 kornel kornel 300762 júl 18 01:59 
/usr/local/texlive/2017/bin/x86_64-linux/tlmgr

(I installed it as user kornel, so I am not forced to be root for instance for 
updates)

> we@wolfgang-Mr-Whisper-Ultra-SSD-II:~/Downloads$ where tlmgr
> bash: where: Kommando nicht gefunden.

Where is csh built-in command, sorry, try using csh or tcsh

> I tried also ~/Downloads$ whereis tlmgr
> tlmgr:
> no further output.
> Its a mess with me!

whereis does not respect PATH, so its output is not relevant.

> Wolfgang

Kornel

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


Re: texlive2017 and lyx

2017-08-25 Thread Wolfgang Engelmann



Am 25.08.2017 um 20:30 schrieb Wolfgang Engelmann:



Am 25.08.2017 um 19:15 schrieb Kornel Benko:
Am Freitag, 25. August 2017 um 16:09:14, schrieb Wolfgang Engelmann 


Am 25.08.2017 um 15:46 schrieb Kornel Benko:
Am Freitag, 25. August 2017 um 15:20:57, schrieb Wolfgang Engelmann 


I was too quick: The tlmgr is from an earlier texlive which is in
/usr/share/texlive2016.
How do I get the tlmgr from
/usr/local/texlive/2017/bin/x86_64-linux
working? Do I have to set a path? How? Which one?
sorra for silly questions, but I got stuck here
Wolfgang
Why don't you set your PATH so that 
"/usr/local/texlive/2017/bin/x86_64-linux" is before "/usr/bin"?


Kornel

Isn't, what I have? >>
#paths for texlive2017
PATH=/usr/local/texlive/2017/bin/i386-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2017/texmf-dist/doc/man:$MANPATH; export 
MANPATH

INFOPATH=/usr/local/texlive/2017/texmf-dist/doc/info:$INFOPATH; export
INFOPATH
Wolfgang

WRONG PATH, change "i386-linux" to "x86_64-linux"

If you do this, then what does
# which tlmgr
or
# where tlmgr
say?

Is /usr/local/texlive/2017/bin/x86_64-linux/tlmgr executable?

Kornel
Thanks, Kornel, I have changed to what you wrote. How would I on the 
command line change the rights for the tlmgr.pl, which are right now 
user=root and group=root?
Unfortunately I have uninstalled the 2016 texlive and have no tlmgr 
available

~/Downloads$ which tlmgr
>no response
we@wolfgang-Mr-Whisper-Ultra-SSD-II:~/Downloads$ where tlmgr
bash: where: Kommando nicht gefunden.
I tried also ~/Downloads$ whereis tlmgr
tlmgr:
no further output.
Its a mess with me!
Wolfgang


I used chmod a+rx tlmgr.pl
but the response to which and where/wheris has not changed
Wolfgang


Re: texlive2017 and lyx

2017-08-25 Thread Wolfgang Engelmann



Am 25.08.2017 um 19:15 schrieb Kornel Benko:

Am Freitag, 25. August 2017 um 16:09:14, schrieb Wolfgang Engelmann 


Am 25.08.2017 um 15:46 schrieb Kornel Benko:

Am Freitag, 25. August 2017 um 15:20:57, schrieb Wolfgang Engelmann 


I was too quick: The tlmgr is from an earlier texlive which is in
/usr/share/texlive2016.
How do I get the tlmgr from
/usr/local/texlive/2017/bin/x86_64-linux
working? Do I have to set a path? How? Which one?
sorra for silly questions, but I got stuck here
Wolfgang

Why don't you set your PATH so that "/usr/local/texlive/2017/bin/x86_64-linux" is before 
"/usr/bin"?

Kornel

Isn't, what I have? >>
#paths for texlive2017
PATH=/usr/local/texlive/2017/bin/i386-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2017/texmf-dist/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2017/texmf-dist/doc/info:$INFOPATH; export
INFOPATH
Wolfgang

WRONG PATH, change "i386-linux" to "x86_64-linux"

If you do this, then what does
# which tlmgr
or
# where tlmgr
say?

Is /usr/local/texlive/2017/bin/x86_64-linux/tlmgr executable?

Kornel
Thanks, Kornel, I have changed to what you wrote. How would I on the 
command line change the rights for the tlmgr.pl, which are right now 
user=root and group=root?
Unfortunately I have uninstalled the 2016 texlive and have no tlmgr 
available

~/Downloads$ which tlmgr
>no response
we@wolfgang-Mr-Whisper-Ultra-SSD-II:~/Downloads$ where tlmgr
bash: where: Kommando nicht gefunden.
I tried also ~/Downloads$ whereis tlmgr
tlmgr:
no further output.
Its a mess with me!
Wolfgang



Re: Evince as default viewer

2017-08-25 Thread Paul A. Rubin

On 08/25/2017 12:00 PM, Julio Rojas wrote:

Dear all,

I have installed qpdfview and although system-wide Evince is the 
default PDF viewer, Lyx preferes qpdfview. Is there a way to tell Lyx 
to select Evince? I have uninstalled qpdfview and the pdflatex option 
is grayed out.


Thanks in advance!
-
Julio Rojas
jcredbe...@gmail.com 
Matej's suggestion definitely works, with the caveat that you need to do 
it for each type of PDF output you use. If you export to multiple PDF 
formats (dvipdfm, pdflatex, ...), it might be easier to open 
~/.lyx/lyxrc.defaults in a text editor and do a global 
search-and-replace, changing "qpdfview" to "evince" in all lines 
starting "\viewer_alternatives pdf".


Note that, with either approach, if you reinstall qpdfview, the next 
time you run reconfigure it's liable to break again.


Paul



Re: texlive2017 and lyx

2017-08-25 Thread Kornel Benko
Am Freitag, 25. August 2017 um 16:09:14, schrieb Wolfgang Engelmann 

> 
> Am 25.08.2017 um 15:46 schrieb Kornel Benko:
> > Am Freitag, 25. August 2017 um 15:20:57, schrieb Wolfgang Engelmann 
> > 
> >> I was too quick: The tlmgr is from an earlier texlive which is in
> >> /usr/share/texlive2016.
> >> How do I get the tlmgr from
> >> /usr/local/texlive/2017/bin/x86_64-linux
> >> working? Do I have to set a path? How? Which one?
> >> sorra for silly questions, but I got stuck here
> >> Wolfgang
> > Why don't you set your PATH so that 
> > "/usr/local/texlive/2017/bin/x86_64-linux" is before "/usr/bin"?
> >
> > Kornel
> Isn't, what I have? >>
> #paths for texlive2017
> PATH=/usr/local/texlive/2017/bin/i386-linux:$PATH; export PATH
> MANPATH=/usr/local/texlive/2017/texmf-dist/doc/man:$MANPATH; export MANPATH
> INFOPATH=/usr/local/texlive/2017/texmf-dist/doc/info:$INFOPATH; export 
> INFOPATH
> Wolfgang

WRONG PATH, change "i386-linux" to "x86_64-linux"

If you do this, then what does
# which tlmgr
or
# where tlmgr
say?

Is /usr/local/texlive/2017/bin/x86_64-linux/tlmgr executable?

Kornel

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


Re: Evince as default viewer

2017-08-25 Thread Matej Cepl
On 25/08/17 18:00, Julio Rojas wrote:
> I have installed qpdfview and although system-wide Evince is the default
> PDF viewer, Lyx preferes qpdfview. Is there a way to tell Lyx to select
> Evince? I have uninstalled qpdfview and the pdflatex option is grayed out.

Tools / Preferences / File Handling / File Formats / Viewer ?

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8

I am a Roman Catholic, so that I do not expect `history' to be
anything but a `long defeat' -- though it contains (and in
a legend may contain more clearly and movingly) some samples or
glimpses of final victory.
  -- J.R.R. Tolkien



signature.asc
Description: OpenPGP digital signature


Evince as default viewer

2017-08-25 Thread Julio Rojas
Dear all,

I have installed qpdfview and although system-wide Evince is the default
PDF viewer, Lyx preferes qpdfview. Is there a way to tell Lyx to select
Evince? I have uninstalled qpdfview and the pdflatex option is grayed out.

Thanks in advance!
-
Julio Rojas
jcredbe...@gmail.com


Re: texlive2017 and lyx

2017-08-25 Thread Wolfgang Engelmann



Am 25.08.2017 um 15:46 schrieb Kornel Benko:

Am Freitag, 25. August 2017 um 15:20:57, schrieb Wolfgang Engelmann 


I was too quick: The tlmgr is from an earlier texlive which is in
/usr/share/texlive2016.
How do I get the tlmgr from
/usr/local/texlive/2017/bin/x86_64-linux
working? Do I have to set a path? How? Which one?
sorra for silly questions, but I got stuck here
Wolfgang

Why don't you set your PATH so that "/usr/local/texlive/2017/bin/x86_64-linux" is before 
"/usr/bin"?

Kornel

Isn't, what I have? >>
#paths for texlive2017
PATH=/usr/local/texlive/2017/bin/i386-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2017/texmf-dist/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2017/texmf-dist/doc/info:$INFOPATH; export 
INFOPATH

Wolfgang


Re: texlive2017 and lyx

2017-08-25 Thread Kornel Benko
Am Freitag, 25. August 2017 um 15:20:57, schrieb Wolfgang Engelmann 

> I was too quick: The tlmgr is from an earlier texlive which is in 
> /usr/share/texlive2016.
> How do I get the tlmgr from
> /usr/local/texlive/2017/bin/x86_64-linux
> working? Do I have to set a path? How? Which one?
> sorra for silly questions, but I got stuck here
> Wolfgang

Why don't you set your PATH so that "/usr/local/texlive/2017/bin/x86_64-linux" 
is before "/usr/bin"?

Kornel

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


Re: texlive2017 and lyx

2017-08-25 Thread Wolfgang Engelmann



Am 25.08.2017 um 14:50 schrieb Wolfgang Engelmann:



Am 25.08.2017 um 14:11 schrieb Wolfgang Engelmann:



Am 25.08.2017 um 13:48 schrieb Wolfgang Engelmann:



Am 25.08.2017 um 13:16 schrieb Steve Litt:

On Fri, 25 Aug 2017 11:34:25 +0200
Wolfgang Engelmann  wrote:


Two questions:

What do I have to do to get the texlive2017 working

If your older texlive is working (like 2016), I'd imagine there's a
tlmgr command to bring everything up to 2017.


I have installed texlive2017 from the CTAN DVD on my PC with debian
Jessie at /usr/local/

Unless you have no reasonable speed Internet access and can't go
somewhere else that has such access, I'd use the proper tlmgr command.

SteveT

thanks, Steve,
tlmgr update --self
(running on Debian, switching to user mode!)
Unknown directive ...containerchecksum 
06c8c1fff8b025f6f55f8629af6e41a6dd695e13bbdfe8b78b678e9cb0cfa509826355f4ece20d8a99b49bcee3c5931b8d766f0fc3dae0d6a645303d487600b0... 
, please fix it! at /usr/share/texlive/tlpkg/TeXLive/TLPOBJ.pm line 
210, <$retfh> line 5761.
is this something I could fix easily or is it better to install a 
new tlmgr?

Wolfgang

I checked for tlmgr in my system, and it is supposed to be in 
/usr/bin, where I, however, do not find it; and secondly in 
/usr/local/texlive/2017/bin/x86_64-linux where it is found.

How should I proceed?
Wolfgang
I managed to set the pathes and to get tlmgr. Trying now to become 
familiar with this gui.

Thanks for the pointer,
Wolfgang
I was too quick: The tlmgr is from an earlier texlive which is in 
/usr/share/texlive2016.

How do I get the tlmgr from
/usr/local/texlive/2017/bin/x86_64-linux
working? Do I have to set a path? How? Which one?
sorra for silly questions, but I got stuck here
Wolfgang


Re: texlive2017 and lyx

2017-08-25 Thread Wolfgang Engelmann



Am 25.08.2017 um 14:11 schrieb Wolfgang Engelmann:



Am 25.08.2017 um 13:48 schrieb Wolfgang Engelmann:



Am 25.08.2017 um 13:16 schrieb Steve Litt:

On Fri, 25 Aug 2017 11:34:25 +0200
Wolfgang Engelmann  wrote:


Two questions:

What do I have to do to get the texlive2017 working

If your older texlive is working (like 2016), I'd imagine there's a
tlmgr command to bring everything up to 2017.


I have installed texlive2017 from the CTAN DVD on my PC with debian
Jessie at /usr/local/

Unless you have no reasonable speed Internet access and can't go
somewhere else that has such access, I'd use the proper tlmgr command.

SteveT

thanks, Steve,
tlmgr update --self
(running on Debian, switching to user mode!)
Unknown directive ...containerchecksum 
06c8c1fff8b025f6f55f8629af6e41a6dd695e13bbdfe8b78b678e9cb0cfa509826355f4ece20d8a99b49bcee3c5931b8d766f0fc3dae0d6a645303d487600b0... 
, please fix it! at /usr/share/texlive/tlpkg/TeXLive/TLPOBJ.pm line 
210, <$retfh> line 5761.
is this something I could fix easily or is it better to install a new 
tlmgr?

Wolfgang

I checked for tlmgr in my system, and it is supposed to be in 
/usr/bin, where I, however, do not find it; and secondly in 
/usr/local/texlive/2017/bin/x86_64-linux where it is found.

How should I proceed?
Wolfgang
I managed to set the pathes and to get tlmgr. Trying now to become 
familiar with this gui.

Thanks for the pointer,
Wolfgang


Re: texlive2017 and lyx

2017-08-25 Thread Wolfgang Engelmann



Am 25.08.2017 um 13:48 schrieb Wolfgang Engelmann:



Am 25.08.2017 um 13:16 schrieb Steve Litt:

On Fri, 25 Aug 2017 11:34:25 +0200
Wolfgang Engelmann  wrote:


Two questions:

What do I have to do to get the texlive2017 working

If your older texlive is working (like 2016), I'd imagine there's a
tlmgr command to bring everything up to 2017.


I have installed texlive2017 from the CTAN DVD on my PC with debian
Jessie at /usr/local/

Unless you have no reasonable speed Internet access and can't go
somewhere else that has such access, I'd use the proper tlmgr command.

SteveT

thanks, Steve,
tlmgr update --self
(running on Debian, switching to user mode!)
Unknown directive ...containerchecksum 
06c8c1fff8b025f6f55f8629af6e41a6dd695e13bbdfe8b78b678e9cb0cfa509826355f4ece20d8a99b49bcee3c5931b8d766f0fc3dae0d6a645303d487600b0... 
, please fix it! at /usr/share/texlive/tlpkg/TeXLive/TLPOBJ.pm line 
210, <$retfh> line 5761.
is this something I could fix easily or is it better to install a new 
tlmgr?

Wolfgang

I checked for tlmgr in my system, and it is supposed to be in /usr/bin, 
where I, however, do not find it; and secondly in 
/usr/local/texlive/2017/bin/x86_64-linux where it is found.

How should I proceed?
Wolfgang


Re: texlive2017 and lyx

2017-08-25 Thread Wolfgang Engelmann



Am 25.08.2017 um 13:16 schrieb Steve Litt:

On Fri, 25 Aug 2017 11:34:25 +0200
Wolfgang Engelmann  wrote:


Two questions:

What do I have to do to get the texlive2017 working

If your older texlive is working (like 2016), I'd imagine there's a
tlmgr command to bring everything up to 2017.


I have installed texlive2017 from the CTAN DVD on my PC with debian
Jessie at /usr/local/

Unless you have no reasonable speed Internet access and can't go
somewhere else that has such access, I'd use the proper tlmgr command.

SteveT

thanks, Steve,
tlmgr update --self
(running on Debian, switching to user mode!)
Unknown directive ...containerchecksum 
06c8c1fff8b025f6f55f8629af6e41a6dd695e13bbdfe8b78b678e9cb0cfa509826355f4ece20d8a99b49bcee3c5931b8d766f0fc3dae0d6a645303d487600b0... 
, please fix it! at /usr/share/texlive/tlpkg/TeXLive/TLPOBJ.pm line 210, 
<$retfh> line 5761.

is this something I could fix easily or is it better to install a new tlmgr?
Wolfgang



Re: texlive2017 and lyx

2017-08-25 Thread Steve Litt
On Fri, 25 Aug 2017 11:34:25 +0200
Wolfgang Engelmann  wrote:

> Two questions:
> 
> What do I have to do to get the texlive2017 working

If your older texlive is working (like 2016), I'd imagine there's a
tlmgr command to bring everything up to 2017.

> 
> I have installed texlive2017 from the CTAN DVD on my PC with debian 
> Jessie at /usr/local/

Unless you have no reasonable speed Internet access and can't go
somewhere else that has such access, I'd use the proper tlmgr command.

SteveT


texlive2017 and lyx

2017-08-25 Thread Wolfgang Engelmann

Two questions:

What do I have to do to get the texlive2017 working

How do I find out which texlive my lyx 2.3obeta1 is using

Wolfgang

For details see the following:

I have installed texlive2017 from the CTAN DVD on my PC with debian 
Jessie at /usr/local/


After

1 >> root@wolfgang-Mr-Whisper-Ultra-SSD-II:/usr/local# umask 002 ./texlive

and

2 >> For the PATH I put  in /etc/profile.d a file texlive.sh
---
# TeX Live 2017 initialization script (sh)
TEXLIVEDIR=/usr/local/texlive/2017
if ! echo ${PATH} | /bin/grep -q ${TEXLIVEDIR}/bin/x86_64-linux ; then
   PATH=${TEXLIVEDIR}/bin/x86_64-linux:${PATH}
fi
if ! echo ${MANPATH} | /bin/grep -q ${TEXLIVEDIR}/texmf-dist/doc/man ; then
   MANPATH=${TEXLIVEDIR}/texmf-dist/doc/man:${MANPATH}
fi
if ! echo ${INFOPATH} | /bin/grep -q ${TEXLIVEDIR}/texmf-dist/doc/info ; 
then

   INFOPATH=${TEXLIVEDIR}/texmf-dist/doc/info:${INFOPATH}
fi
-

and

3>> root@wolfgang-Mr-Whisper-Ultra-SSD-II:/usr/local# texhash
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R-TEXLIVEDIST...
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.

I tried

tex --version

but get
TeX 3.14159265 (TeX Live 2015/dev/Debian)
kpathsea version 6.2.1dev

instead of TeX Live 2017

Help very much appreciated by

Wolfgang