ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: long quotation without quotation marks
@ 2009-09-04 19:57 Robert Blackstone
  2009-09-04 20:15 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Blackstone @ 2009-09-04 19:57 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread
* long quotation without quotation marks
@ 2009-09-03 19:41 Robert Blackstone
  2009-09-03 20:12 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Blackstone @ 2009-09-03 19:41 UTC (permalink / raw)
  To: ntg-context


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

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.
Thanks to the ConTeXt wiki I found I could fulfill two of the three
requirements by using

\setupdelimitedtext[blockquote][style={\setupbodyfont[9pt]},

and \startblockquote (text of the quotation) \blank \stopblockquote,

but I still get the unwanted indenting.
In the main text I want indenting of the first lines of most new paragraphs,
so I have \setupindenting[20pt,yes] in the preamble, but I do not want it in
the quotations. Placing \noindent at the beginning of the quotation does not
do anything.
As a hack I commented out \setupindenting[20pt,yes] and started every
paragraph I want to indent with ~~~~~. That works. But somehow I feel there
must be  a more elegant solution, only I can’t find it.
Is there somebody who could help me out?
Thanks in advance.

Robert Blackstone

[-- Attachment #1.2: Type: text/html, Size: 995 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-04 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-04 19:57 long quotation without quotation marks Robert Blackstone
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

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