Re: lyx-server examples

2001-05-31 Thread Stefano Ghirlanda

Guenter Milde [EMAIL PROTECTED] writes:

 Does anybody know, where I can find this file

It's in the LyX source distribution.

 and whether there are examplefiles also for other scripting
 languages (perl, slang, python)?

I have written a Perl class some time ago for this. Here is an example
of the usage:

use LyX::Client; 
$lyx-new(clientname); 
$lyx-command(self-insert, this should appear in LyX); 

It can be downloaded from: 

http://ethology.zool.su.se/~stefano/software/#client

NOTE that I have currently no time to maintain it. It has worked for
me on a number of occasions but there is no guarantee that it will
work for you. I know for sure that it does not work on Solaris due to
file locking issues. 

Also, I wrote LyX::Client as part of a much bigger project (still in
the design stage unfortunately). For this reason it tries to be as
robust as possible (e.g. error detection, supports multiple clients
reading and writing to the lyxpipes), which also mean that it might be
overkill for some purposes. For very simple operation something like

 echo $COMMAND  ~/.lyxpipe.in

(or its equivalnet in your favourite language) might be enough.

This said, you are welcome to download LyX::Client and tell me if it
works for you. It's GPL, so you can modify it at your own will. There
is also a fairly complete manual page.

Now that I think of it, I know the lyxrc file format has changed since
when I wrote the client. This may or may not cause trouble, I haven't
tried. It should not be difficult to modify the lyxrc function in
LyX::Client to reflect these changes.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx-server examples

2001-05-31 Thread Stefano Ghirlanda

Guenter Milde [EMAIL PROTECTED] writes:

 Does anybody know, where I can find this file

It's in the LyX source distribution.

 and whether there are examplefiles also for other scripting
 languages (perl, slang, python)?

I have written a Perl class some time ago for this. Here is an example
of the usage:

use LyX::Client; 
$lyx-new(clientname); 
$lyx-command(self-insert, this should appear in LyX); 

It can be downloaded from: 

http://ethology.zool.su.se/~stefano/software/#client

NOTE that I have currently no time to maintain it. It has worked for
me on a number of occasions but there is no guarantee that it will
work for you. I know for sure that it does not work on Solaris due to
file locking issues. 

Also, I wrote LyX::Client as part of a much bigger project (still in
the design stage unfortunately). For this reason it tries to be as
robust as possible (e.g. error detection, supports multiple clients
reading and writing to the lyxpipes), which also mean that it might be
overkill for some purposes. For very simple operation something like

 echo $COMMAND  ~/.lyxpipe.in

(or its equivalnet in your favourite language) might be enough.

This said, you are welcome to download LyX::Client and tell me if it
works for you. It's GPL, so you can modify it at your own will. There
is also a fairly complete manual page.

Now that I think of it, I know the lyxrc file format has changed since
when I wrote the client. This may or may not cause trouble, I haven't
tried. It should not be difficult to modify the lyxrc function in
LyX::Client to reflect these changes.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx-server examples

2001-05-31 Thread Stefano Ghirlanda

Guenter Milde <[EMAIL PROTECTED]> writes:

> Does anybody know, where I can find this file

It's in the LyX source distribution.

> and whether there are examplefiles also for other scripting
> languages (perl, slang, python)?

I have written a Perl class some time ago for this. Here is an example
of the usage:

use LyX::Client; 
$lyx->new("clientname"); 
$lyx->command("self-insert", "this should appear in LyX"); 

It can be downloaded from: 

http://ethology.zool.su.se/~stefano/software/#client

NOTE that I have currently no time to maintain it. It has worked for
me on a number of occasions but there is no guarantee that it will
work for you. I know for sure that it does not work on Solaris due to
file locking issues. 

Also, I wrote LyX::Client as part of a much bigger project (still in
the design stage unfortunately). For this reason it tries to be as
robust as possible (e.g. error detection, supports multiple clients
reading and writing to the lyxpipes), which also mean that it might be
overkill for some purposes. For very simple operation something like

 echo $COMMAND > ~/.lyxpipe.in

(or its equivalnet in your favourite language) might be enough.

This said, you are welcome to download LyX::Client and tell me if it
works for you. It's GPL, so you can modify it at your own will. There
is also a fairly complete manual page.

Now that I think of it, I know the lyxrc file format has changed since
when I wrote the client. This may or may not cause trouble, I haven't
tried. It should not be difficult to modify the lyxrc function in
LyX::Client to reflect these changes.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes [EMAIL PROTECTED] writes:

   I´ve used xfig for a while. A few days ago I installed a
 newer version and I couldnt export eps files any longer. 

What version? I don't think there has been ever any idea of taking eps
export out of xfig.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes [EMAIL PROTECTED] writes:

 Hello,
 
 I´ve used xfig for a while. A few days ago I installed a
   newer version and I couldnt export eps files any longer. 
  
  What version? I don't think there has been ever any idea of taking eps
  export out of xfig.
 
 I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
 to export eps I get the following error message:
Unknown graphics language eps
Known languages are: acad box epic eepic eepicemu gif ibmgl
   jpeg latex pcx pic pitex

It seems that you are missing support for PostScript in fig2dev. What
is your version of fig2dev? What happens if you try to run it from the
command line (e.g. fig2dev -L eps myfile.fig  myfile.eps)?
Is postscript generally working on your system? (e.g., can you see the
postscript preview in LyX?)

Look at www.lyx.org for new versions.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes [EMAIL PROTECTED] writes:

   I´ve used xfig for a while. A few days ago I installed a
 newer version and I couldnt export eps files any longer. 

What version? I don't think there has been ever any idea of taking eps
export out of xfig.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes [EMAIL PROTECTED] writes:

 Hello,
 
 I´ve used xfig for a while. A few days ago I installed a
   newer version and I couldnt export eps files any longer. 
  
  What version? I don't think there has been ever any idea of taking eps
  export out of xfig.
 
 I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
 to export eps I get the following error message:
Unknown graphics language eps
Known languages are: acad box epic eepic eepicemu gif ibmgl
   jpeg latex pcx pic pitex

It seems that you are missing support for PostScript in fig2dev. What
is your version of fig2dev? What happens if you try to run it from the
command line (e.g. fig2dev -L eps myfile.fig  myfile.eps)?
Is postscript generally working on your system? (e.g., can you see the
postscript preview in LyX?)

Look at www.lyx.org for new versions.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx & xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes <[EMAIL PROTECTED]> writes:

>   I´ve used xfig for a while. A few days ago I installed a
> newer version and I couldnt export eps files any longer. 

What version? I don't think there has been ever any idea of taking eps
export out of xfig.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx & xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes <[EMAIL PROTECTED]> writes:

> Hello,
> 
> > >   I´ve used xfig for a while. A few days ago I installed a
> > > newer version and I couldnt export eps files any longer. 
> > 
> > What version? I don't think there has been ever any idea of taking eps
> > export out of xfig.
> 
> I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
> to export eps I get the following error message:
>Unknown graphics language eps
>Known languages are: acad box epic eepic eepicemu gif ibmgl
>   jpeg latex pcx pic pitex

It seems that you are missing support for PostScript in fig2dev. What
is your version of fig2dev? What happens if you try to run it from the
command line (e.g. fig2dev -L eps myfile.fig > myfile.eps)?
Is postscript generally working on your system? (e.g., can you see the
postscript preview in LyX?)

Look at www.lyx.org for new versions.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: pybliographic

2001-05-03 Thread Stefano Ghirlanda

