Re: Problems installing new classes

2001-01-31 Thread Ulrich Grün

Anre Berger replies:
> You should respect the depth of your tex tree when you install new
> class files. For example I'd put your stuff into
> /usr/share/texmf/tex/latex/, or, as I usually do, into
> /usr/local/share/texmf/tex/latex/, which must be in your latex search
> path.  Assuming you're on Linux w/ tetex, your /etc/texmf/tex.cnf
> could begin with the following lines:

Hmm, I'm faced with yet another problem: I don't have an /etc/texmf/tex.cnf 
(nor have I anywhere else on my system 'tex.cnf'). 
Could TeTeX be misinstalled? (I have used the upgrade from RH6.2 --> RH7.0)

 Ulrich
-- 
_
   *Linux: the choice of a GNU generation*
_________
Ulrich Grün
   mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 192MB. OS: RedHat 7, Kernel: 2.2.18







Re: Problems installing new classes

2001-01-31 Thread Ulrich Grün

In a reply, Herbert Voss writes:
> this depends to your local tex-installation. but very often
> the ~./TeX dir is part of the search-tree. try it out:
> copy the files in this new created dir and run texhash.
>
> you can run the env command, than you'll see what yout TEXINPUT
> environment says.

I have put the *.cls in $HOME/.TeX and run 'texhash', but this doesn't help.
When I run 'env', no TEXINPUT is mentioned.

In `/usr/share/texmf/tex/latex/*/', many classes are located, but it doesn't 
seem to have any effect if I put the classes in one of those directories and 
run 'texhash'

 Ulrich
-- 
_
   *Linux: the choice of a GNU generation*
_
Ulrich Grün
mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 192MB. OS: RedHat 7, Kernel: 2.2.19pre3







Re: Problems installing new classes

2001-01-31 Thread Ulrich Grün

> > I'm trying to install new classes (cd-cover and cv), but somehow it
> > doesn't work out.
> > I've copied the *.cls to '/usr/share/lyx/tex', and the *.layout to
> > '$HOME/.lyx/layouts', and the *.lyx templates to
> > '/usr/share/lyx/templates' This done, I did a 'texhash' in order to let
> > LaTeX know about the new classes. After a reconfiguration of LyX, I
> > restarted. When I use the new templates, LyX complains that the
> > textclasses are unknown.
>
> i suppose that the ~/.lyx/tex maybe not part of the textree, therefore
> latex
> can't find them. use the dir ~/.TeX, which is my home texdir.
>
> Herbert

I haven't put the classes in ~./lyx/tex (my home dir), but in 
/usr/share/lyx/tex. Do you really mean that I should create a ./TeX directory 
in my Home?

 Ulrich
-- 
_____
   *Linux: the choice of a GNU generation*
_
Ulrich Grün
  Amsterdamsestraatweg 609 BIS
3553 EJ  UTRECHT
  Tel:+31302467141
mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 192MB. OS: RedHat 7, Kernel: 2.2.19pre3







Problems installing new classes

2001-01-30 Thread Ulrich Grün

Hi,

I'm trying to install new classes (cd-cover and cv), but somehow it doesn't 
work out.
I've copied the *.cls to '/usr/share/lyx/tex', and the *.layout to 
'$HOME/.lyx/layouts', and the *.lyx templates to '/usr/share/lyx/templates'
This done, I did a 'texhash' in order to let LaTeX know about the new 
classes. After a reconfiguration of LyX, I restarted. When I use the new 
templates, LyX complains that the textclasses are unknown.

Something must have gone wrong .

Thanks if you can help me,
  Ulrich

P.S. I've allready read 'Customization', the manual which describes the 
procedure, but it doesn't make it clear to me.

-- 
_
   *Linux: the choice of a GNU generation*
_
Ulrich Grün
  Amsterdamsestraatweg 609 BIS
3553 EJ  UTRECHT
  Tel:+31302467141
mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 192MB. OS: RedHat 7, Kernel: 2.2.19pre3







CD-Inlets and Covers

2001-01-23 Thread Ulrich Grün

I'd like to make cd-inlets  and covers to stick onto the cd's, but I cannot 
find a template (LyX-1.1.6-1).
Is there an address where I can download one ?

Thanks, Ulrich

> there should be the cd-layout from thomas on your lyx-installation
>
> file->new from template
> input filename
> look for template cd-box


-- 
_
   *Linux: the choice of a GNU generation*
_____
Ulrich Grün
  Amsterdamsestraatweg 609 BIS
3553 EJ  UTRECHT
  030-2467141
mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 192MB. OS: RedHat 7, Kernel: 2.2.19pre3






Re: BUG: sigsegv-signal - OK for now

2001-01-22 Thread Ulrich Grün

On Freitag 19 Januar 2001 15:09, Ulrich Grün wrote:
> I finaly compiled lyx, using xforms-0.88-9.
> When I start LyX (or better: when I try to start LyX), I get following
> bug-message (I used as command "lyx -dbg 524287"):
>
> BIND: Sequence `~C-~S-~M-dead_tie' Action `82'
> kbmap.C: No such keysym: dead_tie
> Parse error at position 17 in key sequence '~C-~S-~M-dead_tie'.
> BIND: Sequence `~C-~S-~M-dead_ogonek' Action `89'
<>
> lyx: SIGSEGV signal caught
> Sorry, you have found a bug in LyX. If possible, please read 'Known bugs'
> under the Help menu and then send us a full bug report. Thanks!
> Bye.
> Abgebrochen (core dumped)
> [ulrich@hotzenplotz ulrich]$

Well, it seems that compiling my own rpm is not that easy as I wished that it 
was.
I've installed the precompiled rpm from Kayvan instead of my own, and 
everything seems to work well.

Greetings,
  Ulrich
