From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116646 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jethro Djan via ntg-context Newsgroups: gmane.comp.tex.context Subject: Command line arguments on context project Date: Fri, 16 Dec 2022 16:14:33 +0000 Message-ID: <6B1260C1-B936-4437-8A25-38191A4456C6@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Content-Type: multipart/mixed; boundary="===============1495857940869604088==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7220"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jethro Djan To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 16 17:15:02 2022 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 1p6DMU-0001gh-Pn for gctc-ntg-context-518@m.gmane-mx.org; Fri, 16 Dec 2022 17:15:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CF8202A4C17; Fri, 16 Dec 2022 17:14:40 +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 S-8ey2MadrSR; Fri, 16 Dec 2022 17:14:39 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E61232A4D12; Fri, 16 Dec 2022 17:14:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4CA8E2A4C17 for ; Fri, 16 Dec 2022 17:14:38 +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 34tIMyNVmRwx for ; Fri, 16 Dec 2022 17:14:37 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.49; helo=mail-wm1-f49.google.com; envelope-from=jthryeboah@gmail.com; receiver= Original-Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.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 7B1792A4BFF for ; Fri, 16 Dec 2022 17:14:37 +0100 (CET) Original-Received: by mail-wm1-f49.google.com with SMTP id bg10so2237589wmb.1 for ; Fri, 16 Dec 2022 08:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=QcPZezHfjlZCaMMhGo9gggQ2VgAu9eyHIB0DSzj9DPQ=; b=hMY4gHsXHnVLWuzvntKyLDMHB7fvucFfCVZfuA5TE6WwM9KbU8muzo06aIDmL3nrvM e4DYK/vkUuEeXSgpTVXSYfAYK+Bm7FMflADy0t88nE2tzjExEkZhT6MScssHB/AGVLR/ /QYMHg5p4xln5M1NbM6q1YEayOXRRvjs/npSpPrD1gK7qUggcvPScZPr5ml1LkNH6DEy YLaa5IKYdl95tjbPSMAjA+vlywZYC6K/kbpSqqQla297njVGa+VyeG8frX/u2TjLYO79 gUlM8yvAPTvRyVd8wWTBNYcK2E9N3XD95p1siBEs3juYKyugEf+tC9pJgcFqacFjNSoL UUXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QcPZezHfjlZCaMMhGo9gggQ2VgAu9eyHIB0DSzj9DPQ=; b=r9EqD/OWIfaMyq90K5gHkcgKXg++YLwGVGK6atQGtT8tLAHYito2a3+6hVnIKroSx4 knboa73kml6TIs39YgWOCF4cIOmLGCo6W6aU3sdeqld2EE311Oel8uSuHMBUU7mJktl4 lNg2+eapcDh8KDISV97Qncjj0EFn/4xGRA1FffRfO0y1AWvVTD1gwlZKoC8X9zF7gdV3 2ypA5ryWrfdM2YUMw+rSdopSb3+jk2893BXlW5CYLDQx+Puh/oe+mVXyrU4eqa6EA7au lweW+RgTQj7r1sfsT0YdasbJ42Vxpc2zdoPI+YWEobmYn0zX1LT9c4liVchKEGLYHrct JYKA== X-Gm-Message-State: ANoB5pkB+WhBVbWjnZIt81855254fYAbefl3+g/433Tsmh17K1ZSIT1E Cj+M5fYKjkHQYkLxpONvcEqrGF0+fLQe9g== X-Google-Smtp-Source: AA0mqf7kSrlYxQKVq1rt5Y1BxhMroKXKuF4wXa0DFxVGr3UJkTtdwd3lRHf1XqCKjElcejWXVmMcVA== X-Received: by 2002:a05:600c:783:b0:3d2:2105:1761 with SMTP id z3-20020a05600c078300b003d221051761mr17454815wmo.25.1671207276632; Fri, 16 Dec 2022 08:14:36 -0800 (PST) Original-Received: from smtpclient.apple ([154.160.17.137]) by smtp.gmail.com with ESMTPSA id i12-20020a05600c354c00b003cfd64b6be1sm13767241wmq.27.2022.12.16.08.14.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2022 08:14:36 -0800 (PST) X-Mailer: Apple Mail (2.3696.120.41.1.1) 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:116646 Archived-At: --===============1495857940869604088== Content-Type: multipart/alternative; boundary="Apple-Mail=_B2524516-F3C1-47D1-8D8E-0B79B0F4CF71" --Apple-Mail=_B2524516-F3C1-47D1-8D8E-0B79B0F4CF71 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear list, I am using the project structure to typeset my thesis. This is how the = directory looks like: chapters/chapter1.tex chapters/chapter2.tex =E2=80=A6 output/ env_thesis.tex prd_main.tex ref.bib I didn=E2=80=99t use the project. 1. How do I specify output directory? I have already seen the following thread: https://www.mail-archive.com/ntg-context@ntg.nl/msg101654.html = It doesn=E2=80=99t seem to work on a project. So for example when I run = mtxrun =E2=80=94path=3Doutput --script context ../prd_main, I get this = error:=20 tex error on line 5 in file = /usr/local/texlive/2022/texmf-dist/doc/latex/buctthesis/chapter1.tex: ! = Undefined control sequence 2. How do I get CoTeXt to recognise the ref.bib file when I run the = components not the product? For context, I don=E2=80=99t want the references printed at the end of = each chapter but I would like the in-text citation to work (if that is = possible). If not, is it possible compile the whole product but only = output a certain page range? Jethro= --Apple-Mail=_B2524516-F3C1-47D1-8D8E-0B79B0F4CF71 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear = list,

I am using the = project structure to typeset my thesis. This is how the directory looks = like:

chapters/chapter1.tex
chapters/chapter2.tex
=E2=80=A6

output/
env_thesis.tex
prd_main.tex
ref.bib

I didn=E2=80=99t use the = project.

1. How do I specify output directory?

I = have already seen the following thread:






= --Apple-Mail=_B2524516-F3C1-47D1-8D8E-0B79B0F4CF71-- --===============1495857940869604088== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1495857940869604088==--