Hi Wolfgang, Thanks for the quick and helpful reply. Is there also a way to change just the number colour and style in the example you provided?
-Shane Peelar On Tue, Oct 23, 2012 at 12:21 PM, <ntg-context-requ...@ntg.nl> wrote: > Send ntg-context mailing list submissions to > ntg-context@ntg.nl > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.ntg.nl/mailman/listinfo/ntg-context > or, via email, send a message with subject or body 'help' to > ntg-context-requ...@ntg.nl > > You can reach the person managing the list at > ntg-context-ow...@ntg.nl > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ntg-context digest..." > > > Today's Topics: > > 1. Re: Lua in Ctx: "require()" fails? (Hans Hagen) > 2. Re: using two columns on a poster (\setlayerframed) (Hans Hagen) > 3. Re: Lua in Ctx: "require()" fails? > (Proch?zka Luk?? Ing. - Pontex s. r. o.) > 4. Re: TABLE: header with a thick bottom line (Rogers, Michael K) > 5. Re: Lua in Ctx: "require()" fails? (Hans Hagen) > 6. Some odd behaviour I noticed in MkIV with respect to > enumerations (Shane Peelar) > 7. Re: Some odd behaviour I noticed in MkIV with respect to > enumerations (Wolfgang Schuster) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 23 Oct 2012 16:53:01 +0200 > From: Hans Hagen <pra...@wxs.nl> > To: "Proch?zka Luk?? Ing. - Pontex s. r. o." <l...@pontex.cz> > Cc: mailing list for ConTeXt users <ntg-context@ntg.nl> > Subject: Re: [NTG-context] Lua in Ctx: "require()" fails? > Message-ID: <5086af4d.4000...@wxs.nl> > Content-Type: text/plain; charset=ISO-8859-2; format=flowed > > On 23-10-2012 16:37, Proch?zka Luk?? Ing. - Pontex s. r. o. wrote: > > > resolvers > libraries > ! checking for "Test.lua" using "lua" path > > "d:/Lukas/Lua/?.lua" > > " > > > > in the output log but "d:\Lukas\Lua\Test.lua" is not found here (?!). > > > > So - ? > > no clue ... maybe an error in test.lua > > ---------------------------------------------------------------- > 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 > ----------------------------------------------------------------- > > > ------------------------------ > > Message: 2 > Date: Tue, 23 Oct 2012 16:54:13 +0200 > From: Hans Hagen <pra...@wxs.nl> > To: mailing list for ConTeXt users <ntg-context@ntg.nl> > Cc: Mojca Miklavec <mojca.miklavec.li...@gmail.com> > Subject: Re: [NTG-context] using two columns on a poster > (\setlayerframed) > Message-ID: <5086af95.2080...@wxs.nl> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 23-10-2012 16:21, Mojca Miklavec wrote: > > On Tue, Oct 23, 2012 at 4:05 PM, Aditya Mahajan wrote: > >> Perhaps, \startsimplecolumns > > > > Ouch. It seems like I'm asking the same question over and over again, > > and always get the same answer - to simplify things ;) This works in > > MKIV, but I have some problems with math in MKIV. In MKII this fails > > with > > > > ! Incomplete \iffalse; all text was ignored after line 49. > > <inserted text> > > \fi > > <*> poster.tex > > > > ? > > so how does your code look > > ----------------------------------------------------------------- > 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 > ----------------------------------------------------------------- > > > ------------------------------ > > Message: 3 > Date: Tue, 23 Oct 2012 16:58:57 +0200 > From: Proch?zka Luk?? Ing. - Pontex s. r. o. <l...@pontex.cz> > To: "Hans Hagen" <pra...@wxs.nl>, ConTeXt <ntg-context@ntg.nl> > Subject: Re: [NTG-context] Lua in Ctx: "require()" fails? > Message-ID: <op.wmmzwjd6tpjj8f@lpr> > Content-Type: text/plain; charset=iso-8859-2; format=flowed; delsp=yes > > On Tue, 23 Oct 2012 16:53:01 +0200, Hans Hagen <pra...@wxs.nl> wrote: > > > On 23-10-2012 16:37, Proch?zka Luk?? Ing. - Pontex s. r. o. wrote: > > > >> resolvers > libraries > ! checking for "Test.lua" using "lua" path > >> "d:/Lukas/Lua/?.lua" > >> " > >> > >> in the output log but "d:\Lukas\Lua\Test.lua" is not found here (?!). > >> > >> So - ? > > > > no clue ... maybe an error in test.lua > > ... Have you seen the content of "Test.lua"? It just prints some text... > > When I downgraded Ctx to the previous installed version, it works... > > Lukas > > > -- > Ing. Luk?? Proch?zka [mailto:l...@pontex.cz] > Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] > Bezov? 1658 > 147 14 Praha 4 > > Tel: +420 244 062 238 > Fax: +420 244 461 038 > > > > ------------------------------ > > Message: 4 > Date: Tue, 23 Oct 2012 15:13:10 +0000 > From: "Rogers, Michael K" <mrog...@emory.edu> > To: mailing list for ConTeXt users <ntg-context@ntg.nl> > Subject: Re: [NTG-context] TABLE: header with a thick bottom line > Message-ID: > < > 1e5a50c784a8ad44b420ef5a1e9b2806afc33...@e14mbx20n.enterprise.emory.net> > > Content-Type: text/plain; charset="iso-8859-2" > > One issue is that the overlay overlaps the text space (reduces whitespace > or potentially overlaps letters). One could use a blank row with a black > background, but a row seems to have a minimum height of about 2mm. I > discovered the "boffset" key, which can be used with the overlay, but it's > kludgy. > > Perhaps there is a better way... > > Michael > > > \startuseMPgraphic{MP:thickBtm} > draw bottomboundary OverlayBox withpen pensquare scaled > \frameddimension{bottomrulethickness}; > clip currentpicture to OverlayBox; > setbounds currentpicture to OverlayBox; > \stopuseMPgraphic > > \defineoverlay[OL:thickBtm][\useMPgraphic{MP:thickBtm}] > > \starttext > \bTABLE % Overlay method > \setupTABLE[align=middle] > % By eye, by trial: boffset = bottomrulethickness/2 - 0.2mm > > > \setupTABLE[header][background={OL:thickBtm},bottomrulethickness=3mm,boffset=1.3mm] > \setupTABLE[row][4][background={OL:thickBtm},bottomrulethickness=1.5mm, > boffset=.55mm] > % > \bTABLEhead\bTR\dorecurse{3}{\bTH#1\eTH}\eTR\eTABLEhead > > \bTABLEbody\dorecurse{6}{\bTR\dorecurse{3}{\bTD#1-##1\eTD}\eTR}\eTABLEbody > \eTABLE > \stoptext > > > ________________________________ > > This e-mail message (including any attachments) is for the sole use of > the intended recipient(s) and may contain confidential and privileged > information. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, distribution > or copying of this message (including any attachments) is strictly > prohibited. > > If you have received this message in error, please contact > the sender by reply e-mail message and destroy all copies of the > original message (including attachments). > > > ------------------------------ > > Message: 5 > Date: Tue, 23 Oct 2012 17:28:58 +0200 > From: Hans Hagen <pra...@wxs.nl> > To: "Proch?zka Luk?? Ing. - Pontex s. r. o." <l...@pontex.cz> > Cc: ConTeXt <ntg-context@ntg.nl> > Subject: Re: [NTG-context] Lua in Ctx: "require()" fails? > Message-ID: <5086b7ba.1090...@wxs.nl> > Content-Type: text/plain; charset=ISO-8859-2; format=flowed > > On 23-10-2012 16:58, Proch?zka Luk?? Ing. - Pontex s. r. o. wrote: > > On Tue, 23 Oct 2012 16:53:01 +0200, Hans Hagen <pra...@wxs.nl> wrote: > > > >> On 23-10-2012 16:37, Proch?zka Luk?? Ing. - Pontex s. r. o. wrote: > >> > >>> resolvers > libraries > ! checking for "Test.lua" using "lua" > path > >>> "d:/Lukas/Lua/?.lua" > >>> " > >>> > >>> in the output log but "d:\Lukas\Lua\Test.lua" is not found here (?!). > >>> > >>> So - ? > >> > >> no clue ... maybe an error in test.lua > > > > .... Have you seen the content of "Test.lua"? It just prints some text... > > > > When I downgraded Ctx to the previous installed version, it works... > > When I make > > e:\tmp\whatever.lua (current path) > e:\tmp\whatever\something.lua > > And run > > \starttext > > \enabletrackers[resolvers.libraries] > > \startluacode > print("LUAINPUTS",os.getenv("LUAINPUTS")) > > require("whatever") ; > require("something") ; > \stopluacode > > \stoptext > > i get > > LUAINPUTS e:/tmp/whatever > resolvers > libraries > ! locating "whatever" as "whatever.lua" > using formats "texlua" > resolvers > libraries > ! checking for "whatever.lua"' using > format "tex" > resolvers > libraries > ! lib "whatever.lua" located on > "whatever.lua" > whatever > resolvers > libraries > ! locating "something" as "something.lua" > using formats "texlua" > resolvers > libraries > ! checking for "something.lua"' using > format "tex" > resolvers > libraries > ! checking for "something.lua"' using > format "lua" > resolvers > libraries > ! lib "something.lua" located on > "e:/tmp/whatever/something.lua" > something > > so it must be something with your path spec > > ----------------------------------------------------------------- > 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 > ----------------------------------------------------------------- > > > ------------------------------ > > Message: 6 > Date: Tue, 23 Oct 2012 11:58:05 -0400 > From: Shane Peelar <lookatyouhac...@gmail.com> > To: ntg-context@ntg.nl > Subject: [NTG-context] Some odd behaviour I noticed in MkIV with > respect to enumerations > Message-ID: > <CAEseUXkaFYJTGP=K= > bgrl8kztyzyxkehvohqga-vhb7b0bl...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hello everyone, > > I was going through a tutorial to learn how to set up theorem-like > environments in ConTeXt: > http://www.ntg.nl/maps/36/09.pdf > > and I noticed a few strange behaviours. I recognize that this tutorial was > written for MkII ConTeXt, > but after consulting the documentation in the latest ConTeXt manual and the > wiki, I have determined > that these features should still work. I'm looking at the "list" > functionality of enumerations and descriptions. > In MkII, you can do the following: > > \defineenumeration[blah][ > ... > list=listname, > listtext={Text goes here}] > > and every time the enumeration is used, it'll be placed in the list you > specify. > The tutorial referenced above uses this to place a list of theorems with > proper naming and numbering, > as well as lemmas and other math things. In MkIV, I noticed that this > functionality doesn't work, or at least not in the same way. I was not > able to do: > > \placelist[enumeration:listname] > > for example. I was able to do \placelist[blah], however. After scouring > this mailing list and consulting the source code, I haven't been able to > find anything that would give me this functionality in MkIV. Was this > intentional, or is there another way to get this functionality back? > > The other strangeness I noticed was the "separator" option in > defineenumeration. > Normally one could do: > \defineenumeration[blah2][ > ... > separator=--] > > and things would work as they should, however this doesn't seem to work in > MkIV. The last piece of functionality I noticed was not being able to set > the number style in defineenumeration (which again works in MkII, tested > this morning), like so: > > \defineenumeration[blah3][ > numberstyle=bold] > > The wiki shows that these options should all be there, and they appear to > be at least referenced in the source code, but I'm not familiar enough with > the codebase to really give a good judgment of that. I noticed in one file > "strc-des.mkiv" it says in a comment "lists and titles are experimental". > Could anyone please help me out with these features? > > Thanks, > Shane Peelar > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.ntg.nl/pipermail/ntg-context/attachments/20121023/aa97590f/attachment-0001.html > > > > ------------------------------ > > Message: 7 > Date: Tue, 23 Oct 2012 18:21:09 +0200 > From: Wolfgang Schuster <wolfgang.schus...@gmail.com> > To: mailing list for ConTeXt users <ntg-context@ntg.nl> > Subject: Re: [NTG-context] Some odd behaviour I noticed in MkIV with > respect to enumerations > Message-ID: <eaa672f0-522d-48f4-8dfb-e52f670ec...@gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > > Am 23.10.2012 um 17:58 schrieb Shane Peelar <lookatyouhac...@gmail.com>: > > > Hello everyone, > > > > I was going through a tutorial to learn how to set up theorem-like > environments in ConTeXt: > > http://www.ntg.nl/maps/36/09.pdf > > > > and I noticed a few strange behaviours. I recognize that this tutorial > was written for MkII ConTeXt, > > but after consulting the documentation in the latest ConTeXt manual and > the wiki, I have determined > > that these features should still work. I'm looking at the "list" > functionality of enumerations and descriptions. > > In MkII, you can do the following: > > > > \defineenumeration[blah][ > > ... > > list=listname, > > listtext={Text goes here}] > > > > and every time the enumeration is used, it'll be placed in the list you > specify. > > The tutorial referenced above uses this to place a list of theorems with > proper naming and numbering, > > as well as lemmas and other math things. In MkIV, I noticed that this > functionality doesn't work, or at least not in the same way. I was not > able to do: > > > > \placelist[enumeration:listname] > > > > for example. I was able to do \placelist[blah], however. After > scouring this mailing list and consulting the source code, I haven't been > able to find anything that would give me this functionality in MkIV. Was > this intentional, or is there another way to get this functionality back? > > > > The other strangeness I noticed was the "separator" option in > defineenumeration. > > Normally one could do: > > \defineenumeration[blah2][ > > ... > > separator=--] > > > > and things would work as they should, however this doesn't seem to work > in MkIV. The last piece of functionality I noticed was not being able to > set the number style in defineenumeration (which again works in MkII, > tested this morning), like so: > > > > \defineenumeration[blah3][ > > numberstyle=bold] > > > > The wiki shows that these options should all be there, and they appear > to be at least referenced in the source code, but I'm not familiar enough > with the codebase to really give a good judgment of that. I noticed in one > file "strc-des.mkiv" it says in a comment "lists and titles are > experimental". Could anyone please help me out with these features? > > \defineseparatorset[dash][][--] > > \defineenumeration > [test] > [text=Test, > headstyle=bolditalic, > numberseparatorset=dash] > > \starttext > > \placelist[test] > > \starttest[title={Knuth}] > \input knuth > \stoptest > > \startsubtest[title={Zapf}] > \input zapf > \stopsubtest > > \stoptext > > Wolfgang > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.ntg.nl/pipermail/ntg-context/attachments/20121023/acad7702/attachment.html > > > > ------------------------------ > > > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > > End of ntg-context Digest, Vol 100, Issue 63 > ******************************************** >
___________________________________________________________________________________ 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 ___________________________________________________________________________________