-- 
_
   *Software is like sex, it's better when it's free*
_
Ulrich Grün
mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 192MB. OS: RedHat 7, Kernel: 2.2.19pre3






BUG: sigsegv-signal (Was: Re: LyX compiled)

2001-01-19 Thread Ulrich Grün

I finaly compiled lyx, using xforms-0.88-9. 
When I start LyX (or better: when I try to start LyX), I get following 
bug-message (I used as command "lyx -dbg 524287"):

BIND: Sequence `~C-~S-~M-dead_tie' Action `82'
kbmap.C: No such keysym: dead_tie
Parse error at position 17 in key sequence '~C-~S-~M-dead_tie'.
BIND: Sequence `~C-~S-~M-dead_ogonek' Action `89'
### This file is part of
### 
###  LyX, The Document Processor
###
###  Copyright 1995 Matthias Ettrich
###  Copyright 1995-2000 The LyX Team.
###
### 

# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save
#
# MISC SECTION ##
# SCREEN & FONTS SECTION 
# COLOR SECTION ###
# PRINTER SECTION ###
# EXPORT SECTION 
# TEX SECTION ###
# FILE SECTION ##
# ASCII EXPORT SECTION ##
# SPELLCHECKER SECTION ##
# LANGUAGE SUPPORT SECTION ##
# 2nd MISC SUPPORT SECTION ##
# FORMATS SECTION ##
# CONVERTERS SECTION ##
CreateTmpDir: tempdir=`/tmp'
CreateTmpDir:mask=`lyx_tmpdir'

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. If possible, please read 'Known bugs'
under the Help menu and then send us a full bug report. Thanks!
Bye.
Abgebrochen (core dumped)
[ulrich@hotzenplotz ulrich]$ 


Groeten uit Utrecht,
 Ulrich
-- 
_
   *Linux: the choice of a GNU generation*
_
Ulrich Grün
  Amsterdamsestraatweg 609 BIS
3553 EJ  UTRECHT
  030-2467141
mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 192MB. OS: RedHat 7, Kernel: 2.2.19pre3






LyX compiled, wrong version of xforms (was: Re: error compiling 1.1.6-1.src.rpm)

2001-01-19 Thread Ulrich Grün

> > > I have following (error) message:
> > >
> > > .. -I../../boost  -isystem /usr/X11R6/include  -O2 -march=i386
> > > -mcpu=i686 -c formula.C   
> > > 
> >
> > ^^^
> >
> > this makes little sense, either it's an 386 or an 686, why bother with
> > 386 compatibilty when you have an k6??
>
> Use the ``--target i686'' to rpm when rebuilding.

An AMD K6 is a 'i586'  as far as I know.
Anyway, doing a "rpm --rebuild --target i568 (or i686) lyx-1.1.6.src.rpm"
gives a:  "Cannot open i586, file not found"

With "rpm -bb lyx-1.1.6.spec" compilation succeded.


Now the problem.

I've installed the freshly build lyx-1.1.6.rpm (together with tetex-lyx). 
When I try to run LyX, the program complains following:
  "You are either running LyX with wrong version of a dynamic XForms library
  or you have build LyX with conflicting header and library (different
  versions of XForms."

I have xforms-0.89. Isn't that a right one? Do I have to install 0.88-9 and 
recompile lyx?

Groeten uit Utrecht,
 Ulrich
-- 
_________
   *Linux: the choice of a GNU generation*
_
Ulrich Grün
  Amsterdamsestraatweg 609 BIS
3553 EJ  UTRECHT
  030-2467141
mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 192MB. OS: RedHat 7, Kernel: 2.2.19pre3






error compiling 1.1.6-1.src.rpm (err.msg. included)

2001-01-16 Thread Ulrich Grün

I attempted to build my own RPM by compiling from lyx-1.1.6-1.src.rpm.
The srpm is from ftp.sylvan.com. My system is a RedHat 7.0 with all available 
bugfixes.

I have following (error) message:

.. -I../../boost  -isystem /usr/X11R6/include  -O2 -march=i386 -mcpu=i686 -c 
formula.C
gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. 
-I../.. -I../../boost -isystem /usr/X11R6/include -O2 -march=i386 -mcpu=i686 
-c formula.C -o formula.o
In file included from ../../src/gettext.h:35,
 from ../../src/insets/lyxinset.h:22,
 from formula.h:26,
 from formula.C:24:
../../src/LString.h:20:2: #error The  header has been included before 
LString.h
make[3]: *** [formula.lo] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis 
»/usr/src/redhat/BUILD/lyx-1.1.6/src/mathed«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis 
»/usr/src/redhat/BUILD/lyx-1.1.6/src«
make[1]: *** [all-recursive-am] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis 
»/usr/src/redhat/BUILD/lyx-1.1.6/src«
make: *** [all-recursive] Fehler 1
Bad exit status from /var/tmp/rpm-tmp.40997 (%build)
[root@hotzenplotz SRPMS]# 


The problem seems to lay in ../src/LString.h at row 20.

row12: #ifndef LSTRING_H
#define LSTRING_H

#ifndef USE_INCLUDED_STRING
#include 
using std::string;
#else
#ifdef __STRING__
row 20: #error The  header has been included before LString.h
#else
#define __STRING__
#endif
#include "support/lyxstring.h"
// using lyx::string;
typedef lyxstring string;
#endif
#endif

To be honest: I really don't know anything about C

Greetings from Utrecht,
 Ulrich
-- 
_
   *Linux: the choice of a GNU generation*
_________
Ulrich Grün
  Amsterdamsestraatweg 609 BIS
3553 EJ  UTRECHT
  030-2467141
mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
  icq: 35629246
System: AMD-K6 350, 64MB. OS: RedHat 7, Kernel: 2.2.19pre3