Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Angus Leeming
Fernando Perez wrote:
 - How can I turn on the instant-preview feature?  I can't seem to find a
 toggle for it in any dialog.

Edit-Preferences dialog.
Look and Feel-Graphics pane
Instant preview checkbox

 - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx
 functions by simply typing a letter or two and hitting tab to see what
 came out.  Is there an alternate way to get this behavior?

works with xforms ;-)

As it says in the ANNOUNCE file (which was posted to this list too), the Qt 
frontend is mostly feature complete. Which means that we wanted you all 
to enjoy where we've got to now rather than wait six months for us to 
polish it.

 Anyway, thanks again for this version.  You guys have put in a lot of hard
 work, and we (users) truly appreciate it.

Speaking for myself only, it's a pleasure ;-)

-- 
Angus




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Matej Cepl
Fernando Perez wrote:
 - is it possible to get lyx to remember its window size? I had
 it set via .Xdefaults but the new front end seems to ignore
 this. No biggie, but it's a bit annoying to have it open a tiny
 window every time.

In the application menu (with default KDE facelift, it is click
on the left top corner of the window) click on Save Settings.

Have a nice day,

   Matej

-- 
Matej Cepl,
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will Rogers




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Angus Leeming
Fernando Perez wrote:

 On Fri, 7 Feb 2003, Angus Leeming wrote:
 
 Fernando Perez wrote:
  - How can I turn on the instant-preview feature?  I can't seem to find
  a toggle for it in any dialog.
 
 Edit-Preferences dialog.
 Look and Feel-Graphics pane
 Instant preview checkbox
 
 Silly me.  I actually had this on but thought there was a different option
 for
 it b/c it didn't work.  I hadn't realized I needed the files from the
 sourceforge page first for this to work.  It might not hurt (just to avoid
 stupid questions like mine) to put a little note on that checkbox
 indicating that the preview-latex package from Sourceforge is needed for
 the feature to work.

Or deactivate the checkbox. Maybe.

 The funny thing is, now that the 'normal' (blue math) lyx math rendering
 uses anti-aliased fonts, I think I almost prefer to use that to the
 instant-preview mode.  While it's nice to see the latex rendering 
 there, it just looks a bit clunky next to the smooth fonts of the rest.
 Any chance of activating anti-aliasing for those code snippets (gv 
 does it, so I anti-aliasing for those code snippets (gv does it, so
 I figure it must be doable).  I know, us users are never satisfied :)

We have to accommodate the lowest common denominator. Old versions of gs
tend to die a nasty death if anti-aliasing is too high. Fortunately for you, 
we use a script to control the creation of the preview bitmaps, so you can 
tune to your heart's content.

You'll find the script in LYSSHARE/scripts/lyxpreview2bitmap.sh, where
LYSSHARE is usually /usr/local/share/lyx/.

Look for
ALPHA=4
if [ ${INT_RESOLUTION} -gt 150 ]; then
ALPHA=2
fi

gs -q -dNOPAUSE -dBATCH -dSAFER \
-sDEVICE=${GSDEVICE} -sOutputFile=${BASE}%d.${GSSUFFIX} \
-dGraphicsAlphaBit=${ALPHA} -dTextAlphaBits=${ALPHA} \

-- 
Angus




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread John Levon
On Fri, Feb 07, 2003 at 12:23:03PM -0700, Fernando Perez wrote:

 - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
 functions by simply typing a letter or two and hitting tab to see what came 
 out.  Is there an alternate way to get this behavior?

Try right-arrow instead. Tab is generally used for switching betweeen
widgets. I plan  to look again at getting this working soon

john



Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Sat, 8 Feb 2003, John Levon wrote:

 On Fri, Feb 07, 2003 at 12:23:03PM -0700, Fernando Perez wrote:
 
  - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
  functions by simply typing a letter or two and hitting tab to see what came 
  out.  Is there an alternate way to get this behavior?
 
 Try right-arrow instead. Tab is generally used for switching betweeen
 widgets. I plan  to look again at getting this working soon

