On Wed, Sep 24, 2003 at 06:40:37PM +, Angus Leeming wrote:
string output = subst(lowercase(input), $$rotatebegin,
\\rotatebox[30]{);
because I want to match the placeholder $$rotatebegin only and don't care
about it being upper or
On Wed, Sep 24, 2003 at 07:20:52PM +, Angus Leeming wrote:
My take is that you should do the whole thing with just a subst (no
lowercase things at all.)
Then this differs from other places where we use key words. The whole of
lyxlex for example is insensitive to the case of its
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars Yes. And I really want to change that. IMHO our language
Lars should be case sensitive. I am not sure if Jean-Marc still
Lars agrees with this, but he did once upon a time.
I still agree with that. Let's keep things simple.
JMarc
Why can some xpm files like
/usr/share/lyx/images/depth-increment.xpm or
/usr/share/lyx/images/math/sqrt.xpm be seen in LyX AND xdvi/gv/acroread
and other like
/usr/share/lyx/images/font-noun.xpm or
/usr/share/lyx/images/math/blacktriangle.xpm
ONLY in LyX?
--
Regards, Hartmut
Hungerhilfe:
Hartmut Haase wrote:
Why can some xpm files like
/usr/share/lyx/images/depth-increment.xpm or
/usr/share/lyx/images/math/sqrt.xpm be seen in LyX AND xdvi/gv/acroread
and other like
/usr/share/lyx/images/font-noun.xpm or
/usr/share/lyx/images/math/blacktriangle.xpm
ONLY in LyX?
Because
Lars Gullik Bjønnes wrote:
Grrr. We just had a mini powercut that hosed the message I was writing.
Try 2.
Dunno, why, but all your attachements are unnamed, so it's hard to refer to
them. Also, they all come with mome-type application/octet-stream. Why not
some text format? Anyway...
File
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjønnes wrote:
| Grrr. We just had a mini powercut that hosed the message I was writing.
| Try 2.
| Dunno, why, but all your attachements are unnamed, so it's hard to refer to
| them. Also, they all come with mome-type
Lars Gullik Bjønnes wrote:
The teebuf has been there forever :-)
Just unused.
Why master/slave? Well only master is listened to when it comes to
error conditions and return values. The slave just tags along.
I don't want the teebuf to _ever_ handle more than two streambufs, so
no need
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjønnes wrote:
The teebuf has been there forever :-)
Just unused.
Why master/slave? Well only master is listened to when it comes to
error conditions and return values. The slave just tags along.
I don't want the teebuf to _ever_
Lars Gullik Bjønnes wrote:
but they are not of equal importance.
(even if I'd like them to be...)
Perhaps master and slave is the wrong names, but they should be
differently named. (primary,secondary?)
primary, secondary is better.
But I still don't get it.
std::ofstream
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjønnes wrote:
but they are not of equal importance.
(even if I'd like them to be...)
Perhaps master and slave is the wrong names, but they should be
differently named. (primary,secondary?)
| primary, secondary is better.
| But I still
Lars Gullik Bjønnes wrote:
| This sends output to the file and to stderr. There is no concept of
| importance here at all.
if you look at the implementation there is. In this case it is hte
ofs2's return values that are used for error handling (and discovery).
Got it! Thank you. I'd missed
I have tagged LyX 1.3.3 and uploaded the various bits to ftp.lyx.org.
I will make the actual announcement tomorrow (unless something ugly
surfaces).
JMarc
This started off as a simple question about this code in
support/lstrings.[Ch]:
/** Compares a string and a (simple) regular expression
* The only element allowed is * for any string of characters
*/
bool regexMatch(string const a, string const pattern);
bool regexMatch(string const a,
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus The only place it is used is filetools.C
Angus (ReplaceEnvironmentPath) and here the shit really hits the fan.
This function is completely broken, and actually kills LyX when you
try to use it (we are lucky that nobody uses it, but it would
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus Hartmut Haase wrote:
Why can some xpm files like
/usr/share/lyx/images/depth-increment.xpm or
/usr/share/lyx/images/math/sqrt.xpm be seen in LyX AND
xdvi/gv/acroread and other like /usr/share/lyx/images/font-noun.xpm
or
Jean-Marc Lasgouttes wrote:
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus The only place it is used is filetools.C
Angus (ReplaceEnvironmentPath) and here the shit really hits the fan.
This function is completely broken, and actually kills LyX when you
try to use it (we are
Jean-Marc Lasgouttes wrote:
It would be nice to change our xpms so that this works consistently. I
am not sure though what is the best tool to do that...
A shell script... (probably)
sed -n 's/^\( *[]*c *#\)\([0-9]\{4\}\)\([0-9]\{4\}\)\([0-9]\{4\}\) * *, *$/\1 \2
\3 \4/p'
On Thu, Sep 25, 2003 at 04:52:14PM +, Angus Leeming wrote:
Ahhh. I could take each \([0-9]\{4\}\) block and split it into two:
\([0-9]\{2\}\)\([0-9]\{2\}\)
\([0-9][0-9]\)
is simpler to understand for the casual reader and not longer.
Andre'
--
Those who desire to give up
On Thursday 25 September 2003 3:56 pm, Andre Poenitz wrote:
On Thu, Sep 25, 2003 at 04:52:14PM +, Angus Leeming wrote:
Ahhh. I could take each \([0-9]\{4\}\) block and split it into two:
\([0-9]\{2\}\)\([0-9]\{2\}\)
\([0-9][0-9]\)
is simpler to understand for the casual
On Thu, Sep 25, 2003 at 05:05:07PM +, Angus Leeming wrote:
On Thursday 25 September 2003 3:56 pm, Andre Poenitz wrote:
On Thu, Sep 25, 2003 at 04:52:14PM +, Angus Leeming wrote:
Ahhh. I could take each \([0-9]\{4\}\) block and split it into two:
\([0-9]\{2\}\)\([0-9]\{2\}\)
Angus Leeming wrote:
Jean-Marc Lasgouttes wrote:
Angus == Angus Leeming [EMAIL PROTECTED] writes:
[snip]
That being the case, this works, but isn't strict enough, allowing 'nested'
stuff like this hypothetical example:
$ x=M
$ echo ${HO${x}E}
/home/angus
The real shell won't allow this.
Just
Andre Poenitz wrote:
Ok. But is the idea valid? 1234 - 12
Why not?
Done that.
Next question: given an rbg.txt database
240 240 240 grey94
242 242 242 gray95
how do I create the appropriate #rrggbb entry from the shell?
--
Angus
Angus Leeming wrote:
Next question: given an rbg.txt database
240 240 240 grey94
242 242 242 gray95
how do I create the appropriate #rrggbb entry from the shell?
Doh!
$ printf '%x\n' 240
f0
$
--
Angus
Jean-Marc Lasgouttes wrote:
It would be nice to change our xpms so that this works consistently. I
am not sure though what is the best tool to do that...
A bit slow (about an hour ;-) but looks successful. 472 files changed in
the 1.4 tree.
--
Angus
xpm_cleanup.sh
Description:
I've rewritten ReplaceEnvironmentPath in a sane manner and got rid of
lstrings.[Ch] regexMatch because nothing was using it.
I've tested this by inserting a LyX file into the buffer (calling
BufferView_pimpl.C's MenuInsertLyXFile which in turn calls
support::FileSearch which in turn calls
Angus Leeming wrote:
I have committed this. Please report any failures.
(Don't worry, I didn't commit lib/external_templates which somehow made its
way into the diff.)
--
Angus
On Thu, Sep 25, 2003 at 04:48:29PM +0200, Jean-Marc Lasgouttes wrote:
I have tagged LyX 1.3.3 and uploaded the various bits to ftp.lyx.org.
RH8.0 RPMs in incoming/
They depend on latex-xft-fonts, naturally.
regards
john
--
Khendon's Law:
If the same point is made twice by the same person,
H. Voss schrieb:
j.heidemeier schrieb:
At the moment longtables really suck :-(.
yesss ... :-)
Write the whole longtable in pure LaTeX code into a single
file (not as LyX file, only text).
Then you can use in an esay way a caption. In Lyx do a
Insert-file
Well, that is only a short term
On Wed, Sep 24, 2003 at 06:40:37PM +, Angus Leeming wrote:
> > string output = subst(lowercase(input), "$$rotatebegin",
> > "\\rotatebox[30]{");
>
> because I want to match the placeholder "$$rotatebegin" only and don't care
> about it being
On Wed, Sep 24, 2003 at 07:20:52PM +, Angus Leeming wrote:
> > My take is that you should do the whole thing with just a subst (no
> > lowercase things at all.)
>
> Then this differs from other places where we use key words. The whole of
> lyxlex for example is insensitive to the case of its
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Yes. And I really want to change that. IMHO our "language"
Lars> should be case sensitive. I am not sure if Jean-Marc still
Lars> agrees with this, but he did once upon a time.
I still agree with that. Let's keep things
Why can some xpm files like
/usr/share/lyx/images/depth-increment.xpm or
/usr/share/lyx/images/math/sqrt.xpm be seen in LyX AND xdvi/gv/acroread
and other like
/usr/share/lyx/images/font-noun.xpm or
/usr/share/lyx/images/math/blacktriangle.xpm
ONLY in LyX?
--
Regards, Hartmut
Hungerhilfe:
Hartmut Haase wrote:
> Why can some xpm files like
> /usr/share/lyx/images/depth-increment.xpm or
> /usr/share/lyx/images/math/sqrt.xpm be seen in LyX AND xdvi/gv/acroread
> and other like
> /usr/share/lyx/images/font-noun.xpm or
> /usr/share/lyx/images/math/blacktriangle.xpm
> ONLY in LyX?
Lars Gullik Bjønnes wrote:
Grrr. We just had a mini powercut that hosed the message I was writing.
Try 2.
Dunno, why, but all your attachements are unnamed, so it's hard to refer to
them. Also, they all come with mome-type application/octet-stream. Why not
some text format? Anyway...
File
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
| Grrr. We just had a mini powercut that hosed the message I was writing.
| Try 2.
>
| Dunno, why, but all your attachements are unnamed, so it's hard to refer to
| them. Also, they all come with mome-type
Lars Gullik Bjønnes wrote:
> The teebuf has been there forever :-)
> Just unused.
>
> Why master/slave? Well only master is listened to when it comes to
> error conditions and return values. The slave just tags along.
>
> I don't want the teebuf to _ever_ handle more than two streambufs, so
> no
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>> The teebuf has been there forever :-)
>> Just unused.
>>
>> Why master/slave? Well only master is listened to when it comes to
>> error conditions and return values. The slave just tags along.
>>
>> I don't want the
Lars Gullik Bjønnes wrote:
> but they are not of equal importance.
> (even if I'd like them to be...)
> Perhaps master and slave is the wrong names, but they should be
> differently named. (primary,secondary?)
primary, secondary is better.
But I still don't get it.
std::ofstream
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>
>> but they are not of equal importance.
>> (even if I'd like them to be...)
>> Perhaps master and slave is the wrong names, but they should be
>> differently named. (primary,secondary?)
>
| primary, secondary is better.
>
|
Lars Gullik Bjønnes wrote:
> | This sends output to the file and to stderr. There is no concept of
> | importance here at all.
>
> if you look at the implementation there is. In this case it is hte
> ofs2's return values that are used for error handling (and discovery).
Got it! Thank you. I'd
I have tagged LyX 1.3.3 and uploaded the various bits to ftp.lyx.org.
I will make the actual announcement tomorrow (unless something ugly
surfaces).
JMarc
This started off as a simple question about this code in
support/lstrings.[Ch]:
/** Compares a string and a (simple) regular expression
* The only element allowed is "*" for any string of characters
*/
bool regexMatch(string const & a, string const & pattern);
bool regexMatch(string const &
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> The only place it is used is filetools.C
Angus> (ReplaceEnvironmentPath) and here the shit really hits the fan.
This function is completely broken, and actually kills LyX when you
try to use it (we are lucky that nobody uses it,
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Hartmut Haase wrote:
>> Why can some xpm files like
>> /usr/share/lyx/images/depth-increment.xpm or
>> /usr/share/lyx/images/math/sqrt.xpm be seen in LyX AND
>> xdvi/gv/acroread and other like /usr/share/lyx/images/font-noun.xpm
>>
Jean-Marc Lasgouttes wrote:
>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> The only place it is used is filetools.C
> Angus> (ReplaceEnvironmentPath) and here the shit really hits the fan.
>
> This function is completely broken, and actually kills LyX when you
> try to
Jean-Marc Lasgouttes wrote:
> It would be nice to change our xpms so that this works consistently. I
> am not sure though what is the best tool to do that...
A shell script... (probably)
sed -n 's/^\( *"[]*c *#\)\([0-9]\{4\}\)\([0-9]\{4\}\)\([0-9]\{4\}\) *" *, *$/\1 \2
\3 \4/p'
On Thu, Sep 25, 2003 at 04:52:14PM +, Angus Leeming wrote:
> Ahhh. I could take each \([0-9]\{4\}\) block and split it into two:
> \([0-9]\{2\}\)\([0-9]\{2\}\)
\([0-9][0-9]\)
is simpler to understand for the casual reader and not longer.
Andre'
--
Those who desire to give up
On Thursday 25 September 2003 3:56 pm, Andre Poenitz wrote:
> On Thu, Sep 25, 2003 at 04:52:14PM +, Angus Leeming wrote:
> > Ahhh. I could take each \([0-9]\{4\}\) block and split it into two:
> > \([0-9]\{2\}\)\([0-9]\{2\}\)
>
> \([0-9][0-9]\)
>
> is simpler to understand for the
On Thu, Sep 25, 2003 at 05:05:07PM +, Angus Leeming wrote:
> On Thursday 25 September 2003 3:56 pm, Andre Poenitz wrote:
> > On Thu, Sep 25, 2003 at 04:52:14PM +, Angus Leeming wrote:
> > > Ahhh. I could take each \([0-9]\{4\}\) block and split it into two:
> > >
Angus Leeming wrote:
Jean-Marc Lasgouttes wrote:
"Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
[snip]
That being the case, this works, but isn't strict enough, allowing 'nested'
stuff like this hypothetical example:
$ x=M
$ echo ${HO${x}E}
/home/angus
The real shell won't allow this.
Andre Poenitz wrote:
>> Ok. But is the idea valid? "1234" -> "12"
> Why not?
Done that.
Next question: given an rbg.txt database
240 240 240 grey94
242 242 242 gray95
how do I create the appropriate #rrggbb entry from the shell?
--
Angus
Angus Leeming wrote:
> Next question: given an rbg.txt database
> 240 240 240 grey94
> 242 242 242 gray95
>
> how do I create the appropriate #rrggbb entry from the shell?
Doh!
$ printf '%x\n' 240
f0
$
--
Angus
Jean-Marc Lasgouttes wrote:
> It would be nice to change our xpms so that this works consistently. I
> am not sure though what is the best tool to do that...
A bit slow (about an hour ;-) but looks successful. 472 files changed in
the 1.4 tree.
--
Angus
xpm_cleanup.sh
Description:
I've rewritten ReplaceEnvironmentPath in a sane manner and got rid of
lstrings.[Ch] regexMatch because nothing was using it.
I've tested this by inserting a LyX file into the buffer (calling
BufferView_pimpl.C's MenuInsertLyXFile which in turn calls
support::FileSearch which in turn calls
Angus Leeming wrote:
> I have committed this. Please report any failures.
(Don't worry, I didn't commit lib/external_templates which somehow made its
way into the diff.)
--
Angus
On Thu, Sep 25, 2003 at 04:48:29PM +0200, Jean-Marc Lasgouttes wrote:
> I have tagged LyX 1.3.3 and uploaded the various bits to ftp.lyx.org.
RH8.0 RPMs in incoming/
They depend on latex-xft-fonts, naturally.
regards
john
--
Khendon's Law:
If the same point is made twice by the same person,
H. Voss schrieb:
> j.heidemeier schrieb:
>> At the moment longtables really suck :-(.
>yesss ... :-)
>Write the whole longtable in pure LaTeX code into a single
>file (not as LyX file, only text).
>Then you can use in an esay way a caption. In Lyx do a
>Insert->file
Well, that is only a
58 matches
Mail list logo