Peter Suetterlin [EMAIL PROTECTED] writes:

  Have a look at Nelson Beebe's suite of scripts to control
  a set of bib files, I found it quite useful.
 
 Probably the way to go.

If that does not satisfy you and you are willing to installa a couple
of Perl modules, I have some sort of hack that more or less does the
job... 

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: pybliographic

2001-05-03 Thread Stefano Ghirlanda

Peter Suetterlin [EMAIL PROTECTED] writes:

  Have a look at Nelson Beebe's suite of scripts to control
  a set of bib files, I found it quite useful.
 
 Probably the way to go.

If that does not satisfy you and you are willing to installa a couple
of Perl modules, I have some sort of hack that more or less does the
job... 

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: pybliographic

2001-05-03 Thread Stefano Ghirlanda

Peter Suetterlin <[EMAIL PROTECTED]> writes:

> > Have a look at Nelson Beebe's suite of scripts to control
> > a set of bib files, I found it quite useful.
> 
> Probably the way to go.

If that does not satisfy you and you are willing to installa a couple
of Perl modules, I have some sort of hack that more or less does the
job... 

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: A suggestion or a wish?

2001-05-01 Thread Stefano Ghirlanda

EagleIce [EMAIL PROTECTED] writes:

 Hi!
 
 Open your documents in a text editor and you see *all* of the codes!

But you will *not* see LaTeX since .lyx files are not written in
LaTeX (apart the math and what you explicitely inserted as TeX).

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: A suggestion or a wish?

2001-05-01 Thread Stefano Ghirlanda

EagleIce [EMAIL PROTECTED] writes:

 Hi!
 
 Open your documents in a text editor and you see *all* of the codes!

But you will *not* see LaTeX since .lyx files are not written in
LaTeX (apart the math and what you explicitely inserted as TeX).

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: A suggestion or a wish?

2001-05-01 Thread Stefano Ghirlanda

EagleIce <[EMAIL PROTECTED]> writes:

> Hi!
> 
> Open your documents in a text editor and you see *all* of the codes!

But you will *not* see LaTeX since .lyx files are not written in
LaTeX (apart the math and what you explicitely inserted as TeX).

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Generating tables from tab delimited data

2001-04-30 Thread Stefano Ghirlanda

Ragnar Beer [EMAIL PROTECTED] writes:

 Howdy again!
 

 I need to create a 20x20 correlation table. Last time I did this
 with cuts and pastes. (That was a smaller table in case you question
 my IQ ;) I wonder if there is an easier way to get the table if I've
 got a file with the coefficients in a tab delimited form anyway.

This shoud convert you file in a latex tabular environment:

#!/usr/bin/perl
# mkltxtab: converts an IFS-delimited file into a LaTeX tabular
# usage: IFS='\s+' mkltxtab mytable.dat  mytable.tex
$max = 0;
while() {
chomp;
@row = split /$ENV{IFS}/;
push @data, [ @row ];
$max = @row if @row  $max;
}
print STDERR Read .(scalar @data). rows with at most $max elements\n;
print \\begin{tabular}{ . (cx$max) . }\n;
for (@data) {
print join   , @{$_};
print x($max-@{$_});
print \n;
}
print \\end{tabular}\n;

Save it into a file and make that executable, then run the program as
in the `usage` line above. The IFS bit tells the program what to use
to separate fields (rows are assumed to be separated by newline).
It is a Perl regex. For instance:
  IFS=' ' a space
  IFS=',\s*' comma followed by 0 or more spaces
  IFS='\t' a tab
and so on...

Then you need to make the file available from within LyX. The easiest
way is to use the include feature (Insert  Include File).

I only have tested the program on a simple file but it appears to
work. You can also have different numbers of entries on each line.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Generating tables from tab delimited data

2001-04-30 Thread Stefano Ghirlanda

Ragnar Beer [EMAIL PROTECTED] writes:

 Howdy again!
 

 I need to create a 20x20 correlation table. Last time I did this
 with cuts and pastes. (That was a smaller table in case you question
 my IQ ;) I wonder if there is an easier way to get the table if I've
 got a file with the coefficients in a tab delimited form anyway.

This shoud convert you file in a latex tabular environment:

#!/usr/bin/perl
# mkltxtab: converts an IFS-delimited file into a LaTeX tabular
# usage: IFS='\s+' mkltxtab mytable.dat  mytable.tex
$max = 0;
while() {
chomp;
@row = split /$ENV{IFS}/;
push @data, [ @row ];
$max = @row if @row  $max;
}
print STDERR Read .(scalar @data). rows with at most $max elements\n;
print \\begin{tabular}{ . (cx$max) . }\n;
for (@data) {
print join   , @{$_};
print x($max-@{$_});
print \n;
}
print \\end{tabular}\n;

Save it into a file and make that executable, then run the program as
in the `usage` line above. The IFS bit tells the program what to use
to separate fields (rows are assumed to be separated by newline).
It is a Perl regex. For instance:
  IFS=' ' a space
  IFS=',\s*' comma followed by 0 or more spaces
  IFS='\t' a tab
and so on...

Then you need to make the file available from within LyX. The easiest
way is to use the include feature (Insert  Include File).

I only have tested the program on a simple file but it appears to
work. You can also have different numbers of entries on each line.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Generating tables from tab delimited data

2001-04-30 Thread Stefano Ghirlanda

Ragnar Beer <[EMAIL PROTECTED]> writes:

> Howdy again!
> 

> I need to create a 20x20 correlation table. Last time I did this
> with cuts and pastes. (That was a smaller table in case you question
> my IQ ;) I wonder if there is an easier way to get the table if I've
> got a file with the coefficients in a tab delimited form anyway.

This shoud convert you file in a latex tabular environment:

#!/usr/bin/perl
# mkltxtab: converts an IFS-delimited file into a LaTeX tabular
# usage: IFS='\s+' mkltxtab mytable.dat > mytable.tex
$max = 0;
while(<>) {
chomp;
@row = split /$ENV{IFS}/;
push @data, [ @row ];
$max = @row if @row > $max;
}
print STDERR "Read ".(scalar @data)." rows with at most $max elements\n";
print "\\begin{tabular}{" . ("c"x$max) . "}\n";
for (@data) {
print join " & ", @{$_};
print "&"x($max-@{$_});
print "\n";
}
print "\\end{tabular}\n";

Save it into a file and make that executable, then run the program as
in the `usage` line above. The IFS bit tells the program what to use
to separate fields (rows are assumed to be separated by newline).
It is a Perl regex. For instance:
  IFS=' ' a space
  IFS=',\s*' comma followed by 0 or more spaces
  IFS='\t' a tab
and so on...

Then you need to make the file available from within LyX. The easiest
way is to use the include feature (Insert > Include File).

I only have tested the program on a simple file but it appears to
work. You can also have different numbers of entries on each line.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: clearpage without empty page

2001-04-25 Thread Stefano Ghirlanda

Wolfgang Engelmann [EMAIL PROTECTED] writes:

 I am getting too many unprocessed floats in a book
 A clearpage cures it and its ok after a chapter. 
 However, if I insert it after a section an empty page is
 inserted after the figure floates have been placed, which
 is undesired. How can I prevent this?

I don't know, but maybe specifying tp in the float placement option in
LayoutDocument helps.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: clearpage without empty page

2001-04-25 Thread Stefano Ghirlanda

Wolfgang Engelmann [EMAIL PROTECTED] writes:

 I am getting too many unprocessed floats in a book
 A clearpage cures it and its ok after a chapter. 
 However, if I insert it after a section an empty page is
 inserted after the figure floates have been placed, which
 is undesired. How can I prevent this?

