From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: long quotation without quotation marks
Date: Fri, 4 Sep 2009 16:15:37 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.00.0909041606030.25358@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <dbd60a1b0909041257j3ae1b372y6643e15b00daafbe@mail.gmail.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2979 bytes --]
On Fri, 4 Sep 2009, Robert Blackstone wrote:
> 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.
I agree. The naming of the macros isn't the best in this case. The same
result could have been achieved by
\setupindenting[no]
which is slightly easier to understand.
> 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.)
I wasn't sure whether you wanted all paragraphs to be not be indented or
not, so gave both options.
> I have two related questions for the list:
> a. Would it be useful to add this information to the ConTeXt wiki page on
> Quotes?
Please do add it to the wiki. Searching the wiki is easier than searching
the mailing list.
> 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?
No. The manuals contain most of the information, but they are not
complete. The only *complete* source of information is the source code
(which is well documented). But, once you get the hang of ConTeXt's naming
conventions, you can almost guess what the right key combination should
be.
> (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.)
See
http://www.tug.org/TUGboat/Articles/tb29-2/tb92mahajan.pdf
Aditya
[-- 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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-09-04 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-04 19:57 Robert Blackstone
2009-09-04 20:15 ` Aditya Mahajan [this message]
-- 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=alpine.LNX.2.00.0909041606030.25358@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).