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, 26 Jan 2015 22:49:13 +0100 [thread overview]
Message-ID: <87D5AD9E-0E5F-469F-97DC-29EE642DAB29@rna.nl> (raw)
In-Reply-To: <D6BD414B-59FB-4055-9B57-07F0AC0BA35C@icloud.com>
[-- Attachment #1.1: Type: text/plain, Size: 2994 bytes --]
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?
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’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]
>
> ___________________________________________________________________________________
> 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: 8687 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
___________________________________________________________________________________
next prev parent reply other threads:[~2015-01-26 21:49 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 [this message]
2015-01-27 12:06 ` Keith J. Schultz
2015-02-23 21:33 ` Gerben Wierda
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=87D5AD9E-0E5F-469F-97DC-29EE642DAB29@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).