Great. Works perfectly!  A bit counter-intuitive (for command-typing, TAB is 
pretty much hard-wired in my brain at this point ;) but it gets the job done.  
And the qt drop-list that opens up is far nicer than the old xforms behavior 
(from the 1.1.x days, what I'm familiar with).

Many thanks,

f.




Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
Hi all,

first of all, a HUGE thank you to the LyX team for putting out the 
long-awaited QT-based LyX.  This thing is just absolutely beautiful!

I hope I never, ever again have to see an Xforms-based program in my life.  We 
are all grateful to xforms because it gave us lyx for all these years before 
the qt frontend existed.  But now, that visual and functional horror can die 
the merciful death it deserves.

A couple of questions concerning the new front end.  I'm using the RedHat 8 
rpms from the lyx ftp site (thanks also for providing those).  All seems to 
work great, I'd just like to know:

- is it possible to get lyx to remember its window size? I had it set via 
.Xdefaults but the new front end seems to ignore this. No biggie, but it's a 
bit annoying to have it open a tiny window every time.

- How can I turn on the instant-preview feature?  I can't seem to find a 
toggle for it in any dialog.

- Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
functions by simply typing a letter or two and hitting tab to see what came 
out.  Is there an alternate way to get this behavior?


Anyway, thanks again for this version.  You guys have put in a lot of hard 
work, and we (users) truly appreciate it.

Cheers,

f.




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Fri, 7 Feb 2003, Angus Leeming wrote:

 Fernando Perez wrote:
  - How can I turn on the instant-preview feature?  I can't seem to find a
  toggle for it in any dialog.
 
 Edit-Preferences dialog.
 Look and Feel-Graphics pane
 Instant preview checkbox

Silly me.  I actually had this on but thought there was a different option for 
it b/c it didn't work.  I hadn't realized I needed the files from the 
sourceforge page first for this to work.  It might not hurt (just to avoid 
stupid questions like mine) to put a little note on that checkbox indicating 
that the preview-latex package from Sourceforge is needed for the feature to 
work.

The funny thing is, now that the 'normal' (blue math) lyx math rendering uses 
anti-aliased fonts, I think I almost prefer to use that to the instant-preview 
mode.  While it's nice to see the latex rendering there, it just looks a bit 
clunky next to the smooth fonts of the rest.  Any chance of activating 
anti-aliasing for those code snippets (gv does it, so I figure it must be 
doable).  I know, us users are never satisfied :)

But regardless, it's really a great feature to have especially when dealing 
with really complex formulas where the formatting is non-trivial.

  - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx
  functions by simply typing a letter or two and hitting tab to see what
  came out.  Is there an alternate way to get this behavior?
 
 works with xforms ;-)
 
 As it says in the ANNOUNCE file (which was posted to this list too), the Qt 
 frontend is mostly feature complete. Which means that we wanted you all 
 to enjoy where we've got to now rather than wait six months for us to 
 polish it.

And I think it was an excellent decision.  It seems perfectly functional to 
me, and I'm sure all the small wrinkles will get ironed out in due time.


Best regards,

Fernando.




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Fri, 7 Feb 2003, Angus Leeming wrote:

   - How can I turn on the instant-preview feature?  I can't seem to find
   a toggle for it in any dialog.
  
  Edit-Preferences dialog.
  Look and Feel-Graphics pane
  Instant preview checkbox
  
  Silly me.  I actually had this on but thought there was a different option
  for
  it b/c it didn't work.  I hadn't realized I needed the files from the
  sourceforge page first for this to work.  It might not hurt (just to avoid
  stupid questions like mine) to put a little note on that checkbox
  indicating that the preview-latex package from Sourceforge is needed for
  the feature to work.
 
 Or deactivate the checkbox. Maybe.

