Re: teTeX

2008-05-10 Thread Edd Barrett
On Fri, May 9, 2008 at 6:20 PM, Predrag Punosevac
[EMAIL PROTECTED] wrote:
 One could also argue that much finer TeXLive port could have been done as
 certain parts of TeXLive experience rapid
 development.

I think that would be making work for the sake of it. TeXLive release
once a year, so thats when  I will make ports. One could commit thier
entire life to maintaining TeXLive in a granular fashion, but I don't
have time or motivation to do so.

TeXLive is not easy to manage. It took me the best part of half a year
to understand the various mechanisms (maps, formats, pools etc.) and
patch away parts of the builld system that prevented DESTDIR to be
used properly. I have a ruby script which I use to split down the
texmf tree into subsets which I have re-written from scratch this year
because the internal tex database format changed from XML to text
(which is a good thing).

I will be breaking texlive down slightly more this year in an attempt
to remove the ruby/imagemagick deps for non-conTeXt users, and the
structure of the port may change from SUBDIR, to something else.

I hope this gives you an insight.

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: teTeX

2008-05-09 Thread Predrag Punosevac

Olivier Mehani wrote:

On Fri, May 09, 2008 at 10:23:46AM +0200, Paul de Weerd wrote:
  

I've been trying to find TeX for 4.3 but can not find it in ports.
  
teTeX is obsolete and unmaintained for more than three years. TeXLive is 
the next standard TeX distribution for Unix
and Unix like operating systems. Thanks to Edd Barret OpenBSD is the 
first from the family of BSDs  to have it as the default TeX 
distribution. It includes LateX, Pdflatex, Context, and every macro 
package ever written for TeX.



Edd Barrett has done a lot of work on porting TeXLive, the actively
maintained TeX distribution. This ought to provide you with what
you're looking for.



Are you aware of any no_x11 version?
  
I am not sure I understand your last question. How can you do 
typesetting without displaying graphics?
TeXLive does not require X for processing but in order to see your 
document you need to use xdvi, ghostview or something along those lines. 
Obviously, I am not suggesting that you  install  X on a  DNS server  in 
order
to do typesetting. What I am suggesting is that I would expect that you 
use a desktop machine running X for typesetting.


Best,
Predrag



Re: teTeX

2008-05-09 Thread Paul de Weerd
On Fri, May 09, 2008 at 02:24:56AM -0700, Predrag Punosevac wrote:
 I am not sure I understand your last question. How can you do typesetting 
 without displaying graphics?
 TeXLive does not require X for processing but in order to see your document 
 you need to use xdvi, ghostview or something along those lines. Obviously, 
 I am not suggesting that you  install  X on a  DNS server  in order
 to do typesetting. What I am suggesting is that I would expect that you use 
 a desktop machine running X for typesetting.

How about using TeX on your webserver to dynamically generate pdf's ?

Granted, many webserver add-ons require X to be installed (gd,
anyone ? ;) but that doesn't mean that there's no valid reason to use
TeX on a webserver.

Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: teTeX

2008-05-09 Thread Edd Barrett
Hi,

On Fri, May 9, 2008 at 10:49 AM, Paul de Weerd [EMAIL PROTECTED] wrote:
 On Fri, May 09, 2008 at 02:24:56AM -0700, Predrag Punosevac wrote:
 I am not sure I understand your last question. How can you do typesetting
 without displaying graphics?
 TeXLive does not require X for processing but in order to see your document
 you need to use xdvi, ghostview or something along those lines. Obviously,
 I am not suggesting that you  install  X on a  DNS server  in order
 to do typesetting. What I am suggesting is that I would expect that you use
 a desktop machine running X for typesetting.

 How about using TeX on your webserver to dynamically generate pdf's ?

Sorry,

The X libraries are required in order to generate PDF's even if there is no GUI.

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: teTeX

2008-05-09 Thread Douglas A. Tutty
On Fri, May 09, 2008 at 02:24:56AM -0700, Predrag Punosevac wrote:
 Olivier Mehani wrote:
 On Fri, May 09, 2008 at 10:23:46AM +0200, Paul de Weerd wrote:

 Are you aware of any no_x11 version?
   
 I am not sure I understand your last question. How can you do 
 typesetting without displaying graphics?
 TeXLive does not require X for processing but in order to see your 
 document you need to use xdvi, ghostview or something along those lines. 
 Obviously, I am not suggesting that you  install  X on a  DNS server  in 
 order
 to do typesetting. What I am suggesting is that I would expect that you 
 use a desktop machine running X for typesetting.

I use LaTex to write letters.  I can write a letter from my text-only
VT520, latex it, dvips it, then print the ps all without displaying it.

