From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23371 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: docx -> md and escaped quote marks Date: Tue, 03 Sep 2019 14:48:40 -0700 Message-ID: References: <810a995a-8a38-53e6-39cc-acb2c122b5c4@reagle.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223898"; mail-complaints-to="usenet@blaine.gmane.org" To: Joseph Reagle , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBRV7XPVQKGQEIQ62CXY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 03 23:48:58 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf1-f189.google.com ([209.85.210.189]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1i5GfZ-000vzH-4F for gtp-pandoc-discuss@m.gmane.org; Tue, 03 Sep 2019 23:48:57 +0200 Original-Received: by mail-pf1-f189.google.com with SMTP id b204sf4917369pfb.11 for ; Tue, 03 Sep 2019 14:48:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567547335; cv=pass; d=google.com; s=arc-20160816; b=BHmP7ifC/C7D2bJ8VtdEr0sdNKsAvkvdKLhDW49a6BOzTevUni89Nfgtr80uyYSjVH 4HIb++dx6KGzYvFSMvaeSwDw1heI3h06++ya8QcvGRAqmlJId0bsJQ5t9EU1sPBLDqVA 5boBGcJ5adskkRhM+R7srcCx8zvphcej/krMCk4bpcpOuurhI/MKqKgXIDi6gWYqs3Hv uXfjZ8pUFaRi9D+REH0dFkfIxcQRJDjr8YRrxQ3CTrOKuAkIvXEuM1Zfqqfwd7AyzBZP fy2/USRYJ/X3yLrQj+EgQzNoYkmigdVaJimUhxFvKfsvwkTIIdnKQ9NO0r5tQ70KoGJD VShg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding:reply-to :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=4UvhIdyIkHteplKYZdFsLqlG0lPFNEPfAk5hYQZZuEo=; b=YFap83K+J7MbLAArjFkwX0NCwxnSzry/vrgQF+218VmnIXCnrJ9yKaSL/QsOU4YlzH 1BZOoCdjjkXN9jxnCEaFaW42VFIMxhjG1LkXF0h0GR2pIuLPBqXx+HupQBxwKucC0tWH xFPVCKzXWte58gnW5XBj6NqJ3haRxlJDkWn6XzzJrMJP8roWEHkRzjQbvwo/rPZzIjQQ Igr5gZjvhwwR7AwN6W0DURGkv9bbCLQs0OyuGQyFwxE2pUFHlixFCu5grs5nY+fdLL7M vvof/j3d/drS3PBwEJdlaQ1V5Y/F4gsIj/PDEt8Du3PZc4bijmY4Iufo4sA2WQtfIAaG jV+A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=d4viCpAx; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::532 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:content-transfer-encoding:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=4UvhIdyIkHteplKYZdFsLqlG0lPFNEPfAk5hYQZZuEo=; b=S1APIwez2UEHNZWdcCspvnzBTGVOI5uxAfcPJdR/tPhySXg8TUzOWW6mPCJ2NX100L 3WRKVwTfCpBiTypxmXSDcmuZwzE8Tq6J0r2xCVmWNnNn38DIEsTkv+fXAh1XL6Sq28M1 P9rvOUDthHqK9mtYF9tKmNirY58vABnPO6isRjoyu24bfHScVPQs8IwDjdAARUGXQZSu STd4liBezJirFerBDnjn5yL77OI9oli8C5lGisqSS/dDRT23c+B2Q14Voz+fG6H/9L6Q f1qx8l1vHqEzRDUp041k4FfRIk9eiMhcgki4GFX4VsAsC/LQAvg93/Yq4fxdFxjYvviI xArw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to :content-transfer-encoding:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=4UvhIdyIkHteplKYZdFsLqlG0lPFNEPfAk5hYQZZuEo=; b=QZJBcUwclfxK+e4FSvfmtUUoDeEgfsobvoB14e1QDwRwt7KQvFtmZlX5LZS50J44k9 9TJqRQ3Au7wxkL12P1ld9NOJwNxB/NTeX7syrN9UkZmKMnjePw6wvxkgpw5BGBn2qnJU jEpnPQp8LZ77c0CYhwzkuQnmLTsCNmdkdg70VRxuZjnFV/pRv6/ZiguWnU23puHWnOKe IC0li4NH4ZnqVt0tkxj6RDm0ZznI4aExCkR8E88XEX+ZEL6nAyIkGpo+kYHSUeaEP8bS 5PsPcWELk3L8YxgE2tL/qiQr/I5MEOVEnHwBk7EnmhOhr9Nu94a4rmiyAWkRgN/6 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUBOadYWSMaVbePokwTY/tf79DEdgTRJ2blSaw8E7jmVJ1aGs5I Ovk2IuP0Lzj19fYAGIDZt/k= X-Google-Smtp-Source: APXvYqzRT+KHJ4DZlNU4NX2NA+03zh/bepGni9fvgzKXSmHkCR7PJ7pPKuw4XB7SX3zayb6CU5jW5g== X-Received: by 2002:a65:52c5:: with SMTP id z5mr32384499pgp.118.1567547335534; Tue, 03 Sep 2019 14:48:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a62:e903:: with SMTP id j3ls6064682pfh.13.gmail; Tue, 03 Sep 2019 14:48:54 -0700 (PDT) X-Received: by 2002:a62:52d0:: with SMTP id g199mr26405173pfb.120.1567547334301; Tue, 03 Sep 2019 14:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567547334; cv=none; d=google.com; s=arc-20160816; b=Guxeu+TxtD77J5rwNKTk3gyU/1e6CJkUYYKhIlFecwWTpn8pDgOcmDtghOPJR2n6F3 Z8MHxxXcCxC4/qipxiqoLTHwCIlyK2LrHBUo8PVfat9/I1PW+NjUhpcr9eYJ5qu0QW3H O7kNceZBir/vGuZ4xMYACfuSyxK5FYHop5Y0oTxWtgdI5ovf0buynvXd2q1zdRAJ1fMv /IbhjCVhr3AjfCAB1mmpQ150+saLkabXoScsea7I57fXNwdZEK9ZhGWeAmvujIAeuAsr +M2fnNN4XUVhQjc32vQoIVVy9MKbi+2djgLt+wqUfwiUQhVdJwGrfqy1aKDYQYJgkvqp O7nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=iRwinEOYaqUKDvrY8B8H1ESjgQJHDHPaqerGG29UWT8=; b=OEjlJKG/SW5V6dH5AvYIffAhEfib3Agi/307mMm1gbptJsdhjKDaGxd64/EsbKBiCI P16rKS5RZwoKPeuR5BkAN51R6iCEi5VgKeg5y96sCpHOa6zZsIhS3cZFcSorsoLi+Ad3 Hx8j3ZQlxYgAmIOZc1D6mJN6KKGGNht/xmrkAIk1fwBw0UkcYUzmRJk5zXjw18Qzi3py rpKtRmZaEXl6rl8Ud4vv+lhAqyxmC2/Q4K5Ag3LrO9ylgbGtZ2qy1TQDqtzeLKbeN0mo TG1/2K2NueINXBVX4rK3RF1wUj9RICRygQ+F4HWgRV2aRwK2tevtNTHtaYY3IXArGC8E VMMg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=d4viCpAx; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::532 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com. [2607:f8b0:4864:20::532]) by gmr-mx.google.com with ESMTPS id t35si17810pjb.3.2019.09.03.14.48.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Sep 2019 14:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::532 as permitted sender) client-ip=2607:f8b0:4864:20::532; Original-Received: by mail-pg1-x532.google.com with SMTP id l21so9957009pgm.3 for ; Tue, 03 Sep 2019 14:48:54 -0700 (PDT) X-Received: by 2002:a17:90a:f993:: with SMTP id cq19mr1488767pjb.51.1567547333750; Tue, 03 Sep 2019 14:48:53 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id s18sm6773550pfh.0.2019.09.03.14.48.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 14:48:51 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id D30EEA16D; Tue, 3 Sep 2019 17:48:40 -0400 (EDT) In-Reply-To: <810a995a-8a38-53e6-39cc-acb2c122b5c4-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=d4viCpAx; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::532 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:23371 Archived-At: Pandoc tries to convert accurately. So if they're straight quotes in docx, they turn into straight quotes in markdown (and they're escaped to make sure they're interpreted that way.) Postprocessing the output is probably your best approach. Joseph Reagle writes: > Another converting-from-docx question. > > Some Word files don't have smart (curly) quotes -- especially those first= typed into GDocs -- and when I convert into markdown via pandoc have all t= heir single and double quotes escaped. I've tried +/-smart on input and out= put but haven't figured out how to let it not escape them...=20 > > > --=20 > You received this message because you are subscribed to the Google Groups= "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/810a995a-8a38-53e6-39cc-acb2c122b5c4%40reagle.org. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/yh480k7e6poxtz.fsf%40johnmacfarlane.net.