Re: [NTG-context] placefigure feature request ?

2006-04-13 Thread Hans Hagen
Sanjoy Mahajan wrote: this 'choose between locations' feature is kind of present but only with 'here' as fallback but it's trivial to make that configurable: I've been experimenting a bit with the code, and it is much appreciated. I added \unprotect..\protect and it compiled fine. The

Re: [NTG-context] placetable style argument trouble.

2006-04-13 Thread Hans Hagen
Johannes Graumann wrote: Hello, Why is in \setupTABLE[frame=off,split=repeat,splitmethod=a,style={\switchtobodyfont[small]\setupinterlinespace[line=2.8ex]}] the '\setupinterlinespace[line=2.8ex]' not honored (at least not with respect to the switched bodyfont)? add a \par after your

Re: [NTG-context] XML and Multipage table

2006-04-13 Thread Hans Hagen
Johannes Graumann wrote: Hello, Does anybody have an insight into why a table created with the following mapping rule for XML code does not present it's caption and is not split? Thanks Joh \defineXMLnested [table] {\bgroup \defineXMLsave[caption] \defineXMLsave[header]

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-13 Thread Hans Hagen
Miguel Queiros wrote: \placetable{Just an example}{\externalfigure[teste.tmp]} This is what I call 'creative usage' of a feature :) Better use \getbuffer for this. I was using \externalfigure because I saw that on the manual, and because I wanted to scale down the table to the

[NTG-context] alignment problems of units in table

2006-04-13 Thread Wolfgang
Hello I get the units always left aligned in my table while the rest gets the correct alignement. What do I do wrong? \starttable[|l|r|r|r|r|r|] \HL \NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR \NC \NC \Milli \Meter \NC \Milli \Meter \NC \Milli \Meter \NC \Gram \NC

Re: [NTG-context] multiple columns inside \framed

2006-04-13 Thread Hans Hagen
Mojca Miklavec wrote: Hello, I would like to typeset two columns of names inside one frame (centered horizontally). \startcolumns inside \framed doesn't work; is there any simple alternative? (Otherwise I'll manually split the content into two subframes.) I would appreciate any hints,

Re: [NTG-context] alignment problems of units in table

2006-04-13 Thread Hans Hagen
Wolfgang wrote: Hello I get the units always left aligned in my table while the rest gets the correct alignement. What do I do wrong? \starttable[|l|r|r|r|r|r|] \HL \NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR \NC \NC \Milli \Meter \NC \Milli \Meter \NC

Re: [NTG-context] Figure caption on different page?

2006-04-13 Thread Hans Hagen
Johannes Graumann wrote: Hello, Is it possible to place (for page sized figures) the caption on the next/previous page? \definefloat[caption] \setupfloat[caption][location=right] \defineframedtext [captiontext] [width=.5\textwidth] \setuppagenumbering[alternative=doublesided]

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-13 Thread Peter Rolf
Miguel Queiros wrote: \placetable{Just an example}{\externalfigure[teste.tmp]} This is what I call 'creative usage' of a feature :) Better use \getbuffer for this. I was using \externalfigure because I saw that on the manual, and because I wanted to scale down the table to the width of the

Re: [NTG-context] wrapping a long URL without added spaces

2006-04-13 Thread Alan Bowen
Taco— Many thanks for the diagnosis. That is a good start, but I guess that for now I will have to find another way get long interactive links into my docs. Best, Alan On Apr 12, 2006, at 8:45 AM, Taco Hoekwater wrote: Alan Bowen wrote: Hi, Taco! Here is a minimal file that

Re: [NTG-context] wrapping a long URL without added spaces

