Re: Basic C++ question

2000-10-23 Thread Juergen Vigna
On 20-Oct-2000 Lior Silberman wrote: > Menu *tmp = menu.expand(); > ... > delete tmp; IMO that this is not time critical code! So I would prefer the cleaner (and may be slower) solution! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna

RE: more pointers to references...

2000-10-23 Thread Juergen Vigna
On 20-Oct-2000 Angus Leeming wrote: > This is just a proposal, but going on the "pointers are evil" philosophy, I > think that the following Inset classes can be altered. > I would prefer that this is done after 1.1.6 is out. We have to concentrate that 1.1.6 stabilizes and not change a lot of

RE: Warning: language `default' not recognized!

2000-10-23 Thread Juergen Vigna
On 22-Oct-2000 R. Lahaye wrote: > > Why is the language by default set to 'default' and > then not recognized resulting in a warning? > It's not in LyX the fault, but in the old document your read! We removed the default language and set 'english' as default now (you can change this in lyxrc

Re: Basic C++ question

2000-10-23 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> It breaks the "I allocate, I deallocate" idom. Lars> I'd rather see a Menu & passed in that case. That is the clean Lars> way of avoiding a copy. That's what I did, but I wondered whether it was a good idea. Another (cleaner?

Re: Mathed bugs

2000-10-23 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> While trying to figure out the reason for the crashing bug on Baruch> undo, I've traced it out in the mathed domain. Trying to fix Baruch> various bits that seemed just plain wrong I encountered quite Baruch> a bit of problems and

Re: resizing xform dialogs patch

2000-10-23 Thread Angus Leeming
On Sun, 22 Oct 2000, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | > void FormCommand::showInset( InsetCommand & inset ) > | > { > | > inset_ = &inset; > | > ... > | > } > > This is not safe, ... just imagine what will happen if the > InsetCommand goes out of scope

Re: Bug report update

2000-10-23 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> On 17 Oct 2000, Jean-Marc Lasgouttes wrote: >> - crash when changing layout >> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg13171.html Baruch> Changing the layout itself doesn't cause a crash, at least not Baruch> with 1

XML output style and other things

2000-10-23 Thread Jarmo . Ahonen
Hi all, I read the discussion regarding XML-output from the email archive. And the following message made me to post: > From: Juergen Vigna >Subject: RE: Writing to XML : sample output >Date: Fri, 13 Oct 2000 05:21:52 -0700 > On 12-Oct-2000 Gaillard Pie

Re: Patch: export code

2000-10-23 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> Again, an updated version of the patch. This time, the I've Dekel> added a new feature to the patch: I've replaced the old import Dekel> code by a new code that uses the converter code, so it is now Dekel> possible for example to impo

Re: resizing xform dialogs patch

2000-10-23 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Sun, 22 Oct 2000, Lars Gullik Bjønnes wrote: | > Angus Leeming <[EMAIL PROTECTED]> writes: | > | > void FormCommand::showInset( InsetCommand & inset ) | > | > { | > | > inset_ = &inset; | > | > ... | > | > } | > | > This is not safe,

Re: Basic C++ question

2000-10-23 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> It breaks the "I allocate, I deallocate" idom. | | Lars> I'd rather see a Menu & passed in that case. That is the clean | Lars> way of avoiding a copy. | | That's what I

Re: ANNOUNCE: LyX 1.1.5fix2

2000-10-23 Thread Sasa Janiska
On 19 Oct 2000, Jean-Marc Lasgouttes wrote: > > Dear LyX Users, > > I am glad to announce the release of LyX 1.1.5fix2, which fixes many > bugs present in versions 1.1.5 and 1.1.5fix1. While fix2 has no new > features, you are advised to upgrade to this version, which should > prove more stable

Re: stream_cast<> and Re: LyXFunc/LyXAction

2000-10-23 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | On 22 Oct 2000, Lars Gullik Bjønnes wrote: | | > "Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> writes: | > | > Do you know if anyone has mentioned xtl on the boost list? Perhaps | > that should be done? | > | > Of course to include the xtl in boost the

Re: resizing xform dialogs patch

2000-10-23 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Ok, where is the comment the describes _why_ this is safe. And Lars> it is only safe _becuase_ there are other code that makes it so. Lars> In itself it is unsafe. Does it mean I should refrain from applying the patch? All in

Re: ANNOUNCE: LyX 1.1.5fix2

2000-10-23 Thread Jean-Marc Lasgouttes
> "Sasa" == Sasa Janiska <[EMAIL PROTECTED]> writes: Sasa> I just compiled it and see that there is still bug with the Sasa> macron accent in latin-2 encoding which makes text on the screen Sasa> pretty unreadable because of producing Zwith dot instead macron Sasa> accent. Sasa> Is this bug

Re: Basic C++ question

2000-10-23 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> There is nothing "unclean" about passing a ref to vector, but a Lars> iterator is also nice. I mean we are building in memory a large structure just for the purpose of iterating over it later. JMarc

Unknown tags in lyxrc.defaults

2000-10-23 Thread R. Lahaye
Hi, After the latest upgrade from CVS the console gets the following messages when starting lyx: LyX: Unknown tag `\relyx_command' [around line 25 of file /usr/local/LyX/share/lyx/lyxrc.defaults] LyX: Unknown tag `\linuxdoc_to_lyx_command' [around line 26 of file

Re: Unknown tags in lyxrc.defaults

2000-10-23 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Hi, After the latest upgrade from CVS the console gets the R> following messages when starting lyx: Run Options->Reconfigure. JMarc

Re: configure fails

2000-10-23 Thread Jean-Marc Lasgouttes
> "Johan" == Johan Kuipers <[EMAIL PROTECTED]> writes: Johan> Hi, I've got a problem with configure, it says: Did you use weird settings for configure? JMarc

Re: resizing xform dialogs patch

2000-10-23 Thread Angus Leeming
On Mon, 23 Oct 2000, Jean-Marc Lasgouttes wrote: > Does it mean I should refrain from applying the patch? All in all, I > think this should wait after 1.1.6, unless bugs are fixed in the > process. No bugs are fixed (and none are introduced, Lars!). The patch does nothing but make the code clean

Re: ANNOUNCE: LyX 1.1.5fix2

2000-10-23 Thread Garst R. Reese
Jean-Marc Lasgouttes wrote: > > > "Sasa" == Sasa Janiska <[EMAIL PROTECTED]> writes: > > Sasa> I just compiled it and see that there is still bug with the > Sasa> macron accent in latin-2 encoding which makes text on the screen > Sasa> pretty unreadable because of producing Zwith dot instead

Re: Patch: export code

2000-10-23 Thread Dekel Tsur
On Sun, Oct 22, 2000 at 11:45:32PM +0200, Dekel Tsur wrote: > On Sun, Oct 22, 2000 at 11:24:42PM +1000, Allan Rae wrote: > > > > 2. Previously, when you had a linuxdoc document, in the view/export menus > > > contained "HTML (using sgml2html)" AND "HTML (using tth)" (i.e. using the chain > > > li

Re: Basic C++ question

2000-10-23 Thread Lars Gullik Bjønnes
Lior Silberman <[EMAIL PROTECTED]> writes: | > If we want to do this exception safe we have to do something like: | > | > build_men(Menu & m) { | > Menu me; | > ...; // populate me | > m.swap(me); | > } | > | > to avoid half populated objects, and objects in unknown stat

Re: Basic C++ question

2000-10-23 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> There is nothing "unclean" about passing a ref to vector, but a | Lars> iterator is also nice. | | I mean we are building in memory a large structure just for the | purpo

Custom export

2000-10-23 Thread Dekel Tsur
Should I remove the custom export dialog from the code (as the new export code makes it obsolete) ?

Re: Custom export

2000-10-23 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | Should I remove the custom export dialog from the code (as the new export | code makes it obsolete) ? IMHO, yes. Jürgen, are you still using the sendfax code? I'd really, really like to remove that too. anyway, please wait till after 1.1.6pre1

bug in qarch generation of kde files

2000-10-23 Thread Lars Gullik Bjønnes
Several places a _("") is output, that is very wrong and make the lyx.port files and the .po files have the wrong header. please fix this. Lgb

Table-float and inserting a tabular ?

2000-10-23 Thread R. Lahaye
Hi, Running 1.1.6cvs/XForms0.89 on Linux RH6.2. When I insert a table float, I get the -float with the bold "Table:" for the caption. My cursor is either immediately after the "Table:" or outside the float. I put the cursor immediately after the "Table:". When I insert a tabular here, the tabu

Re: Table-float and inserting a tabular ?

2000-10-23 Thread Lars Gullik Bjønnes
"R. Lahaye" <[EMAIL PROTECTED]> writes: | I put the cursor immediately after the "Table:". When I insert | a tabular here, the tabular is inserted inside the caption (between | the "Table:" text and any text I will type in the caption). | In addition, this causes errors, when trying to 'latex' th

Gnome Documentation Project Template

2000-10-23 Thread David Burley
Hello, I have been using LyX for a while now to write my LDP HOWTO. I have decided I now want to work on a GDP Manual. However there is no template for it for LyX and there are not selections for some of the docbook tags that GDP uses. Is there anyone I can get ahold of to get such support adde

Re: Table-float and inserting a tabular ?

2000-10-23 Thread R. Lahaye
"Lars Gullik Bjønnes" wrote: > > "R. Lahaye" <[EMAIL PROTECTED]> writes: > > | I put the cursor immediately after the "Table:". When I insert > | a tabular here, the tabular is inserted inside the caption (between > | the "Table:" text and any text I will type in the caption). > | In addition, t

Re: resizing xform dialogs patch

2000-10-23 Thread Allan Rae
On Mon, 23 Oct 2000, Angus Leeming wrote: > On Mon, 23 Oct 2000, Jean-Marc Lasgouttes wrote: > > Does it mean I should refrain from applying the patch? All in all, I > > think this should wait after 1.1.6, unless bugs are fixed in the > > process. > > No bugs are fixed (and none are introduced,

macrons

2000-10-23 Thread Garst R. Reese
Since latin1 and 2 do not have macrons, I went searching on google under phonetic font and found two .ttf files. pngcr.ttf and tnrphon.ttf. I don't know how you would go about getting the individual characters in a document, or how they would look. More if anybody is interested. Garst