ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Feature request: criterium=component
@ 2011-11-24 23:53 Idris Samawi Hamid ادريس   سماوي حامد
  2011-11-25 10:34 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-11-24 23:53 UTC (permalink / raw)
  To: ntg-context, dev-context; +Cc: Hans Hagen

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
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Feature request: criterium=component
  2011-11-24 23:53 Feature request: criterium=component Idris Samawi Hamid ادريس   سماوي حامد
@ 2011-11-25 10:34 ` Hans Hagen
  2011-11-26  2:24   ` Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2011-11-25 10:34 UTC (permalink / raw)
  To: Idris Samawi Hamid ادريس
	سماوي حامد
  Cc: ntg-context, dev-context

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
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

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

* Re: Feature request: criterium=component
  2011-11-25 10:34 ` Hans Hagen
@ 2011-11-26  2:24   ` Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 0 replies; 3+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-11-26  2:24 UTC (permalink / raw)
  To: Hans Hagen; +Cc: ntg-context, dev-context

On Fri, 25 Nov 2011 03:34:07 -0700, Hans Hagen <pragma@wxs.nl> wrote:

> 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_other_lists.29_via_project_structures

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
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2011-11-26  2:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24 23:53 Feature request: criterium=component Idris Samawi Hamid ادريس   سماوي حامد
2011-11-25 10:34 ` Hans Hagen
2011-11-26  2:24   ` Idris Samawi Hamid ادريس   سماوي حامد

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