I don't know, but maybe specifying tp in the float placement option in
LayoutDocument helps.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: clearpage without empty page

2001-04-25 Thread Stefano Ghirlanda

Wolfgang Engelmann <[EMAIL PROTECTED]> writes:

> I am getting too many unprocessed floats in a book
> A clearpage cures it and its ok after a chapter. 
> However, if I insert it after a section an empty page is
> inserted after the figure floates have been placed, which
> is undesired. How can I prevent this?

I don't know, but maybe specifying tp in the float placement option in
Layout>Document helps.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: [OT] TeXmacs?

2001-04-24 Thread Stefano Ghirlanda

Niklas Werner [EMAIL PROTECTED] writes:

 Has anybody ever tried TeXmacs? (www.texmacs.org)

I have tried an earlier version. The display looks good, but I found
some major problems (for me, they are intentional features). TeXmacs
is *not* a frontend to TeX/LaTeX, it *never* runs these. You cannot
use LaTeX packages. Export to and import from LaTeX are only partially
supported, and will never be fully implemented. More info from the
TeXmacs FAQ:


Question 5. What are the differences between TeXmacs and LyX? 

   Answer. TeXmacs is a more ambitious project. Some of its major
   advantages are the following:  

  1.TeXmacs is fully WYSIWYG. 
  2.TeXmacs has a professional typesetting quality and nicer fonts. 
  3.TeXmacs comes with the Guile/Scheme extension language. 
  4.You can use TeXmacs as an interface to computer algebra systems. 


I don't really care much about 1. I don't really understand 2... I
doubt that TeXmacs is as good as TeX/LaTeX at typesetting
professionally. I am sure the LyX developers will comment on point
3. I was thinking about developing 4 for some time but a number of
circumstances have halted the project. Please mail me if you have some
valuable insight into a nice way of doing it.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: [OT] TeXmacs?

2001-04-24 Thread Stefano Ghirlanda

Matej Cepl [EMAIL PROTECTED] writes:

 Wereb't there some attempts to rewrite NeXT environment for X as 
 a free soft (GNUStep)? As I remember, they tried to create some 
 kind of Display PostScript based on the Ghostscript (there are 
 some remaints in the ghostscript distribution until now -- look 
 through your $GS_LIB). Does anybody have any idea, whether it is 
 alive or definitively dead?

It's alive on www.gnustep.org

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: [OT] TeXmacs?

2001-04-24 Thread Stefano Ghirlanda

Niklas Werner [EMAIL PROTECTED] writes:

 Has anybody ever tried TeXmacs? (www.texmacs.org)

I have tried an earlier version. The display looks good, but I found
some major problems (for me, they are intentional features). TeXmacs
is *not* a frontend to TeX/LaTeX, it *never* runs these. You cannot
use LaTeX packages. Export to and import from LaTeX are only partially
supported, and will never be fully implemented. More info from the
TeXmacs FAQ:


Question 5. What are the differences between TeXmacs and LyX? 

   Answer. TeXmacs is a more ambitious project. Some of its major
   advantages are the following:  

  1.TeXmacs is fully WYSIWYG. 
  2.TeXmacs has a professional typesetting quality and nicer fonts. 
  3.TeXmacs comes with the Guile/Scheme extension language. 
  4.You can use TeXmacs as an interface to computer algebra systems. 


I don't really care much about 1. I don't really understand 2... I
doubt that TeXmacs is as good as TeX/LaTeX at typesetting
professionally. I am sure the LyX developers will comment on point
3. I was thinking about developing 4 for some time but a number of
circumstances have halted the project. Please mail me if you have some
valuable insight into a nice way of doing it.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: [OT] TeXmacs?

2001-04-24 Thread Stefano Ghirlanda

Matej Cepl [EMAIL PROTECTED] writes:

 Wereb't there some attempts to rewrite NeXT environment for X as 
 a free soft (GNUStep)? As I remember, they tried to create some 
 kind of Display PostScript based on the Ghostscript (there are 
 some remaints in the ghostscript distribution until now -- look 
 through your $GS_LIB). Does anybody have any idea, whether it is 
 alive or definitively dead?

It's alive on www.gnustep.org

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: [OT] TeXmacs?

2001-04-24 Thread Stefano Ghirlanda

Niklas Werner <[EMAIL PROTECTED]> writes:

> Has anybody ever tried TeXmacs? (www.texmacs.org)

I have tried an earlier version. The display looks good, but I found
some major problems (for me, they are intentional features). TeXmacs
is *not* a frontend to TeX/LaTeX, it *never* runs these. You cannot
use LaTeX packages. Export to and import from LaTeX are only partially
supported, and will never be fully implemented. More info from the
TeXmacs FAQ:


Question 5. What are the differences between TeXmacs and LyX? 

   Answer. TeXmacs is a more ambitious project. Some of its major
   advantages are the following:  

  1.TeXmacs is fully WYSIWYG. 
  2.TeXmacs has a professional typesetting quality and nicer fonts. 
  3.TeXmacs comes with the Guile/Scheme extension language. 
  4.You can use TeXmacs as an interface to computer algebra systems. 


I don't really care much about 1. I don't really understand 2... I
doubt that TeXmacs is as good as TeX/LaTeX at typesetting
"professionally". I am sure the LyX developers will comment on point
3. I was thinking about developing 4 for some time but a number of
circumstances have halted the project. Please mail me if you have some
valuable insight into a nice way of doing it.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: [OT] TeXmacs?

2001-04-24 Thread Stefano Ghirlanda

Matej Cepl <[EMAIL PROTECTED]> writes:

> Wereb't there some attempts to rewrite NeXT environment for X as 
> a free soft (GNUStep)? As I remember, they tried to create some 
> kind of Display PostScript based on the Ghostscript (there are 
> some remaints in the ghostscript distribution until now -- look 
> through your $GS_LIB). Does anybody have any idea, whether it is 
> alive or definitively dead?

It's alive on www.gnustep.org

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Two latex questions

2001-04-12 Thread Stefano Ghirlanda

Brett Jones [EMAIL PROTECTED] writes:

 First, I cite a reference in a figure caption, but don't like that
 it shows up in the TOF.  Is there a way to show the reference in the
 figure caption, but not in the TOF?

In LaTeX you can provide an optional argument to caption, that is used
in the tof. In LyX you could try to put [your tof text] as the first
thing in the caption.

 Second, I have a couple LARGE figures that just about fill the page.
 Trouble is, that they cover the page numbers in the std report
 format.  Actually, it's OK when that happens, but sometimes they
 don't cover the page number, and the caption ends up beneath it.  Is
 there a way to either turn off or reposition the page number, just
 for the page that a float ends up on?

You can do that by putting \thispagestyle{empty} just before the
figure (or perhaps even better inside the caption?).

But you should be sure that figures fit properly! Use height=100% in
the figure box to do this.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Two latex questions

2001-04-12 Thread Stefano Ghirlanda

Brett Jones [EMAIL PROTECTED] writes:

 First, I cite a reference in a figure caption, but don't like that
 it shows up in the TOF.  Is there a way to show the reference in the
 figure caption, but not in the TOF?

In LaTeX you can provide an optional argument to caption, that is used
in the tof. In LyX you could try to put [your tof text] as the first
thing in the caption.

 Second, I have a couple LARGE figures that just about fill the page.
 Trouble is, that they cover the page numbers in the std report
 format.  Actually, it's OK when that happens, but sometimes they
 don't cover the page number, and the caption ends up beneath it.  Is
 there a way to either turn off or reposition the page number, just
 for the page that a float ends up on?

