Quoted text question

View: New views
3 Messages — Rating Filter:   Alert me  

Quoted text question

by Bill Harris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Today, I tried to create two paragraphs of quoted text using

,----
|        ``The first paragraph.
|
|        ``The last paragraph.''
`----

using the quoting style that's common in US English, at least: don't
close the quotation at the end of a paragraph if it's continued by the
same speaker into the next paragraph.  

Asciidoc interpreted the start of the first paragraph as two grave
accents, while it (naturally) put curly quotation marks around the
second paragraph.  

Is there a way to tell asciidoc that the first of the first paragraph
should also be processed as a curly (opening) quotation mark?

,----
| $ asciidoc.py  --version
| asciidoc 8.2.3
`----

Thanks,

Bill
- --
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFHoQ+t3J3HaQTDvd8RAgaFAJ9J3p+PBfH2ba8hqstDvLIs5Dy0pgCffnNn
xI5NrX0xLpiARXY9qQMxcN4=
=wE7K
-----END PGP SIGNATURE-----
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: Quoted text question

by Stuart Rackham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bill Harris wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Today, I tried to create two paragraphs of quoted text using
>
> ,----
> |        ``The first paragraph.
> |
> |        ``The last paragraph.''
> `----
>
> using the quoting style that's common in US English, at least: don't
> close the quotation at the end of a paragraph if it's continued by the
> same speaker into the next paragraph.  
>
> Asciidoc interpreted the start of the first paragraph as two grave
> accents, while it (naturally) put curly quotation marks around the
> second paragraph.  
>
> Is there a way to tell asciidoc that the first of the first paragraph
> should also be processed as a curly (opening) quotation mark?

This would do the trick:

{amp}#8220;The second paragraph.

Or you could define a replacement in your configuration file e.g.

[replacements]
``=“



>
> ,----
> | $ asciidoc.py  --version
> | asciidoc 8.2.3
> `----
>
> Thanks,
>
> Bill
> - --
> Bill Harris                      http://facilitatedsystems.com/weblog/
> Facilitated Systems                              Everett, WA 98208 USA
> http://facilitatedsystems.com/                  phone: +1 425 337-5541
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: For more information, see http://www.gnupg.org
>
> iD8DBQFHoQ+t3J3HaQTDvd8RAgaFAJ9J3p+PBfH2ba8hqstDvLIs5Dy0pgCffnNn
> xI5NrX0xLpiARXY9qQMxcN4=
> =wE7K
> -----END PGP SIGNATURE-----
> _______________________________________________
> asciidoc-discuss mailing list
> asciidoc-discuss@...
> http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss
>

Cheers, Stuart
--
Stuart Rackham
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: Quoted text question

by Bill Harris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stuart Rackham <srackham@...> writes:

> This would do the trick:
>
> {amp}#8220;The second paragraph.

Stuart,

Thanks; I'll give it a try the next time it comes up.

Bill
- --
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFH5xeo3J3HaQTDvd8RAnlkAJ9K56LIpjGlXeSA+WIAF6f/s2bANACfQ69v
Vo70u3g5tIWFi1zksVsjj3Q=
=UGqR
-----END PGP SIGNATURE-----
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss