ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alexey Kryukov <anagnost@yandex.ru>
To: ntg-context@ntg.nl
Subject: \placeinitial after a heading
Date: Fri, 24 Jan 2014 20:54:00 +0400	[thread overview]
Message-ID: <20140124205400.d52b6611783eec68a7768782@yandex.ru> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2014-01-24 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 16:54 Alexey Kryukov [this message]
2014-01-25 11:20 ` Hans Hagen

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=20140124205400.d52b6611783eec68a7768782@yandex.ru \
    --to=anagnost@yandex.ru \
    --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).