On Wed, May 03, 2000 at 05:38:34PM +0200, Jean-Marc Lasgouttes wrote:
"Angus" == Angus Leeming [EMAIL PROTECTED] writes:
Angus I know that people are proposing to redo the Import/Export
Angus functions. In the meantime, however, the following tiny patch
Angus allows tth to use LaTeX
Allan Rae [EMAIL PROTECTED] writes:
| A different colour with the pretty 3d boxes that we had in the old tree.
| (I know, the 3d boxes are dependent on the Painter so I'll have to wait
| for those)
What do you mean? We have been using the Painter for some months
now...
Lgb
Allan Rae [EMAIL PROTECTED] writes:
| I (one day) want to add the option of document scope selection of a
| citation package (harvard.sty etc.) and then have a corresponding menu in
| the citation dialog for the various forms of citation that package
| provides (citeyear, citeauthor and so on).
"Allan" == Allan Rae [EMAIL PROTECTED] writes:
Allan On Wed, 3 May 2000, Angus Leeming wrote:
JMarc I am a bit surprised by the following: -Bullet::Bullet(const
JMarc int f, const int c, const int s) +Bullet::Bullet(int f, int c,
JMarc int s)
Whoa! Aren't f, c and s passed by value here, so
Angus Leeming [EMAIL PROTECTED] writes:
| Sorry. That should be:
|
| void LyXTable::cellstruct::setBuffer(Buffer * buf)
| {
| if (inset) delete inset;
| inset = new InsetText(buf);
| }
No, that should be:
void LyXTable::cellstruct::setBuffer(Buffer * buf)
{
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
| I am a bit surprised by the following:
| -Bullet::Bullet(const int f, const int c, const int s)
| +Bullet::Bullet(int f, int c, int s)
Bullet.C was wrong the header file is right.
| Also, this
| -// need to make the c++ compiler fint the correct
"Asger K. Alstrup Nielsen" [EMAIL PROTECTED] writes:
| JMarc I am a bit surprised by the following:
| JMarc -Bullet::Bullet(const int f, const int c, const int s)
| JMarc +Bullet::Bullet(int f, int c, int s)
|
| Whoa! Aren't f, c and s passed by value here, so it makes no sense to declare
Allan Rae [EMAIL PROTECTED] writes:
| Unless you want to be sure that no-one tries to modify their values.
| Somewhere along the line the header and implementation have gotten out of
| sync.
I forgot to fix the .C file when fixing the header.
Lgb
Jules Bean [EMAIL PROTECTED] writes:
| Since it is still sometimes necessary to do, e.g., search-and-replace
| in an external editor, how about a lyx command which saves the current
| document, spawns an external editor, waits for the editor to complete,
| and then reloads the document?
I don't
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars Allan Rae [EMAIL PROTECTED] writes: | A different
Lars colour with the pretty 3d boxes that we had in the old tree. |
Lars (I know, the 3d boxes are dependent on the Painter so I'll have
Lars to wait | for those)
Lars What do you
On 04-May-2000 Lars Gullik Bjønnes wrote:
Angus Leeming [EMAIL PROTECTED] writes:
| Sorry. That should be:
|
| void LyXTable::cellstruct::setBuffer(Buffer * buf)
| {
| if (inset) delete inset;
| inset = new InsetText(buf);
| }
No, that should be:
void
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | I
Lars am a bit surprised by the following: | -Bullet::Bullet(const int
Lars f, const int c, const int s) | +Bullet::Bullet(int f, int c, int
Lars s)
Lars Bullet.C was wrong the header
dear sir,
what must I do that upgrade my LyX 1.0.3 to LyX 1.1.5Pre1?
FreeBSD 3.3 Stable
I've unpacked and begun "make install",it was writenn "don't how make"
I 've begun "./configure",I've got next
that libXpm and libxforms(libforms) is not on this operating system.
I check and find taht
performs the
if (inset != NULL) ...
internally so it is _never_ needed to do
if (inset) delete inset;
That code construct just shows that you don't know what delete is
doing.
Well you are right I didn't know this :)
| but what I really would like to know is WHY does the
Juergen Vigna [EMAIL PROTECTED] writes:
| performs the
|
| if (inset != NULL) ...
|
| internally so it is _never_ needed to do
|
| if (inset) delete inset;
|
| That code construct just shows that you don't know what delete is
| doing.
|
|
| Well you are right I didn't know this
"Angus" == Angus Leeming [EMAIL PROTECTED] writes:
Angus The attached std-patch allows compilation with dec cxx -std
Angus strict_ansi. It does no more than declare use std::foo in a few
Angus files.
I already had that in my tree. I'll commit soon.
Angus Together with the other patches I've
Lars | but what I really would like to know is WHY does the constructor not
Lars | work?
Lars You cannot use a constructor on an array allocation.
Aa! So my compiler is correct! I must say though that this is bad design by
the standards commitee, (IMHO of course).
Correct code, therefore,
Angus Leeming [EMAIL PROTECTED] writes:
| Lars | but what I really would like to know is WHY does the constructor not
| Lars | work?
|
| Lars You cannot use a constructor on an array allocation.
|
| Aa! So my compiler is correct! I must say though that this is bad design by
| the standards
No problems so far. I had been using it to write some documentation,
but loading Customization.lyx and pressing pagedown works fine too.
I do get some warning messages in the shell, however. Are they related? These
are the ONLY messages I get in the shell.
LyX: Token `\ldots{}' is in free space
On 04-May-2000 Angus Leeming wrote:
Correct code, therefore, is
array = someStruct[10];
initialise(array);
?
Angus (living and learning)
Well me too (good living and a bit learning ;)
Jürgen
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr.
"Angus" == Angus Leeming [EMAIL PROTECTED] writes:
Angus No problems so far. I had been using it to write some
Angus documentation, but loading Customization.lyx and pressing
Angus pagedown works fine too.
Angus I do get some warning messages in the shell, however. Are they
Angus related?
Juergen Vigna [EMAIL PROTECTED] writes:
| On 04-May-2000 Angus Leeming wrote:
|
| Correct code, therefore, is
|array = someStruct[10];
|initialise(array);
| ?
|
| Angus (living and learning)
|
| Well me too (good living and a bit learning ;)
You really should get a C++
I used your clear-erase patch.
Ok then I'll change this and commit it soon!
Jürgen
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel:+39-0471-450260
Why does it work then? Can we use another construct, I'm thinking about
a vector or something like this. I just need a construct where I can insert
elments in the middle too (not just at the end or the beginning).
You could use a std::vector. Insertion is O(n) but that definitely does
not
Aa! So my compiler is correct! I must say though that this is bad design by
the standards commitee, (IMHO of course).
Correct code, therefore, is
array = someStruct[10];
initialise(array);
?
What about
array = vectorsomeStruct(10, initial_value);
Andre'
--
"Angus" == Angus Leeming [EMAIL PROTECTED] writes:
Angus Comparing my sources to those in CVS, I came across this patch
Angus I submitted some time ago, but which was rejected because I set
Angus DESTDIR explicitly. (the remainder of the patch should still be
Angus applied because the makefile
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars Dekel Tsur [EMAIL PROTECTED] writes: | As you suggested, it
Lars should be style.needprotect, so I've changed it, | and also
Lars renamed the 'fragile' variable to 'need_protect'.
Lars Not sure about this one. Oh, I agree that the
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
| "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
|
| Lars Dekel Tsur [EMAIL PROTECTED] writes: | As you suggested, it
| Lars should be style.needprotect, so I've changed it, | and also
| Lars renamed the 'fragile' variable to
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars So that means that if the command is robust we don't need a
Lars \protect even if it is in a moving argument?
That's it. Why protect something which is robust, after all?
JMarc
On 04-May-2000 Lars Gullik Bjønnes wrote:
Juergen Vigna [EMAIL PROTECTED] writes:
| On 04-May-2000 Angus Leeming wrote:
|
| Correct code, therefore, is
|array = someStruct[10];
|initialise(array);
| ?
|
| Angus (living and learning)
|
| Well me too (good living and a
"Garst" == Garst R Reese [EMAIL PROTECTED] writes:
Garst setting --with-lyxname="lyxd" name to lyxd still puts the
Garst binary in /usr/local/bin/lyx, but does create the
Garst /usr/local/share/lyxd This is a BUG :) Garst
Lars, I finally took a look and don't know what to do. How can I force
"Dekel" == Dekel Tsur [EMAIL PROTECTED] writes:
Dekel I used style.isCommand() because it was used in
Dekel SimpleTeXSpecialChars() (in other words, LyX currently put
Dekel \protect in the argument of any command). As you suggested, it
Dekel should be style.needprotect, so I've changed it, and
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
| "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
|
| Lars So that means that if the command is robust we don't need a
| Lars \protect even if it is in a moving argument?
|
| That's it. Why protect something which is robust, after all?
Juergen Vigna [EMAIL PROTECTED] writes:
| You really should get a C++ book...
|
|Lgb
|
| I know you told me all the time :), but I have you to ask so why spend
| the money ;) (and I hate reading manuals or standarts)
I think I will answer this friday.
Lgb
"Jose" == Jose Abilio Oliveira Matos [EMAIL PROTECTED] writes:
Jose Personally I like this approach more then the other you
Jose propose. It is more general. I know this since I had the same
Jose problem with both linuxdoc and docbook html support, there I
Jose also need the file name without
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: |
Lars "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | |
Lars Lars So that means that if the command is robust we don't need
Lars a | Lars \protect even if it is in a moving
Hello,
I noticed that with latest cvs, if I create a document in french, then
the header of the file says
\documentclass[american,french]{book}
Where does this american come from? It does not make sense, since my
document is french only? All it does is load an extra language
definition, which
Angus Leeming [EMAIL PROTECTED] writes:
| It allows the head branch of CVS to be compiled with DEC cxx and DEC's
| implementation of std::string. (Does little more than replace string::clear()
| with string::erase().)
The bastring in gcc 2.x.x has wrong prototypes for some of the compare
Lars | Correct code, therefore, is
Lars |array = someStruct[10];
Lars |initialise(array);
Lars | ?
Lars | Angus (living and learning)
Lars | Well me too (good living and a bit learning ;)
Lars You really should get a C++ book...
Having a book is one thing. Knowing
On 04-May-2000 Jean-Marc Lasgouttes wrote:
I noticed that with latest cvs, if I create a document in french, then
the header of the file says
\documentclass[american,french]{book}
Where does this american come from? It does not make sense, since my
document is french only? All it does
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
| I was looking at add an lyxrc option \handle_x_deadkeys which could be
| set to false for people who want the normal dead keys handling, and
| saw several things:
|
| - the bindings are not saved in a map. Lars did you do this just for
s/not/now?
Angus Leeming [EMAIL PROTECTED] writes:
| Lars | Correct code, therefore, is
| Lars |array = someStruct[10];
| Lars |initialise(array);
| Lars | ?
|
| Lars | Angus (living and learning)
|
| Lars | Well me too (good living and a bit learning ;)
|
| Lars You really should get
On Thu, May 04, 2000 at 03:01:50PM +0200, Jean-Marc Lasgouttes wrote:
"Jose" == Jose Abilio Oliveira Matos [EMAIL PROTECTED] writes:
Jose Personally I like this approach more then the other you
Jose propose. It is more general. I know this since I had the same
Jose problem with both
André Correct code, therefore, is
André array = someStruct[10];
André initialise(array);
André What about
André array = vectorsomeStruct(10, initial_value);
would this work?
array = vectorsomeStruct(10, someStruct(someVar));
ie, use a non-default constructor to
Hello, Allan. I think I'll be back on board real soon now. It must feel like
the Marie Celeste at present!
Relevant news:
* José (Orlando Pereira --- XTL) seems to like my changes, suggesting
that an official xtl release working on 64-bit machines will be available soon...
* I've
cvs [update aborted]: cannot open .new.configure: Permission denied
Garst
On 04-May-2000 Lars Gullik Bjønnes wrote:
a vectorvectorcellstruct might work, or a Matrix class that build
upon this.
Row and Column Data is now a vector, but can you tell me how I do address
a stuff like the above? How do I do a v.push_back() for example?
Any idea?
Jürgen
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
| "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
|
| Lars handling, and | saw several things: | | - the bindings are not
| Lars saved in a map. Lars did you do this just for
|
| Lars s/not/now?
|
| Indeed.
|
| Lars O(log n) instead of
Hello !
It's the guy with the picky compiler again :)
Making all in insets
/bin/sh ../../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../../src
-I./../ -I/usr/local/include-I/usr/openwin/include -O -c figinset.C
CC -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I/usr/local/include
Angus Leeming [EMAIL PROTECTED] writes:
| André Correct code, therefore, is
| André array = someStruct[10];
| André initialise(array);
|
| André What about
| Andréarray = vectorsomeStruct(10, initial_value);
|
| would this work?
| array = vectorsomeStruct(10,
Juergen Vigna [EMAIL PROTECTED] writes:
| On 04-May-2000 Lars Gullik Bjønnes wrote:
|
| a vectorvectorcellstruct might work, or a Matrix class that build
| upon this.
|
|
| Row and Column Data is now a vector, but can you tell me how I do address
| a stuff like the above? How do I do a
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars But not the real reason! The intention behind using std::map was
Lars to get only unique command sequences (strings), a std::map gives
Lars that for free. I did not think about the order issue then.
OK. However, there is already code
Hello !
Argh...
CC -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../
-I/usr/local/include -I/usr/openwin/include -O -c formula.C -o formula.o
"../../src/lyxparagraph.h", line 528: Error: LyXParagraph::InsetTable is not
accessible from LyXParagraph::matchIT.
"../../src/lyxparagraph.h",
Jochen Kmietsch [EMAIL PROTECTED] writes:
| Hello !
|
| It's the guy with the picky compiler again :)
|
| Making all in insets
| /bin/sh ../../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../../src
| -I./../ -I/usr/local/include-I/usr/openwin/include -O -c figinset.C
| CC
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
| "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
|
| Lars But not the real reason! The intention behind using std::map was
| Lars to get only unique command sequences (strings), a std::map gives
| Lars that for free. I did not think about
Any special issues that need to be resolved before 1.1.5pre2?
Lgb
"Lars Gullik Bjønnes" wrote:
"Garst R. Reese" [EMAIL PROTECTED] writes:
| cvs [update aborted]: cannot open .new.configure: Permission denied
| Garst
Looks wierd.
Can you try a clean checkout?
Lgb
my bad. I had touched some files as root.
Jochen Kmietsch [EMAIL PROTECTED] writes:
| Hello !
|
| Argh...
|
| CC -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../
| -I/usr/local/include -I/usr/openwin/include -O -c formula.C -o formula.o
| "../../src/lyxparagraph.h", line 528: Error: LyXParagraph::InsetTable is not
|
would this work?
array = vectorsomeStruct(10, someStruct(someVar));
Why shouldn't it work? Have you tried it?
Andre'
--
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]
My bad.
I made the changes to get reLyX to install because it used not to.
I started again with the Makefile.am in CVS and everything works perfectly.
Sorry for wasting bandwidth :(
All I can say in my defence is that install-data-local, libinstalldirs used not
to called. Now they are.
On Wed, Apr 26, 2000 at 03:27:46PM +0200, Jean-Marc Lasgouttes wrote:
That's great too. I applied it and it really looks good. Small nits:
- when using deep depth, could there be cases where the lines and the
text collide? The lines could maybe be changed to use less space (if
their
egcs-2.91.66 does not like it.
If I remove the 'using std::getline' lines, everything is fine.
Does this mean we even don't support egcs anymore?
Andre'
--
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]
On Thu, May 04, 2000 at 03:21:00PM +0200, Lars Gullik Bjnnes wrote:
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
| I noticed that with latest cvs, if I create a document in french, then
| the header of the file says
|
| \documentclass[american,french]{book}
|
| Where does this
On Wed, May 03, 2000 at 05:38:34PM +0200, Jean-Marc Lasgouttes wrote:
> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> I know that people are proposing to redo the Import/Export
> Angus> functions. In the meantime, however, the following tiny patch
> Angus> allows tth to
Allan Rae <[EMAIL PROTECTED]> writes:
| A different colour with the pretty 3d boxes that we had in the old tree.
| (I know, the 3d boxes are dependent on the Painter so I'll have to wait
| for those)
What do you mean? We have been using the Painter for some months
now...
Lgb
Allan Rae <[EMAIL PROTECTED]> writes:
| I (one day) want to add the option of document scope selection of a
| citation package (harvard.sty etc.) and then have a corresponding menu in
| the citation dialog for the various forms of citation that package
| provides (citeyear, citeauthor and so
> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:
Allan> On Wed, 3 May 2000, Angus Leeming wrote:
JMarc> I am a bit surprised by the following: -Bullet::Bullet(const
JMarc> int f, const int c, const int s) +Bullet::Bullet(int f, int c,
JMarc> int s)
>> Whoa! Aren't f, c and s passed by
Angus Leeming <[EMAIL PROTECTED]> writes:
| Sorry. That should be:
|
| void LyXTable::cellstruct::setBuffer(Buffer * buf)
| {
| if (inset) delete inset;
| inset = new InsetText(buf);
| }
No, that should be:
void LyXTable::cellstruct::setBuffer(Buffer * buf)
{
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| I am a bit surprised by the following:
| -Bullet::Bullet(const int f, const int c, const int s)
| +Bullet::Bullet(int f, int c, int s)
Bullet.C was wrong the header file is right.
| Also, this
| -// need to make the c++ compiler fint the
"Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> writes:
| > JMarc> I am a bit surprised by the following:
| > JMarc> -Bullet::Bullet(const int f, const int c, const int s)
| > JMarc> +Bullet::Bullet(int f, int c, int s)
| >
| > Whoa! Aren't f, c and s passed by value here, so it makes no sense
Allan Rae <[EMAIL PROTECTED]> writes:
| Unless you want to be sure that no-one tries to modify their values.
| Somewhere along the line the header and implementation have gotten out of
| sync.
I forgot to fix the .C file when fixing the header.
Lgb
Jules Bean <[EMAIL PROTECTED]> writes:
| Since it is still sometimes necessary to do, e.g., search-and-replace
| in an external editor, how about a lyx command which saves the current
| document, spawns an external editor, waits for the editor to complete,
| and then reloads the document?
I
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Allan Rae <[EMAIL PROTECTED]> writes: | A different
Lars> colour with the pretty 3d boxes that we had in the old tree. |
Lars> (I know, the 3d boxes are dependent on the Painter so I'll have
Lars> to wait | for those)
Lars>
On 04-May-2000 Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
>
>| Sorry. That should be:
>|
>| void LyXTable::cellstruct::setBuffer(Buffer * buf)
>| {
>| if (inset) delete inset;
>| inset = new InsetText(buf);
>| }
>
> No, that should be:
>
> void
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | I
Lars> am a bit surprised by the following: | -Bullet::Bullet(const int
Lars> f, const int c, const int s) | +Bullet::Bullet(int f, int c, int
Lars> s)
Lars> Bullet.C was
dear sir,
what must I do that upgrade my LyX 1.0.3 to LyX 1.1.5Pre1?
FreeBSD 3.3 Stable
I've unpacked and begun "make install",it was writenn "don't how make"
I 've begun "./configure",I've got next
that libXpm and libxforms(libforms) is not on this operating system.
I check and find taht
> performs the
>
> if (inset != NULL) ...
>
> internally so it is _never_ needed to do
>
> if (inset) delete inset;
>
> That code construct just shows that you don't know what delete is
> doing.
>
Well you are right I didn't know this :)
>| but what I really would like to know is WHY does
Juergen Vigna <[EMAIL PROTECTED]> writes:
| > performs the
| >
| > if (inset != NULL) ...
| >
| > internally so it is _never_ needed to do
| >
| > if (inset) delete inset;
| >
| > That code construct just shows that you don't know what delete is
| > doing.
| >
|
| Well you are right I
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> The attached std-patch allows compilation with dec cxx -std
Angus> strict_ansi. It does no more than declare use std::foo in a few
Angus> files.
I already had that in my tree. I'll commit soon.
Angus> Together with the other
Lars> | but what I really would like to know is WHY does the constructor not
Lars> | work?
Lars> You cannot use a constructor on an array allocation.
Aa! So my compiler is correct! I must say though that this is bad design by
the standards commitee, (IMHO of course).
Correct code,
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars> | but what I really would like to know is WHY does the constructor not
| Lars> | work?
|
| Lars> You cannot use a constructor on an array allocation.
|
| Aa! So my compiler is correct! I must say though that this is bad design by
| the
No problems so far. I had been using it to write some documentation,
but loading Customization.lyx and pressing pagedown works fine too.
I do get some warning messages in the shell, however. Are they related? These
are the ONLY messages I get in the shell.
LyX: Token `\ldots{}' is in free space
On 04-May-2000 Angus Leeming wrote:
>
> Correct code, therefore, is
> array = someStruct[10];
> initialise(array);
> ?
>
> Angus (living and learning)
Well me too (good living and a bit learning ;)
Jürgen
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> No problems so far. I had been using it to write some
Angus> documentation, but loading Customization.lyx and pressing
Angus> pagedown works fine too.
Angus> I do get some warning messages in the shell, however. Are they
Angus>
Juergen Vigna <[EMAIL PROTECTED]> writes:
| On 04-May-2000 Angus Leeming wrote:
| >
| > Correct code, therefore, is
| > array = someStruct[10];
| > initialise(array);
| > ?
| >
| > Angus (living and learning)
|
| Well me too (good living and a bit learning ;)
You really should
>
> I used your clear->erase patch.
Ok then I'll change this and commit it soon!
Jürgen
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel:+39-0471-450260
> Why does it work then? Can we use another construct, I'm thinking about
> a vector or something like this. I just need a construct where I can insert
> elments in the middle too (not just at the end or the beginning).
You could use a std::vector. Insertion is O(n) but that definitely does
not
> Aa! So my compiler is correct! I must say though that this is bad design by
> the standards commitee, (IMHO of course).
>
> Correct code, therefore, is
> array = someStruct[10];
> initialise(array);
> ?
What about
array = vector(10, initial_value);
Andre'
--
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Comparing my sources to those in CVS, I came across this patch
Angus> I submitted some time ago, but which was rejected because I set
Angus> DESTDIR explicitly. (the remainder of the patch should still be
Angus> applied because
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Dekel Tsur <[EMAIL PROTECTED]> writes: | As you suggested, it
Lars> should be style.needprotect, so I've changed it, | and also
Lars> renamed the 'fragile' variable to 'need_protect'.
Lars> Not sure about this one. Oh, I
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
|
| Lars> Dekel Tsur <[EMAIL PROTECTED]> writes: | As you suggested, it
| Lars> should be style.needprotect, so I've changed it, | and also
| Lars> renamed the 'fragile' variable
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> So that means that if the command is robust we don't need a
Lars> \protect even if it is in a moving argument?
That's it. Why protect something which is robust, after all?
JMarc
On 04-May-2000 Lars Gullik Bjønnes wrote:
> Juergen Vigna <[EMAIL PROTECTED]> writes:
>
>| On 04-May-2000 Angus Leeming wrote:
>| >
>| > Correct code, therefore, is
>| > array = someStruct[10];
>| > initialise(array);
>| > ?
>| >
>| > Angus (living and learning)
>|
>| Well me too
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes:
Garst> setting --with-lyxname="lyxd" name to lyxd still puts the
Garst> binary in /usr/local/bin/lyx, but does create the
Garst> /usr/local/share/lyxd This is a BUG :) Garst
Lars, I finally took a look and don't know what to do. How can
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:
Dekel> I used style.isCommand() because it was used in
Dekel> SimpleTeXSpecialChars() (in other words, LyX currently put
Dekel> \protect in the argument of any command). As you suggested, it
Dekel> should be style.needprotect, so I've
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
|
| Lars> So that means that if the command is robust we don't need a
| Lars> \protect even if it is in a moving argument?
|
| That's it. Why protect something which is robust,
Juergen Vigna <[EMAIL PROTECTED]> writes:
| > You really should get a C++ book...
| >
| > Lgb
|
| I know you told me all the time :), but I have you to ask so why spend
| the money ;) (and I hate reading manuals or standarts)
I think I will answer this friday.
Lgb
> "Jose" == Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes:
Jose> Personally I like this approach more then the other you
Jose> propose. It is more general. I know this since I had the same
Jose> problem with both linuxdoc and docbook html support, there I
Jose> also need the file
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: |
Lars> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | |
Lars> Lars> So that means that if the command is robust we don't need
Lars> a | Lars> \protect even
Hello,
I noticed that with latest cvs, if I create a document in french, then
the header of the file says
\documentclass[american,french]{book}
Where does this american come from? It does not make sense, since my
document is french only? All it does is load an extra language
definition, which
1 - 100 of 126 matches
Mail list logo