From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18353 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: pandoc transform between markdown and rst support Chinese character not well? Date: Thu, 19 Oct 2017 09:10:34 -0700 Message-ID: <20171019161034.GC73240@protagoras> References: <4f48a015-3dc7-f663-81d5-a1d74333304b@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1508429436 26636 195.159.176.226 (19 Oct 2017 16:10:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Oct 2017 16:10:36 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB4E4UPHQKGQE3VKEZXA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 19 18:10:31 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f183.google.com ([209.85.223.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5DOk-0004rm-7H for gtp-pandoc-discuss@m.gmane.org; Thu, 19 Oct 2017 18:10:18 +0200 Original-Received: by mail-io0-f183.google.com with SMTP id k9sf8307000iok.4 for ; Thu, 19 Oct 2017 09:10:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1508429425; cv=pass; d=google.com; s=arc-20160816; b=O4thVJjr55avGZxbw1MBO0qSSTwYoIbv88JIMRY0xVpLRfeDs2Nibq2EyjgQ9zHt2K Qif80Ncjpw9m6Qp6jQqeB9HI7yEXKuKdVJuF0RZk549kt4+TBz9Fjaa+K/rsZ2bKK3YG QJofxM4JsfcwtM0FX9V4Vlmjf+49p5Doy20txAcL2pm+a/N1V4Rkf63GzT5DA0tao3hS KNadwk9Re7k/rT9yQv8P9rqKIL5U1tM7mplp9h5QseWe0hHZgcIjGFiY0/6+lNZ0cvYd Uu2RRBrBxtHZPd2FPdo1EwXGRcJ+YnerGXYJCFvtwrhLp2EQ74tS6665MY+sFzHzdMNl Epnw== 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:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=HyQzFpNnorMVBEHsGFWO1gQZFE5YSb33715rQiobej4=; b=l9YgivLkGQWCGQ1EsW3vn8dWfg2jiuQ4GUDA1eKjxlNS3bB3KdNC4bxlAaRf9SV3ys 5tv3Jr5wPAUt9PzdOFqdjs4PmCWW2ABwLUoJkWFUWMPv0pzk5Q2ZUm0Lx/nLcNYtytuq BLTBnI4WPFlC1OfrjFcqmRgjN6tsyw4ZC+EIptNhUVyImbNyNVqy7PCE5pF8/JmYYIDC q0NRLrP8vaWr2GLA1WT9W2P7rXwPlKpe1UdyXXEOzqGR1I5hodyuJ+c1ehC46UTh6cRS bUnL2b0N5Z2ClYEbS8hj06tqavXnr/jP3Mqx+HcwxK/DNdpAShJ+Z4k6zC/9PiE8hY29 ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Z6PGFq5E; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::236 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:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=HyQzFpNnorMVBEHsGFWO1gQZFE5YSb33715rQiobej4=; b=HqIPoV8UesNCptz2YQK8CovrmMBNx+rgbJMfRFj3rw4T3/C6gUiXDGmAJnZi3ApaTU X7C+LSK6cLbk7dpJsCAbnJi7ZmqRBmPSMzMMAw7XGGWf16rNI9NHQP0gpVQlNUooDd2e aAW2NxQYYvQBFIN2zkSYoXTUK/L7KH7AxLb3y9Nq4ZZbfVM5klUhBHsILpeUMYOt/7xO 62mWtJ0Jy6e9lvBCRc2/iU3AnQOZPTDp581lHb3MKdvplZvVx2AoIY0YqAmnYznsCiS0 iO8/9a/nE6W1VUN0SbpiqAaa8vJkI+0YIH7Ez0rT4FJUA70C/ByU3X107ibZF8kIwuKk pMCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=HyQzFpNnorMVBEHsGFWO1gQZFE5YSb33715rQiobej4=; b=FOY1QjV1NKABhjEBG4t7K9/+IT4YqjOf+rNTvON7qqpHcHKJj9t2tx7P7haU9tmjfS FSEtVdc+mcekon6CGKBO/MspW3uv/HbLxuJTS9KL07bVQLSzCb8uZc118SWW3WkZ1Tqh dXmKAkZcp9qkNKIcFyvcVKw+Gfl58/3CoI5EaE0GljUvLKjrgA9nW43OnmAogdlyo6sB 4elJEF/CkbPeRb5gnMM5U5lCFRuRYryrrpwHuhpX9Te4qG/f7dpwnkJ/aZsmvXgQmqle xZL8yjCBZNN0YK7iDJeDoDS0jW73rjp6TwH2k4iBh8H56uVWXzWYxrF5QUk+N9T6bZOH Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaW8LLvq+OfCa5q6hHD73c8HGaAiYexMLDtg3Omho6tvcEr43SEB CnOGZDZ1Q9h6VRf/AvmagrI= X-Google-Smtp-Source: ABhQp+Qg5YoWqrDo9r5bjMkDumhfIssFTNQ3Umrzp5sUbyR9cn7EALy+3poxtaGOw3+k7DpowuMIfQ== X-Received: by 10.36.224.196 with SMTP id c187mr41157ith.0.1508429425537; Thu, 19 Oct 2017 09:10:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.99.62.137 with SMTP id l131ls1793340pga.32.gmail; Thu, 19 Oct 2017 09:10:24 -0700 (PDT) X-Received: by 10.99.111.7 with SMTP id k7mr403262pgc.109.1508429424423; Thu, 19 Oct 2017 09:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508429424; cv=none; d=google.com; s=arc-20160816; b=DLPHHgt9RD2Qt4N9z2GJz9xTrgaOvXEqzkBr7HinQlKZ2png5FuxSzL8OmEic2+pz7 hPw0CzKbGoghafTr23d4tCApKUsZZIgKzNwBOMd6LIw7rIsiUniVaH2N694cjUVvpD1G R8f28bMSeeK9RDeMvVUA5dlcseyhPc7EvCvemTxsZqV96ERNFYbVeI6sazCCjsjNEMZI 6Vj8ALVBMsu/pepZuNv9ojgOvv53uFBH8GnEcL+Re1dEk2bhau/KcfTmgsgdqowvN5u8 uZZaqwkcIA/Qw3s83CfbLLLp9ehYZYJuGzPBwD74pMon28W2cry5v8miyyBK2bXpeCur 733w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=Ln9z9HsVHD5DbF02D0Op6tZJfvhnneaU1XL/6IZ/adA=; b=nO+WTq6Ua9Fm3mpKJoWnbZHKn7TtTosNfsOFaHuxE0bMkm2rUswq5QUeQtGt3Rfb2Q DXsXnEsw9B+FIW1vqV4FGHSplA9CG1ubncwn36qFvxQs27DlxyUdD+lQki8+PioAKcFy uEL2Ox7e4o0BAQDgxa2f0FGJFLurUSxMJYt8c1zModleuNvOGw3X0uijt8VAczAL8G2b I2WH+LE2+JjheTvnRzWC7ZbGqLXy48HJ9s6hHKxA+SQeAmSHBSLO0jBd6PkLVBeQAhWk HzyLORvNCcntHVVAXbpJeeof+SrozKHYtRNBikflN3QFumtkg4iLHsuL/4ElzzrRm9Ul FqyA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Z6PGFq5E; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::236 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x236.google.com (mail-pf0-x236.google.com. [2607:f8b0:400e:c00::236]) by gmr-mx.google.com with ESMTPS id t18si965776plo.2.2017.10.19.09.10.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 09:10:24 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::236 as permitted sender) client-ip=2607:f8b0:400e:c00::236; Original-Received: by mail-pf0-x236.google.com with SMTP id 17so6895557pfn.12 for ; Thu, 19 Oct 2017 09:10:24 -0700 (PDT) X-Received: by 10.159.218.148 with SMTP id w20mr1949947plp.398.1508429423658; Thu, 19 Oct 2017 09:10:23 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id y21sm22448231pgc.40.2017.10.19.09.10.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 09:10:22 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 8B00AA1ED; Thu, 19 Oct 2017 12:10:11 -0400 (EDT) Content-Disposition: inline In-Reply-To: <4f48a015-3dc7-f663-81d5-a1d74333304b-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc 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=Z6PGFq5E; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::236 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:18353 Archived-At: +++ BP Jonsson [Oct 19 17 13:56 ]: >Den 2017-10-16 kl. 17:44, skrev iromise: >>When I use pandoc to transform markdown format table in which there is some >>Chinese character to rst format table,the generated table seems some wrong. > >[snip] > >> >>is there any way I can solved it? thanks. >> > >Does it help to replace those spaces you actually have in the source >with non-breaking spaces? The problem is the reverse. There are no spaces in the source, just Chinese punctuation characters that include a space. Pandoc won't break on those, and this makes the line too long to fit in a cell of the required width.