ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Multi-paragraph quotations according to AP
@ 2012-09-24 20:20 Bill Meahan
  2012-09-24 21:24 ` Sietse Brouwer
  0 siblings, 1 reply; 6+ messages in thread
From: Bill Meahan @ 2012-09-24 20:20 UTC (permalink / raw)
  To: ConTeXt Mailing List

One of the things I do with ConTeXt is publish a newsletter. The 
organization I publish for requires me to conform to the Associated 
Press (AP) Stylebook for all grammar, punctuation and usage. The AP 
Stylebook requires every paragraph in a quotation to have an "open 
quotation mark" but only the last paragraph has the "close quotation" 
mark at the end.

\startquotation .. \stopquotation easily takes care of the open on the 
first paragraph and close at the end of the last. What I can't figure 
out is how to put an open quotation mark on the intervening paragraphs.

I've tried various combinations of \setupstartstop and friends but 
without success. Is there an easy/straight-forward way to do this?


Example (line spaces between "paragraphs" are for illustration purposes 
only):

"This is the first paragraph. It has an open quotation mark but no 
close. Blah, blah blah ....

"This is the second paragraph. It has an open quotation mark, too, but 
no close. Blah, blah blah ....

"This is the third paragraph. It has an open quotation mark as well but 
no close. Blah, blah blah ....

"This is the last paragraph and it needs a closing quotation mark, too."



Thanks, everyone.

-- 
Bill Meahan
Westland, Michigan USA

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

* Re: Multi-paragraph quotations according to AP
  2012-09-24 20:20 Multi-paragraph quotations according to AP Bill Meahan
@ 2012-09-24 21:24 ` Sietse Brouwer
  2012-09-24 21:43   ` Marcin Borkowski
  2012-09-24 22:54   ` Bill Meahan
  0 siblings, 2 replies; 6+ messages in thread
From: Sietse Brouwer @ 2012-09-24 21:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Bill,

Bill Meahan wrote:
> \startquotation .. \stopquotation easily takes care of the open on the first
> paragraph and close at the end of the last. What I can't figure out is how
> to put an open quotation mark on the intervening paragraphs.

\setupquotation[repeat=yes, middle=“] or
\setupdelimitedtext[quotation][repeat=yes, middle=“]

The repeat key specifies whether to put something at the start of
intervening paragraphs; the middle key tells us what to put there.
If you have time, could you add a note explaining those keys to
http://wiki.contextgarden.net/Command/setupdelimitedtext
? I'd be much obliged.

Kind regards, and good luck with your work,
Sietse
___________________________________________________________________________________
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] 6+ messages in thread

* Re: Multi-paragraph quotations according to AP
  2012-09-24 21:24 ` Sietse Brouwer
@ 2012-09-24 21:43   ` Marcin Borkowski
  2012-09-24 22:54   ` Bill Meahan
  1 sibling, 0 replies; 6+ messages in thread
From: Marcin Borkowski @ 2012-09-24 21:43 UTC (permalink / raw)
  To: ntg-context

Dnia 2012-09-24, o godz. 23:24:31
Sietse Brouwer <sbbrouwer@gmail.com> napisał(a):

> If you have time, could you add a note explaining those keys to
> http://wiki.contextgarden.net/Command/setupdelimitedtext
> ? I'd be much obliged.

I ninja'd you!  (Know the power of procrastination;)!)

> Kind regards, and good luck with your work,
> Sietse

Best,

-- 
Marcin Borkowski
http://mbork.pl
___________________________________________________________________________________
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] 6+ messages in thread

* Re: Multi-paragraph quotations according to AP
  2012-09-24 21:24 ` Sietse Brouwer
  2012-09-24 21:43   ` Marcin Borkowski
@ 2012-09-24 22:54   ` Bill Meahan
  2012-09-24 23:08     ` Sietse Brouwer
  1 sibling, 1 reply; 6+ messages in thread
From: Bill Meahan @ 2012-09-24 22:54 UTC (permalink / raw)
  To: ntg-context

On 09/24/2012 05:24 PM, Sietse Brouwer wrote:
> \setupquotation[repeat=yes, middle=“] or 
> \setupdelimitedtext[quotation][repeat=yes, middle=“] The repeat key 
> specifies whether to put something at the start of intervening 
> paragraphs; the middle key tells us what to put there. If you have 
> time, could you add a note explaining those keys to 
> http://wiki.contextgarden.net/Command/setupdelimitedtext ? I'd be much 
> obliged. Kind regards, and good luck with your work, Sietse 
Unfortunately, I get _two_ open-quote marks on the first paragraph and a 
space between the open-quote mark and the first word of the other 
paragraphs.

-- 
Bill Meahan
Westland, Michigan USA

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

* Re: Multi-paragraph quotations according to AP
  2012-09-24 22:54   ` Bill Meahan
@ 2012-09-24 23:08     ` Sietse Brouwer
  2012-09-24 23:53       ` Bill Meahan
  0 siblings, 1 reply; 6+ messages in thread
From: Sietse Brouwer @ 2012-09-24 23:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> Unfortunately, I get _two_ open-quote marks on the first paragraph and a
> space between the open-quote mark and the first word of the other
> paragraphs.

This works correctly
for me, using 20120916 23:18 MKIV:

\setupquotation[repeat=yes, middle=“]
\startquotation
    bsdf

    bsdf

    bsdf
\stopquotation

Does it work for you? What version are you using? What code+version
doesn't work for you?
Cheers,
Sietse
___________________________________________________________________________________
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] 6+ messages in thread

* Re: Multi-paragraph quotations according to AP
  2012-09-24 23:08     ` Sietse Brouwer
@ 2012-09-24 23:53       ` Bill Meahan
  0 siblings, 0 replies; 6+ messages in thread
From: Bill Meahan @ 2012-09-24 23:53 UTC (permalink / raw)
  To: ntg-context

On 09/24/2012 07:08 PM, Sietse Brouwer wrote:
> \setupquotation[repeat=yes, middle=“]
> \startquotation
>      bsdf
>
>      bsdf
>
>      bsdf
> \stopquotation
Problem in my test file :(  Works fine if I create a new file and put in 
bits and pieces from my test file rather than running the whole thing.

I use the TexLive 2012 version but I tested with today's ConTeXt 
standalone and got the same results.

Thanks!

-- 
Bill Meahan
Westland, Michigan USA

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

end of thread, other threads:[~2012-09-24 23:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 20:20 Multi-paragraph quotations according to AP Bill Meahan
2012-09-24 21:24 ` Sietse Brouwer
2012-09-24 21:43   ` Marcin Borkowski
2012-09-24 22:54   ` Bill Meahan
2012-09-24 23:08     ` Sietse Brouwer
2012-09-24 23:53       ` Bill Meahan

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