If you do so, make sure a little info is given as to why it's inactive, so 
users who want the feature know what they need to add to turn it back on.  
Once you know what the necessary package is, fixing the problem is trivial.  
It would be a shame to have users lose this because of not knowing what they 
need to add to make it work.

  The funny thing is, now that the 'normal' (blue math) lyx math rendering
  uses anti-aliased fonts, I think I almost prefer to use that to the
  instant-preview mode.  While it's nice to see the latex rendering 
  there, it just looks a bit clunky next to the smooth fonts of the rest.
  Any chance of activating anti-aliasing for those code snippets (gv 
  does it, so I anti-aliasing for those code snippets (gv does it, so
  I figure it must be doable).  I know, us users are never satisfied :)
 
 We have to accommodate the lowest common denominator. Old versions of gs
 tend to die a nasty death if anti-aliasing is too high. Fortunately for you, 
 we use a script to control the creation of the preview bitmaps, so you can 
 tune to your heart's content.
 
 You'll find the script in LYSSHARE/scripts/lyxpreview2bitmap.sh, where
 LYSSHARE is usually /usr/local/share/lyx/.
 
 Look for
 ALPHA=4
 if [ ${INT_RESOLUTION} -gt 150 ]; then
 ALPHA=2
 fi
 
 gs -q -dNOPAUSE -dBATCH -dSAFER \
 -sDEVICE=${GSDEVICE} -sOutputFile=${BASE}%d.${GSSUFFIX} \
 -dGraphicsAlphaBit=${ALPHA} -dTextAlphaBits=${ALPHA} \

Great!!!  Thanks.  It seems like RedHat 8.0's gs is perfectly happy with 
ALPHA=4 (but no higher, 5 or above crashes it) so I just commented out the if 
clause entirely.  BTW, in the RH8.0 binary rpm, LYXSHARE is /usr/share/lyx (no 
local needed).

Best regards, and thanks again.  The beauty of open-source software where 
developers answer questions. You guys rock.

Fernando.




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Angus Leeming
Fernando Perez wrote:
 - How can I turn on the instant-preview feature?  I can't seem to find a
 toggle for it in any dialog.

Edit-Preferences dialog.
Look and Feel-Graphics pane
Instant preview checkbox

 - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx
 functions by simply typing a letter or two and hitting tab to see what
 came out.  Is there an alternate way to get this behavior?

works with xforms ;-)

As it says in the ANNOUNCE file (which was posted to this list too), the Qt 
frontend is mostly feature complete. Which means that we wanted you all 
to enjoy where we've got to now rather than wait six months for us to 
polish it.

 Anyway, thanks again for this version.  You guys have put in a lot of hard
 work, and we (users) truly appreciate it.

Speaking for myself only, it's a pleasure ;-)

-- 
Angus




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Matej Cepl
Fernando Perez wrote:
 - is it possible to get lyx to remember its window size? I had
 it set via .Xdefaults but the new front end seems to ignore
 this. No biggie, but it's a bit annoying to have it open a tiny
 window every time.

In the application menu (with default KDE facelift, it is click
on the left top corner of the window) click on Save Settings.

Have a nice day,

   Matej

-- 
Matej Cepl,
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will Rogers




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Angus Leeming
Fernando Perez wrote:

 On Fri, 7 Feb 2003, Angus Leeming wrote:
 
 Fernando Perez wrote:
  - How can I turn on the instant-preview feature?  I can't seem to find
  a toggle for it in any dialog.
 
 Edit-Preferences dialog.
 Look and Feel-Graphics pane
 Instant preview checkbox
 
 Silly me.  I actually had this on but thought there was a different option
 for
 it b/c it didn't work.  I hadn't realized I needed the files from the
 sourceforge page first for this to work.  It might not hurt (just to avoid
 stupid questions like mine) to put a little note on that checkbox
 indicating that the preview-latex package from Sourceforge is needed for
 the feature to work.

Or deactivate the checkbox. Maybe.

 The funny thing is, now that the 'normal' (blue math) lyx math rendering
 uses anti-aliased fonts, I think I almost prefer to use that to the
 instant-preview mode.  While it's nice to see the latex rendering 
 there, it just looks a bit clunky next to the smooth fonts of the rest.
 Any chance of activating anti-aliasing for those code snippets (gv 
 does it, so I anti-aliasing for those code snippets (gv does it, so
 I figure it must be doable).  I know, us users are never satisfied :)

We have to accommodate the lowest common denominator. Old versions of gs
tend to die a nasty death if anti-aliasing is too high. Fortunately for you, 
we use a script to control the creation of the preview bitmaps, so you can 
tune to your heart's content.

You'll find the script in LYSSHARE/scripts/lyxpreview2bitmap.sh, where
LYSSHARE is usually /usr/local/share/lyx/.

Look for
ALPHA=4
if [ ${INT_RESOLUTION} -gt 150 ]; then
ALPHA=2
fi

