Re: Popups/Layouts

2000-01-12 Thread Jose Abilio Oliveira Matos
On Fri, Jan 07, 2000 at 09:14:40AM +0100, Juergen Vigna wrote: > Rehi Jose! Don't you think this taking too far the idea of code reuse? ;-) > On 06-Jan-2000 Jose Abilio Oliveira Matos wrote: > > > > There are other issues, the insets aren't supposed to be configured > > from the textclasses

Re: Popups/Layouts

2000-01-07 Thread Amir Karger
On Fri, Jan 07, 2000 at 02:49:56PM +0100, Jean-Marc Lasgouttes wrote: > > What I mean is that, there could be functions to handle a font stack > and output the right lyx commands. Or to say 'set layout to 'foo'. Or > to parse the .layout files and put relevant info in a data structure. > Or to bu

Re: Popups/Layouts

2000-01-07 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> For example for the documentation we could have different insets to >> refer to author name, for filenames, for button, menus or popup >> names. Ok, maybe this is too much markup, but it is an idea, what >> do other think? Andre> Some

Re: Popups/Layouts

2000-01-07 Thread Jean-Marc Lasgouttes
> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: Amir> I'm not sure I understand what you're asking. I suspect the Amir> answer would be "pretty difficult", because reLyX is I think Amir> pretty dependent on the input being LaTeX. What I mean is that, there could be functions to handle a

Re: Popups/Layouts

2000-01-07 Thread Juergen Vigna
On 06-Jan-2000 Andre Poenitz wrote: > > Maybe there is a Better Thing. The current LyX format is far from being > perfect. It works, yes, but it is not as simple as it could be and this > is a major pain when it comes to interoperation with the rest of the > world. > > Switch to some XMLish .ne

Re: Popups/Layouts

2000-01-07 Thread Juergen Vigna
Rehi Jose! On 06-Jan-2000 Jose Abilio Oliveira Matos wrote: > > There are other issues, the insets aren't supposed to be configured > from the textclasses. Also you need to translate some of the chars, like > < > & # % (maybe) ... > The docbook approach is a good first step for a general xml

Re: Popups/Layouts

2000-01-06 Thread Asger K. Alstrup Nielsen
> > and also, since Perl is a better text processor than C++, > > I thought Perl was a good-for-nothing write-only snail-speed language! I stay away from Perl, but the world is full of fools. > Well, my brother's a CS professor. When I was bragging at him about how > reLyX worked so well, as lo

Re: Popups/Layouts

2000-01-06 Thread Amir Karger
On Thu, Jan 06, 2000 at 08:37:31PM +0100, Asger K. Alstrup Nielsen wrote: > > Actually, why at the beginning LyX didn't write LaTeX directly but had > > its own LyX format? I suppose that's because LaTeX is too complicated to > > parse, right? > [lots of erudite discussion snipped] > The

Re: Popups/Layouts

2000-01-06 Thread Asger K. Alstrup Nielsen
Regarding the current discussion about the document model: At the moment, LyX supports linear paragraph, one-deep floats (footnotes), and insets. LyX does currently not support real nesting of content. I think of the problem like this: The document model is a tree. At the top, the root node is

Re: Popups/Layouts

2000-01-06 Thread Asger K. Alstrup Nielsen
> Actually, why at the beginning LyX didn't write LaTeX directly but had > its own LyX format? I suppose that's because LaTeX is too complicated to > parse, right? The primary reason is that LyX and LaTeX are not the same. LyX uses a document model which, granted, is close to LaTeX, but it

Re: Popups/Layouts

2000-01-06 Thread Seak, Teng-Fong
Andre Poenitz wrote: > Maybe there is a Better Thing. The current LyX format is far from being > perfect. It works, yes, but it is not as simple as it could be and this > is a major pain when it comes to interoperation with the rest of the > world. > > Switch to some XMLish .newlyx format, and pa

Re: Popups/Layouts

2000-01-06 Thread Amir Karger
On Thu, Jan 06, 2000 at 01:54:10PM +0100, Jean-Marc Lasgouttes wrote: > > "Jose" == Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes: > > Jose> No related but... the major difficulty in importing docbook in > Jose> lyx is the absence of a library to write the lyx format. Only > Jose> t

Re: Popups/Layouts

2000-01-06 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Maybe there is a Better Thing. The current LyX format is far Andre> from being perfect. It works, yes, but it is not as simple as Andre> it could be and this is a major pain when it comes to Andre> interoperation with the rest of t

Re: Popups/Layouts

