Re: [NTG-context] Change PDF viewer with Scite

2018-08-20 Thread Hans Hagen

On 8/20/2018 11:50 AM, Fabrice Couvreur wrote:

Hi Hans,
I made the following change but unfortunately without success :

if PLAT_GTK
     name.context.console=rxvt
     name.context.gsview=gv
     name.context.acrobat=acroread
     name.flag.pdfopen=--autopdf
name.flag.pdfopen=--autopdf=evince

because it's not defined in l-pdfview.lua

what happens if you say

name.flag.pdfopen=--autopdf=auto


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Change PDF viewer with Scite

2018-08-20 Thread Fabrice Couvreur
Hi Hans,
I made the following change but unfortunately without success :

if PLAT_GTK
name.context.console=rxvt
name.context.gsview=gv
name.context.acrobat=acroread
name.flag.pdfopen=--autopdf
name.flag.pdfopen=--autopdf=evince

Fabrice


Le lun. 20 août 2018 à 08:26, Hans Hagen  a écrit :

> On 8/20/2018 12:11 AM, Fabrice Couvreur wrote:
> > Hello,
> > The default viewer is GhostView. I would like to replace it with Evince.
> > In user mode, I edited the /usr/share/scite/scite-context.properties
> > file to replace the command.2 line. $ (File.patterns.context) = $
> > (name.context.gsview) $ (FileDir ) / $ (FileName) .pdf by command.2. $
> > (File.patterns.context) = $ (name.context.evince) $ (FileDir) / $
> > (FileName) .pdf
> search for "name.flag.pdfopen"
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Change PDF viewer with Scite

2018-08-20 Thread Hans Hagen

On 8/20/2018 12:11 AM, Fabrice Couvreur wrote:

Hello,
The default viewer is GhostView. I would like to replace it with Evince.
In user mode, I edited the /usr/share/scite/scite-context.properties 
file to replace the command.2 line. $ (File.patterns.context) = $ 
(name.context.gsview) $ (FileDir ) / $ (FileName) .pdf by command.2. $ 
(File.patterns.context) = $ (name.context.evince) $ (FileDir) / $ 
(FileName) .pdf

search for "name.flag.pdfopen"

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Change PDF viewer with Scite

2018-08-19 Thread Fabrice Couvreur
Hello,
The default viewer is GhostView. I would like to replace it with Evince.
In user mode, I edited the /usr/share/scite/scite-context.properties file
to replace the command.2 line. $ (File.patterns.context) = $
(name.context.gsview) $ (FileDir ) / $ (FileName) .pdf by command.2. $
(File.patterns.context) = $ (name.context.evince) $ (FileDir) / $
(FileName) .pdf
It does not work .
Thank you.
Fabrice
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___