[NTG-context] Command line arguments on context project

Jethro Djan jthryeboah at gmail.com
Fri Dec 16 17:14:33 CET 2022

Dear list,

I am using the project structure to typeset my thesis. This is how the directory looks like:



I didn’t use the project.

1. How do I specify output directory?

I have already seen the following thread:

https://www.mail-archive.com/ntg-context@ntg.nl/msg101654.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg101654.html>

It doesn’t seem to work on a project. So for example when I run mtxrun —path=output --script context ../prd_main, I get this error: 

tex error on line 5 in file /usr/local/texlive/2022/texmf-dist/doc/latex/buctthesis/chapter1.tex: ! Undefined control sequence

2. How do I get CoTeXt to recognise the ref.bib file when I run the components not the product?

For context, I don’t want the references printed at the end of each chapter but I would like the in-text citation to work (if that is possible). If not, is it possible compile the whole product but only output a certain page range?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20221216/c715bd2d/attachment.htm>

More information about the ntg-context mailing list