gs -q -dNOPAUSE -dBATCH -dSAFER \
-sDEVICE=${GSDEVICE} -sOutputFile=${BASE}%d.${GSSUFFIX} \
-dGraphicsAlphaBit=${ALPHA} -dTextAlphaBits=${ALPHA} \

-- 
Angus




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread John Levon
On Fri, Feb 07, 2003 at 12:23:03PM -0700, Fernando Perez wrote:

 - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
 functions by simply typing a letter or two and hitting tab to see what came 
 out.  Is there an alternate way to get this behavior?

Try right-arrow instead. Tab is generally used for switching betweeen
widgets. I plan  to look again at getting this working soon

john



Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Sat, 8 Feb 2003, John Levon wrote:

 On Fri, Feb 07, 2003 at 12:23:03PM -0700, Fernando Perez wrote:
 
  - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
  functions by simply typing a letter or two and hitting tab to see what came 
  out.  Is there an alternate way to get this behavior?
 
 Try right-arrow instead. Tab is generally used for switching betweeen
 widgets. I plan  to look again at getting this working soon

Great. Works perfectly!  A bit counter-intuitive (for command-typing, TAB is 
pretty much hard-wired in my brain at this point ;) but it gets the job done.  
And the qt drop-list that opens up is far nicer than the old xforms behavior 
(from the 1.1.x days, what I'm familiar with).

Many thanks,

f.




Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
Hi all,

first of all, a HUGE thank you to the LyX team for putting out the 
long-awaited QT-based LyX.  This thing is just absolutely beautiful!

I hope I never, ever again have to see an Xforms-based program in my life.  We 
are all grateful to xforms because it gave us lyx for all these years before 
the qt frontend existed.  But now, that visual and functional horror can die 
the merciful death it deserves.

A couple of questions concerning the new front end.  I'm using the RedHat 8 
rpms from the lyx ftp site (thanks also for providing those).  All seems to 
work great, I'd just like to know:

- is it possible to get lyx to remember its window size? I had it set via 
.Xdefaults but the new front end seems to ignore this. No biggie, but it's a 
bit annoying to have it open a tiny window every time.

- How can I turn on the instant-preview feature?  I can't seem to find a 
toggle for it in any dialog.

- Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
functions by simply typing a letter or two and hitting tab to see what came 
out.  Is there an alternate way to get this behavior?


Anyway, thanks again for this version.  You guys have put in a lot of hard 
work, and we (users) truly appreciate it.

Cheers,

f.




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Fri, 7 Feb 2003, Angus Leeming wrote:

 Fernando Perez wrote:
  - How can I turn on the instant-preview feature?  I can't seem to find a
  toggle for it in any dialog.
 
 Edit-Preferences dialog.
 Look and Feel-Graphics pane
 Instant preview checkbox

Silly me.  I actually had this on but thought there was a different option for 
it b/c it didn't work.  I hadn't realized I needed the files from the 
sourceforge page first for this to work.  It might not hurt (just to avoid 
stupid questions like mine) to put a little note on that checkbox indicating 
that the preview-latex package from Sourceforge is needed for the feature to 
work.

The funny thing is, now that the 'normal' (blue math) lyx math rendering uses 
anti-aliased fonts, I think I almost prefer to use that to the instant-preview 
mode.  While it's nice to see the latex rendering there, it just looks a bit 
clunky next to the smooth fonts of the rest.  Any chance of activating 
anti-aliasing for those code snippets (gv does it, so I figure it must be 
doable).  I know, us users are never satisfied :)

But regardless, it's really a great feature to have especially when dealing 
with really complex formulas where the formatting is non-trivial.

  - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx
  functions by simply typing a letter or two and hitting tab to see what
  came out.  Is there an alternate way to get this behavior?
 
 works with xforms ;-)
 
 As it says in the ANNOUNCE file (which was posted to this list too), the Qt 
 frontend is mostly feature complete. Which means that we wanted you all 
 to enjoy where we've got to now rather than wait six months for us to 
 polish it.

And I think it was an excellent decision.  It seems perfectly functional to 
me, and I'm sure all the small wrinkles will get ironed out in due time.


Best regards,