You can do that by putting \thispagestyle{empty} just before the
figure (or perhaps even better inside the caption?).

But you should be sure that figures fit properly! Use height=100% in
the figure box to do this.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Two latex questions

2001-04-12 Thread Stefano Ghirlanda

Brett Jones <[EMAIL PROTECTED]> writes:

> First, I cite a reference in a figure caption, but don't like that
> it shows up in the TOF.  Is there a way to show the reference in the
> figure caption, but not in the TOF?

In LaTeX you can provide an optional argument to caption, that is used
in the tof. In LyX you could try to put [your tof text] as the first
thing in the caption.

> Second, I have a couple LARGE figures that just about fill the page.
> Trouble is, that they cover the page numbers in the std report
> format.  Actually, it's OK when that happens, but sometimes they
> don't cover the page number, and the caption ends up beneath it.  Is
> there a way to either turn off or reposition the page number, just
> for the page that a float ends up on?

You can do that by putting \thispagestyle{empty} just before the
figure (or perhaps even better inside the caption?).

But you should be sure that figures fit properly! Use height=100% in
the figure box to do this.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: page wrapping problem

2001-03-28 Thread Stefano Ghirlanda

Andreas Piontek [EMAIL PROTECTED] writes:

 Hello,
 
 I use Lyx to write a document (more or less 40 pages).
 
 I included a lot of figures and tables and now I have the
 problem that on two pages LyX/Latex doesn't make a correct page wrap.
 That means the text continues until the end of the (physical) page and
 some lines are even missing before it is continued on the next page
 normally. 
 On both pages are one figure and one table.
 
 I`ve no ideas what the problem may be and also not what I can do to
 prevent this.
 The problem exists in DVI/PS/PDF output, so I think the problem must be
 with Lyx or Latex.
 
  Where can I look for the problem?

Read the LaTeX log file, and post it if you don't understand.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: page wrapping problem

2001-03-28 Thread Stefano Ghirlanda

Andreas Piontek [EMAIL PROTECTED] writes:

 Hello,
 
 I use Lyx to write a document (more or less 40 pages).
 
 I included a lot of figures and tables and now I have the
 problem that on two pages LyX/Latex doesn't make a correct page wrap.
 That means the text continues until the end of the (physical) page and
 some lines are even missing before it is continued on the next page
 normally. 
 On both pages are one figure and one table.
 
 I`ve no ideas what the problem may be and also not what I can do to
 prevent this.
 The problem exists in DVI/PS/PDF output, so I think the problem must be
 with Lyx or Latex.
 
  Where can I look for the problem?

Read the LaTeX log file, and post it if you don't understand.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: page wrapping problem

2001-03-28 Thread Stefano Ghirlanda

Andreas Piontek <[EMAIL PROTECTED]> writes:

> Hello,
> 
> I use Lyx to write a document (more or less 40 pages).
> 
> I included a lot of figures and tables and now I have the
> problem that on two pages LyX/Latex doesn't make a correct page wrap.
> That means the text continues until the end of the (physical) page and
> some lines are even missing before it is continued on the next page
> normally. 
> On both pages are one figure and one table.
> 
> I`ve no ideas what the problem may be and also not what I can do to
> prevent this.
> The problem exists in DVI/PS/PDF output, so I think the problem must be
> with Lyx or Latex.
> 
>  Where can I look for the problem?

Read the LaTeX log file, and post it if you don't understand.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Request: quotation marks

2001-03-23 Thread Stefano Ghirlanda

[EMAIL PROTECTED] (Jrgen Spitzmller) writes:

 Dekel Tsur wrote:
  You can use the ' and ` keys for inserting single quotes. 
 
 You mean accent acute (or comma for German style) and accent grave? 
 Does not work (the accents) on my system because I have enabled dead 
 keys (to get french accents).

It usually works to press the dead key and then the space bar to get
the charachter on the dead key alone.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Request: quotation marks

2001-03-23 Thread Stefano Ghirlanda

[EMAIL PROTECTED] (Jrgen Spitzmller) writes:

 Dekel Tsur wrote:
  You can use the ' and ` keys for inserting single quotes. 
 
 You mean accent acute (or comma for German style) and accent grave? 
 Does not work (the accents) on my system because I have enabled dead 
 keys (to get french accents).

It usually works to press the dead key and then the space bar to get
the charachter on the dead key alone.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Request: quotation marks

2001-03-23 Thread Stefano Ghirlanda

[EMAIL PROTECTED] (Jürgen Spitzmüller) writes:

> Dekel Tsur wrote:
> > You can use the ' and ` keys for inserting single quotes. 
> 
> You mean accent acute (or comma for German style) and accent grave? 
> Does not work (the accents) on my system because I have enabled dead 
> keys (to get french accents).

It usually works to press the dead key and then the space bar to get
the charachter on the dead key alone.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: grammar

2001-03-22 Thread Stefano Ghirlanda

Robin Turner [EMAIL PROTECTED] writes:

 Unless NLP has made some pretty massive advances recently, I think
 grammar checkers will continue to be more of an irritation than a
 help.

Well, we shouldn't generalise that much, I think. I have a friend who
is slighly dyslexic, and moreover English is not his mother
tongue. Even checking that third-persons of verbs and plurals end in s
is a great help to him.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: grammar

2001-03-22 Thread Stefano Ghirlanda

Robin Turner [EMAIL PROTECTED] writes:

 Unless NLP has made some pretty massive advances recently, I think
 grammar checkers will continue to be more of an irritation than a
 help.

Well, we shouldn't generalise that much, I think. I have a friend who
is slighly dyslexic, and moreover English is not his mother
tongue. Even checking that third-persons of verbs and plurals end in s
is a great help to him.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: grammar

2001-03-22 Thread Stefano Ghirlanda

Robin Turner <[EMAIL PROTECTED]> writes:

> Unless NLP has made some pretty massive advances recently, I think
> grammar checkers will continue to be more of an irritation than a
> help.

Well, we shouldn't generalise that much, I think. I have a friend who
is slighly dyslexic, and moreover English is not his mother
tongue. Even checking that third-persons of verbs and plurals end in s
is a great help to him.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: page numbering

2001-03-21 Thread Stefano Ghirlanda

Remzi Seker [EMAIL PROTECTED] writes:

 Hi, I need to have my document numbered in the following way: table
 of contents part (right after the title page) should be as: I, II,
 III, IV, etc and right at chapter one i need the page numbers start
 and go as 1, 2, ...

I gatheer this is a book document. Then you need a \frontmatter switch
to Roman, \mainmatter to switch to Arabic. \frontmatter also switches
off chapter numbering.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: page numbering

2001-03-21 Thread Stefano Ghirlanda

Remzi Seker [EMAIL PROTECTED] writes:

 Hi, I need to have my document numbered in the following way: table
 of contents part (right after the title page) should be as: I, II,
 III, IV, etc and right at chapter one i need the page numbers start
 and go as 1, 2, ...

I gatheer this is a book document. Then you need a \frontmatter switch
to Roman, \mainmatter to switch to Arabic. \frontmatter also switches
off chapter numbering.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: page numbering

2001-03-21 Thread Stefano Ghirlanda

Remzi Seker <[EMAIL PROTECTED]> writes:

> Hi, I need to have my document numbered in the following way: table
> of contents part (right after the title page) should be as: I, II,
> III, IV, etc and right at chapter one i need the page numbers start
> and go as 1, 2, ...

