* Enumeration @ 2010-04-17 13:27 Antoine Cailliau 2010-04-18 6:56 ` Enumeration Taco Hoekwater 2010-04-18 7:15 ` Enumeration Wolfgang Schuster 0 siblings, 2 replies; 6+ messages in thread From: Antoine Cailliau @ 2010-04-17 13:27 UTC (permalink / raw) To: ntg-context Hi all, I'm working on my thesis and I need a mechanism very similar to float and its reference/caption facilities except it can't be floating. My problem is the following: I've boxes to display corresponding to operators. They should be numbered (like figure, tables, etc.) and having a list is a plus and I should be able to do \about[myoperator] to display the name of the operator. I tried to declare a float and it works perfectly, except it is floating and do not respect the flow I would like to have. I tried enumeration but I can't do \about and I really need it. What is the best way to have such a behavior ? Thanks in advance, Antoine C. ___________________________________________________________________________________ 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] 6+ messages in thread
* Re: Enumeration 2010-04-17 13:27 Enumeration Antoine Cailliau @ 2010-04-18 6:56 ` Taco Hoekwater 2010-04-18 7:15 ` Enumeration Wolfgang Schuster 1 sibling, 0 replies; 6+ messages in thread From: Taco Hoekwater @ 2010-04-18 6:56 UTC (permalink / raw) To: mailing list for ConTeXt users Antoine Cailliau wrote: > Hi all, > > I'm working on my thesis and I need a mechanism very similar to float > and its reference/caption facilities except it can't be floating. > > My problem is the following: I've boxes to display corresponding to > operators. They should be numbered (like figure, tables, etc.) and > having a list is a plus and I should be able to do \about[myoperator] to > display the name of the operator. > > I tried to declare a float and it works perfectly, except it is floating > and do not respect the flow I would like to have. > > I tried enumeration but I can't do \about and I really need it. > > What is the best way to have such a behavior ? \placetable[force][reference]{caption}{some float} I am not sure whether you can feed 'force' into \setupfloat[location=force] but you could try that also. Best wishes, Taco ___________________________________________________________________________________ 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] 6+ messages in thread
* Re: Enumeration 2010-04-17 13:27 Enumeration Antoine Cailliau 2010-04-18 6:56 ` Enumeration Taco Hoekwater @ 2010-04-18 7:15 ` Wolfgang Schuster 2010-04-18 8:36 ` Enumeration Antoine Cailliau 1 sibling, 1 reply; 6+ messages in thread From: Wolfgang Schuster @ 2010-04-18 7:15 UTC (permalink / raw) To: mailing list for ConTeXt users Am 17.04.10 15:27, schrieb Antoine Cailliau: > Hi all, > > I'm working on my thesis and I need a mechanism very similar to float > and its reference/caption facilities except it can't be floating. > > My problem is the following: I've boxes to display corresponding to > operators. They should be numbered (like figure, tables, etc.) and > having a list is a plus and I should be able to do \about[myoperator] to > display the name of the operator. > > I tried to declare a float and it works perfectly, except it is floating > and do not respect the flow I would like to have. > > I tried enumeration but I can't do \about and I really need it. > \setupinteraction[state=start] \defineenumeration[test][title=yes] \starttext text \about[test] text \page \starttest[test]{knuth} \input knuth\par \stoptest \stoptext 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Enumeration 2010-04-18 7:15 ` Enumeration Wolfgang Schuster @ 2010-04-18 8:36 ` Antoine Cailliau 2010-04-18 8:53 ` Enumeration Antoine Cailliau 0 siblings, 1 reply; 6+ messages in thread From: Antoine Cailliau @ 2010-04-18 8:36 UTC (permalink / raw) To: mailing list for ConTeXt users Hi, Thanks a lot, this is exactly what I was looking for. Is there a way to edit the style of the title, like with caption ? Where is it documented (If any) ? Thanks in advance, Antoine On Sun, 2010-04-18 at 09:15 +0200, Wolfgang Schuster wrote: > Am 17.04.10 15:27, schrieb Antoine Cailliau: > > Hi all, > > > > I'm working on my thesis and I need a mechanism very similar to float > > and its reference/caption facilities except it can't be floating. > > > > My problem is the following: I've boxes to display corresponding to > > operators. They should be numbered (like figure, tables, etc.) and > > having a list is a plus and I should be able to do \about[myoperator] to > > display the name of the operator. > > > > I tried to declare a float and it works perfectly, except it is floating > > and do not respect the flow I would like to have. > > > > I tried enumeration but I can't do \about and I really need it. > > > \setupinteraction[state=start] > \defineenumeration[test][title=yes] > \starttext > text \about[test] text > \page > \starttest[test]{knuth} \input knuth\par \stoptest > \stoptext > > 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 > ___________________________________________________________________________________ -- Antoine Cailliau www.ac-graphic.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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Enumeration 2010-04-18 8:36 ` Enumeration Antoine Cailliau @ 2010-04-18 8:53 ` Antoine Cailliau 2010-04-18 11:08 ` Enumeration Wolfgang Schuster 0 siblings, 1 reply; 6+ messages in thread From: Antoine Cailliau @ 2010-04-18 8:53 UTC (permalink / raw) To: mailing list for ConTeXt users Ok, I read definition files and I found what I was looking for. For the archive of the ML: headstyle, headcolor, titlestyle, titlecolor, titleleft, titleright and text. Cheers, Antoine On 18 April 2010 10:36, Antoine Cailliau <antoinecailliau@gmail.com> wrote: > Hi, > > Thanks a lot, this is exactly what I was looking for. > > Is there a way to edit the style of the title, like with caption ? Where > is it documented (If any) ? > > Thanks in advance, > > Antoine > > On Sun, 2010-04-18 at 09:15 +0200, Wolfgang Schuster wrote: >> Am 17.04.10 15:27, schrieb Antoine Cailliau: >> > Hi all, >> > >> > I'm working on my thesis and I need a mechanism very similar to float >> > and its reference/caption facilities except it can't be floating. >> > >> > My problem is the following: I've boxes to display corresponding to >> > operators. They should be numbered (like figure, tables, etc.) and >> > having a list is a plus and I should be able to do \about[myoperator] to >> > display the name of the operator. >> > >> > I tried to declare a float and it works perfectly, except it is floating >> > and do not respect the flow I would like to have. >> > >> > I tried enumeration but I can't do \about and I really need it. >> > >> \setupinteraction[state=start] >> \defineenumeration[test][title=yes] >> \starttext >> text \about[test] text >> \page >> \starttest[test]{knuth} \input knuth\par \stoptest >> \stoptext >> >> 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 >> ___________________________________________________________________________________ > -- > Antoine Cailliau > www.ac-graphic.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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Enumeration 2010-04-18 8:53 ` Enumeration Antoine Cailliau @ 2010-04-18 11:08 ` Wolfgang Schuster 0 siblings, 0 replies; 6+ messages in thread From: Wolfgang Schuster @ 2010-04-18 11:08 UTC (permalink / raw) To: mailing list for ConTeXt users Am 18.04.10 10:53, schrieb Antoine Cailliau: > Ok, I read definition files and I found what I was looking for. > > For the archive of the ML: > headstyle, headcolor, titlestyle, titlecolor, titleleft, titleright and text. > It well help more when you send a minimal example of your setup. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-04-18 11:08 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-04-17 13:27 Enumeration Antoine Cailliau 2010-04-18 6:56 ` Enumeration Taco Hoekwater 2010-04-18 7:15 ` Enumeration Wolfgang Schuster 2010-04-18 8:36 ` Enumeration Antoine Cailliau 2010-04-18 8:53 ` Enumeration Antoine Cailliau 2010-04-18 11:08 ` Enumeration Wolfgang Schuster
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).