Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Olaf Mersmann
 - Mojca Miklavec [EMAIL PROTECTED] [070827 16:16]:
 OK, so here is what you need to do to install the non-existing minimals:
 
 Step 1: download from PRAGMA:
 
 wget -c http://www.pragma-ade.com/context/install/justtex.zip
 wget -c http://www.pragma-ade.com/context/install/linuxtex.zip
 
 unzip  justtex.zip
 unzip linuxtex.zip
 
 Step 2: download binaries from TeXLive 2007 and prepare a freebsd binary 
 folder
 
*snip*

I do this regularly (including building luatex from svn). If there is
enough demand for it, I can put together a freebsdtex.zip for the
wiki.

Cheers,
Olaf
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Giorgos Keramidas
On 2007-08-27 14:47, Martin Schr?der [EMAIL PROTECTED] wrote:
2007/8/27, Mojca Miklavec [EMAIL PROTECTED]:
On 8/27/07, Giorgos Keramidas wrote:
 Try to install TeXLive 2007.

 I will, but I'm afraid I am not good enough for porting it to the
 FreeBSD ports.

 Doesn't something already exist on the link above (I didn't read
 carefully and I wasn't sure about the FreeBSD/OpenBSD relation)?

 OpenBSD has a port in current (it will make 4.3, to be released in
 2008-05). FreeBSD clings to tetex. :-{

Maybe with enough support from the Ports team of FreeBSD, we can switch
from teTeX to TeXLive?  But this is a plan which requires quite a bit of
work from experienced TeXhackers, which I am not :-/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Olaf Mersmann
 - Giorgos Keramidas [EMAIL PROTECTED] [070828 10:37]:
 On 2007-08-27 14:47, Martin Schr?der [EMAIL PROTECTED] wrote:
  2007/8/27, Mojca Miklavec [EMAIL PROTECTED] :
  On 8/27/07, Giorgos Keramidas wrote:
  I will, but I'm afraid I am not good enough for porting it to the
  FreeBSD ports.
  
  Doesn't something already exist on the link above (I didn't read
  carefully and I wasn't sure about the FreeBSD/OpenBSD relation)?
  
  OpenBSD has a port in current (it will make 4.3, to be released in
  2008-05). FreeBSD clings to tetex. :-{
 
 Maybe with enough support from the Ports team of FreeBSD, we can switch
 from teTeX to TeXLive?  But this is a plan which requires quite a bit of
 work from experienced TeXhackers, which I am not :-/

As far as I can tell it's the sheer size of TexLive that is keeping it
from being ported. I would think it is not trivial to modularize it
enough to bring the installed size down. 

What I am thinking about is building a minimal context port. This
should be easier to accomplish since we already have a minimal texmf
tree thanks to Hans. All that is needed is a source for the FreeBSD
binaries. These could be built out of the TexLive source tree...

I'll try to cook something up the next couple of days.

Cheers,
Olaf

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Martin Schröder
2007/8/28, Olaf Mersmann [EMAIL PROTECTED]:
 As far as I can tell it's the sheer size of TexLive that is keeping it
 from being ported. I would think it is not trivial to modularize it
 enough to bring the installed size down.

Surprise: This has already been done. Linux does it, OpenBSD does it.
Again: Study the OpenBSD port.

Best
   Martin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Martin Schröder
2007/8/27, Giorgos Keramidas [EMAIL PROTECTED]:
 Maybe with enough support from the Ports team of FreeBSD, we can switch
 from teTeX to TeXLive?  But this is a plan which requires quite a bit of
 work from experienced TeXhackers, which I am not :-/

Have a look at the work Ed did for OpenBSD; this should be esay to
adapt for FreeBSD. Search the TeXlive archives. :-)

Best
   Martin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-27 Thread Mojca Miklavec
On 8/27/07, Giorgos Keramidas wrote:
 On 2007-08-27 13:22, Mojca Miklavec wrote:
  See:
  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=568536+0+archive/2007/freebsd-ports/20070722.freebsd-ports
  http://students.dec.bmth.ac.uk/ebarrett/texlive/

 Thanks :)

  Try to install TeXLive 2007.

 I will, but I'm afraid I am not good enough for porting it to the
 FreeBSD ports.

