[NTG-context] Misplaced \widehat and \widetilde in mkiv?

2014-01-24 Thread Otared Kavian
Hi Hans,

It seems that with the latest beta mkiv, version

ConTeXt  ver: 2014.01.23 01:55 MKIV beta  fmt: 2014.1.23  

\widetilde and \widehat in mathmode are misplaced (and this is so in any of the 
fonts I tried).
Please compare the result of the following in mkii (where everything is 
correct) and in mkiv:
 begin tilde-hat.tex
\starttext

We set ${\widetilde n}(t) := n(1 - t)$, and ${\widehat u}(\xi) := \int_{{\Bbb 
R}}\exp(-{\rm i}x\xi)f(x)dx$.

\stoptext
 end tilde-hat.tex
The attached PDF is obtained with mkiv.
Best regards: OK



bug-widetilde.pdf
Description: Adobe PDF document
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] \placeinital special case

2014-01-24 Thread Alan Braslau
Hello,

I came across a special case where \placeinital would need some tuning.
(It was found in Eglinton, G. and Calvin, M. (1966) Chemical Fossils,
Scientific American 216, 32-43.)

In the following minimal example, the period following the capital W
should be dropped as well, being kept associated with the initial.

\starttext
\placeinitial
W. H. Bradley of the U.S. Geological Survey has sought a contemporary
counterpart of the richly organic ooze that presumably gave rise to the
Green River shale. So far he has located only four lakes, two in the
U.S. and two in Africa, that seem to be reasonable candidates.
\stoptext

This curiosity is by no means an important problem, and perhaps one can
identify other such cases (but I have not thought much about it!).
Fixing this is probably trivial or it might be a challenge depending
on how \placeinitial is implemented (I have not looked into fixing it
either). I only report this to help ConTeXt continue to evolve towards
the highest quality computer typesetting available.

Alan
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [OT] pdf2htmlEX

2014-01-24 Thread Xan
Hi,

Just some information: if you want to pass from pdf to html5, there is an 
amazing project I discovered: https://github.com/coolwanglu/pdf2htmlEX

The bad things is that it does not preserve structures: each line is a 
structure in html5 generated document.

Cheers,
Xan.
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Misplaced \widehat and \widetilde in mkiv?

2014-01-24 Thread Jannik Voges
The minimal example works fine with the latest beta (ConTeXt  ver: 2014.01.24 
10:20 MKIV beta  fmt: 2014.1.24).


Am 23.01.2014 um 21:52 schrieb Otared Kavian otared.kav...@gmail.com:

 Hi Hans,
 
 It seems that with the latest beta mkiv, version
 
   ConTeXt  ver: 2014.01.23 01:55 MKIV beta  fmt: 2014.1.23  
 
 \widetilde and \widehat in mathmode are misplaced (and this is so in any of 
 the fonts I tried).
 Please compare the result of the following in mkii (where everything is 
 correct) and in mkiv:
  begin tilde-hat.tex
 \starttext
 
 We set ${\widetilde n}(t) := n(1 - t)$, and ${\widehat u}(\xi) := \int_{{\Bbb 
 R}}\exp(-{\rm i}x\xi)f(x)dx$.
 
 \stoptext
  end tilde-hat.tex
 The attached PDF is obtained with mkiv.
 Best regards: OK
 
 bug-widetilde.pdf___
 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-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] runtime problem with metafun() code

2014-01-24 Thread Peter Rolf
Hi,

I try to create a Metapost path in lua and it works so far for the
attached example. But a call of that function from another lua function
sadly fails (no path visible after call). The code seems to be executed
later (the output from 'show pid;' appears somewhere later in the log).

How can I ensure that the code is executed at runtime?


Peter
thirddata= thirddataor { }
thirddata.drops  = thirddata.drops  or { }

local drops = thirddata.drops

local metafun = context.metafun

local format,todimen = string.format, string.todimen
local floor = math.floor

-- http://lua-users.org/wiki/SimpleRound
local function round(num, idp)
local mult = 10^(idp or 0)
return floor(num * mult + 0.5) / mult
end

function drops.numberofpixels(n,idp)
local dimenfactor = 1/tex.pdfpxdimen
return round(todimen(n)*dimenfactor,idp)
end

local numberofpixels = drops.numberofpixels


function drops.generate_default_path(id,width,height,radius)
local w,h,r
w = numberofpixels(width); h = numberofpixels(height); r = numberofpixels(radius)

