Re: FormParagraph question
On 31-May-2001 Jose Abilio Oliveira Matos wrote: On Thu, May 31, 2001 at 05:08:33PM +0200, Juergen Vigna wrote: Jürgen (Jürgen who's putting on his gear for driving home with his motorcycle before it's going to rain again) Out of topic, I know. This week the outside temperature has been over 30 C all the days. That means a) the rain is not a problem b) it is not easy to work in LyX... Yes, the sun is outstanding, the beach just 4 km away and I'm complayning... Still of topic: Maybe the rain is not a problem, but here in the Alps if it rains the temperature drops rapidly and you still get wet! The heat is no problem we have climatized offices ;) And I'm a bit envious about the 4 km far away beech! I've only a swimming pool I can go have a swim after work, what a pity ;) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Don't suspect your friends -- turn them in! -- Brazil
Re: FormParagraph question
On Thu, 31 May 2001, Juergen Vigna wrote: I don't think this is a good idea, what would be a good Idea is to put an update button in the Dialog so that a user can update the contents to the actual paragraph manually (without having to close and reopen the dialog!) the problem is from a UI point of view that the current behaviour is confusing. I would expect the current contents of a dialog to apply to the object I opened it on, unless instructed otherwise. See the bug at lyxbugs.sf.net thanks john -- IBM's decision to choose the Intel 80x86 processor over the Motorola 680x0 probably set the personal computer industry back 10 years. - Brian Marsden
Re: FormParagraph question
On 31-May-2001 Jose Abilio Oliveira Matos wrote: > On Thu, May 31, 2001 at 05:08:33PM +0200, Juergen Vigna wrote: >> >> Jürgen (Jürgen who's putting on his gear for driving home with his >> motorcycle before it's going to rain again) >> > Out of topic, I know. This week the outside temperature has been over 30 C > all the days. That means a) the rain is not a problem b) it is not easy to > work in LyX... > Yes, the sun is outstanding, the beach just 4 km away and I'm complayning... Still of topic: Maybe the rain is not a problem, but here in the Alps if it rains the temperature drops rapidly and you still get wet! The heat is no problem we have climatized offices ;) And I'm a bit envious about the 4 km far away beech! I've only a swimming pool I can go have a swim after work, what a pity ;) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Don't suspect your friends -- turn them in! -- "Brazil"
Re: FormParagraph question
On Thu, 31 May 2001, Juergen Vigna wrote: > I don't think this is a good idea, what would be a good Idea is to put an > "update" button in the Dialog so that a user can update the contents to the > actual paragraph manually (without having to close and reopen the dialog!) the problem is from a UI point of view that the current behaviour is confusing. I would expect the current contents of a dialog to apply to the object I opened it on, unless instructed otherwise. See the bug at lyxbugs.sf.net thanks john -- "IBM's decision to choose the Intel 80x86 processor over the Motorola 680x0 probably set the personal computer industry back 10 years." - Brian Marsden
Re: FormParagraph question
Here's an updated Paragraph dialog which addresses Jürgen and Lars points. I think it's cleaner and clearer than the original, but what do you think. Comments please! Note that the Horizontal offset is for the whole paragraph. Lars says that this should be removed and replaced with a standard indented paragraph style. Till that's written, the choice stays in the dialog. Note also that the dialog now supports per-paragraph spacing, fullfilling an oft-stated wish by Lars! If people are happy with this, I might code it up ;-) Angus form_paragraph.fd.gz
Re: FormParagraph question
On 31-May-2001 Angus Leeming wrote: Note that the Horizontal offset is for the whole paragraph. Lars says that this should be removed and replaced with a standard indented paragraph style. Till that's written, the choice stays in the dialog. Good choice! Also this is a left indent and you can set it in % of a width (page, column, line) or in a Lenght so I guess this would be really hard to realize with a style (and Lars was talking about a right indent!) Note also that the dialog now supports per-paragraph spacing, fullfilling an oft-stated wish by Lars! Good! If people are happy with this, I might code it up ;-) Why did you remove the Type? IMO it would be good to be able to set the type of a paragraph too here (I yesterday asked what this Type is not to remove it ;), if I assume right the Type is the same as we now have in the combox on the mainscreen f.ex.: Standard, List, ... This is surely paragraph releated and IMO it is a good Idea to have it here too. Is there any drawback know to have it in the Paragraph Layout? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Absence makes the heart go wander.
Re: FormParagraph question
Why did you remove the Type? IMO it would be good to be able to set the type of a paragraph too here (I yesterday asked what this Type is not to remove it ;), if I assume right the Type is the same as we now have in the combox on the mainscreen f.ex.: Standard, List, ... This is surely paragraph releated and IMO it is a good Idea to have it here too. My ignorance surfaces once more. I pictured Type as Normal | Minipage | Floatflt which is certainly redundant. (Here Normal means not Minipage or Floatflt). So, you'd like me to add the Toolbar combox to the dialog too? Done (see attached). I've go Layout and Indent first on the same line because the Indent first will be disabled for most Layout styles (Title, Section etc). Angus form_paragraph.fd.gz
Re: FormParagraph question
Angus Leeming [EMAIL PROTECTED] writes: | Note also that the dialog now supports per-paragraph spacing, fullfilling an | oft-stated wish by Lars! Yeah! (now help me with the Float dialog :-) ) | If people are happy with this, I might code it up ;-) Without even looking at it, I am in favour. -- Lgb
Re: FormParagraph question
On 31-May-2001 Angus Leeming wrote: So, you'd like me to add the Toolbar combox to the dialog too? Done (see attached). I've go Layout and Indent first on the same line because the Indent first will be disabled for most Layout styles (Title, Section etc). This seems good to me I just would like to know what Jean-Marc tells us about having the Layout-Combo also in the Layout Paragraph. Now what does Apply and Ok, apply all the Layout as now or only the visible tab? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ The moss on the tree does not fear the talons of the hawk.
Re: FormParagraph question
On Thursday 31 May 2001 09:32, Lars Gullik Bjønnes wrote: Angus Leeming [EMAIL PROTECTED] writes: | Note also that the dialog now supports per-paragraph spacing, fullfilling an | oft-stated wish by Lars! Yeah! (now help me with the Float dialog :-) ) Certainly. But note that I'm in danger of becoming a dabbler as it is. On current reckoning I'm playing with: natbib branch menubar paragraph dialog In fact, I only started the paragraph dialog for light relief. The others involve some proper coding, not just following a recipe. | If people are happy with this, I might code it up ;-) Without even looking at it, I am in favour. Oh, it's too easy getting crap past you! Don't be a lazy bum; have a look! A
Re: FormParagraph question
Juergen Vigna [EMAIL PROTECTED] writes: | On 31-May-2001 Angus Leeming wrote: | | So, you'd like me to add the Toolbar combox to the dialog too? Done (see | attached). I've go Layout and Indent first on the same line because the | Indent first will be disabled for most Layout styles (Title, Section etc). | | This seems good to me I just would like to know what Jean-Marc tells us | about having the Layout-Combo also in the Layout Paragraph. I think it is wrong... even if it is analog to the document syle change in the Document dialog. just my gut feeling. I don't have any strong opinions on this... except that it might hamper cleanup a bit. -- Lgb
Re: FormParagraph question
On Thursday 31 May 2001 09:41, Juergen Vigna wrote: This seems good to me I just would like to know what Jean-Marc tells us about having the Layout-Combo also in the Layout Paragraph. Now what does Apply and Ok, apply all the Layout as now or only the visible tab? Your message is too cryptic for me; you'll have to explain further. Actually, I've been giving a little thought to updating the Paragraph dialog as the user moves around the document. If an inset dialog is open, then moving the cursor from one inset to another of the same type emits a signal and the dialog updates it's contents to reflect the new inset. It strikes me that we should send the same information to the Paragraph dialog. At the moment, changing paragraphs results in a call to LyXView::updateLayoutChoice() which changes the Layout visible in the Toolbar combox. Instead of calling this function, we should emit a new signal enteredParagraph(). The toolbar would connect to this to update the Layout choice. The paragraph dialog would connect to it too. However, the Paragraph dialog is a bit more complicated than an inset dialog. Clicking from one paragraph to another should update the contents of the dialog, but if you're selecting multiple paragraphs to apply some settings to them, then the dialog should not update. How to do this? Is their some sort of flag saying that selection is on (so don't update the dialog)? Angus
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: I think it is wrong... even if it is analog to the document syle change in the Document dialog. just my gut feeling. I don't have any strong opinions on this... except that it might hamper cleanup a bit. Well I don't have strong feelings about this too, so if other think this might prove wrong and/or cause some problems we'll just leave it out. Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Despite all appearances, your boss is a thinking, feeling, human being.
Re: FormParagraph question
Angus Leeming [EMAIL PROTECTED] writes: | Actually, I've been giving a little thought to updating the Paragraph dialog | as the user moves around the document. | | If an inset dialog is open, then moving the cursor from one inset to another | of the same type emits a signal and the dialog updates it's contents to | reflect the new inset. | | It strikes me that we should send the same information to the Paragraph | dialog. At the moment, changing paragraphs results in a call to | LyXView::updateLayoutChoice() | which changes the Layout visible in the Toolbar combox. Instead of calling | this function, we should emit a new signal enteredParagraph(). The toolbar | would connect to this to update the Layout choice. The paragraph | dialog would connect to it too. Yes, why not. The signal should be in LyXView... but should be emmitted from somewhere in the BufferView structure, and controlled by cursor movement. One problem with it is that suddenly the toolbar needs to know about core details. -- Lgb
Re: FormParagraph question
On 31-May-2001 Angus Leeming wrote: Now what does Apply and Ok, apply all the Layout as now or only the visible tab? Your message is too cryptic for me; you'll have to explain further. It's just that now you don't see all options in one window so I wondered if only the visible fields are applied or (as it is now) all fields of the Dialog (also the ones in a hidden tab), but I guess this should be handled as in LayoutDocument so always all fields are applied, just ignore mine question! Actually, I've been giving a little thought to updating the Paragraph dialog as the user moves around the document. I don't think this is a good idea, what would be a good Idea is to put an update button in the Dialog so that a user can update the contents to the actual paragraph manually (without having to close and reopen the dialog!) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ When in doubt, follow your heart.
Re: FormParagraph question
On Thursday 31 May 2001 10:07, Juergen Vigna wrote: Now what does Apply and Ok, apply all the Layout as now or only the visible tab? Your message is too cryptic for me; you'll have to explain further. It's just that now you don't see all options in one window so I wondered if only the visible fields are applied or (as it is now) all fields of the Dialog (also the ones in a hidden tab), but I guess this should be handled as in LayoutDocument so always all fields are applied, just ignore mine question! Now I understand you. Yes, I'd apply all fields. Actually, I've been giving a little thought to updating the Paragraph dialog as the user moves around the document. I don't think this is a good idea, what would be a good Idea is to put an update button in the Dialog so that a user can update the contents to the actual paragraph manually (without having to close and reopen the dialog!) Here we disagree. But this is for the future. Angus
Re: FormParagraph question
On Thursday 31 May 2001 10:06, Lars Gullik Bjønnes wrote: Angus Leeming [EMAIL PROTECTED] writes: | Actually, I've been giving a little thought to updating the | Paragraph dialog as the user moves around the document. | If an inset dialog is open, then moving the cursor from one | inset to another of the same type emits a signal and the dialog | updates it's contents to reflect the new inset. | It strikes me that we should send the same information to the | Paragraph dialog. At the moment, changing paragraphs results in a | call to | LyXView::updateLayoutChoice() | which changes the Layout visible in the Toolbar combox. Instead | of calling this function, we should emit a new signal enteredParagraph(). | The toolbar would connect to this to update the Layout choice. The | paragraph dialog would connect to it too. Yes, why not. The signal should be in LyXView... but should be emmitted from somewhere in the BufferView structure, and controlled by cursor movement. Sorry, I'd got this wrong. The call I want to replace with a signal is LyXView::setLayout, called only by LyXView and in BufferView::Pimpl::Dispatch(): case LFUN_LAYOUT: if (current_layout != layout.second) { ... owner_-SetLayout(bv_, layout.second); } which in turn calls the toolbar: void Toolbar::Pimpl::setLayout(int layout) { if (combox) combox-select(layout+1); } It strikes me that we could have case LFUN_LAYOUT: owner_-getDialogs().updateParagraph(ParagraphParams const params); and then the toolbar and the paragraph dialog would have all the info they need to do their own stuff. Angus
Re: FormParagraph question
Juergen == Juergen Vigna [EMAIL PROTECTED] writes: Juergen On 31-May-2001 Angus Leeming wrote: So, you'd like me to add the Toolbar combox to the dialog too? Done (see attached). I've go Layout and Indent first on the same line because the Indent first will be disabled for most Layout styles (Title, Section etc). Juergen This seems good to me I just would like to know what Juergen Jean-Marc tells us about having the Layout-Combo also in the Juergen Layout Paragraph. I think it is a good thing, since right now this functionality is only available in the toolbar. For example, a user deciding to hide the toolbar (assuming it is actually possible) would not be able to change layouts anymore. Moreover, the layout is indeed one of the properties of a paragraph, IMO. JMarc
Re: FormParagraph question
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus So, you'd like me to add the Toolbar combox to the dialog too? Angus Done (see attached). This looks fine to me (except the horizontal offset which does not make a lot of sense). Angus I've go Layout and Indent first on the Angus same line because the Indent first will be disabled for Angus most Layout styles (Title, Section etc). What do you mean about indent being disabled? On which textclass property are you going to do the conditionning? How will that relate to the document-global indent setting? JMarc
Re: FormParagraph question
Angus Leeming [EMAIL PROTECTED] writes: | Sorry, I'd got this wrong. The call I want to replace with a signal is | LyXView::setLayout, called only by LyXView and in The call in LyXView should be changed to call the correct LFUN instead. | BufferView::Pimpl::Dispatch(): | case LFUN_LAYOUT: | if (current_layout != layout.second) { | ... | owner_-SetLayout(bv_, layout.second); | } | | which in turn calls the toolbar: | | void Toolbar::Pimpl::setLayout(int layout) { | if (combox) | combox-select(layout+1); | } | | It strikes me that we could have | case LFUN_LAYOUT: | owner_-getDialogs().updateParagraph(ParagraphParams const params); | | and then the toolbar and the paragraph dialog would have all the info they | need to do their own stuff. And this is not absolutely good... -- Lgb
Re: FormParagraph question
On Thursday 31 May 2001 11:37, Jean-Marc Lasgouttes wrote: Angus I've go Layout and Indent first on the Angus same line because the Indent first will be disabled for Angus most Layout styles (Title, Section etc). What do you mean about indent being disabled? On which textclass property are you going to do the conditionning? How will that relate to the document-global indent setting? Can I indent a Title, or a Section, or a List? No. I can indent the first line of a standard paragraph and that's all. Similarly, the document-global indent setting refers only to the indentation of the first line of a standard paragraph. Angus
Re: FormParagraph question
On 31-May-2001 Jean-Marc Lasgouttes wrote: This looks fine to me (except the horizontal offset which does not make a lot of sense). Why? I find it usefull that you can define a horizontal offset at which the paragraph text starts (this was before in the Extra Options). What is senseless in such a thing? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Honk if you hate bumper stickers that say Honk if ...
Re: FormParagraph question
Juergen Vigna [EMAIL PROTECTED] writes: | On 31-May-2001 Jean-Marc Lasgouttes wrote: | | This looks fine to me (except the horizontal offset which does not | make a lot of sense). | | Why? I find it usefull that you can define a horizontal offset at which | the paragraph text starts (this was before in the Extra Options). What | is senseless in such a thing? But this is not really an offset is it? It is a larger left margin, right? (offset: move the whole par left/right without rebreak) -- Lgb
Re: FormParagraph question
On Thursday 31 May 2001 13:47, Lars Gullik Bjønnes wrote: Juergen Vigna [EMAIL PROTECTED] writes: | On 31-May-2001 Jean-Marc Lasgouttes wrote: | | This looks fine to me (except the horizontal offset which does not | make a lot of sense). | | Why? I find it usefull that you can define a horizontal offset at which | the paragraph text starts (this was before in the Extra Options). What | is senseless in such a thing? But this is not really an offset is it? It is a larger left margin, right? (offset: move the whole par left/right without rebreak) A! That penny has dropped again. And can this be done for the right margin also on a per-paragraph basis? Ie, the dialog should have: Enlarge Margins -- Left__ Units Right __ Units --- where __ is an input field and Units is a choice of em | cm | mm | etc These values are then added to the Document wide ones behind the scenes (Ie, the user knows nothing about how. IMO, this is a much clearer GUI. Angus
Re: FormParagraph question
Angus Leeming [EMAIL PROTECTED] writes: | A! That penny has dropped again. And can this be done for the right | margin also on a per-paragraph basis? Ie, the dialog should have: | | Enlarge Margins -- | Left __ Units | Right __ Units | --- Should be Change Margins (alt. modify) if course since the margins can also be made smaller. | | where __ is an input field and Units is a choice of em | cm | mm | etc | | These values are then added to the Document wide ones behind the scenes | (Ie, the user knows nothing about how. yes... this is possible. But with this we are going down the path of manual layout and I am not overly fond of this. We really need the user to be able to dynamically create new paragraph styles (new ones, and ones based on existing ones.) | IMO, this is a much clearer GUI. It is... but IMHO this is going down the wrong path... -- Lgb
Re: FormParagraph question
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Should be Change Margins (alt. modify) if course since the Lars margins can also be made smaller. This is more difficult... Lars yes... this is possible. But with this we are going down the Lars path of manual layout and I am not overly fond of this. We Lars really need the user to be able to dynamically create new Lars paragraph styles (new ones, and ones based on existing ones.) Agreed. This feature was proposed by Juergen and I was not really in favor of it at the time. Moreover, if we are to do that, I'd rather find a standard package that provides this feature than roll our own macro. In fact, all macros but \LyX should eventually go away (I'm not sure it will be easy...). JMarc
Re: FormParagraph question
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Should be Change Margins (alt. modify) if course since the | Lars margins can also be made smaller. | | This is more difficult... | | Lars yes... this is possible. But with this we are going down the | Lars path of manual layout and I am not overly fond of this. We | Lars really need the user to be able to dynamically create new | Lars paragraph styles (new ones, and ones based on existing ones.) | | Agreed. This feature was proposed by Juergen and I was not really in | favor of it at the time. Moreover, if we are to do that, I'd rather | find a standard package that provides this feature than roll our own | macro. In fact, all macros but \LyX should eventually go away (I'm not | sure it will be easy...). We are in complete agreement. -- Lgb
Re: FormParagraph question
Angus Leeming [EMAIL PROTECTED] writes: | Well that's always nice! So what do you propose I do to the dialog. Shall I | just remove the offending Offset entry, or shall I leave things as they are | but give the entry a better name such as has been proposed? No no, you should create the user definage layout styles support of course. -- Lgb
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: But this is not really an offset is it? It is a larger left margin, right? (offset: move the whole par left/right without rebreak) Well a rebreak on the right side is always needed otherwise we would go out of the paper, don't you think so? If I say indent this paragraph by 40 % of paperwidth then we'll have the restant 60 % for printing the paragraph. Obviously this will change the formating of the paragraph! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Maybe Jesus was right when he said that the meek shall inherit the earth -- but they inherit very small plots, about six feet by three. -- Lazarus Long
Re: FormParagraph question
On 31-May-2001 Angus Leeming wrote: A! That penny has dropped again. And can this be done for the right margin also on a per-paragraph basis? Ie, the dialog should have: Enlarge Margins -- Left __ Units Right __ Units --- This features right now only an indent from the actual left papermargin to the right. It does nothing with the right margin! So the name you gave it is right, it's just a horizontal offset/indent of the paragraph on the left side! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Peterson's Admonition: When you think you're going down for the third time -- just remember that you may have counted wrong.
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: | Agreed. This feature was proposed by Juergen and I was not really in | favor of it at the time. Moreover, if we are to do that, I'd rather | find a standard package that provides this feature than roll our own | macro. In fact, all macros but \LyX should eventually go away (I'm not | sure it will be easy...). We are in complete agreement. #:O( Well then we probably should remove the vertical margins too as this also is manual layout and probably we should remove a lot of features and make lyx base it's output ONLY on paragraph styles! I think we can't we have to find some way in between and if we have a vertical spacing than we should permit a horizontal spacing too! If we find a package which does this I'm happy to port this to that package, but until we don't I think we should leave this in. But obviously we're in a democraty and if I'm the only one thinking like this I'll make available a patch to have this feature (it's a bit frustrating thought)! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ If a man loses his reverence for any part of life, he will lose his reverence for all of life. -- Albert Schweitzer
Re: FormParagraph question
On Thu, May 31, 2001 at 03:29:02PM +0200, Jean-Marc Lasgouttes wrote: Lars yes... this is possible. But with this we are going down the Lars path of manual layout and I am not overly fond of this. We Lars really need the user to be able to dynamically create new Lars paragraph styles (new ones, and ones based on existing ones.) Agreed. This feature was proposed by Juergen and I was not really in favor of it at the time. Moreover, if we are to do that, I'd rather find a standard package that provides this feature than roll our own macro. In fact, all macros but \LyX should eventually go away (I'm not sure it will be easy...). chngpage.sty, but it is not a standard package.
Re: FormParagraph question
Juergen Vigna [EMAIL PROTECTED] writes: | On 31-May-2001 Lars Gullik Bjønnes wrote: | | But this is not really an offset is it? It is a larger left margin, | right? (offset: move the whole par left/right without rebreak) | | Well a rebreak on the right side is always needed otherwise we would | go out of the paper, don't you think so? I am talking about terminology. offset != margin | If I say indent this paragraph | by 40 % of paperwidth then we'll have the restant 60 % for printing | the paragraph. Obviously this will change the formating of the | paragraph! sure. make left margin of this paragraph to 40% of the pagewidth -- Lgb
Re: FormParagraph question
Juergen Vigna [EMAIL PROTECTED] writes: | This features right now only an indent from the actual left papermargin | to the right. It does nothing with the right margin! So the name you gave | it is right, it's just a horizontal offset/indent of the paragraph on the | left side! offset is still wrong. And since we already use indent for something else we should use margin here. -- Lgb
Re: FormParagraph question
On Thu, May 31, 2001 at 02:50:50PM +0100, Angus Leeming wrote: Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Unsubscribe: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] From: Angus Leeming [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: FormParagraph question Date: Thu, 31 May 2001 14:50:50 +0100 X-Mailer: KMail [version 1.1.99] In-Reply-To: [EMAIL PROTECTED] On Thursday 31 May 2001 14:33, Lars Gullik Bjønnes wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Should be Change Margins (alt. modify) if course since the | Lars margins can also be made smaller. | | This is more difficult... | | Lars yes... this is possible. But with this we are going down the | Lars path of manual layout and I am not overly fond of this. We | Lars really need the user to be able to dynamically create new | Lars paragraph styles (new ones, and ones based on existing ones.) | | Agreed. This feature was proposed by Juergen and I was not really in | favor of it at the time. Moreover, if we are to do that, I'd rather | find a standard package that provides this feature than roll our own | macro. In fact, all macros but \LyX should eventually go away (I'm not | sure it will be easy...). We are in complete agreement. Well that's always nice! So what do you propose I do to the dialog. Shall I just remove the offending Offset entry, or shall I leave things as they are but give the entry a better name such as has been proposed? Angus (who appears to have opened a can of worms!) There is a command in plain TeX called \narrower, which narrows both sides by the amount \parindent, default 20pt. I think that's a lot better than allowing the user to enter inches or mm's or points :-) Martin -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Department of Surveying P.O. Box 1200, FIN-02015 HUT, Finland :wq
Re: FormParagraph question
Juergen == Juergen Vigna [EMAIL PROTECTED] writes: We are in complete agreement. Juergen #:O( Juergen Well then we probably should remove the vertical margins too Juergen as this also is manual layout and probably we should remove a Juergen lot of features and make lyx base it's output ONLY on Juergen paragraph styles! What I meant is that we should try to avoid special macros. Juergen If we find a package which does this I'm happy to port this Juergen to that package, but until we don't I think we should leave Juergen this in. But obviously we're in a democraty and if I'm the Juergen only one thinking like this I'll make available a patch to Juergen have this feature (it's a bit frustrating thought)! Anyway, since the feature is already in, we should keep it until we are in the position to add a better one... JMarc
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: Juergen Vigna [EMAIL PROTECTED] writes: | This features right now only an indent from the actual left papermargin | to the right. It does nothing with the right margin! So the name you gave | it is right, it's just a horizontal offset/indent of the paragraph on the | left side! offset is still wrong. And since we already use indent for something else we should use margin here. Well I can live with the word Enlarge Left Margin if you think this is better (well it's exactly what it does). Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Q: What do little WASPs want to be when they grow up? A: The very best person they can possibly be.
Re: FormParagraph question
Juergen Vigna [EMAIL PROTECTED] writes: | Well then we probably should remove the vertical margins too as this also | is manual layout and probably we should remove a lot of features and make | lyx base it's output ONLY on paragraph styles! That would be ideal, albeit a bit utopic. | I think we can't we have to find some way in between and if we have a | vertical spacing than we should permit a horizontal spacing too! or perhaps we should decouple the spacings from the paragraph... | If we find a package which does this I'm happy to port this to that | package, but until we don't I think we should leave this in. But obviously | we're in a democraty and if I'm the only one thinking like this I'll make | available a patch to have this feature (it's a bit frustrating thought)! I have no problem with having a paragraph left margin, and right margin option, but we should avoid adding too much to this so that the correct/nice solution will be close to impossible. -- Lgb
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: or perhaps we should decouple the spacings from the paragraph... I don't think so. I_have no problem with having a paragraph left margin, and right margin option, but we should avoid adding too much to this so that the correct/nice solution will be close to impossible. I can agree with this! Jürgen (Jürgen who's putting on his gear for driving home with his motorcycle before it's going to rain again) -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Earn cash in your spare time -- blackmail your friends.
Re: FormParagraph question
On Thu, May 31, 2001 at 04:41:22PM +0200, Juergen Vigna wrote: ... Date: Thu, 31 May 2001 16:41:22 +0200 (CEST) Reply-To: Juergen Vigna [EMAIL PROTECTED] From: Juergen Vigna [EMAIL PROTECTED] To: Martin Vermeer [EMAIL PROTECTED] Subject: Re: FormParagraph question Cc: [EMAIL PROTECTED] On 31-May-2001 Martin Vermeer wrote: There is a command in plain TeX called \narrower, which narrows both sides by the amount \parindent, default 20pt. I think that's a lot better than allowing the user to enter inches or mm's or points :-) I don't want narrower margins I want to move the paragraph to the right and leave right margin as it is. I could do this now also using a tabular with 2 columns and write only in the right column, but it's not really what you think of friedly handling. Jürgen OK, there are separate \leftskip and \rightskip commands for this. Martin -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Department of Surveying P.O. Box 1200, FIN-02015 HUT, Finland :wq
Re: FormParagraph question
On Thu, May 31, 2001 at 05:08:33PM +0200, Juergen Vigna wrote: Jürgen (Jürgen who's putting on his gear for driving home with his motorcycle before it's going to rain again) Out of topic, I know. This week the outside temperature has been over 30 C all the days. That means a) the rain is not a problem b) it is not easy to work in LyX... Yes, the sun is outstanding, the beach just 4 km away and I'm complayning... -- José
Re: FormParagraph question
Angus Leeming wrote: On Thursday 31 May 2001 14:33, Lars Gullik Bjønnes wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Should be Change Margins (alt. modify) if course since the | Lars margins can also be made smaller. | | This is more difficult... | | Lars yes... this is possible. But with this we are going down the | Lars path of manual layout and I am not overly fond of this. We | Lars really need the user to be able to dynamically create new | Lars paragraph styles (new ones, and ones based on existing ones.) | | Agreed. This feature was proposed by Juergen and I was not really in | favor of it at the time. Moreover, if we are to do that, I'd rather | find a standard package that provides this feature than roll our own | macro. In fact, all macros but \LyX should eventually go away (I'm not | sure it will be easy...). We are in complete agreement. Well that's always nice! So what do you propose I do to the dialog. Shall I just remove the offending Offset entry, or shall I leave things as they are but give the entry a better name such as has been proposed? offset, left and or right margins are always the same: a list with left- and rightmargin. therefore it makes sense, to have only two fields for left and for right. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: FormParagraph question
Here's an updated Paragraph dialog which addresses Jürgen and Lars points. I think it's cleaner and clearer than the original, but what do you think. Comments please! Note that the "Horizontal offset" is for the whole paragraph. Lars says that this should be removed and replaced with a "standard indented" paragraph style. Till that's written, the choice stays in the dialog. Note also that the dialog now supports per-paragraph spacing, fullfilling an oft-stated wish by Lars! If people are happy with this, I might code it up ;-) Angus form_paragraph.fd.gz
Re: FormParagraph question
On 31-May-2001 Angus Leeming wrote: > Note that the "Horizontal offset" is for the whole paragraph. Lars says that > this should be removed and replaced with a "standard indented" paragraph > style. Till that's written, the choice stays in the dialog. Good choice! Also this is a left indent and you can set it in % of a width (page, column, line) or in a Lenght so I guess this would be really hard to realize with a style (and Lars was talking about a right indent!) > Note also that the dialog now supports per-paragraph spacing, fullfilling an > oft-stated wish by Lars! Good! > If people are happy with this, I might code it up ;-) Why did you remove the Type? IMO it would be good to be able to set the type of a paragraph too here (I yesterday asked what this Type is not to remove it ;), if I assume right the Type is the same as we now have in the combox on the mainscreen f.ex.: Standard, List, ... This is surely paragraph releated and IMO it is a good Idea to have it here too. Is there any drawback know to have it in the Paragraph Layout? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Absence makes the heart go wander.
Re: FormParagraph question
> Why did you remove the Type? IMO it would be good to be able to set the > type of a paragraph too here (I yesterday asked what this Type is not > to remove it ;), if I assume right the Type is the same as we now have > in the combox on the mainscreen f.ex.: Standard, List, ... This is surely > paragraph releated and IMO it is a good Idea to have it here too. My ignorance surfaces once more. I pictured Type as Normal | Minipage | Floatflt which is certainly redundant. (Here "Normal" means "not Minipage or Floatflt"). So, you'd like me to add the Toolbar combox to the dialog too? Done (see attached). I've go "Layout" and "Indent first" on the same line because the "Indent first" will be disabled for "most" Layout styles (Title, Section etc). Angus form_paragraph.fd.gz
Re: FormParagraph question
Angus Leeming <[EMAIL PROTECTED]> writes: | Note also that the dialog now supports per-paragraph spacing, fullfilling an | oft-stated wish by Lars! Yeah! (now help me with the Float dialog :-) ) | If people are happy with this, I might code it up ;-) Without even looking at it, I am in favour. -- Lgb
Re: FormParagraph question
On 31-May-2001 Angus Leeming wrote: > So, you'd like me to add the Toolbar combox to the dialog too? Done (see > attached). I've go "Layout" and "Indent first" on the same line because the > "Indent first" will be disabled for "most" Layout styles (Title, Section etc). This seems good to me I just would like to know what Jean-Marc tells us about having the Layout-Combo also in the Layout Paragraph. Now what does Apply and Ok, apply all the Layout as now or only the visible tab? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ The moss on the tree does not fear the talons of the hawk.
Re: FormParagraph question
On Thursday 31 May 2001 09:32, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Note also that the dialog now supports per-paragraph spacing, fullfilling an > | oft-stated wish by Lars! > > Yeah! > > (now help me with the Float dialog :-) ) Certainly. But note that I'm in danger of becoming a dabbler as it is. On current reckoning I'm playing with: natbib branch menubar paragraph dialog In fact, I only started the paragraph dialog for light relief. The others involve some "proper" coding, not just following a recipe. > | If people are happy with this, I might code it up ;-) > Without even looking at it, I am in favour. Oh, it's too easy getting crap past you! Don't be a lazy bum; have a look! A
Re: FormParagraph question
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 31-May-2001 Angus Leeming wrote: | | > So, you'd like me to add the Toolbar combox to the dialog too? Done (see | > attached). I've go "Layout" and "Indent first" on the same line because the | > "Indent first" will be disabled for "most" Layout styles (Title, Section etc). | | This seems good to me I just would like to know what Jean-Marc tells us | about having the Layout-Combo also in the Layout Paragraph. I think it is wrong... even if it is analog to the document syle change in the Document dialog. just my gut feeling. I don't have any strong opinions on this... except that it might hamper cleanup a bit. -- Lgb
Re: FormParagraph question
On Thursday 31 May 2001 09:41, Juergen Vigna wrote: > This seems good to me I just would like to know what Jean-Marc tells us > about having the Layout-Combo also in the Layout Paragraph. > Now what does Apply and Ok, apply all the Layout as now or only the visible > tab? Your message is too cryptic for me; you'll have to explain further. Actually, I've been giving a little thought to updating the Paragraph dialog as the user moves around the document. If an inset dialog is open, then moving the cursor from one inset to another of the same type emits a signal and the dialog updates it's contents to reflect the new inset. It strikes me that we should send the same information to the Paragraph dialog. At the moment, changing paragraphs results in a call to LyXView::updateLayoutChoice() which changes the Layout visible in the Toolbar combox. Instead of calling this function, we should emit a new signal enteredParagraph(). The toolbar would connect to this to update the Layout choice. The paragraph dialog would connect to it too. However, the Paragraph dialog is a bit more complicated than an inset dialog. Clicking from one paragraph to another should update the contents of the dialog, but if you're selecting multiple paragraphs to apply some settings to them, then the dialog should not update. How to do this? Is their some sort of flag saying that selection is on (so don't update the dialog)? Angus
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: > I think it is wrong... even if it is analog to the document syle > change in the Document dialog. > > just my gut feeling. I don't have any strong opinions on this... > except that it might hamper cleanup a bit. Well I don't have strong feelings about this too, so if other think this might prove wrong and/or cause some problems we'll just leave it out. Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Despite all appearances, your boss is a thinking, feeling, human being.
Re: FormParagraph question
Angus Leeming <[EMAIL PROTECTED]> writes: | Actually, I've been giving a little thought to updating the Paragraph dialog | as the user moves around the document. | | If an inset dialog is open, then moving the cursor from one inset to another | of the same type emits a signal and the dialog updates it's contents to | reflect the new inset. | | It strikes me that we should send the same information to the Paragraph | dialog. At the moment, changing paragraphs results in a call to | LyXView::updateLayoutChoice() | which changes the Layout visible in the Toolbar combox. Instead of calling | this function, we should emit a new signal enteredParagraph(). The toolbar | would connect to this to update the Layout choice. The paragraph | dialog would connect to it too. Yes, why not. The signal should be in LyXView... but should be emmitted from somewhere in the BufferView structure, and controlled by cursor movement. One problem with it is that suddenly the toolbar needs to know about "core" details. -- Lgb
Re: FormParagraph question
On 31-May-2001 Angus Leeming wrote: >> Now what does Apply and Ok, apply all the Layout as now or only the visible >> tab? > > Your message is too cryptic for me; you'll have to explain further. It's just that now you don't see all options in one window so I wondered if only the visible fields are applied or (as it is now) all fields of the Dialog (also the ones in a hidden tab), but I guess this should be handled as in LayoutDocument so always all fields are applied, just ignore mine question! > Actually, I've been giving a little thought to updating the Paragraph dialog > as the user moves around the document. I don't think this is a good idea, what would be a good Idea is to put an "update" button in the Dialog so that a user can update the contents to the actual paragraph manually (without having to close and reopen the dialog!) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ When in doubt, follow your heart.
Re: FormParagraph question
On Thursday 31 May 2001 10:07, Juergen Vigna wrote: > > > Now what does Apply and Ok, apply all the Layout as > > > now or only the visible tab? > > Your message is too cryptic for me; you'll have to explain further. > It's just that now you don't see all options in one window so I wondered > if only the visible fields are applied or (as it is now) all fields of the > Dialog (also the ones in a hidden tab), but I guess this should be handled > as in LayoutDocument so always all fields are applied, just ignore mine > question! Now I understand you. Yes, I'd apply all fields. > > Actually, I've been giving a little thought to updating the > > Paragraph dialog as the user moves around the document. > I don't think this is a good idea, what would be a good Idea is to put an > "update" button in the Dialog so that a user can update the contents to the > actual paragraph manually (without having to close and reopen the dialog!) Here we disagree. But this is for the future. Angus
Re: FormParagraph question
On Thursday 31 May 2001 10:06, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Actually, I've been giving a little thought to updating the > | Paragraph dialog as the user moves around the document. > | If an inset dialog is open, then moving the cursor from one > | inset to another of the same type emits a signal and the dialog > | updates it's contents to reflect the new inset. > | It strikes me that we should send the same information to the > | Paragraph dialog. At the moment, changing paragraphs results in a > | call to > | LyXView::updateLayoutChoice() > | which changes the Layout visible in the Toolbar combox. Instead > | of calling this function, we should emit a new signal enteredParagraph(). > | The toolbar would connect to this to update the Layout choice. The > | paragraph dialog would connect to it too. > Yes, why not. The signal should be in LyXView... but should be > emmitted from somewhere in the BufferView structure, and controlled by > cursor movement. Sorry, I'd got this wrong. The call I want to replace with a signal is LyXView::setLayout, called only by LyXView and in BufferView::Pimpl::Dispatch(): case LFUN_LAYOUT: if (current_layout != layout.second) { ... owner_->SetLayout(bv_, layout.second); } which in turn calls the toolbar: void Toolbar::Pimpl::setLayout(int layout) { if (combox) combox->select(layout+1); } It strikes me that we could have case LFUN_LAYOUT: owner_->getDialogs().updateParagraph(ParagraphParams const & params); and then the toolbar and the paragraph dialog would have all the info they need to do their own stuff. Angus
Re: FormParagraph question
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 31-May-2001 Angus Leeming wrote: >> So, you'd like me to add the Toolbar combox to the dialog too? Done >> (see attached). I've go "Layout" and "Indent first" on the same >> line because the "Indent first" will be disabled for "most" Layout >> styles (Title, Section etc). Juergen> This seems good to me I just would like to know what Juergen> Jean-Marc tells us about having the Layout-Combo also in the Juergen> Layout Paragraph. I think it is a good thing, since right now this functionality is only available in the toolbar. For example, a user deciding to hide the toolbar (assuming it is actually possible) would not be able to change layouts anymore. Moreover, the layout is indeed one of the properties of a paragraph, IMO. JMarc
Re: FormParagraph question
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> So, you'd like me to add the Toolbar combox to the dialog too? Angus> Done (see attached). This looks fine to me (except the horizontal offset which does not make a lot of sense). Angus> I've go "Layout" and "Indent first" on the Angus> same line because the "Indent first" will be disabled for Angus> "most" Layout styles (Title, Section etc). What do you mean about indent being disabled? On which textclass property are you going to do the conditionning? How will that relate to the document-global indent setting? JMarc
Re: FormParagraph question
Angus Leeming <[EMAIL PROTECTED]> writes: | Sorry, I'd got this wrong. The call I want to replace with a signal is | LyXView::setLayout, called only by LyXView and in The call in LyXView should be changed to call the correct LFUN instead. | BufferView::Pimpl::Dispatch(): | case LFUN_LAYOUT: | if (current_layout != layout.second) { | ... | owner_->SetLayout(bv_, layout.second); | } | | which in turn calls the toolbar: | | void Toolbar::Pimpl::setLayout(int layout) { | if (combox) | combox->select(layout+1); | } | | It strikes me that we could have | case LFUN_LAYOUT: | owner_->getDialogs().updateParagraph(ParagraphParams const & params); | | and then the toolbar and the paragraph dialog would have all the info they | need to do their own stuff. And this is not absolutely good... -- Lgb
Re: FormParagraph question
On Thursday 31 May 2001 11:37, Jean-Marc Lasgouttes wrote: > Angus> I've go "Layout" and "Indent first" on the > Angus> same line because the "Indent first" will be disabled for > Angus> "most" Layout styles (Title, Section etc). > > What do you mean about indent being disabled? On which textclass > property are you going to do the conditionning? How will that relate > to the document-global indent setting? Can I indent a Title, or a Section, or a List? No. I can indent the first line of a standard paragraph and that's all. Similarly, the document-global indent setting refers only to the indentation of the first line of a standard paragraph. Angus
Re: FormParagraph question
On 31-May-2001 Jean-Marc Lasgouttes wrote: > This looks fine to me (except the horizontal offset which does not > make a lot of sense). Why? I find it usefull that you can define a horizontal offset at which the paragraph text starts (this was before in the Extra Options). What is senseless in such a thing? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Honk if you hate bumper stickers that say "Honk if ..."
Re: FormParagraph question
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 31-May-2001 Jean-Marc Lasgouttes wrote: | | > This looks fine to me (except the horizontal offset which does not | > make a lot of sense). | | Why? I find it usefull that you can define a horizontal offset at which | the paragraph text starts (this was before in the Extra Options). What | is senseless in such a thing? But this is not really an offset is it? It is a larger left margin, right? (offset: move the whole par left/right without rebreak) -- Lgb
Re: FormParagraph question
On Thursday 31 May 2001 13:47, Lars Gullik Bjønnes wrote: > Juergen Vigna <[EMAIL PROTECTED]> writes: > > | On 31-May-2001 Jean-Marc Lasgouttes wrote: > | > | > This looks fine to me (except the horizontal offset which does not > | > make a lot of sense). > | > | Why? I find it usefull that you can define a horizontal offset at which > | the paragraph text starts (this was before in the Extra Options). What > | is senseless in such a thing? > > But this is not really an offset is it? It is a larger left margin, > right? (offset: move the whole par left/right without rebreak) A! That penny has dropped again. And can this be done for the right margin also on a per-paragraph basis? Ie, the dialog should have: Enlarge Margins -- Left__ Units Right __ Units --- where __ is an input field and Units is a choice of em | cm | mm | etc These values are then added to the Document wide ones "behind the scenes" (Ie, the user knows nothing about how. IMO, this is a much clearer GUI. Angus
Re: FormParagraph question
Angus Leeming <[EMAIL PROTECTED]> writes: | A! That penny has dropped again. And can this be done for the right | margin also on a per-paragraph basis? Ie, the dialog should have: | | Enlarge Margins -- | Left __ Units | Right __ Units | --- Should be "Change Margins" (alt. modify) if course since the margins can also be made smaller. | | where __ is an input field and Units is a choice of em | cm | mm | etc | | These values are then added to the Document wide ones "behind the scenes" | (Ie, the user knows nothing about how. yes... this is possible. But with this we are going down the path of manual layout and I am not overly fond of this. We really need the user to be able to dynamically create new paragraph styles (new ones, and ones based on existing ones.) | IMO, this is a much clearer GUI. It is... but IMHO this is going down the wrong path... -- Lgb
Re: FormParagraph question
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Should be "Change Margins" (alt. modify) if course since the Lars> margins can also be made smaller. This is more difficult... Lars> yes... this is possible. But with this we are going down the Lars> path of manual layout and I am not overly fond of this. We Lars> really need the user to be able to dynamically create new Lars> paragraph styles (new ones, and ones based on existing ones.) Agreed. This feature was proposed by Juergen and I was not really in favor of it at the time. Moreover, if we are to do that, I'd rather find a standard package that provides this feature than roll our own macro. In fact, all macros but \LyX should eventually go away (I'm not sure it will be easy...). JMarc
Re: FormParagraph question
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Should be "Change Margins" (alt. modify) if course since the | Lars> margins can also be made smaller. | | This is more difficult... | | Lars> yes... this is possible. But with this we are going down the | Lars> path of manual layout and I am not overly fond of this. We | Lars> really need the user to be able to dynamically create new | Lars> paragraph styles (new ones, and ones based on existing ones.) | | Agreed. This feature was proposed by Juergen and I was not really in | favor of it at the time. Moreover, if we are to do that, I'd rather | find a standard package that provides this feature than roll our own | macro. In fact, all macros but \LyX should eventually go away (I'm not | sure it will be easy...). We are in complete agreement. -- Lgb
Re: FormParagraph question
Angus Leeming <[EMAIL PROTECTED]> writes: | Well that's always nice! So what do you propose I do to the dialog. Shall I | just remove the offending "Offset" entry, or shall I leave things as they are | but give the entry a better name such as has been proposed? No no, you should create the user definage layout styles support of course. -- Lgb
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: > But this is not really an offset is it? It is a larger left margin, > right? (offset: move the whole par left/right without rebreak) Well a rebreak on the right side is always needed otherwise we would go out of the paper, don't you think so? If I say indent this paragraph by 40 % of paperwidth then we'll have the restant 60 % for printing the paragraph. Obviously this will change the formating of the paragraph! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Maybe Jesus was right when he said that the meek shall inherit the earth -- but they inherit very small plots, about six feet by three. -- Lazarus Long
Re: FormParagraph question
On 31-May-2001 Angus Leeming wrote: > A! That penny has dropped again. And can this be done for the right > margin also on a per-paragraph basis? Ie, the dialog should have: > > Enlarge Margins -- > Left __ Units > Right __ Units > --- This features right now only an indent from the actual left papermargin to the right. It does nothing with the right margin! So the name you gave it is right, it's just a horizontal offset/indent of the paragraph on the left side! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Peterson's Admonition: When you think you're going down for the third time -- just remember that you may have counted wrong.
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: >| Agreed. This feature was proposed by Juergen and I was not really in >| favor of it at the time. Moreover, if we are to do that, I'd rather >| find a standard package that provides this feature than roll our own >| macro. In fact, all macros but \LyX should eventually go away (I'm not >| sure it will be easy...). > > We are in complete agreement. #:O( Well then we probably should remove the vertical margins too as this also is manual layout and probably we should remove a lot of features and make lyx base it's output ONLY on paragraph styles! I think we can't we have to find some way in between and if we have a vertical spacing than we should permit a horizontal spacing too! If we find a package which does this I'm happy to port this to that package, but until we don't I think we should leave this in. But obviously we're in a democraty and if I'm the only one thinking like this I'll make available a patch to have this feature (it's a bit frustrating thought)! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ If a man loses his reverence for any part of life, he will lose his reverence for all of life. -- Albert Schweitzer
Re: FormParagraph question
On Thu, May 31, 2001 at 03:29:02PM +0200, Jean-Marc Lasgouttes wrote: > Lars> yes... this is possible. But with this we are going down the > Lars> path of manual layout and I am not overly fond of this. We > Lars> really need the user to be able to dynamically create new > Lars> paragraph styles (new ones, and ones based on existing ones.) > > Agreed. This feature was proposed by Juergen and I was not really in > favor of it at the time. Moreover, if we are to do that, I'd rather > find a standard package that provides this feature than roll our own > macro. In fact, all macros but \LyX should eventually go away (I'm not > sure it will be easy...). chngpage.sty, but it is not a standard package.
Re: FormParagraph question
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 31-May-2001 Lars Gullik Bjønnes wrote: | | > But this is not really an offset is it? It is a larger left margin, | > right? (offset: move the whole par left/right without rebreak) | | Well a rebreak on the right side is always needed otherwise we would | go out of the paper, don't you think so? I am talking about terminology. offset != margin | If I say indent this paragraph | by 40 % of paperwidth then we'll have the restant 60 % for printing | the paragraph. Obviously this will change the formating of the | paragraph! sure. "make left margin of this paragraph to 40% of the pagewidth" -- Lgb
Re: FormParagraph question
Juergen Vigna <[EMAIL PROTECTED]> writes: | This features right now only an indent from the actual left papermargin | to the right. It does nothing with the right margin! So the name you gave | it is right, it's just a horizontal offset/indent of the paragraph on the | left side! offset is still wrong. And since we already use "indent" for something else we should use "margin" here. -- Lgb
Re: FormParagraph question
On Thu, May 31, 2001 at 02:50:50PM +0100, Angus Leeming wrote: > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Precedence: bulk > X-No-Archive: yes > List-Post: <mailto:[EMAIL PROTECTED]> > List-Help: <mailto:[EMAIL PROTECTED]> > List-Unsubscribe: <mailto:[EMAIL PROTECTED]> > Delivered-To: mailing list [EMAIL PROTECTED] > From: Angus Leeming <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: FormParagraph question > Date: Thu, 31 May 2001 14:50:50 +0100 > X-Mailer: KMail [version 1.1.99] > In-Reply-To: <[EMAIL PROTECTED]> > > On Thursday 31 May 2001 14:33, Lars Gullik Bjønnes wrote: > > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > > | >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > | > > | Lars> Should be "Change Margins" (alt. modify) if course since the > > | Lars> margins can also be made smaller. > > | > > | This is more difficult... > > | > > | Lars> yes... this is possible. But with this we are going down the > > | Lars> path of manual layout and I am not overly fond of this. We > > | Lars> really need the user to be able to dynamically create new > > | Lars> paragraph styles (new ones, and ones based on existing ones.) > > | > > | Agreed. This feature was proposed by Juergen and I was not really in > > | favor of it at the time. Moreover, if we are to do that, I'd rather > > | find a standard package that provides this feature than roll our own > > | macro. In fact, all macros but \LyX should eventually go away (I'm not > > | sure it will be easy...). > > > > We are in complete agreement. > > Well that's always nice! So what do you propose I do to the dialog. Shall I > just remove the offending "Offset" entry, or shall I leave things as they are > but give the entry a better name such as has been proposed? > > Angus (who appears to have opened a can of worms!) There is a command in plain TeX called \narrower, which narrows both sides by the amount \parindent, default 20pt. I think that's a lot better than allowing the user to enter inches or mm's or points :-) Martin -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Department of Surveying P.O. Box 1200, FIN-02015 HUT, Finland :wq
Re: FormParagraph question
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: >> We are in complete agreement. Juergen> #:O( Juergen> Well then we probably should remove the vertical margins too Juergen> as this also is manual layout and probably we should remove a Juergen> lot of features and make lyx base it's output ONLY on Juergen> paragraph styles! What I meant is that we should try to avoid special macros. Juergen> If we find a package which does this I'm happy to port this Juergen> to that package, but until we don't I think we should leave Juergen> this in. But obviously we're in a democraty and if I'm the Juergen> only one thinking like this I'll make available a patch to Juergen> have this feature (it's a bit frustrating thought)! Anyway, since the feature is already in, we should keep it until we are in the position to add a better one... JMarc
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: > Juergen Vigna <[EMAIL PROTECTED]> writes: > >| This features right now only an indent from the actual left papermargin >| to the right. It does nothing with the right margin! So the name you gave >| it is right, it's just a horizontal offset/indent of the paragraph on the >| left side! > > offset is still wrong. > And since we already use "indent" for something else we should use > "margin" here. Well I can live with the word "Enlarge Left Margin" if you think this is better (well it's exactly what it does). Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Q: What do little WASPs want to be when they grow up? A: The very best person they can possibly be.
Re: FormParagraph question
Juergen Vigna <[EMAIL PROTECTED]> writes: | Well then we probably should remove the vertical margins too as this also | is manual layout and probably we should remove a lot of features and make | lyx base it's output ONLY on paragraph styles! That would be ideal, albeit a bit utopic. | I think we can't we have to find some way in between and if we have a | vertical spacing than we should permit a horizontal spacing too! or perhaps we should decouple the spacings from the paragraph... | If we find a package which does this I'm happy to port this to that | package, but until we don't I think we should leave this in. But obviously | we're in a democraty and if I'm the only one thinking like this I'll make | available a patch to have this feature (it's a bit frustrating thought)! I have no problem with having a paragraph "left margin, and right margin" option, but we should avoid adding too much to this so that the "correct/nice" solution will be close to impossible. -- Lgb
Re: FormParagraph question
On 31-May-2001 Lars Gullik Bjønnes wrote: > or perhaps we should decouple the spacings from the paragraph... I don't think so. > I_have no problem with having a paragraph "left margin, and right > margin" option, but we should avoid adding too much to this so that > the "correct/nice" solution will be close to impossible. I can agree with this! Jürgen (Jürgen who's putting on his gear for driving home with his motorcycle before it's going to rain again) -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Earn cash in your spare time -- blackmail your friends.
Re: FormParagraph question
On Thu, May 31, 2001 at 04:41:22PM +0200, Juergen Vigna wrote: ... > Date: Thu, 31 May 2001 16:41:22 +0200 (CEST) > Reply-To: Juergen Vigna <[EMAIL PROTECTED]> > From: Juergen Vigna <[EMAIL PROTECTED]> > To: Martin Vermeer <[EMAIL PROTECTED]> > Subject: Re: FormParagraph question > Cc: [EMAIL PROTECTED] > > > On 31-May-2001 Martin Vermeer wrote: > > > There is a command in plain TeX called \narrower, which narrows both sides > > by the amount \parindent, default 20pt. > > > > I think that's a lot better than allowing the user to enter inches or mm's > > or points :-) > > I don't want narrower margins I want to move the paragraph to the right and > leave right margin as it is. I could do this now also using a tabular with > 2 columns and write only in the right column, but it's not really what you > think of friedly handling. > > Jürgen OK, there are separate \leftskip and \rightskip commands for this. Martin -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Department of Surveying P.O. Box 1200, FIN-02015 HUT, Finland :wq
Re: FormParagraph question
On Thu, May 31, 2001 at 05:08:33PM +0200, Juergen Vigna wrote: > > Jürgen (Jürgen who's putting on his gear for driving home with his > motorcycle before it's going to rain again) > Out of topic, I know. This week the outside temperature has been over 30 C all the days. That means a) the rain is not a problem b) it is not easy to work in LyX... Yes, the sun is outstanding, the beach just 4 km away and I'm complayning... -- José
Re: FormParagraph question
Angus Leeming wrote: > > On Thursday 31 May 2001 14:33, Lars Gullik Bjønnes wrote: > > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > > | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > | > > | Lars> Should be "Change Margins" (alt. modify) if course since the > > | Lars> margins can also be made smaller. > > | > > | This is more difficult... > > | > > | Lars> yes... this is possible. But with this we are going down the > > | Lars> path of manual layout and I am not overly fond of this. We > > | Lars> really need the user to be able to dynamically create new > > | Lars> paragraph styles (new ones, and ones based on existing ones.) > > | > > | Agreed. This feature was proposed by Juergen and I was not really in > > | favor of it at the time. Moreover, if we are to do that, I'd rather > > | find a standard package that provides this feature than roll our own > > | macro. In fact, all macros but \LyX should eventually go away (I'm not > > | sure it will be easy...). > > > > We are in complete agreement. > > Well that's always nice! So what do you propose I do to the dialog. Shall I > just remove the offending "Offset" entry, or shall I leave things as they are > but give the entry a better name such as has been proposed? "offset", left and or right margins are always the same: a list with left- and rightmargin. therefore it makes sense, to have only two fields for left and for right. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
FormParagraph question
I've been re-designinging the FormParagraph dialog as something quick and easy to do, but I have a question: Are the Minipage and Floatflt check buttons in FormParagraph-Extra mutually exclusive? If so, I'll create a Type choice that will have the entries: Normal | Minipage | Floatflt Another question: when is the vertical alignment used? By any paragraph? or is this Minipage-specific? Angus
RE: FormParagraph question
On 30-May-2001 Angus Leeming wrote: Are the Minipage and Floatflt check buttons in FormParagraph-Extra mutually exclusive? If so, I'll create a Type choice that will have the The only thing we should use in this box (and Lars surely doesn't agree with me) is the indented paragraph stuff, as that is the only thing which actually is no real hack and is used only for each single paragraph so that it does not compromise pagebreaks and other stuff. All the other stuff should go! I think it is quite interesting to be able to give the paragraph a horizontal offset too (the vertical offset is already in the main paragraph layout!) and this is used a lot (at least by people I know off). Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ The curse of the Irish is not that they don't know the words to a song -- it's that they know them *__all*. -- Susan Dooley
Re: FormParagraph question
On 30-May-2001 Angus Leeming wrote: I'm not very familiar with Minipages, but this would require the use of a minipage? (Not that I have a problem with that, just enquiring?) No, this just put's some extra stuff before the paragraph try it and have a look at the LaTeX output. 3 tabbed folders Folder 1. General: stuff about this paragraph What is Type and Indentation? I assume that Horizontal Alignment changed to this from the checkboxes Folder 2: Surrounds: spaces, lines, pagebreaks above below Spaces should remain Vertical Spaces IMO Folder 3. Minipage Can we get rid of this entirely? Is it not covered by the InsetMinipage? Yes we should get rid of this completely! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Education is the process of casting false pearls before real swine. -- Irwin Edman
Re: FormParagraph question
Juergen Vigna [EMAIL PROTECTED] writes: | On 30-May-2001 Angus Leeming wrote: | | Are the Minipage and Floatflt check buttons in FormParagraph-Extra | mutually exclusive? If so, I'll create a Type choice that will have the the formParagaph-extra should be removed compleetely. | The only thing we should use in this box (and Lars surely doesn't agree | with me) is the indented paragraph stuff, as that is the only thing which | actually is no real hack and is used only for each single paragraph so | that it does not compromise pagebreaks and other stuff. All the other stuff | should go! has nothing to du in any extra section. | I think it is quite interesting to be able to give the paragraph a horizontal | offset too (the vertical offset is already in the main paragraph layout!) and | this is used a lot (at least by people I know off). what we want it the possiblity to tune paragraph styles. we should not much around hardcoding changes. If I want a standard paragraph with indented right margin, then I should create a standard intented style. but we need someone to write support for this ... -- Lgb
FormParagraph question
I've been re-designinging the FormParagraph dialog as something quick and easy to do, but I have a question: Are the "Minipage" and "Floatflt" check buttons in FormParagraph->Extra mutually exclusive? If so, I'll create a "Type" choice that will have the entries: Normal | Minipage | Floatflt Another question: when is the "vertical alignment" used? By any paragraph? or is this Minipage-specific? Angus
RE: FormParagraph question
On 30-May-2001 Angus Leeming wrote: > Are the "Minipage" and "Floatflt" check buttons in FormParagraph->Extra > mutually exclusive? If so, I'll create a "Type" choice that will have the The only thing we should use in this box (and Lars surely doesn't agree with me) is the indented paragraph stuff, as that is the only thing which actually is no "real" hack and is used only for each single paragraph so that it does not compromise pagebreaks and other stuff. All the other stuff should go! I think it is quite interesting to be able to give the paragraph a horizontal offset too (the vertical offset is already in the main paragraph layout!) and this is used a lot (at least by people I know off). Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ The curse of the Irish is not that they don't know the words to a song -- it's that they know them *__all*. -- Susan Dooley
Re: FormParagraph question
On 30-May-2001 Angus Leeming wrote: > I'm not very familiar with Minipages, but this would require the use of a > minipage? (Not that I have a problem with that, just enquiring?) No, this just put's some extra stuff before the paragraph try it and have a look at the LaTeX output. > 3 tabbed folders > Folder 1. General: > stuff about this paragraph What is "Type" and "Indentation"? I assume that "Horizontal Alignment" changed to this from the checkboxes > Folder 2: Surrounds: > spaces, lines, pagebreaks above & below "Spaces" should remain "Vertical Spaces" IMO > Folder 3. Minipage > Can we get rid of this entirely? Is it not covered by the InsetMinipage? Yes we should get rid of this completely! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Education is the process of casting false pearls before real swine. -- Irwin Edman
Re: FormParagraph question
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 30-May-2001 Angus Leeming wrote: | | > Are the "Minipage" and "Floatflt" check buttons in FormParagraph->Extra | > mutually exclusive? If so, I'll create a "Type" choice that will have the the formParagaph->extra should be removed compleetely. | The only thing we should use in this box (and Lars surely doesn't agree | with me) is the indented paragraph stuff, as that is the only thing which | actually is no "real" hack and is used only for each single paragraph so | that it does not compromise pagebreaks and other stuff. All the other stuff | should go! has nothing to du in any "extra" section. | I think it is quite interesting to be able to give the paragraph a horizontal | offset too (the vertical offset is already in the main paragraph layout!) and | this is used a lot (at least by people I know off). what we want it the possiblity to tune paragraph styles. we should not much around hardcoding changes. If I want a "standard" paragraph with indented right margin, then I should create a "standard intented" style. but we need someone to write support for this ... -- Lgb
Re: FormParagraph question
On 06-Mar-2001 Allan Rae wrote: On Mon, 5 Mar 2001, Angus Leeming wrote: Jrgen, I was browsing through FormParagraph and I've come across something that confuses me. Do you really mean to "activate" the lines below that I've highlighted with a "?", or should they be "deactivate"? Possibly wrong. Although the handling within FormParagraph is peculiar because there are chunks of widgets that get activated or deactivated by radio buttons. This is where the stuff I was working on to extend ButtonController and RadioButtonGroup come in. Sorry for the late reply. This is wrong. The 2 buttons should only be activated if the Minipage button is pressed. Althought we will get rid of this minipage hack soon when we have the minipage inset ;) Jrgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jrgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ How much does she love you? Less than you'll ever know.
Re: FormParagraph question
On 06-Mar-2001 Allan Rae wrote: > On Mon, 5 Mar 2001, Angus Leeming wrote: > >> Jürgen, >> >> I was browsing through FormParagraph and I've come across something that >> confuses me. Do you really mean to "activate" the lines below that I've >> highlighted with a "?", or should they be "deactivate"? > > Possibly wrong. Although the handling within FormParagraph is peculiar > because there are chunks of widgets that get activated or deactivated by > radio buttons. This is where the stuff I was working on to extend > ButtonController and RadioButtonGroup come in. Sorry for the late reply. This is wrong. The 2 buttons should only be activated if the Minipage button is pressed. Althought we will get rid of this minipage hack soon when we have the minipage inset ;) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ How much does she love you? Less than you'll ever know.
FormParagraph question
Jrgen, I was browsing through FormParagraph and I've come across something that confuses me. Do you really mean to "activate" the lines below that I've highlighted with a "?", or should they be "deactivate"? The reason I ask is because I have a little helper function that I thought would simplify the source considerably. void setEnabled(FL_OBJECT * ob, bool enable) { if (enable) { fl_activate_object(ob); fl_set_object_lcol(ob, FL_BLACK); } else { fl_deactivate_object(ob); fl_set_object_lcol(ob, FL_INACTIVE); } } Angus bool FormParagraph::input(FL_OBJECT * ob, long) { ... } else if (ob == extra_-radio_pextra_minipage) { int n = fl_get_button(extra_-radio_pextra_minipage); if (n) { fl_set_button(extra_-radio_pextra_indent, 0); fl_set_button(extra_-radio_pextra_floatflt, 0); fl_activate_object(extra_-input_pextra_width); fl_set_object_lcol(extra_-input_pextra_width, FL_BLACK); fl_activate_object(extra_-input_pextra_widthp); fl_set_object_lcol(extra_-input_pextra_widthp, FL_BLACK); fl_activate_object(extra_-radio_pextra_top); fl_set_object_lcol(extra_-radio_pextra_top, FL_BLACK); fl_activate_object(extra_-radio_pextra_middle); fl_set_object_lcol(extra_-radio_pextra_middle, FL_BLACK); fl_activate_object(extra_-radio_pextra_bottom); fl_set_object_lcol(extra_-radio_pextra_bottom, FL_BLACK); fl_activate_object(extra_-radio_pextra_hfill); fl_set_object_lcol(extra_-radio_pextra_hfill, FL_BLACK); fl_activate_object(extra_-radio_pextra_startmp); fl_set_object_lcol(extra_-radio_pextra_startmp, FL_BLACK); } else { fl_deactivate_object(extra_-input_pextra_width); fl_set_object_lcol(extra_-input_pextra_width, FL_INACTIVE); fl_deactivate_object(extra_-input_pextra_widthp); fl_set_object_lcol(extra_-input_pextra_widthp, FL_INACTIVE); fl_deactivate_object(extra_-radio_pextra_top); fl_set_object_lcol(extra_-radio_pextra_top, FL_INACTIVE); fl_deactivate_object(extra_-radio_pextra_middle); fl_set_object_lcol(extra_-radio_pextra_middle, FL_INACTIVE); fl_deactivate_object(extra_-radio_pextra_bottom); fl_set_object_lcol(extra_-radio_pextra_bottom, FL_INACTIVE); ? fl_activate_object(extra_-radio_pextra_hfill); fl_set_object_lcol(extra_-radio_pextra_hfill, FL_INACTIVE); ? fl_activate_object(extra_-radio_pextra_startmp); fl_set_object_lcol(extra_-radio_pextra_startmp, FL_INACTIVE); } } else if (ob == extra_-radio_pextra_floatflt) { int n = fl_get_button(extra_-radio_pextra_floatflt); if (n) { fl_set_button(extra_-radio_pextra_indent, 0); fl_set_button(extra_-radio_pextra_minipage, 0); fl_activate_object(extra_-input_pextra_width); fl_set_object_lcol(extra_-input_pextra_width, FL_BLACK); fl_activate_object(extra_-input_pextra_widthp); fl_set_object_lcol(extra_-input_pextra_widthp, FL_BLACK); } else { fl_deactivate_object(extra_-input_pextra_width); fl_set_object_lcol(extra_-input_pextra_width, FL_INACTIVE); fl_deactivate_object(extra_-input_pextra_widthp); fl_set_object_lcol(extra_-input_pextra_widthp, FL_INACTIVE); } fl_deactivate_object(extra_-radio_pextra_top); fl_set_object_lcol(extra_-radio_pextra_top, FL_INACTIVE); fl_deactivate_object(extra_-radio_pextra_middle); fl_set_object_lcol(extra_-radio_pextra_middle, FL_INACTIVE); fl_deactivate_object(extra_-radio_pextra_bottom); fl_set_object_lcol(extra_-radio_pextra_bottom, FL_INACTIVE); ? fl_activate_object(extra_-radio_pextra_hfill); fl_set_object_lcol(extra_-radio_pextra_hfill, FL_INACTIVE); ? fl_activate_object(extra_-radio_pextra_startmp); fl_set_object_lcol(extra_-radio_pextra_startmp, FL_INACTIVE); }
Re: FormParagraph question
On Mon, 5 Mar 2001, Angus Leeming wrote: Jrgen, I was browsing through FormParagraph and I've come across something that confuses me. Do you really mean to "activate" the lines below that I've highlighted with a "?", or should they be "deactivate"? Possibly wrong. Although the handling within FormParagraph is peculiar because there are chunks of widgets that get activated or deactivated by radio buttons. This is where the stuff I was working on to extend ButtonController and RadioButtonGroup come in. I should try to get it running soon (hopefully this weekend I might be able to do something other than build W2k images/boxes for the Uni). Allan.
FormParagraph question
Jürgen, I was browsing through FormParagraph and I've come across something that confuses me. Do you really mean to "activate" the lines below that I've highlighted with a "?", or should they be "deactivate"? The reason I ask is because I have a little helper function that I thought would simplify the source considerably. void setEnabled(FL_OBJECT * ob, bool enable) { if (enable) { fl_activate_object(ob); fl_set_object_lcol(ob, FL_BLACK); } else { fl_deactivate_object(ob); fl_set_object_lcol(ob, FL_INACTIVE); } } Angus bool FormParagraph::input(FL_OBJECT * ob, long) { ... } else if (ob == extra_->radio_pextra_minipage) { int n = fl_get_button(extra_->radio_pextra_minipage); if (n) { fl_set_button(extra_->radio_pextra_indent, 0); fl_set_button(extra_->radio_pextra_floatflt, 0); fl_activate_object(extra_->input_pextra_width); fl_set_object_lcol(extra_->input_pextra_width, FL_BLACK); fl_activate_object(extra_->input_pextra_widthp); fl_set_object_lcol(extra_->input_pextra_widthp, FL_BLACK); fl_activate_object(extra_->radio_pextra_top); fl_set_object_lcol(extra_->radio_pextra_top, FL_BLACK); fl_activate_object(extra_->radio_pextra_middle); fl_set_object_lcol(extra_->radio_pextra_middle, FL_BLACK); fl_activate_object(extra_->radio_pextra_bottom); fl_set_object_lcol(extra_->radio_pextra_bottom, FL_BLACK); fl_activate_object(extra_->radio_pextra_hfill); fl_set_object_lcol(extra_->radio_pextra_hfill, FL_BLACK); fl_activate_object(extra_->radio_pextra_startmp); fl_set_object_lcol(extra_->radio_pextra_startmp, FL_BLACK); } else { fl_deactivate_object(extra_->input_pextra_width); fl_set_object_lcol(extra_->input_pextra_width, FL_INACTIVE); fl_deactivate_object(extra_->input_pextra_widthp); fl_set_object_lcol(extra_->input_pextra_widthp, FL_INACTIVE); fl_deactivate_object(extra_->radio_pextra_top); fl_set_object_lcol(extra_->radio_pextra_top, FL_INACTIVE); fl_deactivate_object(extra_->radio_pextra_middle); fl_set_object_lcol(extra_->radio_pextra_middle, FL_INACTIVE); fl_deactivate_object(extra_->radio_pextra_bottom); fl_set_object_lcol(extra_->radio_pextra_bottom, FL_INACTIVE); ? fl_activate_object(extra_->radio_pextra_hfill); fl_set_object_lcol(extra_->radio_pextra_hfill, FL_INACTIVE); ? fl_activate_object(extra_->radio_pextra_startmp); fl_set_object_lcol(extra_->radio_pextra_startmp, FL_INACTIVE); } } else if (ob == extra_->radio_pextra_floatflt) { int n = fl_get_button(extra_->radio_pextra_floatflt); if (n) { fl_set_button(extra_->radio_pextra_indent, 0); fl_set_button(extra_->radio_pextra_minipage, 0); fl_activate_object(extra_->input_pextra_width); fl_set_object_lcol(extra_->input_pextra_width, FL_BLACK); fl_activate_object(extra_->input_pextra_widthp); fl_set_object_lcol(extra_->input_pextra_widthp, FL_BLACK); } else { fl_deactivate_object(extra_->input_pextra_width); fl_set_object_lcol(extra_->input_pextra_width, FL_INACTIVE); fl_deactivate_object(extra_->input_pextra_widthp); fl_set_object_lcol(extra_->input_pextra_widthp, FL_INACTIVE); } fl_deactivate_object(extra_->radio_pextra_top); fl_set_object_lcol(extra_->radio_pextra_top, FL_INACTIVE); fl_deactivate_object(extra_->radio_pextra_middle); fl_set_object_lcol(extra_->radio_pextra_middle, FL_INACTIVE); fl_deactivate_object(extra_->radio_pextra_bottom); fl_set_object_lcol(extra_->radio_pextra_bottom, FL_INACTIVE); ? fl_activate_object(extra_->radio_pextra_hfill); fl_set_object_lcol(extra_->radio_pextra_hfill, FL_INACTIVE); ? fl_activate_object(extra_->radio_pextra_startmp); fl_set_object_lcol(extra_->radio_pextra_startmp, FL_INACTIVE); }
Re: FormParagraph question
On Mon, 5 Mar 2001, Angus Leeming wrote: > Jürgen, > > I was browsing through FormParagraph and I've come across something that > confuses me. Do you really mean to "activate" the lines below that I've > highlighted with a "?", or should they be "deactivate"? Possibly wrong. Although the handling within FormParagraph is peculiar because there are chunks of widgets that get activated or deactivated by radio buttons. This is where the stuff I was working on to extend ButtonController and RadioButtonGroup come in. I should try to get it running soon (hopefully this weekend I might be able to do something other than build W2k images/boxes for the Uni). Allan.