* Project structure – how to process product file
@ 2011-09-10 10:16 Honza Hejzl
2011-09-10 10:23 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Honza Hejzl @ 2011-09-10 10:16 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 930 bytes --]
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
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...
Thanks, Honza Hejzl
[-- Attachment #1.2: Type: text/html, Size: 5671 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Project structure – how to process product file
2011-09-10 10:16 Project structure – how to process product file Honza Hejzl
@ 2011-09-10 10:23 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-09-10 10:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-10 10:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-10 10:16 Project structure – how to process product file Honza Hejzl
2011-09-10 10:23 ` Wolfgang Schuster
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).