Re: [PATCH] frameless boxes for tex2lyx

2003-12-11 Thread Martin Vermeer
On Thu, Dec 11, 2003 at 10:24:05PM +0100, Georg Baum spake thusly: > We > could simplify the code if LyX would use the LaTeX names for length > variables and not "colp" etc. Hear hear. - Martin pgp0.pgp Description: PGP signature

Hollywood class

2003-12-11 Thread Kayvan A. Sylvan
In the current CVS, when writing a document with the hollywood class, I am noticing that the author's address (entered in the "Right Address" paragraph style) is not rendered in the final output. Does anyone know what is happening there? Garst, if you are reading this, can you check? It happens w

[patch] splash crash

2003-12-11 Thread Alfredo Braunstein
avoid crashing when dragging over the splash screen: Index: BufferView_pimpl.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView_pimpl.C,v retrieving revision 1.474 diff -u -r1.474 BufferView_pimpl.C --- BufferView_pimpl.C

[PATCH] frameless boxes for tex2lyx

2003-12-11 Thread Georg Baum
The attached patch makes tex2lyx output file format 227 with minipages and parboxes converted to frameless box insets. The conversion was starightforward, although I had to change the length functions again. We could simplify the code if LyX would use the LaTeX names for length variables and no

Re: lyx2lyx questions.

2003-12-11 Thread Angus Leeming
[EMAIL PROTECTED] wrote: > Hi Angus, > I am writing from here since I'm mute, > I can receive my email but not send it. > (the #$$%&** mail server is down) > > I don't understand your point regarding lyx2lyx. > > If I put all the needed functions in one place, > then I must do it for all the pre

lyx2lyx questions.

2003-12-11 Thread jamatos
Hi Angus, I am writing from here since I'm mute, I can receive my email but not send it. (the #$$%&** mail server is down) I don't understand your point regarding lyx2lyx. If I put all the needed functions in one place, then I must do it for all the previous formats. What

Re: An idea to get rid of 21 LFUNs yet give us greater power.

2003-12-11 Thread Martin Vermeer
On Thu, Dec 11, 2003 at 05:00:34PM +, Angus Leeming spake thusly: > if (name == "bibitem" || > name == "box" || > name == "branch" || > name == "charstyle" || > name == "environment" || >

Re: Inset clean-up

2003-12-11 Thread Martin Vermeer
On Thu, Dec 11, 2003 at 03:43:32PM +0100, Andre Poenitz spake thusly: > On Thu, Dec 11, 2003 at 02:27:50PM +, Angus Leeming wrote: > > I guess that it is too big to go in as-is, so I'll revert it in my > > tree and re-apply it bit by bit with lots of testing. > > Just commit. The changes ar

Re: Note, branch mailer clean-up

2003-12-11 Thread Andre Poenitz
On Thu, Dec 11, 2003 at 06:24:16PM +, Angus Leeming wrote: > > I just happened to notice that M-x accent-hungarian-umluat o does > > not work in 1.4.0cvs ;-) > > Depends how you define 'not working'. Here I get '\H{111}', which is > nice ;-) But somewhat surprising for the unsuspecting. A

Re: Note, branch mailer clean-up

2003-12-11 Thread Angus Leeming
Andre Poenitz wrote: > Not much. > So look for another playground. Not my playground anyway. It was you who was bothered by this, remember. I was sufficiently respectful to take the time to look into your ideas and sufficiently disrespectful to refute them once I'd done so ;-) > I just happene

Re: InsetBox and noindent