I gatheer this is a book document. Then you need a \frontmatter switch
to Roman, \mainmatter to switch to Arabic. \frontmatter also switches
off chapter numbering.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: citation of proceedings

2001-03-20 Thread Stefano Ghirlanda

Michael Zapf [EMAIL PROTECTED] writes:

 I suppose you use BibTeX citations. An article form a conference book has
 
 an entry like
 
 @InProceedings{Author:Year:Key,  (this is a suggestion)
author = { ... },
...
publisher = yourPublisher, (e.g. "Springer-Verlag")
address = publishingAddress,  (e.g. "Berlin")
...
 }
 
 Note that the address is the publisher's address, not the location of the
 
 conference. I suggest to put the conference location in the title.

If you need some further strange details, the "note" field is also
handy.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing Bibliography to References

2001-03-20 Thread Stefano Ghirlanda

Remzi Seker [EMAIL PROTECTED] writes:

 Hi,
 
 I am writing my thesis in report class (lyx-1.1.6fix1). I am using
 BiBTeX for my references but I need to change the word
 'Bibliograpgy' to 'References'.  Any idea how I can do that?

\renewcommand{\bibname}{References}

marked as TeX

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: citation of proceedings

2001-03-20 Thread Stefano Ghirlanda

Michael Zapf [EMAIL PROTECTED] writes:

 I suppose you use BibTeX citations. An article form a conference book has
 
 an entry like
 
 @InProceedings{Author:Year:Key,  (this is a suggestion)
author = { ... },
...
publisher = yourPublisher, (e.g. "Springer-Verlag")
address = publishingAddress,  (e.g. "Berlin")
...
 }
 
 Note that the address is the publisher's address, not the location of the
 
 conference. I suggest to put the conference location in the title.

If you need some further strange details, the "note" field is also
handy.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing Bibliography to References

2001-03-20 Thread Stefano Ghirlanda

Remzi Seker [EMAIL PROTECTED] writes:

 Hi,
 
 I am writing my thesis in report class (lyx-1.1.6fix1). I am using
 BiBTeX for my references but I need to change the word
 'Bibliograpgy' to 'References'.  Any idea how I can do that?

\renewcommand{\bibname}{References}

marked as TeX

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: citation of proceedings

2001-03-20 Thread Stefano Ghirlanda

Michael Zapf <[EMAIL PROTECTED]> writes:

> I suppose you use BibTeX citations. An article form a conference book has
> 
> an entry like
> 
> @InProceedings{Author:Year:Key,  (this is a suggestion)
>author = { ... },
>...
>publisher = yourPublisher, (e.g. "Springer-Verlag")
>address = publishingAddress,  (e.g. "Berlin")
>...
> }
> 
> Note that the address is the publisher's address, not the location of the
> 
> conference. I suggest to put the conference location in the title.

If you need some further strange details, the "note" field is also
handy.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing Bibliography to References

2001-03-20 Thread Stefano Ghirlanda

Remzi Seker <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I am writing my thesis in report class (lyx-1.1.6fix1). I am using
> BiBTeX for my references but I need to change the word
> 'Bibliograpgy' to 'References'.  Any idea how I can do that?

\renewcommand{\bibname}{References}

marked as TeX

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Copyright symbol?

2001-03-19 Thread Stefano Ghirlanda

EagleIce [EMAIL PROTECTED] writes:

 I can't find out how I can put in a Copyright symbol in my documents, can 
 someone give me a hint?

I think it's \copyright, marked as TeX. Use Ctrl-Space if you need a
following space.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Copyright symbol?

2001-03-19 Thread Stefano Ghirlanda

EagleIce [EMAIL PROTECTED] writes:

 I can't find out how I can put in a Copyright symbol in my documents, can 
 someone give me a hint?

I think it's \copyright, marked as TeX. Use Ctrl-Space if you need a
following space.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Copyright symbol?

2001-03-19 Thread Stefano Ghirlanda

EagleIce <[EMAIL PROTECTED]> writes:

> I can't find out how I can put in a Copyright symbol in my documents, can 
> someone give me a hint?

I think it's \copyright, marked as TeX. Use Ctrl-Space if you need a
following space.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-16 Thread Stefano Ghirlanda

"Jean-Pierre.Chretien" [EMAIL PROTECTED] writes:

 What about an alias instead of a link ?

I like this better, thanks.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-16 Thread Stefano Ghirlanda

Stefano Ghirlanda [EMAIL PROTECTED] writes:

 "Jean-Pierre.Chretien" [EMAIL PROTECTED] writes:
 
  What about an alias instead of a link ?
 
 I like this better, thanks.

But it does not seem to work, probably because LyX does not use the
shell to launch bibtex.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Newbie: false numbering of bibtex citations

2001-03-16 Thread Stefano Ghirlanda

db [EMAIL PROTECTED] writes:

 I'm trying to use lyx 1.1.6fix1/pybliographer 1.0.8 on Mandrake7.2 and
 I have the following problem with the numbering of the citations which
 is not crescent within the text. Here is an example:

 1  J.P. Deng and B. Randby,,,
 2  J.P. Deng, W.T. Yang and B. Randby,,,
 3  A. Levy and I. Agrenat,,,

The order is alphabetical. Use the 'unsrt' bibtex style (in the
'BibTeX Generated References' box) to list references in order of
citation.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience






Re: changing bibtex command

2001-03-16 Thread Stefano Ghirlanda

"Jean-Pierre.Chretien" [EMAIL PROTECTED] writes:

 What about an alias instead of a link ?

I like this better, thanks.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-16 Thread Stefano Ghirlanda

Stefano Ghirlanda [EMAIL PROTECTED] writes:

 "Jean-Pierre.Chretien" [EMAIL PROTECTED] writes:
 
  What about an alias instead of a link ?
 
 I like this better, thanks.

But it does not seem to work, probably because LyX does not use the
shell to launch bibtex.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Newbie: false numbering of bibtex citations

2001-03-16 Thread Stefano Ghirlanda

db [EMAIL PROTECTED] writes:

 I'm trying to use lyx 1.1.6fix1/pybliographer 1.0.8 on Mandrake7.2 and
 I have the following problem with the numbering of the citations which
 is not crescent within the text. Here is an example:

 1  J.P. Deng and B. Randby,,,
 2  J.P. Deng, W.T. Yang and B. Randby,,,
 3  A. Levy and I. Agrenat,,,

The order is alphabetical. Use the 'unsrt' bibtex style (in the
'BibTeX Generated References' box) to list references in order of
citation.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience






Re: changing bibtex command

2001-03-16 Thread Stefano Ghirlanda

"Jean-Pierre.Chretien" <[EMAIL PROTECTED]> writes:

> What about an alias instead of a link ?

I like this better, thanks.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-16 Thread Stefano Ghirlanda

Stefano Ghirlanda <[EMAIL PROTECTED]> writes:

> "Jean-Pierre.Chretien" <[EMAIL PROTECTED]> writes:
> 
> > What about an alias instead of a link ?
> 
> I like this better, thanks.

But it does not seem to work, probably because LyX does not use the
shell to launch bibtex.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Newbie: false numbering of bibtex citations

2001-03-16 Thread Stefano Ghirlanda

db <[EMAIL PROTECTED]> writes:

> I'm trying to use lyx 1.1.6fix1/pybliographer 1.0.8 on Mandrake7.2 and
> I have the following problem with the numbering of the citations which
> is not crescent within the text. Here is an example:

> 1  J.P. Deng and B. Randby,,,
> 2  J.P. Deng, W.T. Yang and B. Randby,,,
> 3  A. Levy and I. Agrenat,,,

