From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89603 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Loading modules (was: access to system fonts under MacOSX) Date: Mon, 22 Dec 2014 22:35:43 +0100 Message-ID: <59BD98FD-E8A3-4F05-997D-9910D686A56F@gmail.com> References: <5495F795.8080307@gmx.es> <5496F351.70601@gmx.es> <54970FDE.20808@gmx.es> <46003AF8-02AD-42A2-9194-E9E4563997A3@gmail.com> <5C142400-BB26-4236-BB10-3ED7C4556694@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/mixed; boundary="===============1666043239==" X-Trace: ger.gmane.org 1419284187 20800 80.91.229.3 (22 Dec 2014 21:36:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2014 21:36:27 +0000 (UTC) Cc: mailing list for ConTeXt users To: "j. van den hoff" Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 22 22:36:23 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y3AeM-00036p-Ed for gctc-ntg-context-518@m.gmane.org; Mon, 22 Dec 2014 22:36:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D46A91025D for ; Mon, 22 Dec 2014 22:36:21 +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 Dg2JVUBzBswE for ; Mon, 22 Dec 2014 22:36:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7EAC01025F for ; Mon, 22 Dec 2014 22:35:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2427310217 for ; Mon, 22 Dec 2014 22:35:51 +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 oDAvXG35TCgn for ; Mon, 22 Dec 2014 22:35:50 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 5A95A10215 for ; Mon, 22 Dec 2014 22:35:50 +0100 (CET) Original-Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sBMLZnrM019830 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 22 Dec 2014 22:35:49 +0100 Original-Received: by mail-wi0-f175.google.com with SMTP id l15so9209094wiw.14 for ; Mon, 22 Dec 2014 13:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=jNCNRLPTt7AuKZjy8FJk0YS6Ahd+b6HpZmXRvnCTE8U=; b=SETtPUG2tuik7usSpG6+KukiEHUPkYjNMfHi7sTFFSO5x4krUFa8LH7JS7OnZXRdRl vTmZy+RCkwrkfRKlZ0fW0lohzp9Hd7Wg+8/z8NinxtljqjhE5One162IGC9ZZrK+SgWJ +uep8IG0jcCFKE7BwN8gOyMOjoFin+e+sQmiHQcEUXMu6u97lonnJoItJ41HF1Wj/KUc rdlb2cDYZxDCtkWp0ioOAObLa6F129eTXnSWRWdaItgDIyOkeA399tYkYkgMpkqSRcY8 NUXOR5p/UDuVw6gYnQCLWtkTDC3DCUQaJWKLG47XrdLym1mv/fekmoB6NuA1XWco7nf0 0abQ== X-Received: by 10.194.187.235 with SMTP id fv11mr45558621wjc.16.1419284149011; Mon, 22 Dec 2014 13:35:49 -0800 (PST) Original-Received: from keima.localdomain (x2f29669.dyn.telefonica.de. [2.242.150.105]) by mx.google.com with ESMTPSA id b10sm14789262wiw.9.2014.12.22.13.35.47 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Dec 2014 13:35:48 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1993) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01NuJzNAi - e4a6dc4f9711 - 20141222 (trained as not-spam) Received-SPF: pass (filter4-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::22f as permitted sender) receiver=filter4-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::22f; envelope-from=; helo=mail-wi0-x22f.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:89603 Archived-At: --===============1666043239== Content-Type: multipart/alternative; boundary="Apple-Mail=_B692D731-D700-4C13-A1F4-EEF0762F6C8B" --Apple-Mail=_B692D731-D700-4C13-A1F4-EEF0762F6C8B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Am 22.12.2014 um 00:12 schrieb j. van den hoff = : >=20 > OK, I've just installed the standalone version and adjusted my search = path. now the very same document does no longer compile. I get the = error: >=20 > 8<--------------------------- > ! Undefined control sequence >=20 > \doctitle >=20 > l.106 \doctitle > 8<--------------------------- > where `doctitle' is defined in a small bare bones module (co-existing = in the same dir as the doc) for setting up a title page. I guess I'm = hitting some (context-) searchpath issue here that already is taken care = of in the texlive distro? any help'd be appreciated. I guess you load the file with your definitions with the \usemodule = command. There has been a change a while ago and context expects now a prefix when you load a module (e.g. p-.tex) and when you add now the prefix to your file context will be able to load it. Another solution is = to add \enabledirectives[modules.permitunprefixed] before the \usemodule command in your document, the command above tells context to also look for modules without a prefix as last = resort. Wolfgang= --Apple-Mail=_B692D731-D700-4C13-A1F4-EEF0762F6C8B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Am 22.12.2014 um 00:12 schrieb j. van den hoff <veedeehjay@googlemail.com>:

OK, I've just installed the standalone version = and adjusted my search path. now the very same document does no longer = compile. I get the error:

8<---------------------------
! Undefined control sequence

<recently read> \doctitle

l.106    \doctitle
8<---------------------------
where `doctitle' is defined in a small bare = bones module (co-existing in the same dir as the doc) for setting up a = title page. I guess I'm hitting some (context-) searchpath issue here = that already is taken care of in the texlive distro? any help'd be = appreciated.

I = guess you load the file with your definitions with the \usemodule = command.

There = has been a change a while ago and context expects now a prefix
when you load a module (e.g. p-<myfile>.tex) and when = you add now the
prefix to your file context will be = able to load it. Another solution is to add

    = \enabledirectives[modules.permitunprefixed]

before the \usemodule command in your = document, the command
above tells context to also = look for modules without a prefix as last resort.
Wolfgang
= --Apple-Mail=_B692D731-D700-4C13-A1F4-EEF0762F6C8B-- --===============1666043239== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1666043239==--