[NTG-context] Can I use mkii and mkiv side by side?

Keith Schultz keithjschultz at icloud.com
Mon Jan 26 19:51:21 CET 2015


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

I am sure your makefiles are more complex.

regards
	Keith.

> Am 26.01.2015 um 17:19 schrieb Gerben Wierda <gerben.wierda at rna.nl>:
> 
> I don’t 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=echo
> MODE=--mode=standalone
> ONCE=
> 
> .SUFFIXES: .pdf .tex .open
> 
> .pdf.open:
>         open $<
> 
> .tex.pdf:
>         texexec --pdf ${MODE} ${ONCE} $<
> 
> once:
>         make ONCE="--once" book-open
> 
> full:
>         make ONCE="" 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="--mode=editor" ONCE="${ONCE}" ${PRODUCTSDIR}/prd_book.pdf
> 
> I can do a quick compile with 'make once' and a full compile with 'make full’. 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=standalone  c_loosely.tex
> luna:chapters gerben$ make -n prd_book.pdf
> make MODE="--mode=editor" ONCE="" ../products/prd_book.pdf
> 
> The latter turns into
> 
> texexec --pdf --mode=editor  ../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=all]}
>   \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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150126/35870789/attachment.html>


More information about the ntg-context mailing list