Re: [NTG-context] OOP in Metafun.

2012-12-10 Thread Andre Caldas
>> But I would like to use some "object oriented" like approach. >> [...] >> How do I do that in METAFUN/METAPOST? > > You may want to take a look at my attempt: > > http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/metappeal Looks nice! I didn't find any "license" explaining the licensi

[NTG-context] beta

2012-12-10 Thread Hans Hagen
Hi, I uploaded a beta. There are some minor changes in the mp machinery (as preparation for 'double' support. As I upgraded some file related code recently there can be issues (easy to solve once known as it's hard to foresee all bordercases). Hans -- ---

[NTG-context] Lettrines & MKIV

2012-12-10 Thread Bill Meahan
Does the lettrine module not work with MKIV? The following setup was taken directly from the module documentation. Sorry for the extra text but I wanted to try and make sure there were at least five lines of output. If I remove all setups and just use the defaults, I don't get the error messag

Re: [NTG-context] Resetting Page Numbers

2012-12-10 Thread Troy Henderson
Thanks again Wolfgang. That works perfectly. Troy ___ 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-contex

Re: [NTG-context] Resetting Page Numbers

2012-12-10 Thread Wolfgang Schuster
Am 10.12.2012 um 17:11 schrieb Troy Henderson : > I would like to reset the page number counter after the first (title) page. > Currently, I have > > \setupfooter[state=empty] > \setuppagenumbering[location={footer,middle}] > \setupfootertexts[Page \currentpage\ of \lastpage] > \starttext >

Re: [NTG-context] Section Header and Enumerations

2012-12-10 Thread Troy Henderson
> >prefixconnector=-, > Beautiful. Thank you! Troy ___ 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-

Re: [NTG-context] Section Header and Enumerations

2012-12-10 Thread Wolfgang Schuster
Am 10.12.2012 um 16:53 schrieb Troy Henderson : > Provide a minimal example next time. > > Apologies. I certainly will. > > \setupitemgroup > [itemize] > [prefix=yes, >width=2em] > > This produces 1.1, 1.2, etc. for me instead of 1-2, 1-2, etc. \setupitemgroup [itemize] [prefix=y

[NTG-context] Resetting Page Numbers

2012-12-10 Thread Troy Henderson
I would like to reset the page number counter after the first (title) page. Currently, I have \setupfooter[state=empty] \setuppagenumbering[location={footer,middle}] \setupfootertexts[Page \currentpage\ of \lastpage] \starttext This is my title page \page \resetnumber[page] This i

Re: [NTG-context] Section Header and Enumerations

2012-12-10 Thread Troy Henderson
> Provide a minimal example next time. > Apologies. I certainly will. \setupitemgroup > [itemize] > [prefix=yes, >width=2em] > This produces 1.1, 1.2, etc. for me instead of 1-2, 1-2, etc. Troy ___ If your

Re: [NTG-context] Section Header and Enumerations

2012-12-10 Thread Wolfgang Schuster
Am 10.12.2012 um 16:26 schrieb Troy Henderson : > I would like for my section headers to have the following format: > > Section 1 -- First Section > Section 2 -- Second Section > ... > > and I would also like for enumeration lists, for example > > \startitemize[n] >\item Foo >\item Bar

[NTG-context] Section Header and Enumerations

2012-12-10 Thread Troy Henderson
I would like for my section headers to have the following format: Section 1 -- First Section Section 2 -- Second Section ... and I would also like for enumeration lists, for example \startitemize[n] \item Foo \item Bar \stopitemize to look like 1-1 Foo 1-2 Bar where the "1-" is the sect

Re: [NTG-context] OOP in Metafun.

2012-12-10 Thread Nicola
In article , Andre Caldas wrote: > Hello, list! > > I am writing down a macro package for commutative diagrams using metafun. > This is my first try: > https://bitbucket.org/andrecaldas/math-video-classes/src/9a050eab20348c9a9c9e5 > 0740618173648979f45/src/environments/diagrams.tex?at=default