From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106348 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yves Cloutier Newsgroups: gmane.comp.tex.context Subject: Re: simplefonts directory Date: Tue, 18 Feb 2020 14:14:36 -0500 Message-ID: References: <20200218140006.GA892@smoon.bkoty.ru> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1602982417531623337==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="2473"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users , Vladimir Lomov Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 18 20:15:09 2020 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 1j48Kr-0000QU-5v for gctc-ntg-context-518@m.gmane-mx.org; Tue, 18 Feb 2020 20:15:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 86F8C181E8C; Tue, 18 Feb 2020 20:14:53 +0100 (CET) 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 N0Nw304gY_oY; Tue, 18 Feb 2020 20:14:52 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8D704181E4C; Tue, 18 Feb 2020 20:14:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3F7D9181E36 for ; Tue, 18 Feb 2020 20:14:51 +0100 (CET) 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 H55nGTAHP0_X for ; Tue, 18 Feb 2020 20:14:50 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.214.176; helo=mail-pl1-f176.google.com; envelope-from=yves.cloutier@gmail.com; receiver= Original-Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 2406E181D25 for ; Tue, 18 Feb 2020 20:14:50 +0100 (CET) Original-Received: by mail-pl1-f176.google.com with SMTP id g6so8463204plt.2 for ; Tue, 18 Feb 2020 11:14:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=i2RGXNsB/qWMImb6VJyvpQs7wsnAfkPu2jIAm7aViog=; b=pK7xCk0/Ftrfk1tZkadEm9v1ao7LHiX1K5JBNMya5wlmbmmJ5Z6CpwQmaCOLn5GVJp zpS9KfDNk2oQ18SBp0EfqBd0ToPbgw6Gn1gfnronk9zDYd6tFM6iqmAx4rLcFfcQHz6T B1VttXR3WIAPF9/2aHfZNCVsYm1leXfyl2wj4MCHFSrM+zRfNEfidUJKt+qmBODftW/x /J17aD1jvOahhB6PwzAyEmhxbxgvILuhs5g54uCUw4VrLCfItYOR/NwjfJx/iHy12U8V aEdYMJdAFycnSLPWHERmPHRcnjya3yuWwOCqB7uAqrrzexHzzrHznPxFQgbJ1buQo5uN VUDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=i2RGXNsB/qWMImb6VJyvpQs7wsnAfkPu2jIAm7aViog=; b=K8Q0qL1vDhxM7YgjA7RSWMRINGWt4YCCT/jWAMOcvaQqOYZZ4B3epTEzSOcBW6x3JV 5SxOqBZWN19GJUTYKPaOg9m+KDGz3C206OjLTrtDqJpm2dHnvr2i363e0WP2KZR3A0dI GCH9G9Ue29WIPWmFy6KyNuQgegOITaiMAKi7Otta+KzbcdZEKlCdBn8bvIebgGWuy6M3 nLQeLr4tote7+vHED47PBhq9knIzjWbg3G0twMAn8JHeN/tQNRFzc1dI+rqIuc2sZg45 VfD6ybI4paQZ5Gndqs6Kxa3SfpruYUiiq1jmd3Xxb8mCMd7xOEqeN0O1Fhv3n+o+SdvH C0fA== X-Gm-Message-State: APjAAAU+m9gSOawCBDYTOlaAEW1LJTCw83HaTTsEOiy21e5fITrpQrIs kqrrGKPA4Q50vNxroNqAgh/A4nmPuKz7HRmKQZUwFA== X-Google-Smtp-Source: APXvYqxcA6tGJu4JA5zYclAe9DB54K2FcxV/LbX20bjp4pw4zV5qRY58s5JgsJ4sgy1f3h4RIDwLBQePLDyMjIK87RM= X-Received: by 2002:a17:90a:3603:: with SMTP id s3mr4494241pjb.61.1582053287918; Tue, 18 Feb 2020 11:14:47 -0800 (PST) In-Reply-To: <20200218140006.GA892@smoon.bkoty.ru> 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:106348 Archived-At: --===============1602982417531623337== Content-Type: multipart/alternative; boundary="0000000000003dfe29059ede7cf1" --0000000000003dfe29059ede7cf1 Content-Type: text/plain; charset="UTF-8" Thanks for the quick reply. I added the line to my .bashrc file then from the command did source ~/.bashrc I will try with quotes when i get home. On Tue, Feb 18, 2020, 9:08 AM Vladimir Lomov, wrote: > Hello, > ** Yves Cloutier [2020-02-18 08:49:37 -0500]: > > > Hello, > > > I'm on linux and trying to add my fonts directories using > > > export OSFONTDIR=/usr/share/fonts/;$HOME/.fonts > > > however when I do, I get the following message: > > > bash: /home/drifter/.fonts: Is a directory > > > I'm not what I'm doing wrong or why it's not liking this. Any pointers > > would be appreciated. > > Use double quotes: > export OSFONTDIR="/usr/share/fonts/;$HOME/.fonts" > > P.S. You may be interested to read bash scripting guide, but in short the > semicolon is used in shell (bash, zsh) to separate two or more commands in > a > row, so your line was interpreted by a shell (I assume that it is bash) > like > 1 command: export OSFONTDIR=/usr/share/fonts > 2 command: $HOME/.fonts > so indeed the $HOME/.fonts is a directory. > > --- > WBR, Vladimir Lomov > > -- > If all else fails, lower your standards. > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --0000000000003dfe29059ede7cf1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the quick reply.

I added the line to my .bashrc file then from the command d= id source ~/.bashrc

I wi= ll try with quotes when i get=C2=A0home.

On Tue, Feb 18, 2020, 9:08 AM= Vladimir Lomov, <lomov.vl@yandex.= ru> wrote:
Hello,
** Yves Cloutier <yves.cloutier@gmail.com> [2020-02-18 08:49= :37 -0500]:

> Hello,

> I'm on linux and trying to add my fonts directories using

> export OSFONTDIR=3D/usr/share/fonts/;$HOME/.fonts

> however when I do, I get the following message:

> bash: /home/drifter/.fonts: Is a directory

> I'm not what I'm doing wrong or why it's not liking this. = Any pointers
> would be appreciated.

Use double quotes:
export OSFONTDIR=3D"/usr/share/fonts/;$HOME/.fonts"

P.S. You may be interested to read bash scripting guide, but in short the semicolon is used in shell (bash, zsh) to separate two or more commands in = a
row, so your line was interpreted by a shell (I assume that it is bash) lik= e
1 command: export OSFONTDIR=3D/usr/share/fonts
2 command: $HOME/.fonts
so indeed the $HOME/.fonts is a directory.

---
WBR, Vladimir Lomov

--
If all else fails, lower your standards.
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / http://= www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://= context.aanhet.net
archive=C2=A0 : https://bitbucket.org/ph= g/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000003dfe29059ede7cf1-- --===============1602982417531623337== 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== --===============1602982417531623337==--