ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Change PDF viewer with Scite
@ 2018-08-19 22:11 Fabrice Couvreur
  2018-08-20  6:26 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2018-08-19 22:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 406 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 672 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change PDF viewer with Scite
  2018-08-19 22:11 Change PDF viewer with Scite Fabrice Couvreur
@ 2018-08-20  6:26 ` Hans Hagen
  2018-08-20  9:50   ` Fabrice Couvreur
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2018-08-20  6:26 UTC (permalink / raw)
  To: ntg-context@ntg.nl >> mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change PDF viewer with Scite
  2018-08-20  6:26 ` Hans Hagen
@ 2018-08-20  9:50   ` Fabrice Couvreur
  2018-08-20 10:04     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2018-08-20  9:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1715 bytes --]

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 <j.hagen@xs4all.nl> 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
>
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 3657 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change PDF viewer with Scite
  2018-08-20  9:50   ` Fabrice Couvreur
@ 2018-08-20 10:04     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2018-08-20 10:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Fabrice Couvreur

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-20 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-19 22:11 Change PDF viewer with Scite Fabrice Couvreur
2018-08-20  6:26 ` Hans Hagen
2018-08-20  9:50   ` Fabrice Couvreur
2018-08-20 10:04     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).