From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89950 Path: news.gmane.org!not-for-mail From: Keith Schultz Newsgroups: gmane.comp.tex.context Subject: Re: Can I use mkii and mkiv side by side? Date: Mon, 26 Jan 2015 19:51:21 +0100 Message-ID: References: <8F6790B0-69F1-498C-BF27-23EB5E0D508E@icloud.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="===============1753367761==" X-Trace: ger.gmane.org 1422298348 12449 80.91.229.3 (26 Jan 2015 18:52:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 18:52:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 26 19:52:27 2015 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 1YFols-0008Fp-F1 for gctc-ntg-context-518@m.gmane.org; Mon, 26 Jan 2015 19:52:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C78E810217 for ; Mon, 26 Jan 2015 19:52:23 +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 VmoU8OseNxjl for ; Mon, 26 Jan 2015 19:52:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B7C0D1022D for ; Mon, 26 Jan 2015 19:51:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 52516101EA for ; Mon, 26 Jan 2015 19:51:47 +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 424nv68YFRQe for ; Mon, 26 Jan 2015 19:51:46 +0100 (CET) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 8A0D3101E8 for ; Mon, 26 Jan 2015 19:51:46 +0100 (CET) Original-Received: from st11p06mm-asmtp002.mac.com (st11p06mm-asmtp002.mac.com [17.172.124.250]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t0QJBRgx007093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 26 Jan 2015 20:11:28 +0100 Original-Received: from [10.0.0.106] (p54AA7894.dip0.t-ipconnect.de [84.170.120.148]) by st11p06mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NIS00A1ZSDMSQ40@st11p06mm-asmtp002.mac.com> for ntg-context@ntg.nl; Mon, 26 Jan 2015 10:51:24 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-01-26_02:2015-01-25,2015-01-26,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412080000 definitions=main-1501260181 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=17.172.124.250; country=US; region=California; city=Cupertino; latitude=37.3230; longitude=-122.0322; http://maps.google.com/maps?q=37.3230,-122.0322&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04NIHbszB - 87ecf8e6a78a - 20150126 (trained as not-spam) Received-SPF: pass (filter2-utr.mf.surf.net: domain of keithjschultz@icloud.com designates 17.172.124.250 as permitted sender) receiver=filter2-utr.mf.surf.net; client-ip=17.172.124.250; envelope-from=; helo=st11p06mm-asmtp002.mac.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:89950 Archived-At: --===============1753367761== Content-type: multipart/alternative; boundary="Apple-Mail=_8BA27A05-C028-4E51-9950-70071EDF3398" --Apple-Mail=_8BA27A05-C028-4E51-9950-70071EDF3398 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Gerben, I would not say old-fasshoined , but old school. Wolgang said to use context, but that is just a script that calls = mtxrun! So you can use: mtxrun =97script context for other options look for: tool-mkiv.pdf I am sure your makefiles are more complex. regards Keith. > Am 26.01.2015 um 17:19 schrieb Gerben Wierda : >=20 > I don=92t use TeXShop for these projects. I use a separate editor in a = shell and a Makefile (very old-fashioned). The Makefile contains stuff = like: >=20 > OPEN=3Decho > MODE=3D--mode=3Dstandalone > ONCE=3D >=20 > .SUFFIXES: .pdf .tex .open >=20 > .pdf.open: > open $< >=20 > .tex.pdf: > texexec --pdf ${MODE} ${ONCE} $< >=20 > once: > make ONCE=3D"--once" book-open >=20 > full: > make ONCE=3D"" book-open >=20 > prd_book.pdf: ${PRODUCTSDIR}/prd_book.tex ${ENVDIR}/env_cataoia.tex \ > $(TEXS) $(BOOKIMAGES) = /Users/gerben/Library/texmf/bibtex/bib/gwierda.bib > make MODE=3D"--mode=3Deditor" ONCE=3D"${ONCE}" = ${PRODUCTSDIR}/prd_book.pdf >=20 > I can do a quick compile with 'make once' and a full compile with = 'make full=92. And if I compile a separate chapter file it ends up being = compiled differently from compiling a full book (e.g. the endnotes and = bibliography end up at the end of the chapter) so I can work on separate = chapters. >=20 > luna:chapters gerben$ make -n c_loosely.pdf > texexec --pdf --mode=3Dstandalone c_loosely.tex > luna:chapters gerben$ make -n prd_book.pdf > make MODE=3D"--mode=3Deditor" ONCE=3D"" ../products/prd_book.pdf >=20 > The latter turns into >=20 > texexec --pdf --mode=3Deditor ../products/prd_book.tex >=20 > And the environment file has: >=20 > \startmode[standalone] > = \setupfootertexts[pagenumber][{\jobname->\filename{\currentcomponent}}] > \def\maybeendnotes > {\subsubject{Notes} \placenotes[endnote] = \subsubject{Bibliography} > \switchtobodyfont[9pt] > \placepublications[criterium=3Dall]} > \appendtoks \maybeendnotes \to \everystoptext > \stopmode >=20 > So, what would be easiest for me if I know what commend to use instead = of the texexec command. >=20 > G [snip, snip] --Apple-Mail=_8BA27A05-C028-4E51-9950-70071EDF3398 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Hi Gerben,

I would not say old-fasshoined , but old school.

Wolgang said to use = context, but that is just a script that calls mtxrun!

So you can = use:

mtxrun = =97script context

for other options look for:

tool-mkiv.pdf

I am sure your makefiles are more = complex.

regards
Keith.

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

I don=92t use = TeXShop for these projects. I use a separate editor in a shell and a = Makefile (very old-fashioned). The Makefile contains stuff like:

OPEN=3Decho
MODE=3D--mode=3Dstandalone
ONCE=3D

.SUFFIXES: .pdf .tex = .open

.pdf.open:
        open = $<

.tex.pdf:
        texexec = --pdf ${MODE} ${ONCE} $<

once:
        make = ONCE=3D"--once" book-open

full:
      =   make ONCE=3D"" book-open
prd_book.pdf: = ${PRODUCTSDIR}/prd_book.tex ${ENVDIR}/env_cataoia.tex \
        $(TEXS) $(BOOKIMAGES) = /Users/gerben/Library/texmf/bibtex/bib/gwierda.bib
        make MODE=3D"--mode=3Deditor" = ONCE=3D"${ONCE}" ${PRODUCTSDIR}/prd_book.pdf

I can do a quick compile with 'make once' and a full compile = with 'make full=92. And if I compile a separate chapter file it ends up = being compiled differently from compiling a full book (e.g. the endnotes = and bibliography end up at the end of the chapter) so I can work on = separate chapters.

luna:chapters gerben$ make -n c_loosely.pdf
texexec --pdf --mode=3Dstandalone  = c_loosely.tex
luna:chapters gerben$ make -n = prd_book.pdf
make MODE=3D"--mode=3Deditor" ONCE=3D"" = ../products/prd_book.pdf

The latter turns into

texexec --pdf = --mode=3Deditor  ../products/prd_book.tex

And the environment file = has:

\startmode[standalone]
  = \setupfootertexts[pagenumber][{\jobname->\filename{\currentcomponent}}]=
  \def\maybeendnotes
     = {\subsubject{Notes} \placenotes[endnote] = \subsubject{Bibliography}
        = \switchtobodyfont[9pt]
        = \placepublications[criterium=3Dall]}
  \appendtoks = \maybeendnotes \to \everystoptext
\stopmode

So, what would be = easiest for me if I know what commend to use instead of the texexec = command.

G
[snip, = snip]
= --Apple-Mail=_8BA27A05-C028-4E51-9950-70071EDF3398-- --===============1753367761== 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= --===============1753367761==--