ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Can I use mkii and mkiv side by side?
Date: Mon, 23 Feb 2015 22:33:14 +0100	[thread overview]
Message-ID: <072202C1-6F56-4BD4-8D24-F11A7DFCE3DE@rna.nl> (raw)
In-Reply-To: <84CEB1AB-E3EB-49C3-BA41-71658AD74F76@web.de>


[-- Attachment #1.1: Type: text/plain, Size: 3737 bytes --]

I have a standard ConTeXt project setup (products, environment, chapters subdirectory). In the chapters subdirectory there is a Makefile. I’ve just installed mkiv. Can someone tell me what I need to change in this Makefile to compile my project with mkiv instead of mkii?

OPEN=echo
MODE=--mode=standalone
ONCE=

.SUFFIXES: .pdf .tex .open

.pdf.open:
	open $<

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

IMAGEDIR=../images
MPDIR=../mp
PRODUCTSDIR=../products
ENVDIR=../environments

TEXS=c_loosely.tex c_inconvenient.tex c_chess.tex c_goals.tex \
	c_orthodoxy.tex c_model.tex c_future.tex c_logic.tex \
	c_psatemplate.tex c_fsatemplate.tex c_introduction.tex \
	c_hurdles.tex c_bibliography.tex c_current.tex c_intermezzo.tex \
	c_cloud.tex
OPENS=c_loosely.open c_inconvenient.open c_chess.open c_goals.open \
	c_orthodoxy.open c_model.open c_future.open c_logic.open \
	c_fsatemplate.open c_psatemplate.open c_introduction.open \
	c_hurdles.open c_bibliography.open c_current.open c_intermezzo.open \
	c_cloud.open
PDFS=c_loosely.pdf c_inconvenient.pdf c_chess.pdf c_goals.pdf \
	c_orthodoxy.pdf c_model.pdf c_future.pdf c_logic.pdf \
	c_fsatemplate.pdf c_psatemplate.pdf c_introduction.pdf \
	c_hurdles.pdf c_bibliography.pdf c_current.pdf c_intermezzo.pdf \
	c_cloud.pdf
BOOKIMAGES=${IMAGEDIR}/ChessAndTheArtOfEA-ImagesBook.001.jpg \
	${IMAGEDIR}/ChessAndTheArtOfEA-ImagesBook.002.jpg \
	${IMAGEDIR}/ChessAndTheArtOfEA-ImagesBook.003.jpg \
	${IMAGEDIR}/ChessAndTheArtOfEA-ImagesBook.004.jpg \
	${IMAGEDIR}/psaprince2positioning.pdf \
	${IMAGEDIR}/eapsapositioning.pdf \
	${IMAGEDIR}/psaprocess.pdf

#.PHONY: $(OPENS)

default:
	make once

rebuild: reset
	make full
	
once:
	make ONCE="--once" book-open

full:
	make ONCE="" book-open

all: 	$(PDFS)

clean:
	rm -f %*

reset:
	rm -f *.bbl *.aux *.log *.tmp *.tui *.tuo *.mp *.blg *.top

realclean: clean reset

all-open: 	$(OPENS)

book-open: book
	open prd_book.pdf

book: prd_book.pdf

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



On 27 Jan 2015, at 13:06, Keith J. Schultz <keithjschultz@web.de> wrote:

> Hi Gerben,
> 
> Sorry, one typo!
> The file is tools-mkiv.pdf.
> 
> It is not in the MacTeX distribution! 
> You get it with Standalone, I normally use that!
> 
> But you can get it at:
> http://www.pragma-ade.nl/general/manuals/tools-mkiv.pdf
> 
> regards
> 	Keith.
> 
> 
>> Am 26.01.2015 um 22:49 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>> 
>> 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 —script 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?
>> 
> [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.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 13181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-02-23 21:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20 23:36 Gerben Wierda
2015-01-21 11:08 ` Otared Kavian
2015-01-21 11:55   ` Keith Schultz
2015-01-21 12:48     ` Otared Kavian
2015-01-21 13:31       ` Keith J. Schultz
2015-01-21 22:01         ` Otared Kavian
2015-01-26 16:19     ` Gerben Wierda
2015-01-26 16:29       ` Wolfgang Schuster
2015-01-26 18:51       ` Keith Schultz
2015-01-26 21:49         ` Gerben Wierda
2015-01-27 12:06           ` Keith J. Schultz
2015-02-23 21:33             ` Gerben Wierda [this message]
2015-02-23 21:37               ` Aditya Mahajan
2015-01-21 11:29 ` Keith J. Schultz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=072202C1-6F56-4BD4-8D24-F11A7DFCE3DE@rna.nl \
    --to=gerben.wierda@rna.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).