The order is alphabetical. Use the 'unsrt' bibtex style (in the
'BibTeX Generated References' box) to list references in order of
citation.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience






Re: changing bibtex command

2001-03-15 Thread Stefano Ghirlanda

Stefano Ghirlanda [EMAIL PROTECTED] writes:

 Hi,
 I am experimenting on a wrapper script around bibtex. I remember there
 is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
 but I can't remember how... 

I think I was wrong, in LaTeX.C "bibtex" seems to be hard-coded.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-15 Thread Stefano Ghirlanda

Herbert Voss [EMAIL PROTECTED] writes:

 Stefano Ghirlanda wrote:
  
  Stefano Ghirlanda [EMAIL PROTECTED] writes:
  
   Hi,
   I am experimenting on a wrapper script around bibtex. I remember there
   is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
   but I can't remember how...
  
  I think I was wrong, in LaTeX.C "bibtex" seems to be hard-coded.
 
 that's right, but lyx searchs first in your home-dir/bin, when your
 path is set well (otherwise you produce an endless loop). 
 Therefore you can define your own ~/bin/bibtex which itself
 starts /usr/bin/bibtex, the one from tex!

Yes, but I do not consider this to be an ideal setup. For instance,
the program would need to be installed in (or linked to from) each
user's ~/bin directory. Having ~/bin before the system diretctories is
also not recommended from a securiy point of view.

Thanks for the tip anyway,
Stefano

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-15 Thread Stefano Ghirlanda

Stefano Ghirlanda [EMAIL PROTECTED] writes:

 Hi,
 I am experimenting on a wrapper script around bibtex. I remember there
 is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
 but I can't remember how... 

I think I was wrong, in LaTeX.C "bibtex" seems to be hard-coded.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-15 Thread Stefano Ghirlanda

Herbert Voss [EMAIL PROTECTED] writes:

 Stefano Ghirlanda wrote:
  
  Stefano Ghirlanda [EMAIL PROTECTED] writes:
  
   Hi,
   I am experimenting on a wrapper script around bibtex. I remember there
   is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
   but I can't remember how...
  
  I think I was wrong, in LaTeX.C "bibtex" seems to be hard-coded.
 
 that's right, but lyx searchs first in your home-dir/bin, when your
 path is set well (otherwise you produce an endless loop). 
 Therefore you can define your own ~/bin/bibtex which itself
 starts /usr/bin/bibtex, the one from tex!

Yes, but I do not consider this to be an ideal setup. For instance,
the program would need to be installed in (or linked to from) each
user's ~/bin directory. Having ~/bin before the system diretctories is
also not recommended from a securiy point of view.

Thanks for the tip anyway,
Stefano

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-15 Thread Stefano Ghirlanda

Stefano Ghirlanda <[EMAIL PROTECTED]> writes:

> Hi,
> I am experimenting on a wrapper script around bibtex. I remember there
> is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
> but I can't remember how... 

I think I was wrong, in LaTeX.C "bibtex" seems to be hard-coded.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changing bibtex command

2001-03-15 Thread Stefano Ghirlanda

Herbert Voss <[EMAIL PROTECTED]> writes:

> Stefano Ghirlanda wrote:
> > 
> > Stefano Ghirlanda <[EMAIL PROTECTED]> writes:
> > 
> > > Hi,
> > > I am experimenting on a wrapper script around bibtex. I remember there
> > > is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
> > > but I can't remember how...
> > 
> > I think I was wrong, in LaTeX.C "bibtex" seems to be hard-coded.
> 
> that's right, but lyx searchs first in your home-dir/bin, when your
> path is set well (otherwise you produce an endless loop). 
> Therefore you can define your own ~/bin/bibtex which itself
> starts /usr/bin/bibtex, the one from tex!

Yes, but I do not consider this to be an ideal setup. For instance,
the program would need to be installed in (or linked to from) each
user's ~/bin directory. Having ~/bin before the system diretctories is
also not recommended from a securiy point of view.

Thanks for the tip anyway,
Stefano

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



changing bibtex command

2001-03-14 Thread Stefano Ghirlanda

Hi,
I am experimenting on a wrapper script around bibtex. I remember there
is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
but I can't remember how... I have tried the following without
success:

\bibtex_command mybibtex
\bibtex mybibtex
\Command bibtex mybibtex
\command bibtex mybibtex

without success... Any help appreciated,
Thanks

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



changing bibtex command

2001-03-14 Thread Stefano Ghirlanda

Hi,
I am experimenting on a wrapper script around bibtex. I remember there
is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
but I can't remember how... I have tried the following without
success:

\bibtex_command mybibtex
\bibtex mybibtex
\Command bibtex mybibtex
\command bibtex mybibtex

without success... Any help appreciated,
Thanks

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



changing bibtex command

2001-03-14 Thread Stefano Ghirlanda

Hi,
I am experimenting on a wrapper script around bibtex. I remember there
is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
but I can't remember how... I have tried the following without
success:

\bibtex_command mybibtex
\bibtex mybibtex
\Command bibtex mybibtex
\command bibtex mybibtex

without success... Any help appreciated,
Thanks

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: bad characters in labels?

2001-03-13 Thread Stefano Ghirlanda

Tuukka Toivonen [EMAIL PROTECTED] writes:

 I used a label "t=bda" in an equation, but it produced (??) instead
 of the equation number in the output. I guess Latex doesn't accept
 the "=" character in labels.

Yes... if you use _ I think you also get an error...

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: bad characters in labels?

2001-03-13 Thread Stefano Ghirlanda

Tuukka Toivonen [EMAIL PROTECTED] writes:

 I used a label "t=bda" in an equation, but it produced (??) instead
 of the equation number in the output. I guess Latex doesn't accept
 the "=" character in labels.

Yes... if you use _ I think you also get an error...

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: bad characters in labels?

2001-03-13 Thread Stefano Ghirlanda

Tuukka Toivonen <[EMAIL PROTECTED]> writes:

> I used a label "t=bda" in an equation, but it produced (??) instead
> of the equation number in the output. I guess Latex doesn't accept
> the "=" character in labels.

Yes... if you use _ I think you also get an error...

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Problems

2001-03-12 Thread Stefano Ghirlanda

Guilherme Klitzke Giesbrecht [EMAIL PROTECTED] writes:

 I have the following problem.
 I want to wirte a kind of report, but with section numbering, but I
 don't want a Chapter label above my chapters, The problem is that the
 book style is perfect for what I need,  and all I don't want is the
 Chapter label. If I don't use Chapters, the sections are then numbered
 0.x, and I don't want that.
 Anyone knows how do I do that?

Put:

\renewcommand{\chaptername}{}

in the LaTeX premable of your LyX document.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Problems

2001-03-12 Thread Stefano Ghirlanda

Guilherme Klitzke Giesbrecht [EMAIL PROTECTED] writes:

 I have the following problem.
 I want to wirte a kind of report, but with section numbering, but I
 don't want a Chapter label above my chapters, The problem is that the
 book style is perfect for what I need,  and all I don't want is the
 Chapter label. If I don't use Chapters, the sections are then numbered
 0.x, and I don't want that.
 Anyone knows how do I do that?

Put:

\renewcommand{\chaptername}{}

in the LaTeX premable of your LyX document.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Problems

2001-03-12 Thread Stefano Ghirlanda

Guilherme Klitzke Giesbrecht <[EMAIL PROTECTED]> writes:

