Re: [NTG-context] float names and lists
On 25-11-2011 20:01, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Otared, On Fri, 25 Nov 2011 09:11:05 -0700, Otared Kavian wrote: By the way, you had a mistyping in your code: 2. \placelistoftablescws produces an undefined control sequence: What am I missing here? ………..^ … it should be \placelistoftablecws Then everything works as Wolfgang pointed out. Ah, u caught that ;-) OTOH it was only in my list post, once I added the plural arg here all works. Hans is adding criterium=component to the next beta :-) so in a way it's all moot, but it's been a very good exercise nonetheless. It's probabaly already in the beta but it might be that the garden blocks this new feature till there is a proper wiki entry -) 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 - ___ 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] float names and lists
Hi Otared, On Fri, 25 Nov 2011 09:11:05 -0700, Otared Kavian wrote: By the way, you had a mistyping in your code: 2. \placelistoftablescws produces an undefined control sequence: What am I missing here? ………..^ … it should be \placelistoftablecws Then everything works as Wolfgang pointed out. Ah, u caught that ;-) OTOH it was only in my list post, once I added the plural arg here all works. Hans is adding criterium=component to the next beta :-) so in a way it's all moot, but it's been a very good exercise nonetheless. 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 ___
Re: [NTG-context] float names and lists
On 25 nov. 2011, at 15:09, Idris Samawi Hamid ادريس سماوي حامد wrote: > On Thu, 24 Nov 2011 22:17:43 -0700, Wolfgang Schuster > wrote: > >> It works when you give \definefloat a second argument with the plural name >> of your float. > > Ah! Thank you, Wolfgang, for pointing that out! Missed it completely … > Hi Idriss, By the way, you had a mistyping in your code: > > 2. \placelistoftablescws produces an undefined control sequence: What am I > missing here? ………..^ … it should be \placelistoftablecws Then everything works as Wolfgang pointed out. Best regards: OK ___ 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] float names and lists
On Thu, 24 Nov 2011 22:17:43 -0700, Wolfgang Schuster wrote: It works when you give \definefloat a second argument with the plural name of your float. Ah! Thank you, Wolfgang, for pointing that out! Missed it completely ... 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 ___
Re: [NTG-context] float names and lists
Am 25.11.2011 um 03:02 schrieb Idris Samawi Hamid ادريس سماوي حامد: > On Thu, 24 Nov 2011 13:32:04 -0700, Idris Samawi Hamid ادريس سماوي حامد > wrote: > > > 2. \placelistoftablescws produces an undefined control sequence: What am > > I missing here? > > Experimenting from here, it seems there has been a protocol change: > > Given \definefloat > > we used to have > > \placelistoffloats > > with 's' at the end. Now it's just > > \placelistoffloat It works when you give \definefloat a second argument with the plural name of your float. Wolfgang ___ 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] float names and lists
On Thu, 24 Nov 2011 13:32:04 -0700, Idris Samawi Hamid ادريس سماوي حامد wrote:> 2. \placelistoftablescws produces an undefined control sequence: What am > I missing here?Experimenting from here, it seems there has been a protocol change: Given \definefloatwe used to have\placelistoffloatswith 's' at the end. Now it's just\placelistoffloatSo the following now works:\definefloat[tablecw] \setuplabeltext[tablecw=Table]\starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Regular Caption.} {\starttable[|c|c|c|]\HL \VL Test \VL Test \VL Test \VL\FR \HL \stoptable}\setupfloats[location=middle] \placetablecw [here] [tablecw:test]{An Alternate Caption.} {\starttable[|c|c|c|]\HL \VL Test \VL Test \VL Test \VL\FR \HL \stoptable}\placelistoftables\placelistoftablecw \stoptext Still, a criterium=component option etc would be quite useful, as mentioned in another message ...Best wishesIdris-- 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 ___
Re: [NTG-context] float names and lists
On Thu, 24 Nov 2011 13:32:04 -0700, Idris Samawi Hamid ادريس سماوي حامد wrote: 1. How do I change the prefix that heads the caption of a table? For example, \definefloat[tablecw] produces Tablecw 1 I want to keep the command name of the float but change the prefix. I tried things like \setupcaption[tablecw][prefix=My Table] \setupcaption[tablecw][name=My Table] but no success. \setuplabeltext[tablecw=Table] But challenge 2 remains unsolved. 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 ___
[NTG-context] float names and lists
Dear gang, Consider the following: = \definefloat[tablecw] % \setupfloat[tablecw] \setupcaption[tablecw][prefix=Table] \starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Caption.} {\starttable[|c|c|c|] \HL \VL Test \VL Test \VL Test \VL\FR \HL \stoptable} \setupfloats[location=middle] \placetablecw [here] [tablecw:test]{A Caption.} {\starttable[|c|c|c|] \HL \VL Test \VL Test \VL Test \VL\FR \HL \stoptable} \placelistoftables % \placelistoftablescws \stoptext = Two challenges: 1. How do I change the prefix that heads the caption of a table? For example, \definefloat[tablecw] produces Tablecw 1 I want to keep the command name of the float but change the prefix. I tried things like \setupcaption[tablecw][prefix=My Table] \setupcaption[tablecw][name=My Table] but no success. 2. \placelistoftablescws produces an undefined control sequence: What am I missing here? 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 ___