[NTG-context] PPCHTEX: bonds overlaps the radicals groups

2015-09-27 Thread DesdeChaves
Some time ago I wrote the code attached to create random branched organic
molecules. However, with recent versions of Context the carbon-carbon bonds
overwrites the radicals. How can I fix this?

Another question: is there a way to change the bonds color? I would like to
 blank some radicals and bonds and ask the students to draw it.

Thanks and have a nice sunday.


teste.tex
Description: TeX document
___
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
___

[NTG-context] Question on register sort order and default method

2015-09-27 Thread Rik Kabel
Why does the sort order (for registers, lists of synonyms, and so on) 
differ when no method is specified compared to when method=default is 
specified? That is, should not the default method applied when no method 
is specified be that named ‘default’?


   \setupregister[index][n=1]
   \starttext
   \index{Abc, def}\index{Abcdef, ghi}\index{abc, def}\index{abcdef, ghi}

   \subject{Placeindex with no explicit method}
   \placeindex

   \subject{Placeindex with \quote{default} method}
   \placeindex[method=default]

   \stoptext

Where can documentation of the four defined methods (apparently: first, 
last, before, after, and default) be found? Where can documentation on 
the use of method mapping and cases, and unicode ordering, be found, or 
at least something not as cryptic as found on the mailing list 
[1]?


[1] http://www.mail-archive.com/ntg-context%40ntg.nl/msg50454.html
--
Rik
___
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
___

Re: [NTG-context] Ordered list of references (figures)

2015-09-27 Thread Henning Hraban Ramm
PING! I would really appreciate an answer.

Am 2015-09-22 um 17:39 schrieb Henning Hraban Ramm :

> Am 2015-09-22 um 10:49 schrieb Henning Hraban Ramm :
> 
>> Hi wizards,
>> 
>> in my current book projects I need a list of figure references, ordered by 
>> author and page number.
>> Like this:
>> 
>> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm 
>> (p.3ff.)
>> 
>> How can I do that? I.e.
>> - How can I assign an author name/reference to a figure?
>> – How can I output that list?
>> 
>> About like this?:
>> 
>> \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban
>>  Ramm}
>> 
>> \ref[t][someref] (\at{p.}[someref]) % put this in some command that is 
>> called by \listoffigures ?
>> 
>> 
>> Extension: I need to integrate some unnumbered pages into the list, like the 
>> cover.
> 
> Ok, I can use registers for that:
> 
> \defineregister[fidx]
> \setupregister[fidx][%
>   n=1,
>   compress=yes,
>   indicator=no,
>   distance=0.5em,
>   before={},
>   after={,},
>   prefix=none,
> ]
> \setupheadtext[fidx=Figures]
> 
> I can influence the order like \fidx[spinoza]{Baruch Spinoza}, great.
> 
> That gets me as far as:
> 
> Hraban 2–3, 5, 7, 9–10, 12, 14, 16–17, 19, 21, 23–24, 26, 28, 30–31, 33, 35
> Picasso 1–2, 4–5, 8–9, 11–12, 15–16, 18–19, 22–23, 25–26, 29–30, 32–33
> 
> But I’d like to have
> 
> Hraban (p.2–3, 5, 7, 9–10, 12, 14, 16–17, 19, 21, 23–24, 26, 28, 30–31, 33, 
> 35), Picasso (p.1–2, 4–5, 8–9, 11–12, 15–16, 18–19, 22–23, 25–26, 29–30, 
> 32–33)
> 
> 
> For inserting a page name like "Cover" I tried
> \writetoregister[fidx][Picasso]{Cover}
> 
> But \writetoregister is undefined!? (As well as \writetofidx)
> 
> What else can I use?
> 
> 
> Greetlings, Hraban
> ---
> http://www.fiee.net
> http://wiki.contextgarden.net
> https://www.cacert.org (I'm an assurer)
> 
> ___
> 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
> ___

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