Fernando.




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Fri, 7 Feb 2003, Angus Leeming wrote:

   - How can I turn on the instant-preview feature?  I can't seem to find
   a toggle for it in any dialog.
  
  Edit-Preferences dialog.
  Look and Feel-Graphics pane
  Instant preview checkbox
  
  Silly me.  I actually had this on but thought there was a different option
  for
  it b/c it didn't work.  I hadn't realized I needed the files from the
  sourceforge page first for this to work.  It might not hurt (just to avoid
  stupid questions like mine) to put a little note on that checkbox
  indicating that the preview-latex package from Sourceforge is needed for
  the feature to work.
 
 Or deactivate the checkbox. Maybe.

If you do so, make sure a little info is given as to why it's inactive, so 
users who want the feature know what they need to add to turn it back on.  
Once you know what the necessary package is, fixing the problem is trivial.  
It would be a shame to have users lose this because of not knowing what they 
need to add to make it work.

  The funny thing is, now that the 'normal' (blue math) lyx math rendering
  uses anti-aliased fonts, I think I almost prefer to use that to the
  instant-preview mode.  While it's nice to see the latex rendering 
  there, it just looks a bit clunky next to the smooth fonts of the rest.
  Any chance of activating anti-aliasing for those code snippets (gv 
  does it, so I anti-aliasing for those code snippets (gv does it, so
  I figure it must be doable).  I know, us users are never satisfied :)
 
 We have to accommodate the lowest common denominator. Old versions of gs
 tend to die a nasty death if anti-aliasing is too high. Fortunately for you, 
 we use a script to control the creation of the preview bitmaps, so you can 
 tune to your heart's content.
 
 You'll find the script in LYSSHARE/scripts/lyxpreview2bitmap.sh, where
 LYSSHARE is usually /usr/local/share/lyx/.
 
 Look for
 ALPHA=4
 if [ ${INT_RESOLUTION} -gt 150 ]; then
 ALPHA=2
 fi
 
 gs -q -dNOPAUSE -dBATCH -dSAFER \
 -sDEVICE=${GSDEVICE} -sOutputFile=${BASE}%d.${GSSUFFIX} \
 -dGraphicsAlphaBit=${ALPHA} -dTextAlphaBits=${ALPHA} \

Great!!!  Thanks.  It seems like RedHat 8.0's gs is perfectly happy with 
ALPHA=4 (but no higher, 5 or above crashes it) so I just commented out the if 
clause entirely.  BTW, in the RH8.0 binary rpm, LYXSHARE is /usr/share/lyx (no 
local needed).

Best regards, and thanks again.  The beauty of open-source software where 
developers answer questions. You guys rock.

Fernando.




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Angus Leeming
Fernando Perez wrote:
> - How can I turn on the instant-preview feature?  I can't seem to find a
> toggle for it in any dialog.

Edit->Preferences dialog.
Look and Feel->Graphics pane
Instant preview checkbox

> - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx
> functions by simply typing a letter or two and hitting tab to see what
> came out.  Is there an alternate way to get this behavior?

works with xforms ;-)

As it says in the ANNOUNCE file (which was posted to this list too), the Qt 
frontend is "mostly feature complete". Which means that we wanted you all 
to enjoy where we've got to now rather than wait six months for us to 
polish it.

> Anyway, thanks again for this version.  You guys have put in a lot of hard
> work, and we (users) truly appreciate it.

Speaking for myself only, it's a pleasure ;-)

-- 
Angus




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Matej Cepl
Fernando Perez wrote:
> - is it possible to get lyx to remember its window size? I had
> it set via .Xdefaults but the new front end seems to ignore
> this. No biggie, but it's a bit annoying to have it open a tiny
> window every time.

In the application menu (with default KDE facelift, it is click
on the left top corner of the window) click on Save Settings.

Have a nice day,

   Matej

-- 
Matej Cepl,
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will Rogers




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Angus Leeming
Fernando Perez wrote:

> On Fri, 7 Feb 2003, Angus Leeming wrote:
> 
>> Fernando Perez wrote:
>> > - How can I turn on the instant-preview feature?  I can't seem to find
>> > a toggle for it in any dialog.
>> 
>> Edit->Preferences dialog.
>> Look and Feel->Graphics pane
>> Instant preview checkbox
> 
> Silly me.  I actually had this on but thought there was a different option
> for
> it b/c it didn't work.  I hadn't realized I needed the files from the
> sourceforge page first for this to work.  It might not hurt (just to avoid
> stupid questions like mine) to put a little note on that checkbox
> indicating that the preview-latex package from Sourceforge is needed for
> the feature to work.

