ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: \placeinital special case
Date: Sat, 25 Jan 2014 01:49:35 +0100	[thread overview]
Message-ID: <52E30A1F.7090102@wxs.nl> (raw)
In-Reply-To: <20140124101107.0ceadca8@iram-hb-003386.extra.cea.fr>

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
___________________________________________________________________________________


      reply	other threads:[~2014-01-25  0:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24  9:11 Alan Braslau
2014-01-25  0:49 ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52E30A1F.7090102@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).