Hi John,
What Wolfgang said: `\product X` should be processed once inside
`\startproject` environments, and never otherwise. And you should
probably have products as your build targets, not projects.
@Hans: when I looked at the `processors` table in file-job.lua, I
found some discrepancies between the processing commands and the
reporting strings. Here is the table edited to show just the
discrepancies:
local processors = utilities.storage.allocate {
-- [we_are_inside_startthis] = {
-- [we_encounter_this] = { "string_for_message",
processing_command }, -- comment
-- }
[v_text] = {
[v_project] = { "none", context.processfileonce }, -- none
[v_product] = { "none", context.processfileonce }, -- none
},
[v_project] = {
[v_product] = { "once", context.processfilenone }, -- once
-- consistent, but strange comment
[v_component] = { "none", context.processfilenone }, -- many *
},
[v_product] = {
[v_product] = { "none", context.processfilemany }, -- none
},
}
Is this all right? In general, the reporing strings are the ones
consistent with the table at the bottom of
http://wiki.contextgarden.net/Project_structure
which is taken from page 3 of
http://pragma-ade.com/general/magazines/mag-1101.pdf
Cheers,
Sietse
On Wed, Aug 8, 2012 at 2:29 AM, john Culleton
In a MKIV file using the approved method of structuring projects, does the \product tag do anything or is it just internal documentation for the source file? When I process a file called book.tex and containing the tag: \product foobar the result is a file called book.pdf, just as if the tag did not exist.
-- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Police Procedural and Expose: "Death Wore Black" "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html ___________________________________________________________________________________ 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 ___________________________________________________________________________________