From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63418 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Vianney_le_Cl=E9ment?= Newsgroups: gmane.comp.tex.context Subject: looking for fonts in a project's subdirectory Date: Thu, 11 Nov 2010 17:22:38 +0100 Message-ID: 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: dough.gmane.org 1289492636 6984 80.91.229.12 (11 Nov 2010 16:23:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2010 16:23:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 11 17:23:51 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PGZwF-0002C8-03 for gctc-ntg-context-518@m.gmane.org; Thu, 11 Nov 2010 17:23:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0987CA860; Thu, 11 Nov 2010 17:23:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bid299rV6Qj0; Thu, 11 Nov 2010 17:23:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF932CA856; Thu, 11 Nov 2010 17:23:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35791CA856 for ; Thu, 11 Nov 2010 17:23:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21JWtorUTwgi for ; Thu, 11 Nov 2010 17:23:44 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 137FECA854 for ; Thu, 11 Nov 2010 17:23:44 +0100 (CET) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oABG92LN012659 for ; Thu, 11 Nov 2010 17:09:03 +0100 Original-Received: by qyk1 with SMTP id 1so1501531qyk.14 for ; Thu, 11 Nov 2010 08:23:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=gySg0/iCLNNsley+CpLkx0epwGom9KVsL5MZI2j3iCU=; b=b0JTO0b0drE8+62+/lMZmqzLZgI31VqEWsCreRhh6RmqjF+7w27RrCAztz/REFvJpZ vxVyJrs5hYcGqKwuqWFdZPAjblvOh3aVcFDPtspwqXEsB1szlyOi4OgIuZIPkRFvpj5G waHUJUpGBjrSdcwWXlaHzOqmTrIkLAJugmn9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=wqRmvu5RYn0WMkWU9AiCExCUwhYuYGgsxgxvavKQXsdJDAo7bG2V0+/1wY5cLW482u wmnjaRErweq/CV14luBQiQmQqwpcn5bfhq/L15tM206j0zAt/9Y2smoAEFKmprDUZw96 U1djxQm0qJnEHTem3FH0UG6YKOWkHTQWrYRB4= Original-Received: by 10.229.240.138 with SMTP id la10mr911273qcb.191.1289492578799; Thu, 11 Nov 2010 08:22:58 -0800 (PST) Original-Received: by 10.229.90.203 with HTTP; Thu, 11 Nov 2010 08:22:38 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aDtQ93kz - 5e2ed74b6161 - 20101111 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63418 Archived-At: Hi, In order for some projects (mkiv) to be "self-contained", I want to put the used fonts inside the project directory. Putting them next to the .tex files works fine, but I would like to put them in a subdirectory, e.g., to have the following kind of structure: project/ fonts/ fontA.otf fontB.otf env.tex document1.tex document2.tex I could modify the OSFONTDIR environment variable before calling context, but that's not very editor-friendly. Is there any command or Lua code that I can put in my environment file env.tex forcing context to also look into the fonts subdirectory? Thanks, Vianney ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________