Or, I need to send a formatted document to a non unix user and the best
common display format is pdf.  So, I make a pdf of my document and email
it to them.  Also no need for displaying or X.

Are there other ports that require X11 for internal use even if you
don't need to display?  If so, perhaps the xbase install set should be
split into xlibs and xbase so that less needs to be installed on a
non-display box for these ports to work.

Doug.



Re: teTeX

2008-05-09 Thread Martin Schröder
2008/5/9 Edd Barrett [EMAIL PROTECTED]:
 The X libraries are required in order to generate PDF's even if there is no 
 GUI.

This is only true for xetex; pdftex doesn't need X. And xetex doesn't
need a running X server. :-)

Best
   Martin



Re: teTeX

2008-05-09 Thread Edd Barrett
On Fri, May 9, 2008 at 2:10 PM, Douglas A. Tutty [EMAIL PROTECTED] wrote:
 Or, I need to send a formatted document to a non unix user and the best
 common display format is pdf.  So, I make a pdf of my document and email
 it to them.  Also no need for displaying or X.

 Are there other ports that require X11 for internal use even if you
 don't need to display?  If so, perhaps the xbase install set should be
 split into xlibs and xbase so that less needs to be installed on a
 non-display box for these ports to work.

xetex (part of texlive) requires freetype.

Leave things as they are. Do you have such a small hard disk that you
cant fit X on? TeXLive is massive anyway, so the chances are you have
a large disk anyway.

I have no plans to make a no_x11 port. Sorry.

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: teTeX

2008-05-09 Thread Stuart Henderson
On 2008-05-09, Douglas A. Tutty [EMAIL PROTECTED] wrote:
 Are there other ports that require X11 for internal use even if you
 don't need to display?

Yes, it's pretty common for ports that allow user-defined fonts
(e.g.  GD, RRD) to pull in fontconfig from xbase.

 If so, perhaps the xbase install set should be
 split into xlibs and xbase so that less needs to be installed on a
 non-display box for these ports to work.

libs is the bigger part of it... it looks like the most you'll save
is 10MB or so, and people who this is a problem for are pretty likely
to already be trimming their installation sets.



Re: teTeX

2008-05-09 Thread Predrag Punosevac

Douglas A. Tutty wrote:

On Fri, May 09, 2008 at 02:24:56AM -0700, Predrag Punosevac wrote:
  

Olivier Mehani wrote:


On Fri, May 09, 2008 at 10:23:46AM +0200, Paul de Weerd wrote:
  
Are you aware of any no_x11 version?
 
  
I am not sure I understand your last question. How can you do 
typesetting without displaying graphics?
TeXLive does not require X for processing but in order to see your 
document you need to use xdvi, ghostview or something along those lines. 
Obviously, I am not suggesting that you  install  X on a  DNS server  in 
order
to do typesetting. What I am suggesting is that I would expect that you 
use a desktop machine running X for typesetting.



I use LaTex to write letters.  I can write a letter from my text-only
VT520, latex it, dvips it, then print the ps all without displaying it.

Or, I need to send a formatted document to a non unix user and the best
common display format is pdf.  So, I make a pdf of my document and email
it to them.  Also no need for displaying or X.

Are there other ports that require X11 for internal use even if you
don't need to display?  If so, perhaps the xbase install set should be
split into xlibs and xbase so that less needs to be installed on a
non-display box for these ports to work.

Doug.

  
I think you got the answer from Edd. You do not need X running to 
process the text but you need xlibs to compile the port. There is 
nothing  dangerous  in installing  whole  X  on a server as long as you 
do not run it. If people are concern about the size of Xbase the bad 
news is that TeXLive is almost 1G. The good news is that the Troff is 
and various macros are included in the base of the system. Troff is 
very, very usable and lightening fast (you as a developer probably know 
Troff better than me).  Now obvious question that somebody should answer 
is does the troff require Xbase as well.



The other thing, if I remember one of the threads, is that Troff has not 
been updated for a long time. It would be nice if somebody could update 
it. Edd stated how he feels about creating no_X11 flavor.  If  I  may  
add  something to it.
One could also argue that much finer TeXLive port could have been done 
as certain parts of TeXLive experience rapid
development. TeXLive was HUGE job to port so the one who things that 
finer port is needed is welcome to create it.
Due to the OpenBSD release cycle (6 months) and the fact that packages 
are essentially unchanged during that period
the benefit of the finer port on OpenBSD would be limited. For a moving 
target like FreeBSD that certainly would make sense.


Lastly, I like your idea about splitting xbase VERY, VERY much.

Best,
Predrag