2000-01-06 Thread Andre Poenitz
> Jose> No related but... the major difficulty in importing docbook in > Jose> lyx is the absence of a library to write the lyx format. Only > Jose> the idea of writing lyx format without help scares. I have done > Jose> this before with sgml2lyx, but I have lost the courage since > Jose> then..

Re: Popups/Layouts

2000-01-06 Thread Jean-Marc Lasgouttes
> "Jose" == Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes: Jose> No related but... the major difficulty in importing docbook in Jose> lyx is the absence of a library to write the lyx format. Only Jose> the idea of writing lyx format without help scares. I have done Jose> this before

Re: Popups/Layouts

2000-01-06 Thread Jose Abilio Oliveira Matos
On Thu, Jan 06, 2000 at 12:23:00PM +0100, Andre Poenitz wrote: > > That is true, one of my most expected features is a better inset, and also > > the possibility to have general insets. > > Ok, suppose it were practically possible to configure such a general inset > from a file (which I believ

Re: Popups/Layouts

2000-01-06 Thread Andre Poenitz
> That is true, one of my most expected features is a better inset, and also > the possibility to have general insets. Ok, suppose it were practically possible to configure such a general inset from a file (which I believe is at least theoretically possible). Would this be the prefered approac

Re: Popups/Layouts

2000-01-06 Thread Jose Abilio Oliveira Matos
On Thu, Jan 06, 2000 at 10:46:03AM +0100, Andre Poenitz wrote: > > There are other issues, the insets aren't supposed to be configured > > from the textclasses. > > I am aware of this but I do not know how this situation arose. > Is it just heritage? Partially it is heritage but I think tha

Re: Popups/Layouts

2000-01-06 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> It is just that not everything can be done from a layout >> description. Andre> I doubt that, at least from a theoretical point of view. Andre> Of course I have no idea how this could be done practically... You mean for example tha

Re: Popups/Layouts

2000-01-06 Thread Andre Poenitz
> Andre> Given that layouts are powerful and everything on a > Andre> sub-paragraph level is much more messy, I'd say it'd be nice to > Andre> be able to have sub-paragraph stuff in layouts, too. Is there > Andre> any rationale behind the current distinction? > > It is just that not everything ca

Re: Popups/Layouts

2000-01-06 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Given that layouts are powerful and everything on a Andre> sub-paragraph level is much more messy, I'd say it'd be nice to Andre> be able to have sub-paragraph stuff in layouts, too. Is there Andre> any rationale behind the current

Re: Popups/Layouts

2000-01-06 Thread Andre Poenitz
> There are other issues, the insets aren't supposed to be configured > from the textclasses. I am aware of this but I do not know how this situation arose. Is it just heritage? Given that layouts are powerful and everything on a sub-paragraph level is much more messy, I'd say it'd be nice to

Re: Popups/Layouts

2000-01-06 Thread Jose Abilio Oliveira Matos
> I can see that this is a complete different approach (more or less > orthogonal to what I was suggesting) > but am not quite sure how this would work once it is 'perfect'. > I try to describe my impression of the current philosophy, please > correct me if I am wrong: > > ,,If I want to have a

Re: Popups/Layouts

2000-01-06 Thread Jose Abilio Oliveira Matos
On Wed, Jan 05, 2000 at 12:36:50PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: [...] > Andre> 2. Layouts. I think this could be a good place to put in some > Andre> export and probably even import information. E.g. in addition > Andre> to LatexT

Re: Popups/Layouts

2000-01-05 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> I can see that this is a complete different approach (more or Andre> less orthogonal to what I was suggesting) but am not quite sure Andre> how this would work once it is 'perfect'. I try to describe my Andre> impression of the cur

Re: Popups/Layouts

2000-01-05 Thread Andre Poenitz
> english. I do not do what we can do about that (moreover, big popups > are a problem for some displays). Understandable. > Andre> 2. Layouts. I think this could be a good place to put in some > Andre> export and probably even import information. E.g. in addition > Andre> to LatexType and Late

Re: Popups/Layouts

2000-01-05 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> First of all I have to thank all of you for your work on LyX. Andre> Well, this may sound a bit strange for those used to my usual Andre> statements, but I am quite serious. Thanks :) Andre> 1. In most of the German popups the l

Popups/Layouts

2000-01-05 Thread Andre Poenitz
First of all I have to thank all of you for your work on LyX. Well, this may sound a bit strange for those used to my usual statements, but I am quite serious. Yesterday when I came home I found my girlfriend fiddling with the German ,,version`` of LyX preparing slides for a lecture she is supp