From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112152 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Moving the old book-structure to a recent ConTeXt Date: Fri, 16 Jul 2021 15:51:53 +0200 Message-ID: References: <60FE10ED-F606-46DC-AC20-712C8C8ABFCC@rna.nl> <12327120-143B-4E12-AE37-0B75654099A9@fiee.net> <998983A5-68BD-43DF-AB47-B3AAA205299C@fiee.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Content-Type: multipart/mixed; boundary="===============3458968592974532461==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17554"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 16 15:52:40 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 1m4OGd-0004Pz-5U for gctc-ntg-context-518@m.gmane-mx.org; Fri, 16 Jul 2021 15:52:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2FAA2285CAF; Fri, 16 Jul 2021 15:52: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 POMgbB0swCqD; Fri, 16 Jul 2021 15:51:58 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 52ED2285CB4; Fri, 16 Jul 2021 15:51:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 48FAD285CB1 for ; Fri, 16 Jul 2021 15:51:57 +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 8bCCcm5NmGbi for ; Fri, 16 Jul 2021 15:51:55 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5C965285CAF for ; Fri, 16 Jul 2021 15:51:55 +0200 (CEST) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rna.nl (Postfix) with ESMTPSA id 833EF8AF3F11 for ; Fri, 16 Jul 2021 15:51:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1626443513; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nTq3QF7lm0+1bGQHrIqy12ck08X5n7qHT+wLmPfDuOA=; b=NWgMhfJMnGX+jd+77QNSFsNhJ2mpw/RAg7yIv6IE0tvU9G1S/HiT9gblXi9vLqwaJE+1n9 u8wLNqpqjb6iiHUy3ICLQfY1hB2VKSse+LA+wIflvIyJg7BGul/FUt5nUkSWa80mTsDQx+ JFjJFL+M8Cqe4oTXbY5eBFuC2Jtb2mVAQaBl5mK59Av04Hx4KQR0oVcg8PkQ1QEo4Emach P88zdlpWfRJ7u+h29i2G5+oGq/agtHLQKBpOo7fdbMTndV3Fk1LE5FTtB1x+wJ+966+sLe mas21BD8Fxt5gMQ6ErO9DoTa4hfb9uiOk9SxgL92LxKmJXMH1bhbr9Zl4MlCcw== In-Reply-To: <998983A5-68BD-43DF-AB47-B3AAA205299C@fiee.net> X-Mailer: Apple Mail (2.3608.120.23.2.7) 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:112152 Archived-At: --===============3458968592974532461== Content-Type: multipart/alternative; boundary="Apple-Mail=_587BD4B6-A2E0-46C1-87E3-5BEAE4A2A991" --Apple-Mail=_587BD4B6-A2E0-46C1-87E3-5BEAE4A2A991 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 15 Jul 2021, at 16:00, Henning Hraban Ramm wrote: >=20 >>=20 >> Am 15.07.2021 um 12:19 schrieb Gerben Wierda : >>=20 >>> On 12 Jul 2021, at 12:15, Henning Hraban Ramm = wrote: >>>=20 >>>=20 >>>=20 >>>> Am 12.07.2021 um 10:25 schrieb Gerben Wierda = : >>>>=20 >>>> Years ago I wrote a book (Chess and the Art of Enterprise = Architecture) using ConTeXt. >>>>=20 >>>> The setup was (I think Taco=E2=80=99s) basic book project setup, = with a chapters, environments, products, etc. subdirectory where you = work in the chapters directory and can both produce individual chapters = and the whole book. The main tool to produce was texexec. >>>>=20 >>>> ConTeXt has moved on considerably since then (2014-2015). >>>>=20 >>>> So, I tried teh old project to see if it still works, but found out = it didn=E2=80=99t. There still is a texexec in my MacTeX, but the = compilation fails: >>>>=20 >>>> texexec --pdf --mode=3DSCREEN ../products/prd_book.tex >>>> resolvers | initialization | fatal error: kpse library is = accessed (key: original) >>>>=20 >>>> Is there a new =E2=80=98book=E2=80=99 project structure/template = for the modern/standalone ConTeXt? >>>=20 >>> The project struture with project/product/environment/components is = still the same. >>>=20 >>> "texexec" is MkII, you must call "context" for MkIV (with --luatex) = and LMTX. >>>=20 >>> You will probably need to update several setups, there were many = changes since MkII. >>=20 >> So, just for confirmation that I understand this correctly, I need to = simply change the command from texexec to context --luatex and fix all = settings in my setup until I get it working again? >=20 > I guess so. I don=E2=80=99t know your project. >=20 > There were a lot of changes between MkII and current MkIV, and many = aren=E2=80=99t obvious. > I=E2=80=99d suggest to rewrite your environment from scratch; only = copy pieces step by step and check if they still do what you expect. Use = a reduced test product. Is there a new template I can download somewhere to start from scratch? Gerben --Apple-Mail=_587BD4B6-A2E0-46C1-87E3-5BEAE4A2A991 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8


On 15 Jul 2021, at 16:00, Henning Hraban Ramm <texml@fiee.net> = wrote:


Am 15.07.2021 um 12:19 schrieb = Gerben Wierda <gerben.wierda@rna.nl>:

On 12 Jul 2021, at = 12:15, Henning Hraban Ramm <texml@fiee.net> wrote:



Am = 12.07.2021 um 10:25 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

Years ago I wrote a book (Chess and the Art of Enterprise = Architecture) using ConTeXt.

The setup was = (I think Taco=E2=80=99s) basic book project setup, with a chapters, = environments, products, etc. subdirectory where you work in the chapters = directory and can both produce individual chapters and the whole book. = The main tool to produce was texexec.

ConTeXt= has moved on considerably since then (2014-2015).

So, I tried teh old project to see if it still works, but = found out it didn=E2=80=99t. There still is a texexec in my MacTeX, but = the compilation fails:

texexec --pdf = --mode=3DSCREEN  ../products/prd_book.tex
resolvers =       | initialization | fatal error: kpse = library is accessed (key: original)

Is = there a new =E2=80=98book=E2=80=99 project structure/template for the = modern/standalone ConTeXt?

The = project struture with project/product/environment/components is still = the same.

"texexec" is MkII, you must call = "context" for MkIV (with --luatex) and LMTX.

You will probably need to update several setups, there were = many changes since MkII.

So, = just for confirmation that I understand this correctly, I need to simply = change the command from texexec  to context --luatex and fix all = settings in my setup until I get it working again?

I guess so. I don=E2=80=99t know your project.

There were a lot of changes = between MkII and current MkIV, and many aren=E2=80=99t = obvious.
I=E2=80=99d = suggest to rewrite your environment from scratch; only copy pieces step = by step and check if they still do what you expect. Use a reduced test = product.

Is there = a new template I can download somewhere to start from scratch?

Gerben

= --Apple-Mail=_587BD4B6-A2E0-46C1-87E3-5BEAE4A2A991-- --===============3458968592974532461== 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== --===============3458968592974532461==--