ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Working with environments and projects
@ 2007-01-16 16:14 Jeff Smith
  2007-01-16 19:15 ` Henning Hraban Ramm
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jeff Smith @ 2007-01-16 16:14 UTC (permalink / raw)


Hi all!

I'm trying to work with environements, projects, products and
components. I have the following setup, involving juste one component
at the moment:

The component file is named acoustique.tex:

\startcomponent acoustique
\product prd_articlesdemo
\project project_dhfq2

[some text]

\stopcomponent

Then, in the same folder, there's the product file:

\startproduct prd_articlesdemo
\project project_dhfq2
\component acoustique
\stopproduct

Then, in the same folder, there's the project file:

\startproject project_dhfq2
\environment env_dhfq2
\product prd_articlesdemo
\stopproject

Then, in a folder above my working folder, there's the environment file:

\startenvironment env_dhfq2

[too much stuff to paste here]

\stopenvironment

Now when I compile either the component or the product, I get:

TeXExec | no ctx file found
TeXExec | nothing to process

What I am doing wrong? Is it right not to use \starttext ... \stoptext here?

Thanks!
JFS

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Working with environments and projects
  2007-01-16 16:14 Working with environments and projects Jeff Smith
@ 2007-01-16 19:15 ` Henning Hraban Ramm
  2007-01-16 19:35   ` Jeff Smith
  2007-01-16 22:57 ` Taco Hoekwater
  2007-01-17 13:02 ` Sanjoy Mahajan
  2 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2007-01-16 19:15 UTC (permalink / raw)



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

Am 2007-01-16 um 17:14 schrieb Jeff Smith:

> What I am doing wrong? Is it right not to use \starttext ...  
> \stoptext here?

Yes it it.

And I can't see why it shouldn't work.
Perhaps add some blank lines.
The filenames are of course the same as in your definitions?

Reference: http://wiki.contextgarden.net/Project_structure



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)


[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 3574 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Working with environments and projects
  2007-01-16 19:15 ` Henning Hraban Ramm
@ 2007-01-16 19:35   ` Jeff Smith
  0 siblings, 0 replies; 6+ messages in thread
From: Jeff Smith @ 2007-01-16 19:35 UTC (permalink / raw)


On 1/16/07, Henning Hraban Ramm <hraban@fiee.net> wrote:
> The filenames are of course the same as in your definitions?

Yes they are. I've followed everything in the Wiki or the reference
manual. I'm lost! :-)

JFS

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Working with environments and projects
  2007-01-16 16:14 Working with environments and projects Jeff Smith
  2007-01-16 19:15 ` Henning Hraban Ramm
@ 2007-01-16 22:57 ` Taco Hoekwater
  2007-01-17 19:27   ` Jeff Smith
  2007-01-17 13:02 ` Sanjoy Mahajan
  2 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2007-01-16 22:57 UTC (permalink / raw)


Jeff Smith wrote:
> Hi all!
> 
> I'm trying to work with environements, projects, products and
> components. I have the following setup, involving juste one component
> at the moment:
> 
> The component file is named acoustique.tex:
> 
> \startcomponent acoustique
> \product prd_articlesdemo
> \project project_dhfq2
> 
> [some text]
> 
> \stopcomponent
> 
> Then, in the same folder, there's the product file:
> 
> \startproduct prd_articlesdemo
> \project project_dhfq2
> \component acoustique
> \stopproduct
> 
> Then, in the same folder, there's the project file:
> 
> \startproject project_dhfq2
> \environment env_dhfq2
> \product prd_articlesdemo
> \stopproject
> 
> Then, in a folder above my working folder, there's the environment file:
> 
> \startenvironment env_dhfq2
> 
> [too much stuff to paste here]
> 
> \stopenvironment
> 
> Now when I compile either the component or the product, I get:
> 
> TeXExec | no ctx file found
> TeXExec | nothing to process
> 

TeXExec normally say this if there is not any file mentioned
on the command line, or if it cannot find any file based on the
name supplied on that commandline.

Quick recap (but you probably double checked all of this
a number of times by now):

1. your file is called prd_articlesdemo.tex
2. you (as a user) have file permissions to read the file
3. you are in the directory where that file is
4. your command is: "texexec prd_articlesdemo"

That really should do the trick.

I am clueless about what else could be wrong.

Best, Taco

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Working with environments and projects
  2007-01-16 16:14 Working with environments and projects Jeff Smith
  2007-01-16 19:15 ` Henning Hraban Ramm
  2007-01-16 22:57 ` Taco Hoekwater
@ 2007-01-17 13:02 ` Sanjoy Mahajan
  2 siblings, 0 replies; 6+ messages in thread
From: Sanjoy Mahajan @ 2007-01-17 13:02 UTC (permalink / raw)


"Jeff Smith" <ascarel@gmail.com> wrote:
> What I am doing wrong? 

The setup looks okay to me too.  I use a similar setup with no
problems.  I just posted its source code <http://web.mit.edu/18.098/>.
You might compare the product/project/env files there with what you
have.

But if you send me off-list a .tar.gz of your source tree (or post it
if it's public and send me the url), I'll try it here and see what
goes wrong.  That will give data on whether, for one, the problem is
something peculiar to your context setup or it's a more general issue
(e.g. either a misnamed source file or a ConTeXt bug).

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Working with environments and projects
  2007-01-16 22:57 ` Taco Hoekwater
@ 2007-01-17 19:27   ` Jeff Smith
  0 siblings, 0 replies; 6+ messages in thread
From: Jeff Smith @ 2007-01-17 19:27 UTC (permalink / raw)


On 1/16/07, Taco Hoekwater <taco@elvenkind.com> wrote:

> TeXExec normally say this if there is not any file mentioned
> on the command line, or if it cannot find any file based on the
> name supplied on that commandline.

Okay. As a verification I processed my document manually with the
command line instead of using my editor (not scite), and what do you
know, it worked!

I just had to adjust my compiler information in my editor settings,
since my component files were now placed a folder further down in the
tree. Oopsie.

Glad to know I had the ConTeXt part okay first, this time. :-)

So thanks Taco, and all!

JFS

JF

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-17 19:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-16 16:14 Working with environments and projects Jeff Smith
2007-01-16 19:15 ` Henning Hraban Ramm
2007-01-16 19:35   ` Jeff Smith
2007-01-16 22:57 ` Taco Hoekwater
2007-01-17 19:27   ` Jeff Smith
2007-01-17 13:02 ` Sanjoy Mahajan

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).