Perfect. I think that modes will work nicely. To further explain my use case: I have a manuscript, which I would like to continue to evolve with editorial comments, suggestions, ideas for further development (some generated by the author, others by reviewers). At any given time the "text" of the document is lagging the editorial input. Revisions of the project are under "mercurial" source code control. The primary view of the document is to be a publication ready version, but in its draft form, the author's version should include the work-in-progress. Eventually, the editorial comments may diminish or be left for another day, and the work-in-progress will get incorporated into the main text. The "publication" view is useful if you have multiple people reviewing the book, and you don't want to proliferate the union of all editorial comments into the review copy. I wanted to capture this author-editor workflow under ConTeXt. I think modes will be just what I need. Thanks. On 08Aug15, Aditya Mahajan wrote:
On Sat, 8 Aug 2015, Pavneet Arora wrote:
I am working on a large book project. What I need done in ConTeXt is something similar to what Boris presented at TUG 2015:
http://tug.org/tug2015/abstracts/veytsman-access.txt
In other words, the output should address different audiences. In my case, I want the full project to continue to contain editorial comments, or notes by the author. I am thinking of using both margin notes, and specially styled paragraphs (narrower, font change, etc.). Then depending on the target audience, reader or editor, the editorial comment could be included or not.
Is there a recommended design pattern that I could use for this type of work?
I am not sure I completely understand your question, but have a look at modes: http://wiki.contextgarden.net/Modes
Aditya
-- ---- Pavneet Arora m: 647.406.6843 Waroc Informatik t: 416.937.9276