From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112406 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joey McCollum via ntg-context Newsgroups: gmane.comp.tex.context Subject: Referencing fonts by path within ConTeXt Date: Sat, 7 Aug 2021 16:29:46 -0400 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0157667827217058041==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6297"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joey McCollum To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 07 22:30:30 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mCSxi-0001VB-Rd for gctc-ntg-context-518@m.gmane-mx.org; Sat, 07 Aug 2021 22:30:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 99CDE286480; Sat, 7 Aug 2021 22:30:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jr2_RGW4R2uL; Sat, 7 Aug 2021 22:30:03 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1AF3A28647E; Sat, 7 Aug 2021 22:30:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F1A7428647E for ; Sat, 7 Aug 2021 22:30:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mjH8VLhM8jOF for ; Sat, 7 Aug 2021 22:30:00 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.49; helo=mail-io1-f49.google.com; envelope-from=jmccollum20140511@gmail.com; receiver= Original-Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id AAE1B286272 for ; Sat, 7 Aug 2021 22:29:59 +0200 (CEST) Original-Received: by mail-io1-f49.google.com with SMTP id r72so5599558iod.6 for ; Sat, 07 Aug 2021 13:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=x2ZVRtKsnYOXMdHGGmozsQW3cR1CMWn0pc3swyFy0L0=; b=ZWjWJXVxcc6wsWO7gMe9/vzKcA5FVSGtzXKfCFPGo8U4i/Q41vQbURn2h2aN32I1SF n34L5q3L77jPebdT40dBG7sZD/IJUCcoCW540U/4hz5Zm4BbUOxkSRgNmjlmzXEIBvrJ jY88juNx/RsXJG0FrtR3a3RquVnYhVnrU2eQACWdRLYUJ8Mb4XYbEgRGUkrTpB76c//9 Rh2osh55yNRvH16FijCVw1hW5+ps6MCguL2OepAJ+4yztBoSxHCZvvXBULg6pE2Qn2Ue a4fxBCokcUVcnvAdLxoShin/Ad/K+P4o79MvwPDTemAZBopuQnIYEZ6ZNivtQk45MpVu 0Ppw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=x2ZVRtKsnYOXMdHGGmozsQW3cR1CMWn0pc3swyFy0L0=; b=V6u3Pykz4/wmqlXpfG7cqUqeio3M3swKsOtVaLS8QXAGquEOqQL87+8cm7QLIvJI/R wVo6/PO68ZHygeTfGzDJBeIyz5nysSm6aVT3Zur8naE2+uKr6N0EZccLbPxCsb5JnzcW Q7TfOFDyuOCpYLFGHFpbO4HN2c8jCAwrnPckx8HQXeiL2nVtwEHjOK314LmnDLxw/aq0 MtKfcS+KMHpCA8XHF1BNkxaqVAmCFuUnP1MnQ6MrQjfO/LndpALnsHEp6HBjwbiTLt9C HMTWHEWbFSp/D/Qr4MR/WniEQrTFTj6m925WaZmSArV1jiPG8zo+Pz3DJSnEQkcDamqs 4FpQ== X-Gm-Message-State: AOAM5318mTLQqprSYganSNelsuKC6OC5+7wednzw6WyaQgv+N6Mxq25G 3dpHL5x1aTJG0aY3fUi7Pp4aohw74l2pXMqQ5tQ00bHH17E= X-Google-Smtp-Source: ABdhPJwe8tDAqTOFHVazZv7vQub+Dc27QwyZsHZpIsUkhBKL7z9JOx2Ea6+fkK8ik+Dl/ypBQNeN4U3ypsdhPEOsHbM= X-Received: by 2002:a02:caa1:: with SMTP id e1mr15623051jap.107.1628368197735; Sat, 07 Aug 2021 13:29:57 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:112406 Archived-At: --===============0157667827217058041== Content-Type: multipart/alternative; boundary="000000000000fd571105c8fe03c2" --000000000000fd571105c8fe03c2 Content-Type: text/plain; charset="UTF-8" Hi, I'm interested in packaging a ConTeXt project in a self-contained way, so that the environment/component/project .tex files, the bibliography .bib file(s), and fonts used for typesetting are all provided in one place. (The goal is that others can generate the PDFs themselves from the source files as long as they have a sufficiently recent version of ConTeXt installed.) The usual ConTeXt directory structure makes sense for most of this, but it doesn't address the possibility of accessing fonts locally. I think I could do this with a script that temporarily sets the OSFONTDIR variable to the local fonts directory and then invokes ConTeXt to typeset the project-level file, but I was wondering if there is an easier way to do this from within ConTeXt. Specifically, is there a way to specify a font via a local path with font setup commands in an environment file? Thank you! Joey --000000000000fd571105c8fe03c2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm interested in packaging a C= onTeXt project in a self-contained way, so that the environment/component/p= roject .tex files, the bibliography .bib file(s), and fonts used for typese= tting are all provided in one place. (The goal is that others can generate = the PDFs themselves from the source files as long as they have a sufficient= ly recent version of ConTeXt installed.) The usual ConTeXt directory struct= ure makes sense for most of this, but it doesn't address the possibilit= y of accessing fonts locally. I think I could do this with a script that te= mporarily sets the=C2=A0OSFONTDIR variable to the local fonts directory and= then invokes ConTeXt to typeset the project-level file, but I was wonderin= g if there is an easier way to do this from within ConTeXt. Specifically, i= s there a way to specify a font via a local path with font setup commands i= n an environment file?

Thank you!

Joey
--000000000000fd571105c8fe03c2-- --===============0157667827217058041== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0157667827217058041==--