From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89954 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Can I use mkii and mkiv side by side? Date: Mon, 26 Jan 2015 22:49:13 +0100 Message-ID: <87D5AD9E-0E5F-469F-97DC-29EE642DAB29@rna.nl> 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 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============1816857239==" X-Trace: ger.gmane.org 1422309016 3173 80.91.229.3 (26 Jan 2015 21:50:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 21:50:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 26 22:50:15 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 1YFrXv-0002od-TN for gctc-ntg-context-518@m.gmane.org; Mon, 26 Jan 2015 22:50:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A782103C6 for ; Mon, 26 Jan 2015 22:50:11 +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 MnH3R0-Rk4yv for ; Mon, 26 Jan 2015 22:50:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 458821022E for ; Mon, 26 Jan 2015 22:49:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A350E101EA for ; Mon, 26 Jan 2015 22:49:26 +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 zfUBj1o5-sQp for ; Mon, 26 Jan 2015 22:49:23 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id E7B4F101E8 for ; Mon, 26 Jan 2015 22:49:17 +0100 (CET) Original-Received: from mail.rna.nl (D57D7632.static.ziggozakelijk.nl [213.125.118.50]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t0QLmYSN001151 for ; Mon, 26 Jan 2015 22:48:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 64BD014D7035 for ; Mon, 26 Jan 2015 22:49:15 +0100 (CET) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t6T7eTghLG5p for ; Mon, 26 Jan 2015 22:49:14 +0100 (CET) Original-Received: from luna-wifi.rna.nl (draytekrouter.rna.nl [192.168.2.2]) by mail.rna.nl (Postfix) with ESMTPSA id 6217A14D701C for ; Mon, 26 Jan 2015 22:49:14 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.118.50; country=NL; region=North Brabant; city=Tilburg; latitude=51.5769; longitude=5.1063; http://maps.google.com/maps?q=51.5769,5.1063&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WNIJMy0C - 7bad5ad51e9c - 20150126 (trained as not-spam) Received-SPF: none (filter5-til.mf.surf.net: domain of gerben.wierda@rna.nl does not designate permitted sender hosts) receiver=filter5-til.mf.surf.net; client-ip=213.125.118.50; envelope-from=; helo=mail.rna.nl; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:89954 Archived-At: --===============1816857239== Content-Type: multipart/alternative; boundary="Apple-Mail=_7A0A6FB1-5B60-4E72-BD5F-0825D98563B4" --Apple-Mail=_7A0A6FB1-5B60-4E72-BD5F-0825D98563B4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 26 Jan 2015, at 19:51, Keith Schultz = wrote: > Hi Gerben, >=20 > I would not say old-fasshoined , but old school. >=20 > Wolgang said to use context, but that is just a script that calls = mtxrun! >=20 > So you can use: >=20 > mtxrun =97script context >=20 > for other options look for: >=20 > tool-mkiv.pdf Is that part of MacTeX? Or do I need to download a separate ConTeXt = somewhere and install it somewhere in the texlive directory structure? G > I am sure your makefiles are more complex. >=20 > regards > Keith. >=20 >> 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] >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_7A0A6FB1-5B60-4E72-BD5F-0825D98563B4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 On 26 = Jan 2015, at 19:51, Keith Schultz <keithjschultz@icloud.com> = wrote:

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

Is that = part of MacTeX? Or do I need to download a separate ConTeXt somewhere = and install it somewhere in the texlive directory = structure?

G


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]

_________________________________________________________= __________________________
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://tex.aanhet.net
archive =  : http://foundry.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_7A0A6FB1-5B60-4E72-BD5F-0825D98563B4-- --===============1816857239== 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= --===============1816857239==--