ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Drop words, Drop boxes
Date: Sat, 11 May 2002 15:03:33 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020511150122.03b00558@remote-1> (raw)
In-Reply-To: <D853RPWTGD64UQWR41ROCAPOMECQK75.3cdc9fe1@c1909372-a>

At 10:36 PM 5/10/2002 -0600, Idris Samawi Hamid wrote:
>I read Hans' old MAPS article about dropped caps, etc, which reminded me 
>of something I'd thought about before:
>
>Arabic does not have capitals, and it's mostly cursive, so dropped first 
>letters at the beginning of a paragraph generally don't make any sense. On 
>the other hand, a
>dropped first word of a first paragraph does make sense. Does ConTeXt have 
>a general mechanism for dropping the first word or contents of a first 
>\hbox of a given
>paragraph?

\def\DroppedString{CRAP}
\DroppedCaps
{\color[red]} {cmbx12}
{2\baselineskip} {0pt} {\baselineskip} {2}{CRAP}Is this ugly

>Another, related question: In the article, the font must be specified in 
>the dropcaps macro. For my puposes the ocplist for the dropped character 
>would have to specified
>as well. Is it straightforward? Can't the macro just use the global font?

some day ... (first we need to get otp's robustly coupled to font switched 
(actually, it could be an attribute to the font file synonym, or a font 
handler, will think of it)

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


      reply	other threads:[~2002-05-11 13:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-08 21:17 Pesky sidebars John Culleton
2002-05-09  8:54 ` Patrick Gundlach
2002-05-09 13:17   ` OT: maps23 emacs/auctex article Idris Samawi Hamid
2002-05-09 14:10     ` Taco Hoekwater
2002-05-09 23:12 ` Pesky sidebars Hans Hagen
2002-05-10 13:51   ` John Culleton
2002-05-10 17:16     ` Hans Hagen
2002-05-10 19:57       ` John Culleton
2002-05-11  9:11         ` Hans Hagen
2002-05-11 10:19         ` Re[2]: " Giuseppe Bilotta
2002-05-13 19:22           ` John Culleton
2002-05-13 21:29             ` Re[4]: " Giuseppe Bilotta
2002-05-14 15:41               ` John Culleton
2002-05-11  4:36       ` Drop words, Drop boxes Idris Samawi Hamid
2002-05-11 13:03         ` 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=5.1.0.14.1.20020511150122.03b00558@remote-1 \
    --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).