> I have the following problem.
> I want to wirte a kind of report, but with section numbering, but I
> don't want a Chapter label above my chapters, The problem is that the
> book style is perfect for what I need,  and all I don't want is the
> Chapter label. If I don't use Chapters, the sections are then numbered
> 0.x, and I don't want that.
> Anyone knows how do I do that?

Put:

\renewcommand{\chaptername}{}

in the LaTeX premable of your LyX document.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changes standard wording?

2001-03-10 Thread Stefano Ghirlanda

Mitrana Cristian [EMAIL PROTECTED] writes:

  Hi Folks!
  Sorry for asking simple questions!
  I'm writing an artical using (i) class: article (AMS), (ii) Language:
  bahasa. I change these under Document Layout. The problem are when I
  select Abstract, I get RINGKASAN. What I really what is ABSTRAK.
  Second, when I select Biblography, I get PUSTAKA, but what I really
  whan is RUJUKAN. Can someone please show me how to redefine these.
 
 The problem is not from lyx, check you malayasian.sty and malayasian.ldf
 from your latex distribution,mines are in 
 /usr/share/texfm/tex/generic/babel ( on linux ). You may have to 
 modify the malayasian.sty file to correct those errors.

You can probably achieve the same without modifying these files by:

\renewcommand{\abstractname}{abstrak}
\renewcommand{\referencename}{rujukan}

In the preamble. It might be \bibliographyname or some other variation
instead of \referencename, I don't remember right now...

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changes standard wording?

2001-03-10 Thread Stefano Ghirlanda

Mitrana Cristian [EMAIL PROTECTED] writes:

  Hi Folks!
  Sorry for asking simple questions!
  I'm writing an artical using (i) class: article (AMS), (ii) Language:
  bahasa. I change these under Document Layout. The problem are when I
  select Abstract, I get RINGKASAN. What I really what is ABSTRAK.
  Second, when I select Biblography, I get PUSTAKA, but what I really
  whan is RUJUKAN. Can someone please show me how to redefine these.
 
 The problem is not from lyx, check you malayasian.sty and malayasian.ldf
 from your latex distribution,mines are in 
 /usr/share/texfm/tex/generic/babel ( on linux ). You may have to 
 modify the malayasian.sty file to correct those errors.

You can probably achieve the same without modifying these files by:

\renewcommand{\abstractname}{abstrak}
\renewcommand{\referencename}{rujukan}

In the preamble. It might be \bibliographyname or some other variation
instead of \referencename, I don't remember right now...

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: changes standard wording?

2001-03-10 Thread Stefano Ghirlanda

Mitrana Cristian <[EMAIL PROTECTED]> writes:

> > Hi Folks!
> > Sorry for asking simple questions!
> > I'm writing an artical using (i) class: article (AMS), (ii) Language:
> > bahasa. I change these under Document Layout. The problem are when I
> > select Abstract, I get RINGKASAN. What I really what is ABSTRAK.
> > Second, when I select Biblography, I get PUSTAKA, but what I really
> > whan is RUJUKAN. Can someone please show me how to redefine these.
> >
> The problem is not from lyx, check you malayasian.sty and malayasian.ldf
> from your latex distribution,mines are in 
> /usr/share/texfm/tex/generic/babel ( on linux ). You may have to 
> modify the malayasian.sty file to correct those errors.

You can probably achieve the same without modifying these files by:

\renewcommand{\abstractname}{abstrak}
\renewcommand{\referencename}{rujukan}

In the preamble. It might be \bibliographyname or some other variation
instead of \referencename, I don't remember right now...

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Author and date customization

2001-03-06 Thread Stefano Ghirlanda

Alexandre Gonalves Jacarand [EMAIL PROTECTED] writes:

 Hi evereybody, I need to put \author at \cheader and \date at \cfoot.
 How can I make this?

In the preamble:

\usepackage{fancyhdr}
\pagestyle{fancy}
\cfoot{\today}
\chead{Author Name}

Note that you cannot use \author (or actually \@author) in \chead,
because it is defined only within the title page... If you need to do
this in a general way, for intance as a style file that many can use,
you can try a hack like this:

