ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* drop-cap quote character
@ 2011-02-17  8:30 Daniel Lyons
  2011-02-18 12:45 ` Philipp Gesang
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Lyons @ 2011-02-17  8:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ideally, \DropCap would notice a piece of leading punctuation and drop it as well. Instead, it seems to look at the punctuation and give up.

Example:


\def\Drop {\DroppedCaps
  {} {Serif} {4\baselineskip} {2pt} {2\baselineskip} {3}}

\starttext

{\Drop A} \input knuth

\page

{\Drop “A} \input knuth
\page

\stoptext

Advice?

Thanks again,

— 
Daniel Lyons

___________________________________________________________________________________
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] 3+ messages in thread

* Re: drop-cap quote character
  2011-02-17  8:30 drop-cap quote character Daniel Lyons
@ 2011-02-18 12:45 ` Philipp Gesang
  2011-02-18 17:53   ` Daniel Lyons
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Gesang @ 2011-02-18 12:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1633 bytes --]

On 2011-02-17 <01:30:28>, Daniel Lyons wrote:
> Ideally, \DropCap would notice a piece of leading punctuation and drop it as well. Instead, it seems to look at the punctuation and give up.
> 
> Example:
> 
> 
> \def\Drop {\DroppedCaps
>   {} {Serif} {4\baselineskip} {2pt} {2\baselineskip} {3}}
> 
> \starttext
> 
> {\Drop A} \input knuth
> 
> \page
> 
> {\Drop “A} \input knuth
> \page
> 
> \stoptext
> 
> Advice?

Hi Daniel,

have you tried Taco’s Lettrine module?[1] It should do the job
and allows special handling of quotation marks as well:

···8<····························································

\usemodule[lettrine]
\starttext

\lettrine{“A}{} \input knuth

\blank[line]

\lettrine[Ante={“}]{A}{} \input knuth

\stoptext \endinput

···>8····························································

[1] http://modules.contextgarden.net/t-lettrine

Regards, Philipp



> 
> Thanks again,
> 
> — 
> Daniel Lyons
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: drop-cap quote character
  2011-02-18 12:45 ` Philipp Gesang
@ 2011-02-18 17:53   ` Daniel Lyons
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Lyons @ 2011-02-18 17:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Feb 18, 2011 at 01:45:34PM +0100, Philipp Gesang wrote:
> have you tried Taco’s Lettrine module?[1] It should do the job
> and allows special handling of quotation marks as well:

Works great! Thanks!

-- 
Daniel
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-02-18 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-17  8:30 drop-cap quote character Daniel Lyons
2011-02-18 12:45 ` Philipp Gesang
2011-02-18 17:53   ` Daniel Lyons

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).