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
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
Dnia 2012-09-24, o godz. 23:24:31
Sietse Brouwer
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
\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
On 09/24/2012 05:24 PM, Sietse Brouwer wrote: paragraphs. -- Bill Meahan Westland, Michigan USA
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
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
participants (3)
-
Bill Meahan
-
Marcin Borkowski
-
Sietse Brouwer