\let\oldauthor\author
\renewcommand{\author}[1]{\newcommand{\myauthor}{#1}\oldauthor{#1}} 
\chead{\myauthor}

But I have not checked this.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



SOLVED problems 1.1.6fix1 on slackware 7.1

2001-03-06 Thread Stefano Ghirlanda

Hi,
thanks everyone for your suggestions!
By manually #undefining HAVE_SSTREAM, HAVE_OSTREAM and HAVE_LOCALE in
src/config.h I could compile and install happily.

If #undefining HAVE_LOCALE does not impair locale awareness, I could
make a lyx.tgz slackware package and upload it to
www.linuxmafia.org. I wait input from you all.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Author and date customization

2001-03-06 Thread Stefano Ghirlanda

Alexandre Gonalves Jacarand [EMAIL PROTECTED] writes:

 Hi evereybody, I need to put \author at \cheader and \date at \cfoot.
 How can I make this?

In the preamble:

\usepackage{fancyhdr}
\pagestyle{fancy}
\cfoot{\today}
\chead{Author Name}

Note that you cannot use \author (or actually \@author) in \chead,
because it is defined only within the title page... If you need to do
this in a general way, for intance as a style file that many can use,
you can try a hack like this:

\let\oldauthor\author
\renewcommand{\author}[1]{\newcommand{\myauthor}{#1}\oldauthor{#1}} 
\chead{\myauthor}

But I have not checked this.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



SOLVED problems 1.1.6fix1 on slackware 7.1

2001-03-06 Thread Stefano Ghirlanda

Hi,
thanks everyone for your suggestions!
By manually #undefining HAVE_SSTREAM, HAVE_OSTREAM and HAVE_LOCALE in
src/config.h I could compile and install happily.

If #undefining HAVE_LOCALE does not impair locale awareness, I could
make a lyx.tgz slackware package and upload it to
www.linuxmafia.org. I wait input from you all.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Author and date customization

2001-03-06 Thread Stefano Ghirlanda

Alexandre Gonçalves Jacarandá <[EMAIL PROTECTED]> writes:

> Hi evereybody, I need to put \author at \cheader and \date at \cfoot.
> How can I make this?

In the preamble:

\usepackage{fancyhdr}
\pagestyle{fancy}
\cfoot{\today}
\chead{Author Name}

Note that you cannot use \author (or actually \@author) in \chead,
because it is defined only within the title page... If you need to do
this in a general way, for intance as a style file that many can use,
you can try a hack like this:

\let\oldauthor\author
\renewcommand{\author}[1]{\newcommand{\myauthor}{#1}\oldauthor{#1}} 
\chead{\myauthor}

But I have not checked this.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



SOLVED problems 1.1.6fix1 on slackware 7.1

2001-03-06 Thread Stefano Ghirlanda

Hi,
thanks everyone for your suggestions!
By manually #undefining HAVE_SSTREAM, HAVE_OSTREAM and HAVE_LOCALE in
src/config.h I could compile and install happily.

If #undefining HAVE_LOCALE does not impair locale awareness, I could
make a lyx.tgz slackware package and upload it to
www.linuxmafia.org. I wait input from you all.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx-1.1.6 compile errors

2001-03-05 Thread Stefano Ghirlanda

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

 Stefano # g++ -v Reading specs from
 Stefano /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs gcc
 Stefano version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
 
 This version should work OK, and configure should have detected that
 ostream ans sstream were not available... How did you run configure?
 What does config.log say?

It says that sstream is found... but:

# find /usr/include/ /usr/local/include -name '*sstream*'

nothing is found. As a confirmation:

# cattry.CEOF
 #include stream
 EOF
# g++ try.C 
try.C:1: stream: No such file or directory

Any easy way to fix this?
Thanks a lot
-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Empty spacing

2001-03-05 Thread Stefano Ghirlanda

EagleIce [EMAIL PROTECTED] writes:

 Hello all!
 
 In a book I'm writing I would like to remove the chapter and sections but 
 still keep the spaces they make, is this possible to do?

Try to use a Chapter* environment with a Ctrl-Space character in it. 

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Empty spacing

2001-03-05 Thread Stefano Ghirlanda

EagleIce [EMAIL PROTECTED] writes:

 OK, thank's.
 Should that work with Section* too?

Yest, it should.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx-1.1.6 compile errors

2001-03-05 Thread Stefano Ghirlanda

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

 Stefano # g++ -v Reading specs from
 Stefano /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs gcc
 Stefano version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
 
 This version should work OK, and configure should have detected that
 ostream ans sstream were not available... How did you run configure?
 What does config.log say?

It says that sstream is found... but:

# find /usr/include/ /usr/local/include -name '*sstream*'

nothing is found. As a confirmation:

# cattry.CEOF
 #include stream
 EOF
# g++ try.C 
try.C:1: stream: No such file or directory

Any easy way to fix this?
Thanks a lot
-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Empty spacing

2001-03-05 Thread Stefano Ghirlanda

EagleIce [EMAIL PROTECTED] writes:

 Hello all!
 
 In a book I'm writing I would like to remove the chapter and sections but 
 still keep the spaces they make, is this possible to do?

Try to use a Chapter* environment with a Ctrl-Space character in it. 

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Empty spacing

2001-03-05 Thread Stefano Ghirlanda

EagleIce [EMAIL PROTECTED] writes:

 OK, thank's.
 Should that work with Section* too?

Yest, it should.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: lyx-1.1.6 compile errors

2001-03-05 Thread Stefano Ghirlanda

Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> Stefano> # g++ -v Reading specs from
> Stefano> /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs gcc
> Stefano> version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> 
> This version should work OK, and configure should have detected that
> ostream ans sstream were not available... How did you run configure?
> What does config.log say?

It says that sstream is found... but:

# find /usr/include/ /usr/local/include -name '*sstream*'

nothing is found. As a confirmation:

# cat>try.C< #include 
> EOF
# g++ try.C 
try.C:1: stream: No such file or directory

Any easy way to fix this?
Thanks a lot
-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Empty spacing

2001-03-05 Thread Stefano Ghirlanda

EagleIce <[EMAIL PROTECTED]> writes:

> Hello all!
> 
> In a book I'm writing I would like to remove the chapter and sections but 
> still keep the spaces they make, is this possible to do?

Try to use a Chapter* environment with a Ctrl-Space character in it. 

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Empty spacing

2001-03-05 Thread Stefano Ghirlanda

EagleIce <[EMAIL PROTECTED]> writes:

> OK, thank's.
> Should that work with Section* too?

Yest, it should.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



lyx-1.1.6 compile errors

2001-03-04 Thread Stefano Ghirlanda

Hi, I am getting the following errors, I presume because my c++
libraries are too old (Slackware 7.0):

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../
-I../.. -I../.. -I../../boost -g -O2 -fno-rtti -fno-exceptions -c
formula.C -o formula.o 
In file included from formula.C:18:
../../src/Lsstream.h:16: sstream: No such file or directory
In file included from ../../src/support/DebugStream.h:19,
 from ../../src/debug.h:108,
 from math_defs.h:30,
 from math_iter.h:27,
 from math_cursor.h:26,
 from formula.C:26:
../../src/support/LOstream.h:17: ostream: No such file or directory

Here is my g++ version:

# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Should I installa a more recent one?
Thanks,

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



lyx-1.1.6 compile errors

2001-03-04 Thread Stefano Ghirlanda

Hi, I am getting the following errors, I presume because my c++
libraries are too old (Slackware 7.0):

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../
-I../.. -I../.. -I../../boost -g -O2 -fno-rtti -fno-exceptions -c
formula.C -o formula.o 
In file included from formula.C:18:
../../src/Lsstream.h:16: sstream: No such file or directory
In file included from ../../src/support/DebugStream.h:19,
 from ../../src/debug.h:108,
 from math_defs.h:30,
 from math_iter.h:27,
 from math_cursor.h:26,
 from formula.C:26:
../../src/support/LOstream.h:17: ostream: No such file or directory

Here is my g++ version:

# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Should I installa a more recent one?
Thanks,

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



lyx-1.1.6 compile errors

2001-03-04 Thread Stefano Ghirlanda

Hi, I am getting the following errors, I presume because my c++
libraries are too old (Slackware 7.0):

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../
-I../.. -I../.. -I../../boost -g -O2 -fno-rtti -fno-exceptions -c
formula.C -o formula.o 
In file included from formula.C:18:
../../src/Lsstream.h:16: sstream: No such file or directory
In file included from ../../src/support/DebugStream.h:19,
 from ../../src/debug.h:108,
 from math_defs.h:30,
 from math_iter.h:27,
 from math_cursor.h:26,
 from formula.C:26:
../../src/support/LOstream.h:17: ostream: No such file or directory

Here is my g++ version:

# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Should I installa a more recent one?
Thanks,

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: bug with space in dir name

2000-12-19 Thread Stefano Ghirlanda

"Jean-Pierre.Chretien" [EMAIL PROTECTED] writes:

 Seems that the code creating the file path should protect spaces,
 even if is not advisable to use such spaces in file names on an OS
 where the space is a separator.

The only character which is not allowed in UNIX filenames is /, the
space is a separator for the shell (by default) and for everything
else that wants it to be a separator, but is perfectly allowed in
filenames.

Moreover, we have directories exported to Windows clients and it's
difficult to perusade everyone not to have spaces in file names.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: bug with space in dir name

2000-12-19 Thread Stefano Ghirlanda

"Jean-Pierre.Chretien" [EMAIL PROTECTED] writes:

 Seems that the code creating the file path should protect spaces,
 even if is not advisable to use such spaces in file names on an OS
 where the space is a separator.

The only character which is not allowed in UNIX filenames is /, the
space is a separator for the shell (by default) and for everything
else that wants it to be a separator, but is perfectly allowed in
filenames.

Moreover, we have directories exported to Windows clients and it's
difficult to perusade everyone not to have spaces in file names.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: bug with space in dir name

2000-12-19 Thread Stefano Ghirlanda

"Jean-Pierre.Chretien" <[EMAIL PROTECTED]> writes:

> Seems that the code creating the file path should protect spaces,
> even if is not advisable to use such spaces in file names on an OS
> where the space is a separator.

The only character which is not allowed in UNIX filenames is /, the
space is a separator for the shell (by default) and for everything
else that wants it to be a separator, but is perfectly allowed in
filenames.

Moreover, we have directories exported to Windows clients and it's
difficult to perusade everyone not to have spaces in file names.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



bug with space in dir name

2000-12-16 Thread Stefano Ghirlanda

Hi,
I do not know wheter this is a bug in LyX or LaTeX/TeX, but is seems
that documents whose full path contains spaces cannot be typeset.
For instance I see this in the temporary file in the /tmp/lyx_blabla
directory: 

\def\input@path{{/home/ethology/common/Projects/Learning v Genetic//}}

Which produces a "missing \begin{docment} error". If I take away
spaces from the dir name, the error disappears.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



  1   2   >