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 Grn
  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







Re: Problems installing new classes

2001-01-31 Thread Andre Berger

Ulrich Grn [EMAIL PROTECTED] writes:

   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

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:

TEXMFMAIN = /usr/share/texmf
TEXMFLOCAL = /usr/local/share/texmf
HOMETEXMF = $HOME/Texmf
TEXMF = {!!HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
SYSTEXMF = $TEXMF
VARTEXFONTS  = /var/spool/texmf
TEXMFDBS = $TEXMF;$VARTEXFONTS

Then run texhash as root. You can use the /usr/local/ tree for
system-wide changes, and users can still set up their own trees in
their home dirs. What's found first is used first, so
/usr/local/ packages override default packages, and packages in home
dirs override /usr/local/ packages.

HTH

-- 
Andre Berger[[EMAIL PROTECTED]]



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

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 Grn
   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 Jose Abilio Oliveira Matos

On Wed, Jan 31, 2001 at 12:12:47PM +0100, Ulrich Grn wrote:
 
 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)
 

  Try
  rpm -qc tetex
  
  That is show the configuration files for tetex. In my system RH7.0 the
result is:

/etc/cron.daily/tetex.cron
/usr/share/texmf/web2c/fmtutil.cnf
/usr/share/texmf/web2c/mktex.cnf
/usr/share/texmf/web2c/texmf.cnf

  So I think you looking for the last entry.
  
  Hope this helps,


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

-- 
Jos



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 Grn
  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







Re: Problems installing new classes

2001-01-31 Thread Andre Berger

Ulrich Grn [EMAIL PROTECTED] writes:

   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

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:

TEXMFMAIN = /usr/share/texmf
TEXMFLOCAL = /usr/local/share/texmf
HOMETEXMF = $HOME/Texmf
TEXMF = {!!HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
SYSTEXMF = $TEXMF
VARTEXFONTS  = /var/spool/texmf
TEXMFDBS = $TEXMF;$VARTEXFONTS

Then run texhash as root. You can use the /usr/local/ tree for
system-wide changes, and users can still set up their own trees in
their home dirs. What's found first is used first, so
/usr/local/ packages override default packages, and packages in home
dirs override /usr/local/ packages.

HTH

-- 
Andre Berger[[EMAIL PROTECTED]]



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

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 Grn
   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 Jose Abilio Oliveira Matos

On Wed, Jan 31, 2001 at 12:12:47PM +0100, Ulrich Grn wrote:
 
 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)
 

  Try
  rpm -qc tetex
  
  That is show the configuration files for tetex. In my system RH7.0 the
result is:

/etc/cron.daily/tetex.cron
/usr/share/texmf/web2c/fmtutil.cnf
/usr/share/texmf/web2c/mktex.cnf
/usr/share/texmf/web2c/texmf.cnf

  So I think you looking for the last entry.
  
  Hope this helps,


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

-- 
Jos



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







Re: Problems installing new classes

2001-01-31 Thread Andre Berger

Ulrich Grün <[EMAIL PROTECTED]> writes:

> > > 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

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:

TEXMFMAIN = /usr/share/texmf
TEXMFLOCAL = /usr/local/share/texmf
HOMETEXMF = $HOME/Texmf
TEXMF = {!!HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
SYSTEXMF = $TEXMF
VARTEXFONTS  = /var/spool/texmf
TEXMFDBS = $TEXMF;$VARTEXFONTS

Then run texhash as root. You can use the /usr/local/ tree for
system-wide changes, and users can still set up their own trees in
their home dirs. What's found first is used first, so
/usr/local/ packages override default packages, and packages in home
dirs override /usr/local/ packages.

HTH

-- 
Andre Berger[[EMAIL PROTECTED]]



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

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 Jose Abilio Oliveira Matos

On Wed, Jan 31, 2001 at 12:12:47PM +0100, Ulrich Grün wrote:
> 
> 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)
> 

  Try
  rpm -qc tetex
  
  That is show the configuration files for tetex. In my system RH7.0 the
result is:

/etc/cron.daily/tetex.cron
/usr/share/texmf/web2c/fmtutil.cnf
/usr/share/texmf/web2c/mktex.cnf
/usr/share/texmf/web2c/texmf.cnf

  So I think you looking for the last entry.
  
  Hope this helps,


>  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

-- 
José



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 Grn
  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







Re: Problems installing new classes

2001-01-30 Thread Herbert Voss

Ulrich Grn wrote:
 
 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.


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


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



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 Grn
  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







Re: Problems installing new classes

2001-01-30 Thread Herbert Voss

Ulrich Grn wrote:
 
 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.


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


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



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







Re: Problems installing new classes

2001-01-30 Thread Herbert Voss

Ulrich Grün wrote:
> 
> 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.


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


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/