John Levon <[EMAIL PROTECTED]> writes:
| On Mon, Jul 08, 2002 at 09:53:07AM +0100, Angus Leeming wrote:
>
>> I really like Lars' idea of a separate thread, especially if we combine it
>> with an intelligent queue so we can send off 40 equations or so at a time.
>
| Do we really need a thread rat
Angus Leeming wrote:
>
> Jürgen, I'm sinking fast in a pile of poo. However I think that this gives me
> the paragraph that is currently visible at the top of the LyX screen.
#:O)
> BufferView * bv = ...; // I have a cached copy of this.
Where are you here. Where should the below piece of cod
On Tuesday 09 July 2002 8:28 am, Juergen Vigna wrote:
> Angus Leeming wrote:
> > On Monday 08 July 2002 4:36 pm, Juergen Vigna wrote:
> >>Ok. No we don't have a isVisible function right now and I don't think
> >>this is easy to make as the "visibility" depends on the x,baseline
> >>values passed a
Angus Leeming wrote:
> On Monday 08 July 2002 4:36 pm, Juergen Vigna wrote:
>
>>Ok. No we don't have a isVisible function right now and I don't think
>>this is easy to make as the "visibility" depends on the x,baseline
>>values passed as parameters to draw, which could change if I have to
>>rebre
"Garst R. Reese" <[EMAIL PROTECTED]> writes:
> Andre Poenitz wrote:
> >
> > On Mon, Jul 08, 2002 at 12:17:08PM +0200, Herbert Voss wrote:
> > > >I usually scroll to the bottom of the doc and continue working from there.
> > > >So "usually" I'll see most things jsut once, but I'll see them.
> > >
On Monday 08 July 2002 4:36 pm, Juergen Vigna wrote:
> Ok. No we don't have a isVisible function right now and I don't think
> this is easy to make as the "visibility" depends on the x,baseline
> values passed as parameters to draw, which could change if I have to
> rebreak the text after the load
On Monday 08 July 2002 4:50 pm, Garst R. Reese wrote:
> Why not have a preview toggle. There might even be events that
> automagically toggle it, but there are times when I do a lot of
> scrolling around looking for stuff that I forgot if I even wrote. A
> simple way to toggle graphics and preview
On Mon, Jul 08, 2002 at 12:50:57PM -0300, Garst R. Reese wrote:
> Why not have a preview toggle.
The 'use preview option' could serve as such. The only missing thing would
be a LFUN to allow key bindings...
Andre'
--
Those who desire to give up Freedom in order to gain Security,
will not have
Angus Leeming wrote:
> We're talking about /exactly/ the same thing.
Well I said I have the impression when I read your last post ;)
> I /want/ to invoke startLoading() from within Inset::draw.
>
> I /do not want/ to do it without a little care.
>
> I envisage something like:
>
> Image::star
On Monday 08 July 2002 4:02 pm, Juergen Vigna wrote:
> > I don't think you're wrong. I'd just like to implement it so that the
> > Inset does as little as possible. I think I see how we'd do this, but I
> > need your help to turn it into working code.
> >
> > The plan
> > ===
> > 1. Don't load
> I don't think you're wrong. I'd just like to implement it so that the Inset
> does as little as possible. I think I see how we'd do this, but I need your
> help to turn it into working code.
>
> The plan
> ===
> 1. Don't load all image files once they are converted.
> 2. insets ascertain
On Mon, Jul 08, 2002 at 03:34:51PM +0100, Angus Leeming wrote:
> On Monday 08 July 2002 3:48 pm, Andre Poenitz wrote:
> > > So,, Jürgen, what should I use for "inset->isVisible()". I have a Buffer
> > > & at my disposal.
> >
> > Ah... good that you are not asking me.
> >
> > Andre'
>
> what happe
On Monday 08 July 2002 3:48 pm, Andre Poenitz wrote:
> > So,, Jürgen, what should I use for "inset->isVisible()". I have a Buffer
> > & at my disposal.
>
> Ah... good that you are not asking me.
>
> Andre'
what happens if I s/Jürgen/Andre'/ in the above?
Angus
On Mon, Jul 08, 2002 at 03:18:26PM +0100, Angus Leeming wrote:
> I don't think you're wrong. I'd just like to implement it so that the Inset
> does as little as possible. I think I see how we'd do this, but I need your
> help to turn it into working code.
>
> The plan
> ===
> 1. Don't load
On Monday 08 July 2002 1:17 pm, Juergen Vigna wrote:
> Angus Leeming wrote:
> > Could you two great minds think of ways of improving the interface to do
> > what we'd like to do. The rest should be hidden inside the
> > implementation.
>
> Well I cannot comment on your implementation (I don't have
Angus Leeming wrote:
> Could you two great minds think of ways of improving the interface to do what
> we'd like to do. The rest should be hidden inside the implementation.
Well I cannot comment on your implementation (I don't have the time
to look over it in detail), but I will give you a real
On Monday 08 July 2002 11:34 am, Andre Poenitz wrote:
> On Mon, Jul 08, 2002 at 12:29:46PM +0200, Juergen Vigna wrote:
> > >I do not want any preview code in the BufferView (nor in the Buffer, nor
> > > in LyXText etc for that matter) And if that's not reason enough I'll
> > > call my big brothers
On Mon, Jul 08, 2002 at 12:31:46PM +0200, David Kastrup wrote:
> > LyX is a lousy text editor... typing 'G' certainly does not move to the end
> > of the buffer.
>
> If Ctrl-End would not do the trick, it would be much saner to
> implement that rather than promote Page Down as a substitute. It
>
On Mon, Jul 08, 2002 at 12:29:46PM +0200, Juergen Vigna wrote:
> >I do not want any preview code in the BufferView (nor in the Buffer, nor in
> >LyXText etc for that matter) And if that's not reason enough I'll call my
> >big brothers...
>
> Start to call then :)
Larss!
> This is no
Andre Poenitz <[EMAIL PROTECTED]> writes:
> On Mon, Jul 08, 2002 at 12:17:23PM +0200, David Kastrup wrote:
> > Then you deserve the punishment you get. People which instead jump
> > to the end of the document with a single cursor positioning command
> > (I presume somthing like this exists) don'
Andre Poenitz wrote:
> On Mon, Jul 08, 2002 at 12:18:51PM +0200, Juergen Vigna wrote:
>
>>>What do you think. Is this possible?
>>
>>Not in the first go, but with a bit of work maybe yes. This implies
>>that not InsetGraphics::draw() does the loading if needed but most
>>probably the BufferView h
Andre Poenitz wrote:
> On Mon, Jul 08, 2002 at 11:54:29AM +0200, David Kastrup wrote:
>
>>My pleasure. You don't want to load 1000 image files into LyX when a
>>majority of them will never be displayed on screen since it is highly
>>unlikely that a particular editing session will rediplay the en
Andre Poenitz wrote:
> I'd do that, but on the loader side:
>
> If an item is added to the 'to-be-loaded list', start a time out of a
> second or so, and only if there are no new items added to that list, start
> the actual loading, otherwise restart the timer. The more advanced version
> of that
On Mon, Jul 08, 2002 at 12:18:51PM +0200, Juergen Vigna wrote:
> >What do you think. Is this possible?
>
> Not in the first go, but with a bit of work maybe yes. This implies
> that not InsetGraphics::draw() does the loading if needed but most
> probably the BufferView has to do this then explici
On Mon, Jul 08, 2002 at 12:17:23PM +0200, David Kastrup wrote:
> Then you deserve the punishment you get. People which instead jump
> to the end of the document with a single cursor positioning command
> (I presume somthing like this exists) don't need to be punished
> likewise.
LyX is a lousy t
On Mon, Jul 08, 2002 at 12:17:08PM +0200, Herbert Voss wrote:
> >I usually scroll to the bottom of the doc and continue working from there.
> >So "usually" I'll see most things jsut once, but I'll see them.
>
> and where is the sense to see all the tons of previews,
> when your screen at the end
Angus Leeming wrote:
>
> Yes. This it would make sense to do this too. That's the first thing on my
> list of improvements. We'll see if that provides "acceptable" performance.
>
> Along these lines, I think if it's a good idea if we can prevent loading
> while we're scrolling. Ie, if I'm movi
Andre Poenitz wrote:
> On Mon, Jul 08, 2002 at 11:54:29AM +0200, David Kastrup wrote:
>
>>My pleasure. You don't want to load 1000 image files into LyX when a
>>majority of them will never be displayed on screen since it is highly
>>unlikely that a particular editing session will rediplay the e
Andre Poenitz <[EMAIL PROTECTED]> writes:
> On Mon, Jul 08, 2002 at 11:54:29AM +0200, David Kastrup wrote:
> > My pleasure. You don't want to load 1000 image files into LyX when a
> > majority of them will never be displayed on screen since it is highly
> > unlikely that a particular editing ses
On Mon, Jul 08, 2002 at 11:54:29AM +0200, David Kastrup wrote:
> My pleasure. You don't want to load 1000 image files into LyX when a
> majority of them will never be displayed on screen since it is highly
> unlikely that a particular editing session will rediplay the entire
> document. Load the
On Mon, Jul 08, 2002 at 10:36:03AM +0100, Angus Leeming wrote:
> Along these lines, I think if it's a good idea if we can prevent loading
> while we're scrolling. Ie, if I'm moving the view using the scrollbar or the
> arrow keys, loading should be disabled. Only when I've stopped this and the
Angus Leeming <[EMAIL PROTECTED]> writes:
> On Monday 08 July 2002 10:24 am, John Levon wrote:
> > On Mon, Jul 08, 2002 at 09:53:07AM +0100, Angus Leeming wrote:
> > > I really like Lars' idea of a separate thread, especially if we combine
> > > it with an intelligent queue so we can send off 40
On Monday 08 July 2002 10:44 am, Juergen Vigna wrote:
> Angus Leeming wrote:
> >>_PLEASE_ enlighten me here. Are you talking about _loading_ or about
> >>_converting_ or maybe about both? I think we should make a distinction
> >>about _convert_ an image and _load/draw_ and image.
> >
> > Just load
On Monday 08 July 2002 10:43 am, Herbert Voss wrote:
> Angus Leeming wrote:
> > On Monday 08 July 2002 10:26 am, Herbert Voss wrote:
> >>Angus Leeming wrote:
> >>> <<
> >>>"\\usepackage[active,delayed,dvips,tightpage,showlabels]{preview}\n" <<
> >>>"\n";
> >>>
> >>>I'm unable to get the equation
Angus Leeming wrote:
>>_PLEASE_ enlighten me here. Are you talking about _loading_ or about
>>_converting_ or maybe about both? I think we should make a distinction
>>about _convert_ an image and _load/draw_ and image.
>
>
> Just loading.
>
> The preview code will gather all the latex snippets
Angus Leeming wrote:
> On Monday 08 July 2002 10:26 am, Herbert Voss wrote:
>
>>Angus Leeming wrote:
>>
>>> <<
>>>"\\usepackage[active,delayed,dvips,tightpage,showlabels]{preview}\n" <<
>>>"\n";
>>>
>>>I'm unable to get the equation labels, presumably because I run latex
>>>only once. Is that
On Monday 08 July 2002 10:24 am, John Levon wrote:
> On Mon, Jul 08, 2002 at 09:53:07AM +0100, Angus Leeming wrote:
> > I really like Lars' idea of a separate thread, especially if we combine
> > it with an intelligent queue so we can send off 40 equations or so at a
> > time.
>
> Do we really nee
On Monday 08 July 2002 10:24 am, Juergen Vigna wrote:
> Angus Leeming wrote:
> > On Monday 08 July 2002 10:05 am, Juergen Vigna wrote:
> >>Andre Poenitz wrote:
> >>>Yes. I am still unable to read some documentation containing lots of
> >>>screenshots created with 1.1.6fix4 with neither 1.2.0 n
On Monday 08 July 2002 10:26 am, Herbert Voss wrote:
> Angus Leeming wrote:
> ><<
> > "\\usepackage[active,delayed,dvips,tightpage,showlabels]{preview}\n" <<
> > "\n";
> >
> > I'm unable to get the equation labels, presumably because I run latex
> > only once. Is that right? Will I need multip
Angus Leeming wrote:
><< "\\usepackage[active,delayed,dvips,tightpage,showlabels]{preview}\n"
> << "\n";
>
> I'm unable to get the equation labels, presumably because I run latex only
> once. Is that right? Will I need multiple passes.
>
> Does the showlabels option give me "eq: some eq
On Mon, Jul 08, 2002 at 09:53:07AM +0100, Angus Leeming wrote:
> I really like Lars' idea of a separate thread, especially if we combine it
> with an intelligent queue so we can send off 40 equations or so at a time.
Do we really need a thread rather than a process ?
john
--
"If a thing is n
Angus Leeming wrote:
> On Monday 08 July 2002 10:05 am, Juergen Vigna wrote:
>
>>Andre Poenitz wrote:
>>
>>>Yes. I am still unable to read some documentation containing lots of
>>>screenshots created with 1.1.6fix4 with neither 1.2.0 nor 1.3.0cvs.
>>
>>IMO you're mixing stuff here. InsetGr
Angus Leeming wrote:
> Yes. Unfortunately if I have 1000 equations in a thesis then loading them all
> takes a significant chunk of time. Minutes.
I have sometimes formulas over nearly one page. This takes also
some time to build the preview.
Herbert
--
http://www.lyx.org/help/
On Monday 08 July 2002 10:05 am, Juergen Vigna wrote:
> Andre Poenitz wrote:
> > Yes. I am still unable to read some documentation containing lots of
> > screenshots created with 1.1.6fix4 with neither 1.2.0 nor 1.3.0cvs.
>
> IMO you're mixing stuff here. InsetGraphics right now still starts
> to
On Sunday 07 July 2002 9:23 pm, David Kastrup wrote:
> Herbert Voss <[EMAIL PROTECTED]> writes:
> > Angus Leeming wrote:
> >
> > whith the geometry-package loaded I got something like the attached
> > gif. The equationnumber is outside of the
> > workarea -> the (for the preview wrong) textwidth
>
Andre Poenitz wrote:
> Yes. I am still unable to read some documentation containing lots of
> screenshots created with 1.1.6fix4 with neither 1.2.0 nor 1.3.0cvs.
IMO you're mixing stuff here. InsetGraphics right now still starts
to convert the image when it should be displayed and that is what
y
On Mon, Jul 08, 2002 at 09:42:34AM +0200, Juergen Vigna wrote:
> Well normal graphics should do that anyway! I don't know if that
> would help for stuff like preview, but it wouldn't be worse too,
> would it?
Certainly not.
> >But when we need it there is a delay of up to several(!) seconds. Not
Andre Poenitz wrote:
> On Mon, Jul 08, 2002 at 09:17:28AM +0200, Juergen Vigna wrote:
>
>>What problem do you see here?
>
>
> The cursor jumps wildly when scrolling down the documents. To a degree that
> LyX is unusable if you have lots of images. I believe storing the image
> size in the .lyx
On Mon, Jul 08, 2002 at 09:17:28AM +0200, Juergen Vigna wrote:
> What problem do you see here?
The cursor jumps wildly when scrolling down the documents. To a degree that
LyX is unusable if you have lots of images. I believe storing the image
size in the .lyx file might improve the situation a lo
Andre Poenitz wrote:
> On Sat, Jul 06, 2002 at 12:31:16PM +0100, Angus Leeming wrote:
>
>>I'm sure that the wizards will be able to help here. Wizards, are you reading
>>this? I'd like to generate small batches of these previews, say for the first
>>three or four screen heights. Thereafter, if
On Sat, Jul 06, 2002 at 09:08:09PM +0200, Lars Gullik Bjønnes wrote:
> IMHO this is perfect for either a separate process or a thread...,
We dont' have threads yet, do we?
> we would then push conversion requests onto a queue, and the queue
> would pop requests off this queue, handle it, and put
On Sat, Jul 06, 2002 at 12:31:16PM +0100, Angus Leeming wrote:
> I'm sure that the wizards will be able to help here. Wizards, are you reading
> this? I'd like to generate small batches of these previews, say for the first
> three or four screen heights. Thereafter, if I arrive at an inset for w
Angus Leeming <[EMAIL PROTECTED]> writes:
> I'm sure that the wizards will be able to help here. Wizards, are
> you reading this? I'd like to generate small batches of these
> previews, say for the first three or four screen
> heights. Thereafter, if I arrive at an inset for which a preview
> has
Herbert Voss <[EMAIL PROTECTED]> writes:
> Angus Leeming wrote:
>
> whith the geometry-package loaded I got something like the attached
> gif. The equationnumber is outside of the
> workarea -> the (for the preview wrong) textwidth
> from geometry was taken for the image width.
>
> \usepackage{
Kornel Benko <[EMAIL PROTECTED]> writes:
> On Friday 05 July 2002 23:08, Angus Leeming wrote:
>
> > I've just submitted my workings on the preview code to
> > CVS. Attached is a screen shot of what you can now expect. As you
> > can see, I've just about resolved the positioning of the preview
> >
Herbert Voss wrote:
> Angus Leeming wrote:
>
> whith the geometry-package loaded I got something like
> the attached gif. The equationnumber is outside of the
> workarea -> the (for the preview wrong) textwidth
> from geometry was taken for the image width.
>
> \usepackage{geometry}
> \g
Angus Leeming <[EMAIL PROTECTED]> writes:
| I'm sure that the wizards will be able to help here. Wizards, are
| you reading this? I'd like to generate small batches of these
| previews, say for the first three or four screen heights.
| Thereafter, if I arrive at an inset for which a preview hasn'
Angus Leeming wrote:
whith the geometry-package loaded I got something like
the attached gif. The equationnumber is outside of the
workarea -> the (for the preview wrong) textwidth
from geometry was taken for the image width.
\usepackage{geometry}
\geometry{blah ... blah}
should be ignored in
On Saturday 06 July 2002 1:41 pm, Kornel Benko wrote:
> On Saturday 06 July 2002 13:20, Angus Leeming wrote:
> > I've just committed a fix; I was applying the right metrics info to the
> > wrong image!
>
> I didn't notice it before ...
> The background of the created previes is little different to
-BEGIN PGP SIGNED MESSAGE-
On Saturday 06 July 2002 13:20, Angus Leeming wrote:
> I've just committed a fix; I was applying the right metrics info to the
> wrong image!
I didn't notice it before ...
The background of the created previes is little different to the
screen-background. See a
On Friday 05 July 2002 10:47 pm, David Kastrup wrote:
> > Incidentally, if you load a document with LOTS of equations, don't expect
> > to see anything soon. We only load the images into LyX once gs has
> > finished generating ALL the bitmap files.
> >
> > I've just tried with a Thesis containing
On Saturday 06 July 2002 11:52 am, Kornel Benko wrote:
> On Friday 05 July 2002 23:08, Angus Leeming wrote:
> > I've just submitted my workings on the preview code to CVS. Attached is a
> > screen shot of what you can now expect. As you can see, I've just about
> > resolved the positioning of the
-BEGIN PGP SIGNED MESSAGE-
On Friday 05 July 2002 23:08, Angus Leeming wrote:
> I've just submitted my workings on the preview code to CVS. Attached is a
> screen shot of what you can now expect. As you can see, I've just about
> resolved the positioning of the preview on the screen. Ther
Angus Leeming <[EMAIL PROTECTED]> writes:
> You'll also need to grab a copy of preview-latex. I grabbed the most recent
> stable version, preview-latex-0.7.2b.tar.gz from
> http://prdownloads.sourceforge.net/preview-latex
>
> Actually, you'll need just the preview.sty .def and .cfg files
I've just submitted my workings on the preview code to CVS. Attached is a
screen shot of what you can now expect. As you can see, I've just about
resolved the positioning of the preview on the screen. There may be an
off-by-one problem.
To get the equivalent of this image yourself, you should
65 matches
Mail list logo