From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36366 Path: news.gmane.org!not-for-mail From: Arthur Reutenauer Newsgroups: gmane.comp.tex.context Subject: Re: fonts from scratch: what's the way? Date: Tue, 4 Sep 2007 23:00:20 +0200 Message-ID: <20070904210020.GA10893@phare.normalesup.org> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188939655 22225 80.91.229.12 (4 Sep 2007 21:00:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2007 21:00:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 04 23:00:52 2007 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 1ISfVz-0001WJ-6i for gctc-ntg-context-518@m.gmane.org; Tue, 04 Sep 2007 23:00:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4212B2006A; Tue, 4 Sep 2007 23:00:43 +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 32587-06; Tue, 4 Sep 2007 23:00:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D5B0A1FFDF; Tue, 4 Sep 2007 23:00:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2001A1FFDF for ; Tue, 4 Sep 2007 23:00:31 +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 32576-05-2 for ; Tue, 4 Sep 2007 23:00:22 +0200 (CEST) Original-Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by ronja.ntg.nl (Postfix) with ESMTP id 170D61FFDB for ; Tue, 4 Sep 2007 23:00:21 +0200 (CEST) Original-Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id l84L0LG6063300 for ; Tue, 4 Sep 2007 23:00:21 +0200 (CEST) X-Envelope-To: Original-Received: by phare.normalesup.org (Postfix, from userid 1008) id E931438075; Tue, 4 Sep 2007 23:00:20 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Tue, 04 Sep 2007 23:00:21 +0200 (CEST) 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:36366 Archived-At: > Fonts are really a mysterious topics. Fonts have always been a complicated subject indeed, but there's no reason why they should be a mystery. > this is really a horror film for a newbie: > http://wiki.contextgarden.net/Mark_IV What exactly do you find horrible there? It's of course not a beginner's guide to Mark IV but I think it shows you some new features, nothing more. There's basically nothing on that page. > - should I know something about the metrics and other trickery? I would say yes. It always pays off anyway. But it depends on what you want to do. At the very least you should know what tfm files are and where they're installed in your TeX distribution. At most ... well, there's virtually no upper bound on that ;-) > - how do I know which fonts are installed by the distro? AFAIK, it > seems that this is a fairly complicated topic. For ConTeXt, look at the typescript definitions in type-***.tex. These give you high-level access to fonts. Not all are freely available; for example, the typescripts defined in type-buy.tex need font files that, as the name says, you should buy. But most of them are usable out of the box. > Experimenting with > > [snip] > > Seems to work but I don't know why and how... These all are defined in the default typescripts. If you only wish to change the default fonts, this is all you need. Otherwise you have to write the equivalent TeX code for your own fonts (not too difficult), and install them in your distribution (this can be quite painful). > - so, excluding "secret" pre-installed fonts, what I have to do to > choose a (free) font ? > - and how do I install it on my machine? > - I.e.: what have I to do? Stay on mark II or switch to mark IV? This > "mark" issue has confused me a lot more...:) Judging by your questions and what you say you intend to do, I don't think you would really benefit from Mark IV. Staying with Mark II is fine, but actually, if your main concern is about fonts, I suggest you have a look at XeTeX; look at the wiki for instructions and examples. ConTeXt with XeTeX is known as Mark III, although the name is much less used. > I think a real tutorial on the font subject is lacking. All the > available infos () in some way require IMHO a relevant knowledge True. But you do realize that your last sentence is true of any TeX-related topic, right? So you should not be discouraged in advance. And what about http://www.pragma-ade.com/general/manuals/mfonts.pdf for a start? If you have access to the TUGboat, the last issue has a great article by Idris that explains the whole process of installing and configuring new fonts. I can answer more of your questions if you want, but you really need to figure out what you want to do. My guess is that you only want to find a set of matching fonts and define a typescript. Try to experiment with more pre-defined typescripts like you did above, and look at the code defining them (it may need some work to find and understand it, but it's worth the trouble); then you can start defining your own typescript and installing your own fonts. Much of this is extremely simplified in XeTeX (both TeX macros and font installation); that's why I recommend you have a look at it too (there, typescript aren't needed at all actually; you can access bodyfonts directly). Arthur ___________________________________________________________________________________ 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 ___________________________________________________________________________________