Re: [NTG-context] textbackground exceeds its scope

2006-04-25 Thread Aditya Mahajan
On Tue, 25 Apr 2006, Taco Hoekwater wrote: Hi Aditya , Aditya Mahajan wrote: i adapted the textbackground macros as well as the mp code to catch the border case Is this included in the latest release Yes, but (ConTeXt ver: 2006.04.22 10:41)? is no longer the latest release. :-)

Re: [NTG-context] ConTeXt + asymptote

2006-04-25 Thread Hans Hagen
Sanjoy Mahajan wrote: context parses the ps code and converts it to pdf and in the process uses tex to do the fonts %%Page: 1 1 0 0.5 dtransform truncate idtransform setlinewidth pop 1 setlinecap 1 setlinejoin gsave 0 0 translate newpath 273.998159 412.742829 moveto

[NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Johannes Graumann
Hello, I read out figures from my XML source by the following code: \defineXMLenvironment [figure] [width=\textwidth] [location=here] { \bgroup \defineXMLsave[floattitle] \defineXMLsave[caption] \defineXMLsave[graphic] } { \placefigure

Re: [NTG-context] Split TABLE plea.

2006-04-25 Thread Hans Hagen
Johannes Graumann wrote: Hello, Please have a look at the attached monster of a table - not very pretty to begin with - but I'll have to deal. Despite the patch from Hans the file includes, I'm unable to break the thing onto multiple pages. Can somebody please have mercy and nudge me into

Re: [NTG-context] General Float Placement Question

2006-04-25 Thread Hans Hagen
Randall Skelton wrote: Many thanks for the reply Hans. I'm a little puzzled by what happens when I use \setuppagenumbering[alternative=doublesided]. For example: it's actually trivial to provide: \starttext \dorecurse{10}{\input tufte \par} \placefigure [leftpage] [Fig:a] {Figure a

Re: [NTG-context] Split TABLE plea.

2006-04-25 Thread Johannes Graumann
Hans Hagen wrote: \bTABLE[split=yes,splitmethod=b] you say split=split Me stupid! Thanks! Is there a way to switch caption repetition off and header repetition on? Joh ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] General Float Placement Question

2006-04-25 Thread Hans Hagen
Randall Skelton wrote: Many thanks for the reply Hans. I'm a little puzzled by what happens when I use \setuppagenumbering[alternative=doublesided]. For example: you can also try this: \startpostponing \placefigure [Fig:a] {Figure a caption goes here}

Re: [NTG-context] ConTeXt + asymptote

2006-04-25 Thread Taco Hoekwater
I've posted this to the metapost list as well: I like metapost but, according to the following mail (on the metapost ML): [metapost] MP vs. Asymptote I don't want to start a flame, but since someone posted a message some time ago mentioning Asymptote I got curious and I have to say that I

Re: [NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Hans Hagen
Johannes Graumann wrote: Hello, I read out figures from my XML source by the following code: \defineXMLenvironment [figure] [width=\textwidth] [location=here] { \bgroup \defineXMLsave[floattitle] \defineXMLsave[caption] \defineXMLsave[graphic] } {

Re: [NTG-context] ConTeXt + asymptote

2006-04-25 Thread Taco Hoekwater
Hans Hagen wrote: looks parsable But you see only a small bit of the actual output ;-) From Mojca: Whoever is game can start with the diff below, but I'm also not sure it's worth it. My ideal figure program: 1. Agnostic about the tex engine (tex/latex/context), easy to integrate with

Re: [NTG-context] Split TABLE plea.

2006-04-25 Thread Hans Hagen
Johannes Graumann wrote: Hans Hagen wrote: \bTABLE[split=yes,splitmethod=b] you say split=split Me stupid! Thanks! Is there a way to switch caption repetition off and header repetition on? split=repeat -

[NTG-context] Arranging pages

2006-04-25 Thread Renaud AUBIN
Hi all, I'm working on my wedding's "Menu" with ConTeXt (I have started ConTeXt and metafun when making my wedding invitations ;) and already succeed to produce nice booklets) Considering two pages A and B, I would obtain: AB on the same page with setuparranging I obtain 0A B0 with 0 an empty

Re: [NTG-context] Arranging pages

2006-04-25 Thread Willi Egger
What you can do is e.g. the following: \definepapersize[Card][width=14.85cm,height=21cm] \setuppapersize[Card][A4,landscape] \setuplayout [topspace=1cm, backspace=1cm, margin=0pt, header=0pt, footer=0pt, height=19cm, width=12.5cm] \setuppaper[nx=2,ny=1]

[NTG-context] ConTeXt 2006.04.24 released

2006-04-25 Thread Taco Hoekwater
Hello all, I am pleased to announce that the new ConTeXt release from Hans Hagen can be downloaded as of now from the Pragma ADE website or one of its mirrors. http://www.pragma-ade.com/context/current/cont-tmf.zip http://context.aanhet.net/context/current/cont-tmf.zip

Re: [NTG-context] ConTeXt 2006.04.24 released

2006-04-25 Thread Nikolai Weibull
On 4/25/06, Taco Hoekwater [EMAIL PROTECTED] wrote: * New math environments: \startintertext and \startsubstack Is ConTeXt coming closer to what LaTeX and Nath has in way of math support? I.e., are we more or less incorporating the nice stuff from the two into ConTeXt now? nikolai

Re: [NTG-context] ConTeXt 2006.04.24 released

2006-04-25 Thread Hans Hagen
Nikolai Weibull wrote: On 4/25/06, Taco Hoekwater [EMAIL PROTECTED] wrote: * New math environments: \startintertext and \startsubstack Is ConTeXt coming closer to what LaTeX and Nath has in way of math support? I.e., are we more or less incorporating the nice stuff from the two

Re: [NTG-context] ConTeXt + asymptote

2006-04-25 Thread Sanjoy Mahajan
From:Hans Hagen [EMAIL PROTECTED] [asymptote eps] looks parsable Those lines are only a bit of the output. It's preceded by horrible pstricks and font code to parse (about 800 lines in that eps file). I'm not sure why asymptote decided to use pstricks. I think it's for figure inclusion,

Re: [NTG-context] ConTeXt 2006.04.24 released

2006-04-25 Thread Aditya Mahajan
On Tue, 25 Apr 2006, Nikolai Weibull wrote: On 4/25/06, Taco Hoekwater [EMAIL PROTECTED] wrote: * New math environments: \startintertext and \startsubstack Is ConTeXt coming closer to what LaTeX and Nath has in way of math support? I.e., are we more or less incorporating the nice stuff from

Re: [NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Johannes Graumann
Hans Hagen wrote: \expanded{% \placefigure [\XMLpar{figure}{location}{}] [\XMLpar{figure}{label}{unknown}] {{\bf\XMLflush{floattitle}} \XMLflush{caption}} } Thank you so much once again. Works now. I fail, however to grasp where to apply the '\expanded' with the

Re: [NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Johannes Graumann
Hans Hagen wrote: Johannes Graumann wrote: \expanded{% \placefigure [\XMLpar{figure}{location}{}] [\XMLpar{figure}{label}{unknown}] {{\bf\XMLflush{floattitle}} \XMLflush{caption}} } Some of my captions are REALLY long. So the TOF looks somewhat funny ... is there

Re: [NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Hans Hagen
Johannes Graumann wrote: Hans Hagen wrote: Johannes Graumann wrote: \expanded{% \placefigure [\XMLpar{figure}{location}{}] [\XMLpar{figure}{label}{unknown}] {{\bf\XMLflush{floattitle}} \XMLflush{caption}} } Some of my captions are REALLY

Re: [NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Hans Hagen
Johannes Graumann wrote: Hans Hagen wrote: \expanded{% \placefigure [\XMLpar{figure}{location}{}] [\XMLpar{figure}{label}{unknown}] {{\bf\XMLflush{floattitle}} \XMLflush{caption}} } Thank you so much once again. Works now. I fail, however

Re: [NTG-context] Register with numeric values

2006-04-25 Thread Hans Hagen
luigi scarso wrote: I'm using register with numeric values, eg \defineregister[MyReg][MyRegs] \starttext 123\MyReg[123] 345\MyReg[345] aaa\MyReg[aaa] \page \placeMyReg \stoptext but there aren't head as for entry 'aaa'. I'm looking into core-reg, but I've not ideas. numbers are

Re: [NTG-context] Table width trouble

2006-04-25 Thread Hans Hagen
nico wrote: On Sun, 23 Apr 2006 18:28:20 +0200, Hans Hagen [EMAIL PROTECTED] wrote: nico wrote: Hello, I come back with that damn table test case. With release 2006.04.22: [...] \long\def\dohandleTBLcellA#1#2[#3]#4% Thanks, it does it. Another torture case:

Re: [NTG-context] Itemize head symbol

2006-04-25 Thread Hans Hagen
nico wrote: Hello, Is it possible to change the symbol of \head in an itemize list, like \sym does for \item? i'm not sure if i understand the question ... heads are like items so the same symbols apply (or do you want different symbols for \item and \head in one itemize?)

[NTG-context] spurious line break in \switchtobodyfont

2006-04-25 Thread Mojca Miklavec
Hello, there is a misterious linebreak in the second example: abc\switchtobodyfont[ss]def abc\switchtobodyfont[,,ss]def Is this ConTeXt's fault or mine? Mojca ___ ntg-context mailing list ntg-context@ntg.nl

[NTG-context] Cranky booklet layout.

2006-04-25 Thread John R. Culleton
First I built a letter-on-tabloid booklet like this: \definepapersize[tabloid][width=11in,height=17in] \setuppapersize[letter][tabloid] \setuparranging[2UP,rotated,doublesided] \setuplayout[width=7in,location=doublesided,backspace=0.73in, topspace=.0in,height=10.3in] This worked pretty well. For