i'm not empty

2001-04-19 Thread Thomas de Grenier de Latour


-- 
Thomas DE GRENIER DE LATOUR
__
Etudiant en DEA Informatique
Projet Lande - IRISA, Rennes



BibTeX references as a Part*

2001-05-15 Thread Thomas de Grenier de Latour

Hi,

I'm using BibTeX in an article (language: frenchb) and I would like the
generated references to appear like a real Part* of the document, I
mean to see References in a font larger than the sections names one.
Is it possible ?

Thanks for your help.

Thomas.



Re: marking text doesn't work

2001-06-07 Thread Thomas de Grenier de Latour

Gerhard Schuck wrote:
 
  You should also check whether you have a correct binding file in set
  in preference.
 
 After installing fix-2 I found cua.bind in preference, which was surprising
 for me because I always had used the german bindings before, which were
 selected by default (as far as I remember). So I changed to
 /usr/share/lyx/bind/de_menus.bind, which should be correct. Anyway the
 marking problem comes with both bindings.
 

Maybe that's not the problem, but I think you shouldn't select
de_menus.bind in the lyx preferences, because it's only the menu part
of the bindings. You would better use cua.bind. Lyx should then
include de_menus.bind according to your locale. If it doesn't, copy
the cua.bind (from the /usr/share/lyx/bind/ directory) to your
~/.lyx/bind/, and then edit it to replace, at the end of the file, the
line:

\bind_file menus.bind

by this one:

\bind_file de_menus.bind

Maybe you will need to copy de_menus.bind and math.bind too, but I'm
not sure. I think having your own bind files is a good thing, so you can
add shortcuts for your favorite commands. And don't forget to restart
lyx after you change the binding preferences, or after you edit a bind
file.


Thomas.



View-LyX

2001-06-08 Thread Thomas de Grenier de Latour

Hi,