metafun.start()

metafun(save p,pid; path p; string pid;)

-- metafun(id := \drops:boxshadow_w%sh%sr%s\;,w,h,r)
metafun(pid := \%s\;,id)
--metafun(show pid;) -- ok
metafun(p:= unitsquare xyscaled(%s,%s) smoothed %s;,w,h,r)

metafun(passvariable(pid,p);)
metafun(setbounds currentpicture to boundingbox(p);) -- 'activator'; void graphics are ignored

metafun.stop()
end
\ctxloadluafile{mplua}{}


\starttext
\ctxlua{metapost.showlog = true}

\ctxlua{thirddata.drops.generate_default_path(drops:boxshadow-w199h100r10,200pt,100pt,10pt)}
\ctxlua{inspect(metapost.variables)}



\stoptext
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Misplaced \widehat and \widetilde in mkiv?

2014-01-24 Thread Otared Kavian
Yes that’s correct!
Thanks Hans for the quick fix (I tried a dozen different fonts, and they are 
all fine).

Best regards: OK

On 24 janv. 2014, at 13:09, Jannik Voges researchj...@icloud.com wrote:

 The minimal example works fine with the latest beta (ConTeXt  ver: 2014.01.24 
 10:20 MKIV beta  fmt: 2014.1.24).
 
 
 Am 23.01.2014 um 21:52 schrieb Otared Kavian otared.kav...@gmail.com:
 
 Hi Hans,
 
 It seems that with the latest beta mkiv, version
 
  ConTeXt  ver: 2014.01.23 01:55 MKIV beta  fmt: 2014.1.23  
 
 \widetilde and \widehat in mathmode are misplaced (and this is so in any of 
 the fonts I tried).
 Please compare the result of the following in mkii (where everything is 
 correct) and in mkiv:
  begin tilde-hat.tex
 \starttext
 
 We set ${\widetilde n}(t) := n(1 - t)$, and ${\widehat u}(\xi) := 
 \int_{{\Bbb R}}\exp(-{\rm i}x\xi)f(x)dx$.
 
 \stoptext
  end tilde-hat.tex
 The attached PDF is obtained with mkiv.
 Best regards: OK
 
 bug-widetilde.pdf___
 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-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
 
 ___
 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-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Misplaced \widehat and \widetilde in mkiv?

2014-01-24 Thread Hans Hagen

On 1/24/2014 2:05 PM, Otared Kavian wrote:

Yes that’s correct!
Thanks Hans for the quick fix (I tried a dozen different fonts, and they are 
all fine).


the problem is that we have a fallback for fonts that lack it and that 
had some side effects (the engine has some vague heuristics around these 
accents)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] runtime problem with metafun() code

2014-01-24 Thread Hans Hagen

On 1/24/2014 1:35 PM, Peter Rolf wrote:

Hi,

I try to create a Metapost path in lua and it works so far for the
attached example. But a call of that function from another lua function
sadly fails (no path visible after call). The code seems to be executed
later (the output from 'show pid;' appears somewhere later in the log).

How can I ensure that the code is executed at runtime?


I don't understand the issue but isn't there a

metafun(draw p;)

missing then?

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] setupalign and flushbottom

2014-01-24 Thread Alexey Kryukov
Dear list,

according to the wiki and the ConTeXt manual, the ConTeXt equivalent
for the LaTeX \flushbottom command is \setupalign[line]. However in my
tests this setting doesn't have the desired effect. For example:

\setuplayout[height=720pt]
\setuphead[subject][before={\vskip4pt plus 1fil},after={\blank[small]}]
\setupalign[line]
\showgrid

\starttext
\dorecurse{3}{\input knuth}

\subject{My Subject}

\dorecurse{8}{\input knuth}
\stoptext

Here at the first page there is a small gap between the last line and
the page border, although the glue above the heading can safely be
expanded to make the page filled. However I do get the desired result if
I replace \setupalign [line] with a low-level command (\alignbottom).

So what is the correct way to get pages bottom-aligned in MKIV?

-- 
Regards,
Alexey Kryukov anagnost at yandex dot ru

Moscow State University
Faculty of History
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \placeinitial after a heading

2014-01-24 Thread Alexey Kryukov
Hi,