2003-12-11 Thread Martin Vermeer
On Thu, Dec 11, 2003 at 12:39:26PM +0100, Jean-Marc Lasgouttes spake thusly: > > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > >> I *think* it is about making sure that a box that is the full width > >> of the text actually has its left edge *in* the left margin (and > >> its right

Re: Note, branch mailer clean-up

2003-12-11 Thread Andre Poenitz
On Thu, Dec 11, 2003 at 05:57:57PM +, Angus Leeming wrote: > Andre Poenitz wrote: > In fact, InsetBibitem could have a constructor from a string and user > code would look like > > if (name == "bibitem") { > return new InsetBibitem(cmd.argument); > > I'd rather that we used a free f

Re: Note, branch mailer clean-up

2003-12-11 Thread Angus Leeming
Andre Poenitz wrote: In fact, InsetBibitem could have a constructor from a string and user code would look like if (name == "bibitem") { return new InsetBibitem(cmd.argument); I'd rather that we used a free function returning 0 if the data was bogus. InsetOld * InsetCommandMail

Re: Note, branch mailer clean-up

2003-12-11 Thread Andre Poenitz
On Thu, Dec 11, 2003 at 09:58:44AM +, Angus Leeming wrote: > 2. Example usage of string2params, in factory.C's createInset: > > case LFUN_INSET_INSERT: { > string const name = cmd.getArg(0); > > if (name == "bibitem") { > InsetCo

Re: makepsres: command not found

2003-12-11 Thread Andre Poenitz
On Wed, Dec 10, 2003 at 09:23:30PM -0800, Kayvan A. Sylvan wrote: > When I install the RPM, I get this: > > checking [for cmex10]... yes (pfb) > checking [for cmmi10]... yes (pfb) > checking [for cmr10]... yes (pfb) > checking [for cmsy10]... yes (pfb) > checking [for eufm10]... yes (pfb) > checki

An idea to get rid of 21 LFUNs yet give us greater power.

2003-12-11 Thread Angus Leeming
I mentioned yesterday that we can now open all the dialogs from the command line, but that subsequently pressing 'Apply' has no effect for InsetCollabsable-derived insets. Ie, 'dialog-show-new-inset minipage' works but 'Apply' doesn't result in a minipage inset being inserted. 'Apply' leads to

Re: makepsres: command not found

2003-12-11 Thread Kuba Ober
On Thursday 11 December 2003 09:41 am, Jean-Marc Lasgouttes wrote: > > "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: > > Kayvan> When I install the RPM, I get this: > > What version? > > What happens next? Does installation fail? > > Kayvan> What is makepsres? > > It is an utility nee

OT ramblings (was Re: EDITABLE)

2003-12-11 Thread Kuba Ober
On Wednesday 10 December 2003 06:48 pm, Angus Leeming wrote: > Kuba Ober wrote: > > Methinks s/mislead/misled/, but you've had your mandatory punishment > > anyway and this is just a freebie :) > > Well, if you think in American English, then there's nothing I can do > to help you. I didn't know i

Display bug with note insets

2003-12-11 Thread Kayvan A. Sylvan
Open the example/script_form.lyx file. Go to any of the yellow notes and click on them to open. The text runs off the right margin of the box. Click on the inset (in the box), now suddenly everything is displayed correctly. -- Kayvan A. Sylvan | Proud husband of | Father to my

Re: lyx-devel src/: ChangeLog lyxfunc.C

2003-12-11 Thread Andre Poenitz
On Thu, Dec 11, 2003 at 12:31:15PM +0100, Michael Schmitt wrote: > [EMAIL PROTECTED] wrote: > > >Modified files: > > lyx-devel/src/: ChangeLog lyxfunc.C > > > >Log message: > > Enable all inset dialogs to be opened from the command line. > > > > Just a short question: Why is one class ca

Re: makepsres: command not found

2003-12-11 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> When I install the RPM, I get this: What version? What happens next? Does installation fail? Kayvan> What is makepsres? It is an utility needed to register fonts for DPS-aware X servers (a bit like mkfontdir). JMarc

Re: Inset clean-up

2003-12-11 Thread Andre Poenitz
On Thu, Dec 11, 2003 at 02:27:50PM +, Angus Leeming wrote: > I guess that it is too big to go in as-is, so I'll revert it in my > tree and re-apply it bit by bit with lots of testing. Just commit. The changes are straightforward and any problem should be ironed out easily. You can spent your

Re: ...and finally

2003-12-11 Thread Andre Poenitz
On Wed, Dec 10, 2003 at 10:09:53PM +, Angus Leeming wrote: > .. attached is the patch I was trying to make at the start of all > this. With this all inset dialogs can be opened from the command > line: > > dialog-show-new-inset bibitem > [...] I like it. Andre'

Re: EDITABLE

2003-12-11 Thread Andre Poenitz
On Wed, Dec 10, 2003 at 06:45:02PM +, Angus Leeming wrote: > > Naughty boy, Angus, naughty boy :) > > s/there/their/ > > Actually, you're exactly wrong. Cool stuff. More. Andre'

Inset clean-up

2003-12-11 Thread Angus Leeming
This is the sort of patch that goes down well: diffstat reports 176 insertions and 452 deletions. What it does: * adds a 'mailer_name_' variable to InsetCommand, enabling us to get rid of the destructors and many of the priv_dispatch member functions in classes derived from InsetCommand. * get

Re: lyx-devel src/: ChangeLog lyxfunc.C

2003-12-11 Thread Angus Leeming
Michael Schmitt wrote: > Just a short question: Why is one class called "InsetOld"? Does it > mean that it will be removed eventually? src/mathed/math_inset.h:class MathInset : public InsetBase { src/insets/inset.h:class InsetOld : public InsetBase { Yes. The Math insets all derive from MathInset

Re: InsetBox and noindent

2003-12-11 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: >> I *think* it is about making sure that a box that is the full width >> of the text actually has its left edge *in* the left margin (and >> its right edge thus *in* the right margin). Georg> I don't like this so much ;-( Why should a box b

Re: lyx-devel src/: ChangeLog lyxfunc.C

2003-12-11 Thread Michael Schmitt
[EMAIL PROTECTED] wrote: Modified files: lyx-devel/src/: ChangeLog lyxfunc.C Log message: Enable all inset dialogs to be opened from the command line. Just a short question: Why is one class called "InsetOld"? Does it mean that it will be removed eventually? Curious, Michael

Re: Note, branch mailer clean-up

2003-12-11 Thread Angus Leeming
Andre Poenitz wrote: > Have you considered changing that params2string interface to ... > (or when we are at it even > > ostream & InsetBranchMailer::operator<<(ostream & os, > InsetBranchParams const &) > { > os << name << ' '; > os << name_ << ' '; > params.write(os); > // Add all_branches param

Re: InsetBox and noindent

2003-12-11 Thread Georg Baum
Martin Vermeer wrote: > On Wed, Dec 10, 2003 at 10:21:11PM +0100, Georg Baum spake thusly: >> >> Martin, >> >> why does InsetBox writes a \noindent before \begin{minipage} in some >> cases? The old minipage inset did not do this. Does this imply that the >> conversion of minipage -> frameless box

Re: makepsres: command not found

2003-12-11 Thread Angus Leeming
Kayvan A. Sylvan wrote: > When I install the RPM, I get this: > checking [for cmex10]... yes (pfb) > checking [for cmmi10]... yes (pfb) > checking [for cmr10]... yes (pfb) > checking [for cmsy10]... yes (pfb) > checking [for eufm10]... yes (pfb) > checking [for msam10]... yes (pfb) > checking [for