Doesn't something already exist on the link above (I didn't read
carefully and I wasn't sure about the FreeBSD/OpenBSD relation)?

  Does
  locate uzcmi8t
  return you anything?

 No, no matches found here.

That means that you don't have those fonts (or that they have different names).

  Try to install TeXLive 2007 or minimal ConTeXt distribution.

 I like ConTeXt a lot, so I will try to install a minimal ConTeXt
 distribution in my $HOME first, and if that fails I will go the
 TeXLive route some time during September.

Well, I forgot that there are no minimals for FreeBSD

 For now, I will have to stick with the CM fonts for a while, and
 finish writing the documents which I want to write.

OK, so here is what you need to do to install the non-existing minimals:

Step 1: download from PRAGMA:

wget -c http://www.pragma-ade.com/context/install/justtex.zip
wget -c http://www.pragma-ade.com/context/install/linuxtex.zip

unzip  justtex.zip
unzip linuxtex.zip

Step 2: download binaries from TeXLive 2007 and prepare a freebsd binary folder

cd tex
mkdir texmf-freebsd
cd texmf-freebsd
svn co svn://tug.org/texlive/trunk/Master/bin/i386-freebsd
mv i386-freebsd bin
# perhaps also
chmod 755 bin/*
mv ../texmf-linux/web2c .
cd ..
rm -r texmf-linux

Step 3: patch setuptex

Find the following ines in setuptex:

export TEXARCH=`uname -m`
export TEXUNIX=`uname -s`

if [ $TEXARCH = x86_64 ] ;  then
export TEXMFOS=$TEXROOT/texmf-linux-64 ;
fi

if [ $TEXUNIX = Darwin ] ;  then
export TEXMFOS=$TEXROOT/texmf-macosx ;
fi

and add a hardcoded line below them
export TEXMFOS=$TEXROOT/texmf-freebsd

Step 4: First setup

Run
. setuptex
mktexlsr
texexec --make --all
texexec --make --all --xtx
# don't worry about those below yet if they don't work
luatools --generate
texexec --make --all --lua

Step 5: compile your document
cd your-folder
texexec your-file

Step 6: next time
cd folder-with-setuptex
. setuptex
(I've put that command to .bashrc)


If you want TeXLive 2007:
svn co svn://tug.org/texlive/trunk/Master
./install-live.sh

You can install it in such a way that it doesn't interfere with your old system.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-27 Thread Martin Schröder
2007/8/27, Mojca Miklavec [EMAIL PROTECTED]:
 On 8/27/07, Giorgos Keramidas wrote:
  On 2007-08-27 13:22, Mojca Miklavec wrote:
   See:
   http://docs.freebsd.org/cgi/getmsg.cgi?fetch=568536+0+archive/2007/freebsd-ports/20070722.freebsd-ports
   http://students.dec.bmth.ac.uk/ebarrett/texlive/
 
  Thanks :)
 
   Try to install TeXLive 2007.
 
  I will, but I'm afraid I am not good enough for porting it to the
  FreeBSD ports.

 Doesn't something already exist on the link above (I didn't read
 carefully and I wasn't sure about the FreeBSD/OpenBSD relation)?

OpenBSD has a port in current (it will make 4.3, to be released in
2008-05). FreeBSD clings to tetex. :-{

Best
   Martin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-27 Thread Olaf Mersmann
 - Mojca Miklavec [EMAIL PROTECTED] [070827 16:16]:  
   
 OK, so here is what you need to do to install the non-existing minimals:

   

 Step 1: download from PRAGMA: 

   

 wget -c http://www.pragma-ade.com/context/install/justtex.zip 

 wget -c http://www.pragma-ade.com/context/install/linuxtex.zip

   

 unzip  justtex.zip

 unzip linuxtex.zip

   

 Step 2: download binaries from TeXLive 2007 and prepare a freebsd binary 
 folder  
   

*snip*  
   

   
I do this regularly (including building luatex from svn). If there is   
   
enough demand for it, I can put together a freebsdtex.zip for the   
   
wiki.   
   

   
Cheers, 
   
Olaf
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___