ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: quotations
Date: Sun, 01 Dec 2002 01:08:34 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20021201005817.0232f4f8@remote-1> (raw)

Hi,

Since quotations keep coming up on this list, and since i had a couple of 
new cd's to help me through the process of cooking up macros, i made an 
definable quotation macros, or more precise, something:

\definedelimitedtext
   [quotation]
   [left={\symbol[leftquotation]},
    right={\symbol[rightquotation]},
    leftmargin=standard]

\definedelimitedtext
   [quote][quotation]

\setupdelimitedtext
   [quotation]
   [location=text,
    left={\symbol[leftquote]},
    right={\symbol[rightquote]}]

and for Mr. BigFoot:

\definedelimitedtext
   [speech][quotation]

\setupdelimitedtext
   [\v!spraak]
   [repeat=yes,
    left={\symbol[leftspeech]},
    middle={\symbol[middlespeech]},
    right={\symbol[rightspeech]}]

Now, how do we call an tight quotation that those heavy quoting users want?

\definedelimitedtext
    [xquotation][quotation]

\setupdelimitedtext
   [xquotation]
   [indentnext=no,
    spacebefore=nowhite]

(there are a couple of more switches)

this mechanism will be available in the next beta, but the re-definitions 
not yet (first i want to make sure that it worsk ok)

one can also use this feature for things like [whatever you want to be 
delimited]

Hans

I'll look into the epigraph (module) later (never needed them so far)
-------------------------------------------------------------------------
                                   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-12-01  0:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-01  0:08 Hans Hagen [this message]
2002-12-01  0:42 ` quotations Bruce D'Arcus
2002-12-02 11:44   ` quotations Hans Hagen
2002-12-02 14:04     ` quotations Bruce D'Arcus
2002-12-02 14:45       ` quotations Hans Hagen
2002-12-02  0:03 ` quotations Bruce D'Arcus
2006-03-31 14:06 Quotations Gerben Wierda
2006-03-31 16:38 ` Quotations Hans Hagen
2011-11-15 13:41 Quotations Willi Egger

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.20021201005817.0232f4f8@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).