ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \placeinital special case
@ 2014-01-24  9:11 Alan Braslau
  2014-01-25  0:49 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Braslau @ 2014-01-24  9:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \placeinital special case
  2014-01-24  9:11 \placeinital special case Alan Braslau
@ 2014-01-25  0:49 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2014-01-25  0:49 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-25  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-24  9:11 \placeinital special case Alan Braslau
2014-01-25  0:49 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).