[NTG-context] Is setupspacing configurable?

2010-12-07 Thread seasoul
I am setting up the space after a period. >From the context manual, it is said that "Default a space is placed after a period that ends a sentence. In some countries it is custom to stretch the space after a period. ... One can however change this spacing \setupspacing[...] ...broad packed if thi

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Aditya Mahajan
On Tue, Dec 7, 2010 at 2:30 PM, Hans Hagen wrote: > On 7-12-2010 6:57, Aditya Mahajan wrote: > >> Thanks for the explanation. But, I am not too keen to write parsers on >> my own when I can easily borrow existing ones. > > sure, but a simple one can be: > > function myparser(str) >  .. call your p

[NTG-context] heading in margin + paragraph starting with float

2010-12-07 Thread Philipp Gesang
Dear fellow contextualists, a while ago Wolfgang saved me from erratic blank lines that had kept appearing next to margin headings.[1] Now the problem arose again when starting the first paragraph with a caption. Placement does not seem to effect this (try “bottom”, but at sufficiently large size

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Peter Münster
On Tue, Dec 07 2010, Renaud AUBIN wrote: > > > So you can simplify t-pretty-c.mkiv: > > > > \unprotect > > > > \setupcolor[ema] > > > > \definestartstop > > [CSnippetName] > > [\c!color=darkgoldenrod, > > \c!style=] > > > > and so on... > > > OK, but anyway, I have to protect the c

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Renaud AUBIN
> You don't need that. There is already a standard interface for color and style > configuration. Example: > > \setupstartstop[CSnippetComment][color=blue] > > So you can simplify t-pretty-c.mkiv: > > \unprotect > > \setupcolor[ema] > > \definestartstop > [CSnippetName] > [\c!color=darkgol

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Hans Hagen
On 7-12-2010 6:57, Aditya Mahajan wrote: Thanks for the explanation. But, I am not too keen to write parsers on my own when I can easily borrow existing ones. sure, but a simple one can be: function myparser(str) .. call your prog do do something with str and return the result end But it

Re: [NTG-context] margintext writes text out of range

2010-12-07 Thread Jonas Stein
example here: http://wiki.contextgarden.net/Reference/en/margintext "is" is cut of. I saw the same in the documentation of the fixme module. [1] >>> >>> probably because the margin is larger than the backspace >> >> How should this be fixed in the wikipages? >> >> ...an

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Aditya Mahajan
On Tue, 7 Dec 2010, Hans Hagen wrote: On 7-12-2010 2:29, Aditya Mahajan wrote: On Tue, 7 Dec 2010, Peter Münster wrote: On Mon, Dec 06 2010, Renaud AUBIN wrote: Concerning the color abstraction patch, one needs just to overload Ccomment, Cpreproc, Cstring, Ctype, Ckeyword, Cname and Cfuncnb

Re: [NTG-context] for each script a different font

2010-12-07 Thread Khaled Hosny
On Tue, Dec 07, 2010 at 04:19:45PM +0100, Thomas A. Schmitz wrote: > > On Dec 7, 2010, at 2:44 PM, Khaled Hosny wrote: > > > Then: > > > > \definefontsynonym [Serif][name:vollkornregular][fallbacks=arrows] > > > > But I don't know how to use multiple fallbacks. > > You can define as many fallb

Re: [NTG-context] margintext writes text out of range

2010-12-07 Thread Wolfgang Schuster
Am 07.12.2010 um 05:52 schrieb Jonas Stein: >>> example here: >>> http://wiki.contextgarden.net/Reference/en/margintext >>> >>> "is" is cut of. >>> I saw the same in the documentation of the fixme module. [1] >> >> probably because the margin is larger than the backspace > > How should this be

Re: [NTG-context] for each script a different font

2010-12-07 Thread Thomas A. Schmitz
On Dec 7, 2010, at 2:44 PM, Khaled Hosny wrote: > Then: > > \definefontsynonym [Serif][name:vollkornregular][fallbacks=arrows] > > But I don't know how to use multiple fallbacks. You can define as many fallbacks as you wish. Here's a silly example: \definefontfallback [Foo] [name:texgyreterme

Re: [NTG-context] bib problems

2010-12-07 Thread Hans Hagen
On 7-12-2010 3:26, Mojca Miklavec wrote: I have a tiny feature request. I would like to have a separate "bibliography" for, say, list of figures. Basically all I ask for is the ability to have a separate "named" bibliography as opposed to a single list. no big deal in mkiv i guess But maybe

Re: [NTG-context] bib problems

2010-12-07 Thread Mojca Miklavec
I have a tiny feature request. I would like to have a separate "bibliography" for, say, list of figures. Basically all I ask for is the ability to have a separate "named" bibliography as opposed to a single list. But maybe I need to elaborate a bit more before sending request. It makes no sense t

Re: [NTG-context] Unwanted spaces removing

2010-12-07 Thread Jaroslav Hajtmar
Great. How easy!!! It works very well now! I have gaps in basic knowledges ... Thanx very much to Peter !!! Jaroslav Hajtmar Dne 7.12.2010 13:09, Peter Münster napsal(a): \setupfloats[spacebefore=none, spaceafter=none] \starttext \input knuth \placefigure[here, none]{}{\externalfigure[cow]} \

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Hans Hagen
On 7-12-2010 2:29, Aditya Mahajan wrote: On Tue, 7 Dec 2010, Peter Münster wrote: On Mon, Dec 06 2010, Renaud AUBIN wrote: Concerning the color abstraction patch, one needs just to overload Ccomment, Cpreproc, Cstring, Ctype, Ckeyword, Cname and Cfuncnbound to use custom color scheme. You d

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-07 Thread Khaled Hosny
On Tue, Dec 07, 2010 at 02:24:37PM +0100, Hans Hagen wrote: > On 7-12-2010 2:00, Khaled Hosny wrote: > > >But I'm using \SetTableToWidth right now to set the width for all tables > >at once, what is replacement of that (I'm using texlive right now, and I > >hate to break the brand new document whe

Re: [NTG-context] for each script a different font

2010-12-07 Thread Khaled Hosny
On Mon, Dec 06, 2010 at 11:39:59PM +0100, Peter Schorsch wrote: > Hi all, > > is it possible to mix severel fonts (for each script one font)? Regarding to > some fragments of the wiki I tried: > > \setupdirections[bidi=global] > > \definefontfeature[cyrl][script=cyrl] > \definefontfeature[brai]

Re: [NTG-context] colors for pretty-printing (was: Re: pret-c.lua -> v-c.lua)

2010-12-07 Thread Aditya Mahajan
On Tue, 7 Dec 2010, Peter Münster wrote: On Mon, Dec 06 2010, Renaud AUBIN wrote: Concerning the color abstraction patch, one needs just to overload Ccomment, Cpreproc, Cstring, Ctype, Ckeyword, Cname and Cfuncnbound to use custom color scheme. You don't need that. There is already a standar

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-07 Thread Hans Hagen
On 7-12-2010 2:00, Khaled Hosny wrote: But I'm using \SetTableToWidth right now to set the width for all tables at once, what is replacement of that (I'm using texlive right now, and I hate to break the brand new document when I switch back to minimals). just do \setuptables[textwidth=...] the

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-07 Thread Khaled Hosny
On Tue, Dec 07, 2010 at 10:10:01AM +0100, Hans Hagen wrote: > On 6-12-2010 10:47, Vedran Miletić wrote: > >2010/11/30 Richard Stephens > > > >>Hello all, > >> > >>I have just noticed that \SetTableToWidth does not work in MKIV. > >>Simple example below. > >> > >>\starttext > >>\SetTableToWi

[NTG-context] Widgets color option not working with Mark IV

2010-12-07 Thread Reviczky, Adam
Hi The color option in setupfield for widgets is ignored and always gives me black text with Mark IV (see: MarkIV.pdf compiled with a recent ConTeXt minimals). The attached example (widgets.tex) with Mark II however makes the correct color, in this case red, as you can see in (MarkII.pdf) compil

Re: [NTG-context] Unwanted spaces removing

2010-12-07 Thread Peter Münster
On Tue, Dec 07 2010, Jaroslav Hajtmar wrote: > For some reason I need to use \placefigure environment in such a way > that no space > are before and after this environment (eg space for image caption > under image). \setupfloats[spacebefore=none, spaceafter=none] \starttext \input knuth \placefi

[NTG-context] Unwanted spaces removing

2010-12-07 Thread Jaroslav Hajtmar
Hello ConTeXist, For some reason I need to use \placefigure environment in such a way that no space are before and after this environment (eg space for image caption under image). I want to hit as a result of using \externalfigure separately only. Can this be arranged? I tried \removelastskip,

[NTG-context] bib problems

2010-12-07 Thread Thomas A. Schmitz
All, I've begun summarizing the bibliography problems. Could you all see if your particular problem is mentioned here? If I missed something, please send your test files to the list or to me, please use the sample.bib which is now included in the minimals, and please make the test cases as shor

[NTG-context] bug: no overfullrule in footnotes!

2010-12-07 Thread Steffen Wolfrum
Hi, please have a look at this minimal example below: the version temporary gives an overfullrule for body text but not for footnotes! Is there something can be done (for the short term)? Regards, Steffen --- \version[temporary] \showframe \starttext Test \hbox{text text text text text

[NTG-context] colors for pretty-printing (was: Re: pret-c.lua -> v-c.lua)

2010-12-07 Thread Peter Münster
On Mon, Dec 06 2010, Renaud AUBIN wrote: > > Concerning the color abstraction patch, one needs just to overload > Ccomment, Cpreproc, Cstring, Ctype, Ckeyword, Cname and Cfuncnbound to > use custom color scheme. You don't need that. There is already a standard interface for color and style config

Re: [NTG-context] Bugs with newest beta

2010-12-07 Thread luigi scarso
On Tue, Dec 7, 2010 at 10:16 AM, Hans Hagen wrote: > On 6-12-2010 5:55, Andreas Harder wrote: >> >> Hello Hans, >> >> I've downloaded the newest beta, but \comments still don't work. Besides >> of that there is a curious indenting problem with delimited text definitions >> (and floats). I will att

Re: [NTG-context] Bugs with newest beta

2010-12-07 Thread Hans Hagen
On 6-12-2010 5:55, Andreas Harder wrote: Hello Hans, I've downloaded the newest beta, but \comments still don't work. Besides of that there is a curious indenting problem with delimited text definitions (and floats). I will attach some test files. comments work here in acrobat 10, so you use

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-07 Thread Hans Hagen
On 6-12-2010 10:47, Vedran Miletić wrote: 2010/11/30 Richard Stephens Hello all, I have just noticed that \SetTableToWidth does not work in MKIV. Simple example below. btw, those using the starttable mechanism are also made responsible for keeping the documentation (on the wiki) uptodate

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-07 Thread Hans Hagen
On 6-12-2010 10:47, Vedran Miletić wrote: 2010/11/30 Richard Stephens Hello all, I have just noticed that \SetTableToWidth does not work in MKIV. Simple example below. \starttext \SetTableToWidth{8cm} \starttable[|l|l|] \NC One \NC Two \NC\SR \N