Or deactivate the checkbox. Maybe.

> The funny thing is, now that the 'normal' (blue math) lyx math rendering
> uses anti-aliased fonts, I think I almost prefer to use that to the
> instant-preview mode.  While it's nice to see the latex rendering 
> there, it just looks a bit clunky next to the smooth fonts of the rest.
> Any chance of activating anti-aliasing for those code snippets (gv 
> does it, so I anti-aliasing for those code snippets (gv does it, so
> I figure it must be doable).  I know, us users are never satisfied :)

We have to accommodate the lowest common denominator. Old versions of gs
tend to die a nasty death if anti-aliasing is too high. Fortunately for you, 
we use a script to control the creation of the preview bitmaps, so you can 
tune to your heart's content.

You'll find the script in LYSSHARE/scripts/lyxpreview2bitmap.sh, where
LYSSHARE is usually /usr/local/share/lyx/.

Look for
ALPHA=4
if [ ${INT_RESOLUTION} -gt 150 ]; then
ALPHA=2
fi

gs -q -dNOPAUSE -dBATCH -dSAFER \
-sDEVICE=${GSDEVICE} -sOutputFile=${BASE}%d.${GSSUFFIX} \
-dGraphicsAlphaBit=${ALPHA} -dTextAlphaBits=${ALPHA} \

-- 
Angus




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread John Levon
On Fri, Feb 07, 2003 at 12:23:03PM -0700, Fernando Perez wrote:

> - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
> functions by simply typing a letter or two and hitting tab to see what came 
> out.  Is there an alternate way to get this behavior?

Try right-arrow instead. Tab is generally used for switching betweeen
widgets. I plan  to look again at getting this working soon

john



Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Sat, 8 Feb 2003, John Levon wrote:

> On Fri, Feb 07, 2003 at 12:23:03PM -0700, Fernando Perez wrote:
> 
> > - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
> > functions by simply typing a letter or two and hitting tab to see what came 
> > out.  Is there an alternate way to get this behavior?
> 
> Try right-arrow instead. Tab is generally used for switching betweeen
> widgets. I plan  to look again at getting this working soon

Great. Works perfectly!  A bit counter-intuitive (for command-typing, TAB is 
pretty much hard-wired in my brain at this point ;) but it gets the job done.  
And the qt drop-list that opens up is far nicer than the old xforms behavior 
(from the 1.1.x days, what I'm familiar with).

Many thanks,

f.




Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
Hi all,

first of all, a HUGE thank you to the LyX team for putting out the 
long-awaited QT-based LyX.  This thing is just absolutely beautiful!

I hope I never, ever again have to see an Xforms-based program in my life.  We 
are all grateful to xforms because it gave us lyx for all these years before 
the qt frontend existed.  But now, that visual and functional horror can die 
the merciful death it deserves.

A couple of questions concerning the new front end.  I'm using the RedHat 8 
rpms from the lyx ftp site (thanks also for providing those).  All seems to 
work great, I'd just like to know:

- is it possible to get lyx to remember its window size? I had it set via 
.Xdefaults but the new front end seems to ignore this. No biggie, but it's a 
bit annoying to have it open a tiny window every time.

- How can I turn on the instant-preview feature?  I can't seem to find a 
toggle for it in any dialog.

- Is tab-completion gone from the mini-buffer?  I learned a lot about lyx 
functions by simply typing a letter or two and hitting tab to see what came 
out.  Is there an alternate way to get this behavior?


Anyway, thanks again for this version.  You guys have put in a lot of hard 
work, and we (users) truly appreciate it.

Cheers,

f.




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Fri, 7 Feb 2003, Angus Leeming wrote:

> Fernando Perez wrote:
> > - How can I turn on the instant-preview feature?  I can't seem to find a
> > toggle for it in any dialog.
> 
> Edit->Preferences dialog.
> Look and Feel->Graphics pane
> Instant preview checkbox

Silly me.  I actually had this on but thought there was a different option for 
it b/c it didn't work.  I hadn't realized I needed the files from the 
sourceforge page first for this to work.  It might not hurt (just to avoid 
stupid questions like mine) to put a little note on that checkbox indicating 
that the preview-latex package from Sourceforge is needed for the feature to 
work.

The funny thing is, now that the 'normal' (blue math) lyx math rendering uses 
anti-aliased fonts, I think I almost prefer to use that to the instant-preview 
mode.  While it's nice to see the latex rendering there, it just looks a bit 
clunky next to the smooth fonts of the rest.  Any chance of activating 
anti-aliasing for those code snippets (gv does it, so I figure it must be 
doable).  I know, us users are never satisfied :)

