From: pol stra <ryzz@hotmail.fr>
To: conteXt mail <ntg-context@ntg.nl>
Subject: Project structure
Date: Wed, 5 Feb 2014 11:21:42 +0100 [thread overview]
Message-ID: <DUB124-W50AF2291D9582F71D982C6B1950@phx.gbl> (raw)
In-Reply-To: <DUB124-W7A61A44931264E38D65CDB1950@phx.gbl>
[-- Attachment #1.1: Type: text/plain, Size: 1448 bytes --]
Hello,
I want to organize my book as follow:
book/
env_book.tex
prd_book.tex
chapters/
chap_1.tex
chap_1/
intro.tex
chap_2.tex
chap_2/
intro.tex
chap_3.tex
chap_3/
intro.tex
chap_4.tex
chap_4/
intro.tex
Here is the contents of my texfiles:
env_book.tex:
\startenvironment env_book
\usepath[{chapters}]
\stopenvironment
prd_book.tex:
\environment env_book
\startproduct book
\startchapter[title=Chapter 1]
\component chap_1
\stopchapter
\startchapter[title=Chapter 2]
\component chap_2
\stopchapter
\startchapter[title=Chapter 3]
\component chap_3
\stopchapter
\startchapter[title=Chapter 4]
\component chap_4
\stopchapter
\stopproduct
chap_1.tex
\usepath[{chapters/chap_1}]
\startcomponent chap_1
\component intro
\stopcomponent
chap_2.tex
\usepath[{chapters/chap_2}]
\startcomponent chap_2
\component intro
\stopcomponent
and so on.
The problem is that only text of first introduction is used. I want to avoid renaming all introduction files to intro_1.tex intro_2.tex etc because they are already differentiated by their folder.
Is it possible ? The aim is also to have folders for sections and images for each chapter. I attached the project structure.
Thank you,
[-- Attachment #1.2: Type: text/html, Size: 2588 bytes --]
[-- Attachment #2: book.zip --]
[-- Type: application/zip, Size: 3068 bytes --]
[-- Attachment #3: 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 parent reply other threads:[~2014-02-05 10:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DUB124-W7A61A44931264E38D65CDB1950@phx.gbl>
2014-02-05 10:21 ` pol stra [this message]
2014-02-06 21:25 ` Marco Patzer
2014-02-09 11:25 ` Pol Stra
2014-07-26 9:01 project structure Hans Hagen
2014-07-27 11:24 ` Procházka Lukáš Ing. - Pontex s. r. o.
2014-07-27 13:59 ` Hans Hagen
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=DUB124-W50AF2291D9582F71D982C6B1950@phx.gbl \
--to=ryzz@hotmail.fr \
--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).