* Curling straight quotation marks @ 2022-08-24 0:13 Thangalin via ntg-context 2022-08-24 9:19 ` Henning Hraban Ramm via ntg-context 0 siblings, 1 reply; 3+ messages in thread From: Thangalin via ntg-context @ 2022-08-24 0:13 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Thangalin [-- Attachment #1.1: Type: text/plain, Size: 328 bytes --] Hey folks, I re-wrote the algorithm KeenWrite uses for curling straight quotes. The new algorithm is fairly robust with respect to North American and British English. Could use help finding edge cases: https://whitemagicsoftware.com/keenquotes/ I use it for preprocessing documents prior to passing them to ConTeXt. Cheers! [-- Attachment #1.2: Type: text/html, Size: 997 bytes --] [-- Attachment #2: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Curling straight quotation marks 2022-08-24 0:13 Curling straight quotation marks Thangalin via ntg-context @ 2022-08-24 9:19 ` Henning Hraban Ramm via ntg-context 2022-08-24 15:37 ` Thangalin via ntg-context 0 siblings, 1 reply; 3+ messages in thread From: Henning Hraban Ramm via ntg-context @ 2022-08-24 9:19 UTC (permalink / raw) To: Thangalin via ntg-context; +Cc: Henning Hraban Ramm Am 24.08.22 um 02:13 schrieb Thangalin via ntg-context: > Hey folks, > > I re-wrote the algorithm KeenWrite uses for curling straight quotes. The > new algorithm is fairly robust with respect to North American and > British English. Could use help finding edge cases: > > https://whitemagicsoftware.com/keenquotes/ > <https://whitemagicsoftware.com/keenquotes/> > > I use it for preprocessing documents prior to passing them to ConTeXt. Just use \quotation and \quote, then you have the right settings for many languages and can also be sure that quotes get closed and are consistent over the whole document. Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Curling straight quotation marks 2022-08-24 9:19 ` Henning Hraban Ramm via ntg-context @ 2022-08-24 15:37 ` Thangalin via ntg-context 0 siblings, 0 replies; 3+ messages in thread From: Thangalin via ntg-context @ 2022-08-24 15:37 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Thangalin [-- Attachment #1.1: Type: text/plain, Size: 543 bytes --] > > > Just use \quotation and \quote, then you have the right settings for > many languages and can also be sure that quotes get closed and are > consistent over the whole document. > Thanks Hraban. That won't work with my workflow. I edit in Markdown (plain text), transform to XML, then pass the XML to ConTeXt. When I edit the document, I want to use ' and " without tying the document to TeX. This gives me a complete separation of content from presentation logic. Figured it might be helpful if others have the same workflow. Cheers! [-- Attachment #1.2: Type: text/html, Size: 1181 bytes --] [-- Attachment #2: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-24 15:37 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-08-24 0:13 Curling straight quotation marks Thangalin via ntg-context 2022-08-24 9:19 ` Henning Hraban Ramm via ntg-context 2022-08-24 15:37 ` Thangalin via ntg-context
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).