But regardless, it's really a great feature to have especially when dealing 
with really complex formulas where the formatting is non-trivial.

> > - Is tab-completion gone from the mini-buffer?  I learned a lot about lyx
> > functions by simply typing a letter or two and hitting tab to see what
> > came out.  Is there an alternate way to get this behavior?
> 
> works with xforms ;-)
> 
> As it says in the ANNOUNCE file (which was posted to this list too), the Qt 
> frontend is "mostly feature complete". Which means that we wanted you all 
> to enjoy where we've got to now rather than wait six months for us to 
> polish it.

And I think it was an excellent decision.  It seems perfectly functional to 
me, and I'm sure all the small wrinkles will get ironed out in due time.


Best regards,

Fernando.




Re: Questions about the QT front end for the RH8 rpms

2003-02-07 Thread Fernando Perez
On Fri, 7 Feb 2003, Angus Leeming wrote:

> >> > - How can I turn on the instant-preview feature?  I can't seem to find
> >> > a toggle for it in any dialog.
> >> 
> >> Edit->Preferences dialog.
> >> Look and Feel->Graphics pane
> >> Instant preview checkbox
> > 
> > Silly me.  I actually had this on but thought there was a different option
> > for
> > it b/c it didn't work.  I hadn't realized I needed the files from the
> > sourceforge page first for this to work.  It might not hurt (just to avoid
> > stupid questions like mine) to put a little note on that checkbox
> > indicating that the preview-latex package from Sourceforge is needed for
> > the feature to work.
> 
> Or deactivate the checkbox. Maybe.

If you do so, make sure a little info is given as to why it's inactive, so 
users who want the feature know what they need to add to turn it back on.  
Once you know what the necessary package is, fixing the problem is trivial.  
It would be a shame to have users lose this because of not knowing what they 
need to add to make it work.

> > The funny thing is, now that the 'normal' (blue math) lyx math rendering
> > uses anti-aliased fonts, I think I almost prefer to use that to the
> > instant-preview mode.  While it's nice to see the latex rendering 
> > there, it just looks a bit clunky next to the smooth fonts of the rest.
> > Any chance of activating anti-aliasing for those code snippets (gv 
> > does it, so I anti-aliasing for those code snippets (gv does it, so
> > I figure it must be doable).  I know, us users are never satisfied :)
> 
> We have to accommodate the lowest common denominator. Old versions of gs
> tend to die a nasty death if anti-aliasing is too high. Fortunately for you, 
> we use a script to control the creation of the preview bitmaps, so you can 
> tune to your heart's content.
> 
> You'll find the script in LYSSHARE/scripts/lyxpreview2bitmap.sh, where
> LYSSHARE is usually /usr/local/share/lyx/.
> 
> Look for
> ALPHA=4
> if [ ${INT_RESOLUTION} -gt 150 ]; then
> ALPHA=2
> fi
> 
> gs -q -dNOPAUSE -dBATCH -dSAFER \
> -sDEVICE=${GSDEVICE} -sOutputFile=${BASE}%d.${GSSUFFIX} \
> -dGraphicsAlphaBit=${ALPHA} -dTextAlphaBits=${ALPHA} \

Great!!!  Thanks.  It seems like RedHat 8.0's gs is perfectly happy with 
ALPHA=4 (but no higher, 5 or above crashes it) so I just commented out the if 
clause entirely.  BTW, in the RH8.0 binary rpm, LYXSHARE is /usr/share/lyx (no 
local needed).

Best regards, and thanks again.  The beauty of open-source software where 
developers answer questions. You guys rock.

Fernando.