[NTG-context] Command line arguments on context project
wolfgang.schuster.lists at gmail.com
Fri Dec 16 17:49:04 CET 2022
Jethro Djan via ntg-context schrieb am 16.12.2022 um 17:14:
> 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?
context --runpath=output ...
> I have already seen the following thread:
> 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
> ! Undefined control sequence
How do you load the chapter file in your product file?
The error message above appears because ConTeXt can't find the chapter
file of your document and uses one with the same name from a
documentation of a LaTeX class which has the same name.
> 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?
You need a reference to the environment file from within the component
file, otherwise ConTeXt has no knowledge of the bib file.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ntg-context