Feature request: criterium=component
Dear inner circle, I have two components, each a book in its own right, and each with multiple \part's, \chapter's, \section's etc. Through products and components I have all crossreferences between the two books set up, thanks to the mechanisms put in place this fall by Hans. I compile both components through the product file. Problem: I cannot separate the list of Tables in component~1 from those in component~2. So a list of Tables in component~1 contains the tables in component~ and vice versa. For TOC I was able to get around this by defining, for component~2, mirror section heads with different names but identical functionality to those in component~1. But for tables I have not been able to get this work-around to work: http://archive.contextgarden.net/message/20111124.203204.79333c77.en.html So, in any case, it sames that adding a criterium=component option would be the most user-friendly way to handle this kind of case. Is it feasible? Thnx in advance and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
On 25-11-2011 00:53, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear inner circle,
I have two components, each a book in its own right, and each with multiple \part's, \chapter's, \section's etc. Through products and components I have all crossreferences between the two books set up, thanks to the mechanisms put in place this fall by Hans.
I compile both components through the product file. Problem: I cannot separate the list of Tables in component~1 from those in component~2. So a list of Tables in component~1 contains the tables in component~ and vice versa.
For TOC I was able to get around this by defining, for component~2, mirror section heads with different names but identical functionality to those in component~1. But for tables I have not been able to get this work-around to work:
http://archive.contextgarden.net/message/20111124.203204.79333c77.en.html
So, in any case, it sames that adding a criterium=component option would be the most user-friendly way to handle this kind of case. Is it feasible? Thnx in advance and
Incredible what users come up with ... anyhow, it's that I can provide this with 10 lines of code, otherwise it was a no-go (unless for a project). \startproduct example-1-product \component example-1-component-a \component example-1-component-b \stopproduct \startcomponent example-1-component-a \starttitle[title=Contents] \placelist[chapter][criterium=component] \stoptitle \startchapter[title=Ward] \input ward \stopchapter \stopcomponent \startcomponent example-1-component-b \starttitle[title=Contents] \placelist[chapter][criterium=component] \stoptitle \startchapter[title=Zapf] \input zapf \stopchapter \stopcomponent Will be in the next beta. And *you* are going to wikify it! Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, 25 Nov 2011 03:34:07 -0700, Hans Hagen
Will be in the next beta. And *you* are going to wikify it!
Ok, done :-) http://wiki.contextgarden.net/Table_of_Contents#Tables_of_contents_.28and_ot... And thanks for implementing this! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
participants (2)
-
Hans Hagen
-
Idris Samawi Hamid ادريس سماوي حامد