From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111811 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Re: Straight Quotes / Curly Quotes Date: Thu, 17 Jun 2021 19:08:02 -0700 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4362296286891431854==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28249"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 18 04:08:46 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lu3w5-0007AX-OU for gctc-ntg-context-518@m.gmane-mx.org; Fri, 18 Jun 2021 04:08:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5CC6F2847FB; Fri, 18 Jun 2021 04:08:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id utArev-cGJM7; Fri, 18 Jun 2021 04:08:18 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 47F902847F7; Fri, 18 Jun 2021 04:08:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C7C012847F5 for ; Fri, 18 Jun 2021 04:08:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rtvWG4D8QRWr for ; Fri, 18 Jun 2021 04:08:15 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.181; helo=mail-oi1-f181.google.com; envelope-from=thangalin@gmail.com; receiver= Original-Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4C5BB2845AB for ; Fri, 18 Jun 2021 04:08:15 +0200 (CEST) Original-Received: by mail-oi1-f181.google.com with SMTP id q10so8781434oij.5 for ; Thu, 17 Jun 2021 19:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=yCOnoHxhoEY1AhdCjXTJp+h1krLgfwj4p5gUeetMsXM=; b=PjLfhyqNagqtAIy3NP1Dj8YQ/0txM9KFpHPFmtqwnhMgvOlmKcvHlGTqFxv4dkcswL vrh5jxf4THSwHRyEJmBaX2FCthxp88SW7+rpHHpRTeYSTl1VolSv7zEAmsP1ajo3amdF ls1g4XyQw9hPWJH2N6MMn+wdpwYcTER7qKIYtgugJOy6AjziakV+ZkjuWIHzWbq45DV3 HRC6sjRUGc4NPphPsMW3dsiLYv6HkTE7N4khBiteNp3wfPbrj3CfmD9Oo4Rqebb+sNr7 n/QcDxUH5MAO6MM8Clf4f8tzxun/ETaaTTrLRAzhvI1oFhs5qKIwz7XtG3CGGRRRaqjS 1P5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=yCOnoHxhoEY1AhdCjXTJp+h1krLgfwj4p5gUeetMsXM=; b=nrPMyrBvdP5BBEpUCpnnkmlLqE396We0HnCTFVdYaMCd9aMb3z+/cshw8OlXvMeB66 1pQ6ZDPKnLVVOjdZ3KaAD+yZdNEndoU9ig1P6L9CLOnmtw4iBZ2w5voBMNWiYSeHikD+ A1tZgQElcVMlWUXAb0JGHwOLZj1V1GirL224PDrdSa2SU8TOmRLtvTLfqtWlM5lztBGr 7K0pL6lvVF8gGaCGS2I0yN1jL1ZB9RCzo1NqCm8w1uNDBl9IadrC2CGoqWiREw8E7OP2 ZH5mmAkKacYZXemWShGApAklZy0RMZvo296s4RKgQHJqyI1Zjnom0jj6FP7xYlar6Rwv tKAg== X-Gm-Message-State: AOAM533GsxLeM/WOywmF9qYfrmWVSasAtH4K8n4m8mnX+DTG0YDL1vf9 8g4lkdCd7yZbszUAzLdFHVmhdXw1IMk+B3YpSgKA+owQjuM= X-Google-Smtp-Source: ABdhPJy5JWDPHOAPNQemwNzEN4DW0lgO/upqiZTQ5YTX9dOhCSCKfPJRothpkKR25aFnLHWLvt8hX0Ns9wyvNb//w9w= X-Received: by 2002:aca:4cc3:: with SMTP id z186mr5532764oia.73.1623982093219; Thu, 17 Jun 2021 19:08:13 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:111811 Archived-At: --===============4362296286891431854== Content-Type: multipart/alternative; boundary="000000000000c9bae205c500cb99" --000000000000c9bae205c500cb99 Content-Type: text/plain; charset="UTF-8" Hraban, > In what kind of workflows does your program make sense? Have you looked around the web lately? KeenWrite (https://github.com/DaveJarvis/keenwrite), my plain text editor, can neither convert nor easily type curly quotes into the application. Recently, I added ConTeXt integration for exporting to PDF files. ConTeXt doesn't curl the quotes, which I found a little surprising (because LaTeX has a quote curling package). Not seeing an obvious solution, I coded my own library because all the other libraries I found were either not up to the task or required a massive natural language parser dependency. My workflow will be: Edit plain text in KeenWrite, export to XHTML, curl the quotes, run ConTeXt to typeset XHTML. Another workflow: Edit plain text in KeenWrite, export to XHTML, curl the quotes, upload to CMS. The problem is that when typewriters were invented, curly quotes didn't make it onto the popular layouts. Then, after Unicode, curly closing single quotes and curly apostrophes were not made unique. HTML entities get it right, though, with l/rdquo, l/rsquo, and apos. C'est la vie. --000000000000c9bae205c500cb99 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hraban,

> In what kind of= workflows does your program make sense?

Have you looked around the web lately?

KeenWrite (https://github.com/DaveJarvis/keenwrite), my= plain text editor, can neither convert nor easily type curly quotes into t= he application. Recently, I added ConTeXt integration for exporting to PDF = files. ConTeXt doesn't curl the quotes, which I found a little surprisi= ng (because LaTeX has a quote curling package). Not seeing an obvious solut= ion, I coded my own library because all the other libraries I found were ei= ther not up to the task or required a massive natural language parser depen= dency.

My workflow will be: Edit plain text in KeenWrite, export to XHTML, curl t= he quotes, run ConTeXt to typeset XHTML.
Another workflow: Edit plain text in Kee= nWrite, export to XHTML, curl the quotes, upload to CMS.

=
The problem is that when typewriters were invented, curly quotes= didn't make it onto the popular layouts. Then, after Unicode, curly cl= osing single quotes and curly apostrophes were not made unique. HTML entiti= es get it right, though, with l/rdquo, l/rsquo, and apos. C'est la vie.=

--000000000000c9bae205c500cb99-- --===============4362296286891431854== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4362296286891431854==--