Re: Installing latest version of LaTeX

2009-06-09 Thread Grünewald Michaël


Le 7 juin 09 à 06:48, Daniel Underwood a écrit :

Installed texlive from ISO, and it all works perfectly now. Thanks  
folks!


However, you may realize that ports installing LaTeX style files (or  
other things) usually do it in a directory that TeXlive is not aware  
of. You have to play a bit with `texmf.cnf' to fix this.


If you do not need the most fancy things in the TeX world (like  
LuaTeX), you can go with teTeX and add TeXlive's texmf tree in /usr/ 
local/share/texmf/texmf-local, and replace teTeX updmap.conf files  
with  TeXlive's. This works well and plays nicely with ports depending  
of LaTeX.

--
Cheers,
Michaël

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-06 Thread Roland Smith
On Fri, Jun 05, 2009 at 09:31:11PM -0400, Daniel Underwood wrote:
 I added the winefish package (LaTeX editor) and installed the
 print/latex port.  During the installation/building of the latex port,
 I received a message that the version being installed was over 5 years
 old.  When I tried to add latex via pkg_add, I had no success (I
 assumed the package was named latex, but it wasn't found).
 
 Winefish works, and latex appears to be installed, but I get errors
 using code I know to be flawless. I suspect this relates to
 out-of-date latex on my machine.
 
 MY QUESTION: Please help me to install the newest version of latex.
 I'm using 7.2-RELEASE.

Use the TeXLive distribution instead. You can find this at
http://www.tug.org/texlive/acquire.html 

The latest version is TeXLive 2008. This comes complete with FreeBSD
binaries for 7.x (i386 and amd64) on the DVD, so you don't have to
compile anything.

Unfortunately this is not in ports yet. The consequence of this is that
if you want to install other ports that depend on TeX, you'll have to
edit the Makefiles of these ports to remove the TeX dependencies before
installing them.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpSE8CyQd2Zj.pgp
Description: PGP signature


Re: Installing latest version of LaTeX

2009-06-06 Thread Glyn Millington
bf bf20...@yahoo.com writes:

 Thanks for the info.  I'll have to try to install TeX Live.

 This is not trivial, which is one of the reasons it hasn't been done.

Well *porting* TeX Live is certainly not trivial!  But actually
installing it as free-standing software is not too hard.

Get it from here:

http://www.tug.org/texlive/acquire.html


I find that the live installation over the internet works very well - the
links are there on the same page. Everything is installed in its own
directory structure so it is easy to clean out if you need to do so.

One useful point - in the main menu TeX Live gives the opportunity for the
installer to create symbolic links to its main programs in standard
directories. It is so much easier than doing so by hand!!


If you decide to download the huge iso instead, just mount it and install
from there.

mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f /path/to/file.iso`
/mount-point

Good luck:-)








Glyn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-06 Thread Roland Smith
On Fri, Jun 05, 2009 at 10:20:10PM -0400, Daniel Underwood wrote:
 Thanks for the info.  I'll have to try to install TeX Live.

 Running the latex command on a .tex file, I keep getting this error:
 
 xcolor.sty 140  Undefined control
 xcolor.sty 140  Emergency stop.
 *exit code: 1
 
 No idea what's going on though...

Maybe a corrupted file? Re-download the package from CTAN at
http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor/, 
install it over the old one and try again.

Make sure that the output driver that you are using is supported by
xcolor.sty! See the documentation (xcolor.pdf).

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpRUVfP4HIBw.pgp
Description: PGP signature


Re: Installing latest version of LaTeX

2009-06-06 Thread Roland Smith
On Sat, Jun 06, 2009 at 07:34:07AM +0100, Glyn Millington wrote:
 bf bf20...@yahoo.com writes:
 
  Thanks for the info.  I'll have to try to install TeX Live.
 
  This is not trivial, which is one of the reasons it hasn't been done.
 
 Well *porting* TeX Live is certainly not trivial!  But actually
 installing it as free-standing software is not too hard.
 
 Get it from here:
 
 http://www.tug.org/texlive/acquire.html
 
 
 I find that the live installation over the internet works very well - the
 links are there on the same page. Everything is installed in its own
 directory structure so it is easy to clean out if you need to do so.
 
 One useful point - in the main menu TeX Live gives the opportunity for the
 installer to create symbolic links to its main programs in standard
 directories. It is so much easier than doing so by hand!!

It is less messy if you just add the path to the TeXLive binaries to the
path element of the default profile in /etc/login.conf:

default:\
:passwd_format=blf:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\

:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,LC_ALL=en_US.UTF-8:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin 
/usr/local/bin /usr/local/texlive/2008/bin/amd64-freebsd ~/bin:\
:nologin=/var/run/nologin:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
:memorylocked=unlimited:\
:memoryuse=unlimited:\
:filesize=unlimited:\
:coredumpsize=unlimited:\
:openfiles=unlimited:\
:maxproc=200:\
:sbsize=unlimited:\
:vmemoryuse=unlimited:\
:priority=0:\
:ignoretime@:\
:umask=022:


Also add the location of the manpages to /etc/manpath.config:

OPTIONAL_MANPATH/usr/local/texlive/2008/texmf/doc/man
MANPATH_MAP usr/local/texlive/2008/bin/amd64-freebsd
/usr/local/texlive/2008/texmf/doc/man

You should change the paths to match those in your own installation.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgppilbd6ExDn.pgp
Description: PGP signature


Re: Installing latest version of LaTeX

2009-06-06 Thread Glyn Millington
Roland Smith rsm...@xs4all.nl writes:

 On Sat, Jun 06, 2009 at 07:34:07AM +0100, Glyn Millington wrote:
 bf bf20...@yahoo.com writes:
 
  Thanks for the info.  I'll have to try to install TeX Live.
 
  This is not trivial, which is one of the reasons it hasn't been done.
 
 Well *porting* TeX Live is certainly not trivial!  But actually
 installing it as free-standing software is not too hard.
 
 Get it from here:
 
 http://www.tug.org/texlive/acquire.html
 
 
 I find that the live installation over the internet works very well - the
 links are there on the same page. Everything is installed in its own
 directory structure so it is easy to clean out if you need to do so.
 
 One useful point - in the main menu TeX Live gives the opportunity for the
 installer to create symbolic links to its main programs in standard
 directories. It is so much easier than doing so by hand!!

 It is less messy if you just add the path to the TeXLive binaries to the
 path element of the default profile in /etc/login.conf:

Brilliant!! - that never occurred to me :-)


atb





Glyn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-06 Thread Wojciech Puchar

