[Pkg-lyx-devel] Bug#299111: lyx: lyrc.defaults should have a ps "gv --swap" instead of ps "gv -swap"

Niklaus Giger niklaus.giger@member.fsf.org, 299111@bugs.debian.org
Wed, 16 Mar 2005 21:28:15 +0100


Sorry for reporting this "bug".

I just found out, that there was a old home compiled version of lyx lying=20
around in /usr/local (which is the default of configure in lyx. I usually d=
o=20
a configure --prefix=3D/opt, but I think I forgot this once. Purging the ol=
d=20
copy showed me that LyX no uses correctly
/usr/share/lyx/scripts/lyxview.sh
to display PostScript output.

I checked this with a empty .lyx-directory and the output is the same.
Sorry for having created you work.

Please close this "bug".

Best regards

Am Samstag, 12. M=E4rz 2005 12.08 schrieb Niklaus Giger:
> Am Samstag, 12. M=E4rz 2005 02.06 schrieb Rob Weir:
> > Hi,
> > thanks for reporting this!
> >
> > On Fri, Mar 11, 2005 at 10:18:59PM +0100, Niklaus Giger said
> >
> > > Package: lyx
> > > Version: 1.3.4-1
> > > Severity: normal
> > >
> > >
> > > I follow the testing distribuiton quite closely. I use Ctrl-t to
> > > convert my LyX documents to postcript and viewing them with gv.
> > >
> > > Lately a upgrade (I don't of which package) broke my installation and=
 a
> > > reconfigure didn't help.
> > >
> > > Changing gv -swap --> gv --swap resolved my problem.
> >
> > Hm, I can't seem to find where this config option is stored.  Where did
> > you have to change this?  It doesn't seem to be in
> > /usr/share/lyx/lyxrc.defaults.
> >
> > -rob
>
> Maybe LyX gets this information when it does the initial configuration
> check?
>
> In the current CVS i found unter lib/Changelog the following entry
> 2005-02-17  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
>
>         * configure.m4: do not use -swap option for gv (it does not work
>         with latest versions).
> But searching through the whole CVS-Snapshot still gives me the following
> hits lib/configure.m4:  ghostview) PS_VIEWER=3D"$GHOSTVIEW -swap" ;;
> lib/configure:  ghostview) PS_VIEWER=3D"$GHOSTVIEW -swap" ;;
>
> So I am still a little bit puzzled. But maybe it helps you. Or shall I ask
> in the lyx-develop mailing list?
>
> Best regards

=2D-=20
Niklaus Giger
Wieshoschet 6
CH-8753 Mollis
Tel. ++41 55 612 20 54 (privat)
Tel. ++41 55 618 64 68 (Gesch=E4ft)