I'd like to add a LyX item to my View menu (I'm using 1.1.6fix2),
which would launch a text viewer/editor on a temporary copy of the
current opened lyx document. Ok, that wouldn't be a major feature...
It's just because I'm sometimes curious, but also easily bored with
saving files, launching programs, and opening files again..., each time
I'm wondering something about the lyx format. 
I've managed to do it for Latex, just adding gvim in the
Preference-Converters-Format-LaTeX-Viewer, but it doesn't seems to
work with LyX.  What exactly does the ViewFormats item in the ui file
refer to? 
I also tried to do my stuff creating a new file format, namely LyxCopy,
with cat as an export converter (yes, there's a long story between
cats and me, but I think I've already written you about that;), which
would have gvim as a viewer. But it doesn't appear neither in the View
menu, nor in the Export one. So a second question is: what exactly can
Converters do? Are they only used as import features?

Thanks for your lights,


-- 
Thomas.



Re: Frontend Bibtex recommendation

2001-06-21 Thread Thomas de Grenier de Latour

[EMAIL PROTECTED] wrote:
 
 I want to use a database for the bibliography. What do you recommend to me?
 
 Edit by hand
 tkbibtex
 pybliographer (It's practical?)
 
 Of course, later I want an easy citation in Lyx
 
 Thanks for all

I only tried tkbibtex, and it works fine with LyX. Things I appreciate
are:
- easy to install (just a tcl/tk script)
- a few command line option to sort, extract... entries of the bib file
- the popup menu for an easy insert of your strings (which have to be
defined in an hand made separate file)
- about five minutes needed to learn how to use the all features

The only problem I've saw is that existing bibfiles have to respect a
few constraints to be readable by the prog (one line/field...)

Thomas.



Re: Including literal text

2001-07-04 Thread Thomas de Grenier de Latour

Jean-Marc Lasgouttes wrote:
 
  Sheldon == Sheldon Hearn [EMAIL PROTECTED] writes:

 Sheldon I'd like to include an appendix that provides the SQL code
 Sheldon that generates the database tables that support the system.
 
 If the text is in a file, the best is to use InsertInclude and check
 'verbatim'.
 
 Otherwise, you can use the LyX-Code environment, but it is a bit
 buggy.
 

You may also use a pretty-printer for your code. It will put some
keywords in bold, etc. The SQL is supported by the  listings package.
To use it, write your latex preamble:
\usepackage{listings}
\lstloadlanguages{SQL}

Then, you just have to write in red latex mode, where you want in your
lyx article,:
\lstinputlisting[language=SQL]{yourFile.sql}

If you don't have listings installed, you can find it (with the
documentation) here:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/listings/

I think the lgrind package also supports SQL, and can also be found on
the CTAN.

T.



Re: Q: long table and chemical formula

2001-07-11 Thread Thomas de Grenier de Latour

Guenter Milde wrote:
 
 PS:  Question to the gurus:
 
 Could I have a function or macro that does this but
 also changes the font to roman?
 
 \bind C-S-underscoremath-insert _\mathrm{}does not work
 
 defining a (math-macro sub 1) does not work either (font changes cannot be
 included in the macro definiton in a WYSIWYM manner, only via \textrm{#1}
 all in red)
 
 Guenter
 


There is a lyx function called command-sequence which can help to
define strange shortcuts. Try something like this:
\bind C-S-underscorecommand-sequence math-insert _;
math-insert mathrm;
But this work only for the first char after the mathrm, because there is
no {}.
A very ugly solution is this one:
command-sequence math-insert _; tex-mode; type m; type a; type t; type
h; type r; type m; type {;
The closing } is added by LyX (type has the same behaviour as you with
your favorite keyboard).
But when I re-read it, the shame falls on me (I've got a lot of such
things in my perso.bind), and I expect real gurus will forgive me... 

--
Thomas.



Re: Q: long table and chemical formula

2001-07-11 Thread Thomas de Grenier de Latour

Thomas de Grenier de Latour (Hey! It's me!) wrote:
 
 command-sequence math-insert _; tex-mode; type m; type a; type t; type
 h; type r; type m; type {;
 

H... strange... it does work when entered in the minibuffer, but not
as a binded shortcut. Sorry for the mistake.


(In fact, when this thing is binded to a key, all the type stuff is
done behind the math box, where the first cursor stands. The second one,
the one of the math box, isn't activated until I touch the keyboard
again. Probably I'm bugy, or my LyX is drunk, but two cursors are one
too much.)


 --
 Thomas.



Re: Q: long table and chemical formula

2001-07-12 Thread Thomas de Grenier de Latour

Guenter Milde wrote:
 
 Thanks for the tip with command-sequence.
 

Thanks for the tip with font-something, I was thinking it was only a
text mode feature (I don't know why, this kind of fix idea you never
verify). No more mathrm{blabla} in my formulas!

--
Thomas.



1.1.6fix3 compilation error

2001-07-25 Thread Thomas de Grenier de Latour

Hi,

I've tried to compile 1.1.6fix3, but had an error...

Here are some informations about my system:
 SunOS tiramisu 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-5_10
 gcc version 2.8.1 
 GNU ld version 2.9.1 (with BFD 2.9.1)
 
Here is the end of the ./configure --with-version-suffix
--prefix=/udd/degrenie/pub (after a setenv LINGUAS 'fr')

[...]
Configuration:
  Source code location:   .
  C++ Compiler:   g++
  C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  LyX binary dir: /udd/degrenie/pub/bin
  LyX files dir:  /udd/degrenie/pub/share/lyx-1.1.6fix3
  Special flags:   frontend-xforms included-libsigc

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.

...and here is the output of the make:

Making all in intl
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/intl'
Making all in po
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/po'
Making all in sigc++
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make  all-recursive
make[2]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
Making all in macros
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++/macros'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++/macros'
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c object.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c object.cc -o
object.o
echo timestamp  object.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c scope.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c scope.cc -o
scope.o
echo timestamp  scope.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c marshal.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c marshal.cc -o
marshal.o
echo timestamp  marshal.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c slot.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c slot.cc -o
slot.o
echo timestamp  slot.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c basic_signal.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c basic_signal.cc
-o basic_signal.o
echo timestamp  basic_signal.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c adaptor.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c adaptor.cc -o
adaptor.o
echo timestamp  adaptor.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c thread.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c thread.cc -o
thread.o
echo timestamp  thread.lo
/bin/sh ./libtool --mode=link c++  -g -O2  -o libsigc.la  -no-undefined
object.lo scope.lo marshal.lo slot.lo basic_signal.lo adaptor.lo
thread.lo  
mkdir .libs
ar cru .libs/libsigc.a  object.o scope.o marshal.o slot.o basic_signal.o
adaptor.o thread.o 
ranlib .libs/libsigc.a
creating libsigc.la
(cd .libs  rm -f libsigc.la  ln -s ../libsigc.la libsigc.la)
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make[2]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
Making all in boost
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/boost'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/boost'
Making all in src
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
make  all-recursive
make[2]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
Making all in mathed
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src/mathed'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost 
-isystem /usr/local/X11R5/include  -g -O2 -fno-rtti -fno-exceptions -c
formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../..
-I../.. -I../../boost -isystem /usr/local/X11R5/include -g -O2 -fno-rtti
-fno-exceptions -c formula.C -o formula.o
array.h: In method `void LyxArrayBase::Init()':
In file included from math_defs.h:32,
 from math_iter.h:27,
 

i'm not empty

2001-04-19 Thread Thomas de Grenier de Latour


-- 
Thomas DE GRENIER DE LATOUR
__
Etudiant en DEA Informatique
Projet Lande - IRISA, Rennes



BibTeX references as a Part*

2001-05-15 Thread Thomas de Grenier de Latour

Hi,

I'm using BibTeX in an article (language: frenchb) and I would like the
generated references to appear like a real Part* of the document, I
mean to see References in a font larger than the sections names one.
Is it possible ?

Thanks for your help.

Thomas.



Re: marking text doesn't work

2001-06-07 Thread Thomas de Grenier de Latour

Gerhard Schuck wrote:
 
  You should also check whether you have a correct binding file in set
  in preference.
 
 After installing fix-2 I found cua.bind in preference, which was surprising
 for me because I always had used the german bindings before, which were
 selected by default (as far as I remember). So I changed to
 /usr/share/lyx/bind/de_menus.bind, which should be correct. Anyway the
 marking problem comes with both bindings.
 

Maybe that's not the problem, but I think you shouldn't select
de_menus.bind in the lyx preferences, because it's only the menu part
of the bindings. You would better use cua.bind. Lyx should then
include de_menus.bind according to your locale. If it doesn't, copy
the cua.bind (from the /usr/share/lyx/bind/ directory) to your
~/.lyx/bind/, and then edit it to replace, at the end of the file, the
line:

\bind_file menus.bind

by this one:

\bind_file de_menus.bind

Maybe you will need to copy de_menus.bind and math.bind too, but I'm
not sure. I think having your own bind files is a good thing, so you can
add shortcuts for your favorite commands. And don't forget to restart
lyx after you change the binding preferences, or after you edit a bind
file.


Thomas.



View-LyX

2001-06-08 Thread Thomas de Grenier de Latour

Hi,

I'd like to add a LyX item to my View menu (I'm using 1.1.6fix2),
which would launch a text viewer/editor on a temporary copy of the
current opened lyx document. Ok, that wouldn't be a major feature...
It's just because I'm sometimes curious, but also easily bored with
saving files, launching programs, and opening files again..., each time
I'm wondering something about the lyx format. 
I've managed to do it for Latex, just adding gvim in the
Preference-Converters-Format-LaTeX-Viewer, but it doesn't seems to
work with LyX.  What exactly does the ViewFormats item in the ui file
refer to? 
I also tried to do my stuff creating a new file format, namely LyxCopy,
with cat as an export converter (yes, there's a long story between
cats and me, but I think I've already written you about that;), which
would have gvim as a viewer. But it doesn't appear neither in the View
menu, nor in the Export one. So a second question is: what exactly can
Converters do? Are they only used as import features?

Thanks for your lights,


-- 
Thomas.



Re: Frontend Bibtex recommendation

2001-06-21 Thread Thomas de Grenier de Latour

[EMAIL PROTECTED] wrote:
 
 I want to use a database for the bibliography. What do you recommend to me?
 
 Edit by hand
 tkbibtex
 pybliographer (It's practical?)
 
 Of course, later I want an easy citation in Lyx
 
 Thanks for all

I only tried tkbibtex, and it works fine with LyX. Things I appreciate
are:
- easy to install (just a tcl/tk script)
- a few command line option to sort, extract... entries of the bib file
- the popup menu for an easy insert of your strings (which have to be
defined in an hand made separate file)
- about five minutes needed to learn how to use the all features

The only problem I've saw is that existing bibfiles have to respect a
few constraints to be readable by the prog (one line/field...)

Thomas.



Re: Including literal text

2001-07-04 Thread Thomas de Grenier de Latour

Jean-Marc Lasgouttes wrote:
 
  Sheldon == Sheldon Hearn [EMAIL PROTECTED] writes:

 Sheldon I'd like to include an appendix that provides the SQL code
 Sheldon that generates the database tables that support the system.
 
 If the text is in a file, the best is to use InsertInclude and check
 'verbatim'.
 
 Otherwise, you can use the LyX-Code environment, but it is a bit
 buggy.
 

You may also use a pretty-printer for your code. It will put some
keywords in bold, etc. The SQL is supported by the  listings package.
To use it, write your latex preamble:
\usepackage{listings}
\lstloadlanguages{SQL}

Then, you just have to write in red latex mode, where you want in your
lyx article,:
\lstinputlisting[language=SQL]{yourFile.sql}

If you don't have listings installed, you can find it (with the
documentation) here:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/listings/

I think the lgrind package also supports SQL, and can also be found on
the CTAN.

T.



Re: Q: long table and chemical formula

2001-07-11 Thread Thomas de Grenier de Latour

Guenter Milde wrote:
 
 PS:  Question to the gurus:
 
 Could I have a function or macro that does this but
 also changes the font to roman?
 
 \bind C-S-underscoremath-insert _\mathrm{}does not work
 
 defining a (math-macro sub 1) does not work either (font changes cannot be
 included in the macro definiton in a WYSIWYM manner, only via \textrm{#1}
 all in red)
 
 Guenter
 


There is a lyx function called command-sequence which can help to
define strange shortcuts. Try something like this:
\bind C-S-underscorecommand-sequence math-insert _;
math-insert mathrm;
But this work only for the first char after the mathrm, because there is
no {}.
A very ugly solution is this one:
command-sequence math-insert _; tex-mode; type m; type a; type t; type
h; type r; type m; type {;
The closing } is added by LyX (type has the same behaviour as you with
your favorite keyboard).
But when I re-read it, the shame falls on me (I've got a lot of such
things in my perso.bind), and I expect real gurus will forgive me... 

--
Thomas.



Re: Q: long table and chemical formula

2001-07-11 Thread Thomas de Grenier de Latour

Thomas de Grenier de Latour (Hey! It's me!) wrote:
 
 command-sequence math-insert _; tex-mode; type m; type a; type t; type
 h; type r; type m; type {;
 

H... strange... it does work when entered in the minibuffer, but not
as a binded shortcut. Sorry for the mistake.


(In fact, when this thing is binded to a key, all the type stuff is
done behind the math box, where the first cursor stands. The second one,
the one of the math box, isn't activated until I touch the keyboard
again. Probably I'm bugy, or my LyX is drunk, but two cursors are one
too much.)


 --
 Thomas.



Re: Q: long table and chemical formula

2001-07-12 Thread Thomas de Grenier de Latour

Guenter Milde wrote:
 
 Thanks for the tip with command-sequence.
 

Thanks for the tip with font-something, I was thinking it was only a
text mode feature (I don't know why, this kind of fix idea you never
verify). No more mathrm{blabla} in my formulas!

--
Thomas.



1.1.6fix3 compilation error

2001-07-25 Thread Thomas de Grenier de Latour

Hi,

I've tried to compile 1.1.6fix3, but had an error...

Here are some informations about my system:
 SunOS tiramisu 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-5_10
 gcc version 2.8.1 
 GNU ld version 2.9.1 (with BFD 2.9.1)
 
Here is the end of the ./configure --with-version-suffix
--prefix=/udd/degrenie/pub (after a setenv LINGUAS 'fr')

[...]
Configuration:
  Source code location:   .
  C++ Compiler:   g++
  C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  LyX binary dir: /udd/degrenie/pub/bin
  LyX files dir:  /udd/degrenie/pub/share/lyx-1.1.6fix3
  Special flags:   frontend-xforms included-libsigc

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.

...and here is the output of the make:

Making all in intl
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/intl'
Making all in po
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/po'
Making all in sigc++
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make  all-recursive
make[2]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
Making all in macros
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++/macros'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++/macros'
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c object.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c object.cc -o
object.o
echo timestamp  object.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c scope.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c scope.cc -o
scope.o
echo timestamp  scope.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c marshal.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c marshal.cc -o
marshal.o
echo timestamp  marshal.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c slot.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c slot.cc -o
slot.o
echo timestamp  slot.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c basic_signal.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c basic_signal.cc
-o basic_signal.o
echo timestamp  basic_signal.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c adaptor.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c adaptor.cc -o
adaptor.o
echo timestamp  adaptor.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c thread.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c thread.cc -o
thread.o
echo timestamp  thread.lo
/bin/sh ./libtool --mode=link c++  -g -O2  -o libsigc.la  -no-undefined
object.lo scope.lo marshal.lo slot.lo basic_signal.lo adaptor.lo
thread.lo  
mkdir .libs
ar cru .libs/libsigc.a  object.o scope.o marshal.o slot.o basic_signal.o
adaptor.o thread.o 
ranlib .libs/libsigc.a
creating libsigc.la
(cd .libs  rm -f libsigc.la  ln -s ../libsigc.la libsigc.la)
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make[2]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
Making all in boost
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/boost'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/boost'
Making all in src
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
make  all-recursive
make[2]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
Making all in mathed
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src/mathed'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost 
-isystem /usr/local/X11R5/include  -g -O2 -fno-rtti -fno-exceptions -c
formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../..
-I../.. -I../../boost -isystem /usr/local/X11R5/include -g -O2 -fno-rtti
-fno-exceptions -c formula.C -o formula.o
array.h: In method `void LyxArrayBase::Init()':
In file included from math_defs.h:32,
 from math_iter.h:27,
 

i'm not empty

2001-04-19 Thread Thomas de Grenier de Latour


-- 
Thomas DE GRENIER DE LATOUR
__
Etudiant en DEA Informatique
Projet Lande - IRISA, Rennes



BibTeX references as a Part*

2001-05-15 Thread Thomas de Grenier de Latour

Hi,

I'm using BibTeX in an article (language: frenchb) and I would like the
generated references to appear like a real "Part*" of the document, I
mean to see "References" in a font larger than the sections names one.
Is it possible ?

Thanks for your help.

Thomas.



Re: marking text doesn't work

2001-06-07 Thread Thomas de Grenier de Latour

Gerhard Schuck wrote:
> 
> > You should also check whether you have a correct binding file in set
> > in preference.
> >
> After installing fix-2 I found cua.bind in preference, which was surprising
> for me because I always had used the german bindings before, which were
> selected by default (as far as I remember). So I changed to
> /usr/share/lyx/bind/de_menus.bind, which should be correct. Anyway the
> marking problem comes with both bindings.
> 

Maybe that's not the problem, but I think you shouldn't select
"de_menus.bind" in the lyx preferences, because it's only the menu part
of the bindings. You would better use "cua.bind". Lyx should then
include "de_menus.bind" according to your locale. If it doesn't, copy
the "cua.bind" (from the /usr/share/lyx/bind/ directory) to your
"~/.lyx/bind/", and then edit it to replace, at the end of the file, the
line:

\bind_file menus.bind

by this one:

\bind_file de_menus.bind

Maybe you will need to copy "de_menus.bind" and "math.bind" too, but I'm
not sure. I think having your own bind files is a good thing, so you can
add shortcuts for your favorite commands. And don't forget to restart
lyx after you change the binding preferences, or after you edit a bind
file.


Thomas.



View->LyX

2001-06-08 Thread Thomas de Grenier de Latour

Hi,

I'd like to add a "LyX" item to my View menu (I'm using 1.1.6fix2),
which would launch a text viewer/editor on a temporary copy of the
current opened lyx document. Ok, that wouldn't be a major feature...
It's just because I'm sometimes curious, but also easily bored with
saving files, launching programs, and opening files again..., each time
I'm wondering something about the lyx format. 
I've managed to do it for Latex, just adding "gvim" in the
Preference->Converters->Format->LaTeX->Viewer, but it doesn't seems to
work with LyX.  What exactly does the "ViewFormats" item in the ui file
refer to? 
I also tried to do my stuff creating a new file format, namely LyxCopy,
with "cat" as an export converter (yes, there's a long story between
cats and me, but I think I've already written you about that;), which
would have gvim as a viewer. But it doesn't appear neither in the View
menu, nor in the Export one. So a second question is: what exactly can
Converters do? Are they only used as import features?

Thanks for your lights,


-- 
Thomas.



Re: Frontend Bibtex recommendation

2001-06-21 Thread Thomas de Grenier de Latour

[EMAIL PROTECTED] wrote:
> 
> I want to use a database for the bibliography. What do you recommend to me?
> 
> Edit by hand
> tkbibtex
> pybliographer (It's practical?)
> 
> Of course, later I want an easy citation in Lyx
> 
> Thanks for all

I only tried tkbibtex, and it works fine with LyX. Things I appreciate
are:
- easy to install (just a tcl/tk script)
- a few command line option to sort, extract... entries of the bib file
- the popup menu for an easy insert of your strings (which have to be
defined in an hand made separate file)
- about five minutes needed to learn how to use the all features

The only problem I've saw is that existing bibfiles have to respect a
few constraints to be readable by the prog (one line/field...)

Thomas.



Re: Including literal text

2001-07-04 Thread Thomas de Grenier de Latour

Jean-Marc Lasgouttes wrote:
> 
> > "Sheldon" == Sheldon Hearn <[EMAIL PROTECTED]> writes:
>
> Sheldon> I'd like to include an appendix that provides the SQL code
> Sheldon> that generates the database tables that support the system.
> 
> If the text is in a file, the best is to use Insert>Include and check
> 'verbatim'.
> 
> Otherwise, you can use the LyX-Code environment, but it is a bit
> buggy.
> 

You may also use a pretty-printer for your code. It will put some
keywords in bold, etc. The SQL is supported by the  "listings" package.
To use it, write your latex preamble:
\usepackage{listings}
\lstloadlanguages{SQL}

Then, you just have to write in red latex mode, where you want in your
lyx article,:
\lstinputlisting[language=SQL]{yourFile.sql}

If you don't have "listings" installed, you can find it (with the
documentation) here:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/listings/

I think the "lgrind" package also supports SQL, and can also be found on
the CTAN.

T.



Re: Q: long table and chemical formula

2001-07-11 Thread Thomas de Grenier de Latour

Guenter Milde wrote:
> 
> PS:  Question to the gurus:
> 
> Could I have a function or macro that does this but
> also changes the font to roman?
> 
> \bind "C-S-underscore""math-insert _\mathrm{}"does not work
> 
> defining a (math-macro sub 1) does not work either (font changes cannot be
> included in the macro definiton in a WYSIWYM manner, only via \textrm{#1}
> all in red)
> 
> Guenter
> 
>

There is a lyx function called "command-sequence" which can help to
define strange shortcuts. Try something like this:
\bind "C-S-underscore""command-sequence math-insert _;
math-insert mathrm;"
But this work only for the first char after the mathrm, because there is
no {}.
A very ugly solution is this one:
"command-sequence math-insert _; tex-mode; type m; type a; type t; type
h; type r; type m; type {;"
The closing } is added by LyX (type has the same behaviour as you with
your favorite keyboard).
But when I re-read it, the shame falls on me (I've got a lot of such
things in my perso.bind), and I expect real gurus will forgive me... 

--
Thomas.



Re: Q: long table and chemical formula

2001-07-11 Thread Thomas de Grenier de Latour

Thomas de Grenier de Latour (Hey! It's me!) wrote:
> 
> "command-sequence math-insert _; tex-mode; type m; type a; type t; type
> h; type r; type m; type {;"
> 

H... strange... it does work when entered in the minibuffer, but not
as a binded shortcut. Sorry for the mistake.


(In fact, when this "thing" is binded to a key, all the "type" stuff is
done behind the math box, where the first cursor stands. The second one,
the one of the math box, isn't activated until I touch the keyboard
again. Probably I'm bugy, or my LyX is drunk, but two cursors are one
too much.)


> --
> Thomas.



Re: Q: long table and chemical formula

2001-07-12 Thread Thomas de Grenier de Latour

Guenter Milde wrote:
> 
> Thanks for the tip with "command-sequence".
> 

Thanks for the tip with "font-something", I was thinking it was only a
text mode feature (I don't know why, this kind of fix idea you never
verify). No more mathrm{blabla} in my formulas!

--
Thomas.



1.1.6fix3 compilation error

2001-07-25 Thread Thomas de Grenier de Latour

Hi,

I've tried to compile 1.1.6fix3, but had an error...

Here are some informations about my system:
 SunOS tiramisu 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-5_10
 gcc version 2.8.1 
 GNU ld version 2.9.1 (with BFD 2.9.1)
 
Here is the end of the "./configure --with-version-suffix
--prefix=/udd/degrenie/pub" (after a "setenv LINGUAS 'fr'")

[...]
Configuration:
  Source code location:   .
  C++ Compiler:   g++
  C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  LyX binary dir: /udd/degrenie/pub/bin
  LyX files dir:  /udd/degrenie/pub/share/lyx-1.1.6fix3
  Special flags:   frontend-xforms included-libsigc

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.

...and here is the output of the make:

Making all in intl
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/intl'
Making all in po
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/po'
Making all in sigc++
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make  all-recursive
make[2]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
Making all in macros
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++/macros'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++/macros'
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c object.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c object.cc -o
object.o
echo timestamp > object.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c scope.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c scope.cc -o
scope.o
echo timestamp > scope.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c marshal.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c marshal.cc -o
marshal.o
echo timestamp > marshal.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c slot.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c slot.cc -o
slot.o
echo timestamp > slot.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c basic_signal.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c basic_signal.cc
-o basic_signal.o
echo timestamp > basic_signal.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c adaptor.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c adaptor.cc -o
adaptor.o
echo timestamp > adaptor.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..-g -O2 -c thread.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c thread.cc -o
thread.o
echo timestamp > thread.lo
/bin/sh ./libtool --mode=link c++  -g -O2  -o libsigc.la  -no-undefined
object.lo scope.lo marshal.lo slot.lo basic_signal.lo adaptor.lo
thread.lo  
mkdir .libs
ar cru .libs/libsigc.a  object.o scope.o marshal.o slot.o basic_signal.o
adaptor.o thread.o 
ranlib .libs/libsigc.a
creating libsigc.la
(cd .libs && rm -f libsigc.la && ln -s ../libsigc.la libsigc.la)
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make[2]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
Making all in boost
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/boost'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/boost'
Making all in src
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
make  all-recursive
make[2]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
Making all in mathed
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src/mathed'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost 
-isystem /usr/local/X11R5/include  -g -O2 -fno-rtti -fno-exceptions -c
formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../..
-I../.. -I../../boost -isystem /usr/local/X11R5/include -g -O2 -fno-rtti
-fno-exceptions -c formula.C -o formula.o
array.h: In method `void LyxArrayBase::Init()':
In file included from math_defs.h:32,
 from math_iter.h:27,