From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44965 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: Re: What should I learn? Date: Wed, 22 Oct 2008 14:13:08 +0200 Message-ID: References: <48FF0FF5.8000207@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0015993033==" X-Trace: ger.gmane.org 1224677724 24709 80.91.229.12 (22 Oct 2008 12:15:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 12:15:24 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 22 14:16:14 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Kscd5-0000im-CH for gctc-ntg-context-518@m.gmane.org; Wed, 22 Oct 2008 14:15:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6BCCA1FB39; Wed, 22 Oct 2008 14:14:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15568-01; Wed, 22 Oct 2008 14:13:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F4651FBD5; Wed, 22 Oct 2008 14:13:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6E5A01FBD4 for ; Wed, 22 Oct 2008 14:13:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14501-07-2 for ; Wed, 22 Oct 2008 14:13:09 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by ronja.ntg.nl (Postfix) with ESMTP id 35DEA1FB39 for ; Wed, 22 Oct 2008 14:13:09 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id l26so312363fgb.8 for ; Wed, 22 Oct 2008 05:13:09 -0700 (PDT) Original-Received: by 10.187.189.7 with SMTP id r7mr1454023fap.34.1224677588643; Wed, 22 Oct 2008 05:13:08 -0700 (PDT) Original-Received: by 10.187.211.5 with HTTP; Wed, 22 Oct 2008 05:13:08 -0700 (PDT) In-Reply-To: <48FF0FF5.8000207@elvenkind.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44965 Archived-At: --===============0015993033== Content-Type: multipart/alternative; boundary="----=_Part_24926_5109144.1224677588652" ------=_Part_24926_5109144.1224677588652 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Oct 22, 2008 at 1:35 PM, Taco Hoekwater wrote: > Mauricio wrote: > >>> I also like to write programs (I use a really > >>> nice language named Haskell). Do you thing I > >>> could get what I want if I write or translate > >>> typography functions to that language, and then > >>> write programs to generate documents? Where > >>> could I find or where could I learn about such > >>> functions? > >> You can also have a look at ant http://ant.berlios.de/. It is not as > big > >> as TeX and is written in Ocaml, so you may find it easier to understand > >> than the source code of TeX (a mixture of pascal, change files, and C). > >> > > > > Great! Thanks! There's a lot there I can study. > > IIRC, earlier versions of ant were actually written in haskell. > > Regarding stuff to read: the typeset version of the (pdf)tex source > ((pdf)tex.web+(pdf)tex.ch after processing by weave) is probably still > the best "beginner's book" if you want to start implementing a general > typesetting system. And, for luatex, http://groups.foundry.supelec.fr/modules/luatex/luatex.pdf -- luigi ------=_Part_24926_5109144.1224677588652 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Wed, Oct 22, 2008 at 1:35 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
Mauricio wrote:
>>> I also like to write programs (I use a really
>>> nice language named Haskell). Do you thing I
>>> could get what I want if I write or translate
>>> typography functions to that language, and then
>>> write programs to generate documents? Where
>>> could I find or where could I learn about such
>>> functions?
>> You can also have a look at ant http://ant.berlios.de/. It is not as big
>> as TeX and is written in Ocaml, so you may find it easier to understand
>> than the source code of TeX (a mixture of pascal, change files, and C).
>>
>
> Great! Thanks! There's a lot there I can study.

IIRC, earlier versions of ant were actually written in haskell.

Regarding stuff to read: the typeset version of the (pdf)tex source
((pdf)tex.web+(pdf)tex.ch after processing by weave) is probably still
the best "beginner's book" if you want to start implementing a general
typesetting system.
And, for luatex,
http://groups.foundry.supelec.fr/modules/luatex/luatex.pdf

--
luigi

------=_Part_24926_5109144.1224677588652-- --===============0015993033== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0015993033==--