Re: preview - fontsize

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 5:15 pm, David Kastrup wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > On Tuesday 09 July 2002 3:46 pm, Jean-Marc Lasgouttes wrote: > > > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> > > > > writes: > > > > > > OK, OK... So latex will be run on this file a

Re: preview - fontsize

2002-07-09 Thread David Kastrup
Angus Leeming <[EMAIL PROTECTED]> writes: > On Tuesday 09 July 2002 3:46 pm, Jean-Marc Lasgouttes wrote: > > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > > > OK, OK... So latex will be run on this file anyway? Why not write on > > the log file the values you are looking for? >

Re: preview - fontsize

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 4:07 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I think that /this/ is the right solution. I'd like the default > Angus> font size and the ascent, descent info written to the log file. > > Angus> The latter is nee

Re: preview - fontsize

2002-07-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I think that /this/ is the right solution. I'd like the default Angus> font size and the ascent, descent info written to the log file. Angus> The latter is needed for those (in the future) who use dvipng Angus> and so cannot extra

Re: preview - fontsize

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 3:46 pm, Jean-Marc Lasgouttes wrote: > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Herbert> this is absoluetely unimportant > > It is for me. > > >> What about just adding DefaultFontSize to ClassOptions? I will > >> provide the patch if herbert accepts

Re: preview - fontsize

2002-07-09 Thread David Kastrup
Herbert Voss <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: > > >>"Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > >> > > Herbert> the patch to get the default fontsize from the classfile if > > Herbert> the "default" was chosen from inside LyX. > > I see I am a tiny bi

Re: preview - fontsize

2002-07-09 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> this is absoluetely unimportant It is for me. >> What about just adding DefaultFontSize to ClassOptions? I will >> provide the patch if herbert accepts that. Herbert> and you are the man who will have a permanent look at CTA

Re: preview - fontsize

2002-07-09 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: >>"Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: >> > > Herbert> the patch to get the default fontsize from the classfile if > Herbert> the "default" was chosen from inside LyX. > > I see I am a tiny bit late becasue this is already in cvs, but I would

Re: preview - fontsize

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 3:16 pm, Jean-Marc Lasgouttes wrote: > 'nice file' is supposed to create a latex file which is human readable > (and not with one word per line). Basically, it is true when you do > export-to-latex and false when you do create-latex-to-typeset it. I am > not sure what effec

Re: preview - fontsize

2002-07-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Tuesday 09 July 2002 2:46 pm, Angus Leeming wrote: >> > I see I am a tiny bit late becasue this is already in cvs, but I >> would > have much preferred to add this information to the layout >> files, > rather than trying to read

Re: preview - fontsize

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 2:46 pm, Angus Leeming wrote: > > I see I am a tiny bit late becasue this is already in cvs, but I would > > have much preferred to add this information to the layout files, > > rather than trying to read the .cls files. We are not even sure that > > all class files have \E

Re: preview - fontsize

2002-07-09 Thread Andre Poenitz
On Tue, Jul 09, 2002 at 04:01:16PM +0200, Jean-Marc Lasgouttes wrote: > I see I am a tiny bit late becasue this is already in cvs, but I would > have much preferred to add this information to the layout files, > rather than trying to read the .cls files. We are not even sure that > all class files

Re: preview - fontsize

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 3:01 pm, Jean-Marc Lasgouttes wrote: > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Herbert> the patch to get the default fontsize from the classfile if > Herbert> the "default" was chosen from inside LyX. > > I see I am a tiny bit late becasue this is al

Re: preview - fontsize

2002-07-09 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> the patch to get the default fontsize from the classfile if Herbert> the "default" was chosen from inside LyX. I see I am a tiny bit late becasue this is already in cvs, but I would have much preferred to add this information t

Re: preview - fontsize

2002-07-08 Thread Herbert Voss
Angus Leeming wrote: > > Interestingly (and this isn't your fault) the last equation is "cropped" at > the base. André, is it common to have to add non-zero numbers to the > ascenders/descenders to get things displayed? hm, I never saw this in my formulas. did you looked at the original pp-f

Re: preview - fontsize

2002-07-08 Thread Andre Poenitz
On Mon, Jul 08, 2002 at 07:11:13PM +0100, Angus Leeming wrote: > Works beautifully and I've applied it. > > Interestingly (and this isn't your fault) the last equation is "cropped" at > the base. André, is it common to have to add non-zero numbers to the > ascenders/descenders to get things di

Re: preview - fontsize

2002-07-08 Thread Angus Leeming
On Monday 08 July 2002 5:52 pm, Herbert Voss wrote: > the patch to get the default fontsize from the classfile if > the "default" was chosen from inside LyX. > > Herbert Works beautifully and I've applied it. Interestingly (and this isn't your fault) the last equation is "cropped" at the base.

Re: preview - fontsize

2002-07-08 Thread Herbert Voss
Angus Leeming wrote: > Is this not cleaner (want to check it's still correct) a question of philosophy ... > > class PreviewLoader::Impl { > /// Per buffer, since different buffers have different class files. > double scale_to_fit_; > }; > > double PreviewLoader::Impl::scaleToFit

Re: preview - fontsize

2002-07-08 Thread Angus Leeming
On Monday 08 July 2002 6:28 pm, Herbert Voss wrote: > Angus Leeming wrote: > > On Monday 08 July 2002 6:21 pm, Herbert Voss wrote: > >>Angus Leeming wrote: > >>>+ string const fontsize_(tmp.params.fontsize + "pt"); > >>>... > >>>+ ::preview_size_factor = 9.0 / strToDbl(fontsize_) ; > >

Re: preview - fontsize

2002-07-08 Thread Herbert Voss
Angus Leeming wrote: > On Monday 08 July 2002 6:21 pm, Herbert Voss wrote: > >>Angus Leeming wrote: >> >>>+ string const fontsize_(tmp.params.fontsize + "pt"); >>>... >>>+ ::preview_size_factor = 9.0 / strToDbl(fontsize_) ; >>>I don't think you mean this! >>> >>? >> > > My turn

Re: preview - fontsize

2002-07-08 Thread Angus Leeming
On Monday 08 July 2002 6:21 pm, Herbert Voss wrote: > Angus Leeming wrote: > > + string const fontsize_(tmp.params.fontsize + "pt"); > > ... > > + ::preview_size_factor = 9.0 / strToDbl(fontsize_) ; > > I don't think you mean this! > > ? My turn with the ? strToDbl(9pt) ?

Re: preview - fontsize

2002-07-08 Thread Herbert Voss
Angus Leeming wrote: > + string const fontsize_(tmp.params.fontsize + "pt"); > ... > + ::preview_size_factor = 9.0 / strToDbl(fontsize_) ; > I don't think you mean this! ? Herbert -- http://www.lyx.org/help/

Re: preview - fontsize

2002-07-08 Thread Angus Leeming
On Monday 08 July 2002 5:52 pm, Herbert Voss wrote: > the patch to get the default fontsize from the classfile if > the "default" was chosen from inside LyX. > > Herbert Errr... + string const fontsize_(tmp.params.fontsize + "pt"); ... + ::preview_size_factor = 9.0 / strToDbl(fontsize

preview - fontsize

2002-07-08 Thread Herbert Voss
the patch to get the default fontsize from the classfile if the "default" was chosen from inside LyX. Herbert -- http://www.lyx.org/help/ ? PreviewLoader.o.lock Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/sr