ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re:  Project structure – how to process product file
Date: Sat, 10 Sep 2011 12:23:12 +0200	[thread overview]
Message-ID: <6B1319C3-5A4C-4838-A7D0-07FA19ABA9CD@googlemail.com> (raw)
In-Reply-To: <CAG4oGFT8sarLPZqi_gDhdjx=yN8dvstWJ_jcekBT8RwZGG6TXw@mail.gmail.com>


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


Am 10.09.2011 um 12:16 schrieb Honza Hejzl:

> Hello,
> I am trying to split a book in separated chapter files. Every of them includes:
> 
> \startcomponent kap01
> \environment environ %this I use because it is great to fine-tune shorter parts of book, it saves a lot of time
> \product kniha
> \starttext
> ...
> \stoptext

Remove \starttext/\stoptext (not necessary) from your components and add \stopcomponent at the end of the files.

> Processing of single chapter files is ok.
> 
> In my productfile I have:
> 
> \startproduct kniha
> \component kap01
> \component kap02
> \stopproduct
> 
> Of course, I have both chapters saved like kap01.tex...
> 
> I have that directory structure:
> 
> \Pes\environ.tex
> \Pes\kap01\kap01.tex
> \Pes\kap02\kap02.tex
> \Pes\kniha\kniha.tex – this is the product file.
> 
> But when I try to process the product file, it saves kniha.log, kniha.tuc but no pdf file. Interesting is, the console says exactly:
> 
> mkiv lua stats > result saved in file - kniha.pdf
> 
> But no, it really doesn't save anything…

Put the product in the same directory as the environment and add \usepath[kap01,kap02] to your environment file.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 5331 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:[~2011-09-10 10:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-10 10:16 Honza Hejzl
2011-09-10 10:23 ` Wolfgang Schuster [this message]

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=6B1319C3-5A4C-4838-A7D0-07FA19ABA9CD@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).