ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Robert Blackstone <blackstone.robert@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: long quotation without quotation marks
Date: Fri, 4 Sep 2009 21:57:56 +0200	[thread overview]
Message-ID: <dbd60a1b0909041257j3ae1b372y6643e15b00daafbe@mail.gmail.com> (raw)


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

On Fri, Sep 4, 2009, Aditya Mahajan wrote

>
> On Thu, 3 Sep 2009, Robert Blackstone wrote:
>
> > Hi all,
> > In a text with some fairly long quotations I want to have these
> quotations
> > without their quotation marks, not indented and set in small type.
>
>
> To make context ignore indenting of a signle paragraph, use
> \noindentation.
>
> delimited text does not offer control of indentation inside the
> environment, but offers sufficient hooks to enable manipulation of
> indentations.
>
> If you want paragraphs inside the quotation to be indented use the
> following (if not, replace noindentation with noindenting)
>
> \definedelimitedtext[LongQuote]
>                     [style={\switchtobodyfont[9pt]},
>                      spacebefore=medium,
>                      before=\noindentation, % also \noindenting,
>                    ]
>
> \setupindenting[big,yes]
>
> \starttext
>
> \input ward
>
> \startLongQuote
>   \input knuth \par
> \stopLongQuote
>
> \input ward
>
> \stoptext
>
>
> Aditya
>
> Thank you Aditya, it helped. It was: before=\noindenting that did what I
wanted.

Surprisingly for me, in the example you gave, before=\noindentation resulted
in no indentation for the first paragraph but the two others were indented.
With before=\noindenting all three paragrapghs were unindented. I really
couldn’t have guessed this.

With some slight changes your example did almost exactly what I had in mind.
(Almost, since in a text like this I would prefer some space between the
paragraphs and I understand that it cannot be adjusted locally.)
Just for the sake of completeness I add it here:

\definedelimitedtext[LongQuote]
                    [style={\switchtobodyfont[9pt]},
                     spacebefore=medium,
                     before=\noindenting
                   ]

\setupindenting[big,yes]

\starttext

\input ward
\startnarrower
\startLongQuote
  \input knuth \par
\stopLongQuote
\stopnarrower
\input ward

\stoptext

I have two related questions for the list:
a. Would it be useful to add this information to the ConTeXt wiki page on
Quotes?

b. Is there a complete and up to date list of commands for ConTeXt, and what
they are supposed to do, to be found somewhere? (I find things like the
existence of \noindent, \noindenting and \noindentation, all apparently
giving slightly different results, nice for the variety it offers but, for a
beginner, quite confusing  as well.)

Kind regards,

Robert Blackstone

[-- Attachment #1.2: Type: text/html, Size: 2918 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2009-09-04 19:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-04 19:57 Robert Blackstone [this message]
2009-09-04 20:15 ` Aditya Mahajan
  -- strict thread matches above, loose matches on Subject: below --
2009-09-03 19:41 Robert Blackstone
2009-09-03 20:12 ` Aditya Mahajan

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=dbd60a1b0909041257j3ae1b372y6643e15b00daafbe@mail.gmail.com \
    --to=blackstone.robert@gmail.com \
    --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).