2006-04-13 Thread Alan Bowen
Hans— The problem arises if one has [Campbell] [{http://www.very.long.edu/very/very/long/url/2002dp1.pdf}] [] [{\hyphenatedurl{http://www.very.long.edu/very/very/long/url/ 2002dp1.pdf}}] and then tries \from[Campbell] with \setupinteraction[state=start,] But I see now that I that I can get the

Re: [NTG-context] alignment problems of units in table

2006-04-13 Thread Wolfgang
Hello, thanks a lot! I will have a look at the wiki and try to add this (will be my first addition). Wolfgang Hans Hagen schrieb: Wolfgang wrote: Hello I get the units always left aligned in my table while the rest gets the correct alignement. What do I do wrong?

Re: [NTG-context] floats spanning columns?

2006-04-13 Thread Hans Hagen
Karsten Heymann wrote: Hello Hans, Hans Hagen wrote: if a float is too wide it will be moved around; wide floats spanning columns and text flowing around it is not one of the strong points of normal columns At least I didn't overlook something simple :) Is there any easy fix to

Re: [NTG-context] Frame around table

2006-04-13 Thread Hans Hagen
WN wrote: Hi, I am trying to frame a horizontal itemized list like \framed[frame=on,height=2.1cm,width=16.4cm]{% \startitemize[8,columns,four] \item alleenstaand \item samenwonend/getrouwd \item eenoudergezin \item kinderen/leeftijd \stopitemize } but the list does not come out right.

Re: [NTG-context] wrapping a long URL without added spaces

2006-04-13 Thread Hans Hagen
Alan Bowen wrote: Hans— The problem arises if one has [Campbell] [{http://www.very.long.edu/very/very/long/url/2002dp1.pdf}] [] [{\hyphenatedurl{http://www.very.long.edu/very/very/long/url/ 2002dp1.pdf}}] and then tries \from[Campbell] with \setupinteraction[state=start,] But I see

Re: [NTG-context] placefigure feature request ?

2006-04-13 Thread Sanjoy Mahajan
[code for text key] \setupfloats[numbering=text] I included the code for numbering=text, to make the tex file below. Sadly, the figures are numbered 3-1-2 (i.e. as if numbering=nocheck were given). I also tried the context live and got the same order. Am I doing something silly? -Sanjoy

Re: [NTG-context] feature request: clipping option for externalfigure

2006-04-13 Thread Peter Münster
On Wed, 12 Apr 2006, Hans Hagen wrote: \ruledhbox{\clip{\useMPgraphic{test}}} of course, I've already tried \clip{\externalfigure[...][...]} but the figure disappears completely. \clip{\useMPgraphic{test}} disappears too. And now I see: it works for PDF output, so there is probably just

Re: [NTG-context] XML and chapter specific bibliographies

2006-04-13 Thread Johannes Graumann
Taco Hoekwater wrote: Johannes Graumann wrote: \placepublications[criterium=chapter] at least, that works for me. Not here. What's happening now is: the references are being sorted by chapter, but then all appended after the first chapter. So no reference listings for chapters 2-x ...

Re: [NTG-context] wrapping a long URL without added spaces

2006-04-13 Thread Alan Bowen
Again, thanks, Hans. Your help is very much appreciated. All best, Alan On Apr 13, 2006, at 9:00 AM, Hans Hagen wrote: Alan Bowen wrote: Hans— The problem arises if one has [Campbell] [{http://www.very.long.edu/very/very/long/url/2002dp1.pdf}] []

Re: [NTG-context] multiple columns inside \framed

2006-04-13 Thread Mojca Miklavec
On 4/13/06, Hans Hagen wrote: Mojca Miklavec wrote: Hello, I would like to typeset two columns of names inside one frame (centered horizontally). \startcolumns inside \framed doesn't work; is there any simple alternative?

[NTG-context] Bug with setupformulas and startalign?

2006-04-13 Thread Aditya Mahajan
Is this a bug or am I missing something simple? \startmode[bug] \setupformulas[align=right, leftmargin=3em] \stopmode \starttext \startformula \startalign \NC a \NC= b \NR \NC c \NC= d \NR \stopalign \stopformula \stoptext Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of

Re: [NTG-context] Bug with setupformulas and startalign?

2006-04-13 Thread Aditya Mahajan
On Thu, 13 Apr 2006, Aditya Mahajan wrote: Is this a bug or am I missing something simple? \startmode[bug] \setupformulas[align=right, leftmargin=3em] \stopmode \starttext \startformula \startalign \NC a \NC= b \NR \NC c \NC= d \NR \stopalign \stopformula \stoptext Should have

[NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-13 Thread Aditya Mahajan
Hi, When I use \placefigure[left] with some test, the text wraps around the figure. But if the paragraph, contains some formula, it does not wrap even after the figure is complete. How can I prevent such a behaviour. Example \startbuffer[figure] \placefigure [left] {}{} \stopbuffer

[NTG-context] \bigr bracket missing in antykwa

2006-04-13 Thread Aditya Mahajan
Hi, \bigr\} does not give me anything while using antykwa fonts. \big\} also does not work. \right\} works correctly. Is there something missing in the typescripts? I have no idea on how fonts work, so can not debug the problem. \usetypescript [antykwa-torunska][ec]

[NTG-context] chapter with letters rather than numbers?

2006-04-13 Thread Johannes Graumann
Hi, How would I use \setuphead[chapter] to have consecutive letters rather than numbers assigned to chapters (in my appendix)? Thanks for any hint, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context