Re: [NTG-context] bug in parsed-xml?

2016-11-01 Thread Pablo Rodriguez
On 11/01/2016 08:47 PM, Hans Hagen wrote: > [...] > you can test with > > local verbosed = (space + newline * (emptyline^0) * beginline + newline > * emptyline + newline + anything)^0 > > in line 557 in buff-ver.lua Hans, many thanks for your fast fix. It works for extra lines, but

Re: [NTG-context] bug in parsed-xml?

2016-11-01 Thread Hans Hagen
On 11/1/2016 1:38 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupindenting[yes, big] \starttext \starttyping[option=parsed-xml] text body pword/p /body /text \stoptyping \stoptext I’m afraid I found two

[NTG-context] Vim wiki page updated

2016-11-01 Thread Nicola
I have updated the Vim page at ConTeXt Garden: http://wiki.contextgarden.net/Vim It may be considered as the official documentation of the ConTeXt scripts in Vim, as the only other documentation is the source code :) Happy editing! Nicola

[NTG-context] bug in parsed-xml?

2016-11-01 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupindenting[yes, big] \starttext \starttyping[option=parsed-xml] text body pword/p /body /text \stoptyping \stoptext I’m afraid I found two issues: For some reason, ConTeXt adds extra space

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Fabrice Couvreur
Okay, so to change locally, I do this : \placerecipe{}{ \setupframedtexts[MyFrame][width=10cm] \startMyFrame[Title=One] \stopMyFrame} \placerecipe{}{ \setupframedtexts[MyFrame][width=8cm] \startMyFrame[Title=Two] \stopMyFrame} \placerecipe{}{

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Piotr Kopszak
You mean, you effectively want ConTeXt to choose best proportions for the framed text on its own? I guess very few designers would agree for that, if any. 2016-11-01 10:47 GMT+01:00 Fabrice Couvreur : > Hello, > The option align = tolerant rule one of the problems I

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Fabrice Couvreur
Hello, The option align = tolerant rule one of the problems I may encounter. But I wonder if it's possible that I should not choose myself width = 6cm to fit the text. If I have to use the command several times with different content, how make ? Thank you Fabrice 2016-11-01 9:23 GMT+01:00 Piotr

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Piotr Kopszak
Just use ... \startMyFrame[Title=Info] \setupalign[hyphenated,morehyphenation,verytolerant] ... Piotr 2016-11-01 0:12 GMT+01:00 Fabrice Couvreur : > Hello, > How to make the width of framedtext automatically adapts to its contents. > Fabrice > > \definefloat >

Re: [NTG-context] ConTeXt and duotone graphics

2016-11-01 Thread Hans Hagen
On 10/31/2016 9:27 PM, Piotr Kopszak wrote: Hello list, I have just came across this little script which allows to create duotone pdfs with DeviceN channel. The script takes two grayscale tifs as arguments and returns a pdf duotone. I guess it shouldn't be too difficult to include it in the

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Marco Patzer
On Tue, 1 Nov 2016 00:12:37 +0100 Fabrice Couvreur wrote: > How to make the width of framedtext automatically adapts to its > contents. > > […] > > \defineframedtext > [MyFrame] > [before={\blank}, >after={\blank}, >frame=off, >background=MyFrame, >