View previous topic :: View next topic |
Author |
Message |
jocsch n00b
Joined: 01 Sep 2002 Posts: 36
|
Posted: Mon Mar 17, 2003 11:33 am Post subject: latex sty update |
|
|
I use the tetex latex package. But all the included sty packages seems to be quite old (1999 and older)
Is there an easy way to update all the sty packages or have I to download all new packages from cantes and install them manually?
Thx,
Markus |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Wed Mar 19, 2003 1:39 am Post subject: |
|
|
There is a version 2.0 of tetex available in the portage tree in the 'unstable' branch--you could try that:
Code: | # env ACCEPT_KEYWORDS="~x86" emerge -u tetex |
|
|
Back to top |
|
|
drini n00b
Joined: 29 Aug 2002 Posts: 64 Location: Mérida, Mexico
|
Posted: Thu Mar 20, 2003 6:51 am Post subject: actualizacion manual |
|
|
una manera sencillisima
para no instalar TODO tetex
es bajar el paquete sty que queires actualizar
vas a
/usr/share/texmf/tex/latex
haces un directorio (digamos bbm) si es u paquete nuevo, o entras al que quieres actualziar
adentro pones l sty (en ejemplo: bbm.sty)
lanzas texconfig y le das rehash para actualziar la base de datos de tex
(o lo haces manualmente con los comandos arcanos)
y ya... todo funciona
( o simplemente pon elo .sty en el directorio del archivo .tex con el que estas trabajando, jejejejje) _________________ f
G -----> H G
p \ /_ ----- ~ f(G)
\ / f ker f
G/ker f |
|
Back to top |
|
|
jocsch n00b
Joined: 01 Sep 2002 Posts: 36
|
Posted: Thu Mar 20, 2003 12:53 pm Post subject: hi |
|
|
spanish isn't a language that I can read
I have updated all packages on my own. Then read the post with the new tetex version and tried it. |
|
Back to top |
|
|
drini n00b
Joined: 29 Aug 2002 Posts: 64 Location: Mérida, Mexico
|
Posted: Fri Mar 21, 2003 3:44 am Post subject: what's going on with me? |
|
|
oh my god, ehhe
I got mixed up
was brosing several forums at the same time
hehehe, here's the simple way to update manually some latex package without upgrading whole tetex:
get from ctan the newer files (ctan.tug.org )
then go /usr/share/texmf/tex/latex
make a dir for a new package if necessary
or just put the newer files under the appropiate subdirectory
Example:
say I want to add bbm package, then I get
bbm.dtx and bbm.ins from ctan
I run latex over bbm.ins in order to get the sty file
$latex bbm.ins
...
output is bbm.sty
and run latex on bbm.dtx in order to get the package documentation (bbm.dvi)
then move them to the appropiate directories
sty would go to /usr/share/texmf/tex/latex/bmm
and dvi would go to
/usr/share/texmf/doc/latex/bbm
--------
after upgradin the files, launch texconfig
and rehash the file database
and you're done, you have now the updated packages
ready to use
alternative:
just drop the .sty file on the directory where your .tex file is and it'll pick up (useful if you can't become root) _________________ f
G -----> H G
p \ /_ ----- ~ f(G)
\ / f ker f
G/ker f |
|
Back to top |
|
|
|