print/latex port.  During the installation/building of the latex port,
I received a message that the version being installed was over 5 years
old.  When I tried to add latex via pkg_add, I had no success (I
assumed the package was named latex, but it wasn't found).

Winefish works, and latex appears to be installed, but I get errors
using code I know to be flawless. I suspect this relates to
out-of-date latex on my machine.


why not print/teTeX
?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-06 Thread Roland Smith
On Sat, Jun 06, 2009 at 09:49:51AM +0200, Wojciech Puchar wrote:
snip
  Winefish works, and latex appears to be installed, but I get errors
  using code I know to be flawless. I suspect this relates to
  out-of-date latex on my machine.
 
 why not print/teTeX

Because teTeX is unmaintained upstream as of 2006. See http://www.tug.org/tetex/
Essentially is has been deprecated in favor of TeXLive.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpcrYCE7lGIC.pgp
Description: PGP signature


Re: Installing latest version of LaTeX

2009-06-06 Thread Daniel Underwood
Having trouble mounting the ISO:

[dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode
-f ./texlve2008.iso` ./mount/
mdconfig: open(/dev/mdctl): Permission denied
mount_cd9660: /dev: Block device required
[dan...@bsdbox ~]$

Please help me figure this out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-06 Thread Roland Smith
On Sat, Jun 06, 2009 at 01:46:36PM -0400, Daniel Underwood wrote:
 Having trouble mounting the ISO:
 
 [dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode
 -f ./texlve2008.iso` ./mount/
 mdconfig: open(/dev/mdctl): Permission denied

Regular users don't have read/write permissions on /dev/mdctl.

So either change those permissions so that your user-id has those
permissions, or run mdconfig as root.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpDcZDSusgIZ.pgp
Description: PGP signature


Re: Installing latest version of LaTeX

2009-06-06 Thread Peter Boosten
Roland Smith wrote:
 On Sat, Jun 06, 2009 at 01:46:36PM -0400, Daniel Underwood wrote:
 Having trouble mounting the ISO:

 [dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode
 -f ./texlve2008.iso` ./mount/
 mdconfig: open(/dev/mdctl): Permission denied
 
 Regular users don't have read/write permissions on /dev/mdctl.
 
 So either change those permissions so that your user-id has those
 permissions, or run mdconfig as root.
 

Hmmm, one might think that 'sudo' does exactly that ;-)

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-06 Thread Roland Smith
On Sat, Jun 06, 2009 at 08:04:19PM +0200, Peter Boosten wrote:
 Roland Smith wrote:
  On Sat, Jun 06, 2009 at 01:46:36PM -0400, Daniel Underwood wrote:
  Having trouble mounting the ISO:
 
  [dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode
  -f ./texlve2008.iso` ./mount/
  mdconfig: open(/dev/mdctl): Permission denied
  
  Regular users don't have read/write permissions on /dev/mdctl.
  
  So either change those permissions so that your user-id has those
  permissions, or run mdconfig as root.
  
 
 Hmmm, one might think that 'sudo' does exactly that ;-)

It does that for the mount_cd9660 command, but _before_ sudo it called,
the code between backticks is executed by the shell as the regular user.
I thought that was obvious, so I didn't mention it.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpPCppAPdDUs.pgp
Description: PGP signature


Re: Installing latest version of LaTeX

2009-06-06 Thread Peter Boosten
Roland Smith wrote:
 On Sat, Jun 06, 2009 at 08:04:19PM +0200, Peter Boosten wrote:
 Roland Smith wrote:
 On Sat, Jun 06, 2009 at 01:46:36PM -0400, Daniel Underwood wrote:
 Having trouble mounting the ISO:

 [dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode
 -f ./texlve2008.iso` ./mount/
 mdconfig: open(/dev/mdctl): Permission denied
 Regular users don't have read/write permissions on /dev/mdctl.

 So either change those permissions so that your user-id has those
 permissions, or run mdconfig as root.

 Hmmm, one might think that 'sudo' does exactly that ;-)
 
 It does that for the mount_cd9660 command, but _before_ sudo it called,
 the code between backticks is executed by the shell as the regular user.
 I thought that was obvious, so I didn't mention it.
 

Ah, yeah, you're right. Sorry, missed that one.

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-06 Thread perryh
Roland Smith xs4all.nl!rsm...@agora.rdrop.com wrote:
 On Sat, Jun 06, 2009 at 08:04:19PM +0200, Peter Boosten wrote:
  Roland Smith wrote:
   On Sat, Jun 06, 2009 at 01:46:36PM -0400, Daniel Underwood wrote:
   Having trouble mounting the ISO:
  
   [dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig
   -a -t vnode -f ./texlve2008.iso` ./mount/
   mdconfig: open(/dev/mdctl): Permission denied
   
   Regular users don't have read/write permissions on /dev/mdctl.
   ...
  Hmmm, one might think that 'sudo' does exactly that ;-)

 It does that for the mount_cd9660 command, but _before_ sudo it
 called, the code between backticks is executed by the shell as the
 regular user.  I thought that was obvious, so I didn't mention it.

Perhaps (untested):

sudo 'mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f ./texlve2008.iso` 
./mount/'

The idea being that, AFAIK, backticks within single quotes won't be
interpreted by the current shell, so should be handled by the sudo
shell.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-06 Thread Daniel Underwood
Installed texlive from ISO, and it all works perfectly now. Thanks folks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Installing latest version of LaTeX

2009-06-05 Thread Daniel Underwood
I added the winefish package (LaTeX editor) and installed the
print/latex port.  During the installation/building of the latex port,
I received a message that the version being installed was over 5 years
old.  When I tried to add latex via pkg_add, I had no success (I
assumed the package was named latex, but it wasn't found).

Winefish works, and latex appears to be installed, but I get errors
using code I know to be flawless. I suspect this relates to
out-of-date latex on my machine.

MY QUESTION: Please help me to install the newest version of latex.
I'm using 7.2-RELEASE.

Thanks,

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-05 Thread bf

 MY QUESTION: Please help me to install the newest version of latex.
 I'm using 7.2-RELEASE.

Install the latest version available in FreeBSD Ports, which
is in print/teTeX.  If your program still doesn't function properly,
then you're probably have to install a more recent version of 
TeX Live ( http://www.tug.org/texlive/ ) on your own, because despite
repeated attempts and a lot of talk, no one has introduced this into FreeBSD
Ports yet.

b.


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-05 Thread Daniel Underwood
Thanks for the info.  I'll have to try to install TeX Live.

despite repeated attempts and a lot of talk, no one has introduced
this into FreeBSD Ports yet  -- that's a shame... (La)TeX is a
must-have tool for me.  I usually do most of my LaTeX'ing in Linux,
but I'd love to be able to use FreeBSD once in a while.

Running the latex command on a .tex file, I keep getting this error:

xcolor.sty 140  Undefined control
xcolor.sty 140  Emergency stop.
*exit code: 1

No idea what's going on though...

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing latest version of LaTeX

2009-06-05 Thread bf

 Thanks for the info.  I'll have to try to install TeX Live.

This is not trivial, which is one of the reasons it hasn't been done.
First, try to diagnose your errors with TeTeX.  You should probably be
able to get this to work.  The errors may have to do with your files, or
the commands you are using.  You can ask the TeTeX maintainer for help
if you have thought about it and can't determine the problem.  If you
_must_ have TeX Live, try the live DVD.  If you _must_ have an installation, 
see:

http://lists.freebsd.org/pipermail/freebsd-ports/2009-February/053195.html

and try romain at blogreen.org or hrs at freebsd.org for help.


b.




  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org