If I attempt to insert a drop cap after a heading while the paragraph
indentation is enabled, I get the following effect: all lines the drop
cap spans except the first one (e. g. second and third in case of n=3)
get an additional indent, equal to the \parindent. For example:

\setupinitial[font=Bold sa 4,n=3]
\setupindenting[yes,1em]

\starttext

\section{Knuth}

\placeinitial
\input knuth

\stoptext

I suppose this is not the intended behavior :) The problem doesn't
occur if I enable indenting also for the first paragraph after the
heading, but in this case, of course, the drop cap itself is indented
together with its adjacent lines. So the following workaround is
possible:

\setupinitial[font=Bold sa 4,n=3,
hoffset=\parindent,distance=-\parindent]
\setuphead[section][indentnext=yes]

Nevertheless it would be nice if this issue could be fixed.

Also, is it possible to explicitly apply case conversion commands to a
drop cap? Setting the 'style' option to \WORD or \word currently seems
to have no effect.

-- 
Regards,
Alexey Kryukov anagnost at yandex dot ru

Moscow State University
Faculty of History
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Wolfgang Schuster
2014/1/24 Alexey Kryukov anagn...@yandex.ru

 Dear list,

 according to the wiki and the ConTeXt manual, the ConTeXt equivalent
 for the LaTeX \flushbottom command is \setupalign[line]. However in my
 tests this setting doesn't have the desired effect. For example:

 \setuplayout[height=720pt]
 \setuphead[subject][before={\vskip4pt plus 1fil},after={\blank[small]}]
 \setupalign[line]
 \showgrid

 \starttext
 \dorecurse{3}{\input knuth}

 \subject{My Subject}

 \dorecurse{8}{\input knuth}
 \stoptext

 Here at the first page there is a small gap between the last line and
 the page border, although the glue above the heading can safely be
 expanded to make the page filled. However I do get the desired result if
 I replace \setupalign [line] with a low-level command (\alignbottom).

 So what is the correct way to get pages bottom-aligned in MKIV?


Use \setupalign[height].

Wolfgang
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Alexey Kryukov
On Fri, 24 Jan 2014 18:41:45 +0100
Wolfgang Schuster wrote:

 Use \setupalign[height].

I tested this before writing my first post, and the result was still
different from one I get with \alignbottom .

-- 
Regards,
Alexey Kryukov anagnost at yandex dot ru

Moscow State University
Faculty of History
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Alexey Kryukov
On Fri, 24 Jan 2014 21:45:32 +0400
Alexey Kryukov wrote:

 On Fri, 24 Jan 2014 18:41:45 +0100
 Wolfgang Schuster wrote:
 
  Use \setupalign[height].
 
 I tested this before writing my first post, and the result was still
 different from one I get with \alignbottom .

Oops, I am wrong. \setupalign[height] seems to help indeed, so thanks
for your answer. However it would be nice to wikify this.

-- 
Regards,
Alexey Kryukov anagnost at yandex dot ru

Moscow State University
Faculty of History
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] runtime problem with metafun() code

2014-01-24 Thread Peter Rolf
Am 24.01.2014 14:45, schrieb Hans Hagen:
 On 1/24/2014 1:35 PM, Peter Rolf wrote:
 Hi,

 I try to create a Metapost path in lua and it works so far for the
 attached example. But a call of that function from another lua function
 sadly fails (no path visible after call). The code seems to be executed
 later (the output from 'show pid;' appears somewhere later in the log).

 How can I ensure that the code is executed at runtime?
 
 I don't understand the issue but isn't there a
 
 metafun(draw p;)
 
 missing then?

Setting the bounding box has the same effect, as drawing something.
Both methods avoid that the emtpy graphic is ignored by ConTeXt.

Anyhow, the MP path is not available in metapost.variables after the
function call. If there is no other way I have to call the function from
the TeX side (like in the attached example). Will look into that tomorrow.


Peter


 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
  | www.pragma-pod.nl
 -
 ___
 
 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-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
 
 

___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Aditya Mahajan

Oops, I am wrong. \setupalign[height] seems to help indeed, so thanks
for your answer. However it would be nice to wikify this.


Then please do it!

Aditya
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] runtime problem with metafun() code

2014-01-24 Thread Hans Hagen

On 1/24/2014 7:41 PM, Peter Rolf wrote:

Am 24.01.2014 14:45, schrieb Hans Hagen:

On 1/24/2014 1:35 PM, Peter Rolf wrote:

Hi,

I try to create a Metapost path in lua and it works so far for the
attached example. But a call of that function from another lua function
sadly fails (no path visible after call). The code seems to be executed
later (the output from 'show pid;' appears somewhere later in the log).

How can I ensure that the code is executed at runtime?


I don't understand the issue but isn't there a

 metafun(draw p;)

missing then?


Setting the bounding box has the same effect, as drawing something.
Both methods avoid that the emtpy graphic is ignored by ConTeXt.

Anyhow, the MP path is not available in metapost.variables after the
function call. If there is no other way I have to call the function from
the TeX side (like in the attached example). Will look into that tomorrow.


%D We also provide an outputless run:

\unexpanded\def\startMPcalculation

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tabulator in database file not passed to Lua

2014-01-24 Thread Joshua Krämer
Am Thu, 23 Jan 2014 23:17:24 +0100
schrieb Hans Hagen pra...@wxs.nl:
 \startluacode
 
  local f = io.open(test.dat)
 
  for line in f:lines() do
  local t = string.split(line,;) -- or \t for tabs
  context(% /t,t) -- context(table.concat(t, / )
  context.par()
  end
 
 \stopluacode
 
 \stoptext

Thanks, I was not aware of the Context Lua extensions.  Should have read
the wiki more thoroughly ...

While I'm new to Lua, I already enjoy it.  It opens a whole new world
of possibilities to ConTeXt, making this great software even better!
Thank you very much for all the hard work.

Kind regards,
Joshua Krämer


___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tabulator in database file not passed to Lua

2014-01-24 Thread Hans Hagen

On 1/25/2014 1:32 AM, Joshua Krämer wrote:

Am Thu, 23 Jan 2014 23:17:24 +0100
schrieb Hans Hagen pra...@wxs.nl:

\startluacode

  local f = io.open(test.dat)

  for line in f:lines() do
  local t = string.split(line,;) -- or \t for tabs
  context(% /t,t) -- context(table.concat(t, / )
  context.par()
  end

\stopluacode

\stoptext


Thanks, I was not aware of the Context Lua extensions.  Should have read
the wiki more thoroughly ...

While I'm new to Lua, I already enjoy it.  It opens a whole new world
of possibilities to ConTeXt, making this great software even better!
Thank you very much for all the hard work.


http://www.pragma-ade.nl/general/manuals/cld-mkiv.pdf

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \placeinital special case

2014-01-24 Thread Hans Hagen

On 1/24/2014 10:11 AM, Alan Braslau wrote:

Hello,

I came across a special case where \placeinital would need some tuning.
(It was found in Eglinton, G. and Calvin, M. (1966) Chemical Fossils,
Scientific American 216, 32-43.)

In the following minimal example, the period following the capital W
should be dropped as well, being kept associated with the initial.

\starttext
\placeinitial
W. H. Bradley of the U.S. Geological Survey has sought a contemporary
counterpart of the richly organic ooze that presumably gave rise to the
Green River shale. So far he has located only four lakes, two in the
U.S. and two in Africa, that seem to be reasonable candidates.
\stoptext

This curiosity is by no means an important problem, and perhaps one can
identify other such cases (but I have not thought much about it!).
Fixing this is probably trivial or it might be a challenge depending
on how \placeinitial is implemented (I have not looked into fixing it
either). I only report this to help ConTeXt continue to evolve towards
the highest quality computer typesetting available.


hm, so in order to fulfill that need ... a new beta . as a coincidence a 
buglet in luatex was discovered and fixed -)


\setupbodyfont[dejavu,9pt]

\starttext

\startbuffer
\placeinitial[two]D. E. Knuth  \ignorespaces\input knuth \par
\placeinitial[two]  Knuth  \ignorespaces\input knuth \par
\placeinitial[two] \quotation{D. E. Knuth} \ignorespaces\input knuth \par
\placeinitial[two] \quotation  {Knuth} \ignorespaces\input knuth \par
\stopbuffer

\type{m=2}  \defineinitial[two][m=2] 
  \getbuffer \page
\type{m=1,method=auto}  \defineinitial[two][m=1,method=auto] 
 \getbuffer \page
\type{m=1,method={auto,first,last}} 
\defineinitial[two][m=1,method={first,auto,last}] \getbuffer \page


\stoptext

so you can make nice docs now

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___