From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18357 Path: news.gmane.org!.POSTED!not-for-mail From: Baozheng Liu Newsgroups: gmane.text.pandoc Subject: Re: pandoc transform between markdown and rst support Chinese character not well? Date: Fri, 20 Oct 2017 10:52:06 +0800 Message-ID: References: <4f48a015-3dc7-f663-81d5-a1d74333304b@gmail.com> <20171019161034.GC73240@protagoras> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e0825d8d0e971ad055bf18ecc" X-Trace: blaine.gmane.org 1508467933 7006 195.159.176.226 (20 Oct 2017 02:52:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Oct 2017 02:52:13 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDYZBXU32ECRBV6JUXHQKGQESLLXJ7I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 20 04:52:07 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ua0-f185.google.com ([209.85.217.185]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5NPk-0008RV-CS for gtp-pandoc-discuss@m.gmane.org; Fri, 20 Oct 2017 04:52:00 +0200 Original-Received: by mail-ua0-f185.google.com with SMTP id f46sf5710840uae.11 for ; Thu, 19 Oct 2017 19:52:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1508467927; cv=pass; d=google.com; s=arc-20160816; b=GbPXPOuwaMKGeJzVsIir/FuQHTElKxg9hGpCxCvF95+5XZbWXBq+V83ihNSube/vMj BWujr4WWJZI+oJ3QNMThSNqCULaS7ICHv5yzWfKodb6K+KlTd+8rl+1Z/GoRAygB/YSO En4m2BQGvMzgCrqnbh5holWW9Fz0OSlEezdXH1az7z21p/ICgTENDUPbDbvLJBpKn9dP hZZtqpqNh5XBM80W2gJEyoNZ6U/eeLBTm89c+qMBhQ1/J+8MNAPuIexEtDJ1Y9EOlqVG TjpQwfJ5IUlfC35nBWyff35ZC5zfjxx4zAFhFpGZOIRCQXCeth5fv/FuR3wuQpvSqfvI v3DQ== 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:to:subject:message-id:date :from:references:in-reply-to:mime-version:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=dpsLIzSFChuMdpYrjGPQrUCGrlIybbIs+T9JtVAjvac=; b=mX/gGaAjLLukaI7A/+2v3j3LSgfBEJOO0hREMS5+ZjmGtuEym8SxaQQRxe1dAqtUPj 1qvIkBdF+hdg9ev1jW3vP3YNU9Hr9I/JDBZuYxpZzEab9uk/70lcBBdkYigH+mTlyuVR umxmR07gaJghgvRuBBcoHgX4kAwv4C3qcNn7LyvEWIyCUsi+jSnSVXXsHD5R3NcpGQfi p+TJornrh+XVPKtyRWf6flZscIzrMlIEZ6+/HdOXh8o9Fckoql3/y2DCva9PkTLMrelp XVEICTAz0JUs4I1umRyVw6oKFo+ysnvFMmgTJzfMFGhZ9EN5vRntzC2/mfF9mxF4JMan uu8w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Be1K3tlV; spf=pass (google.com: domain of uromise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22d as permitted sender) smtp.mailfrom=uromise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:in-reply-to:references:from:date:message-id :subject:to: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=dpsLIzSFChuMdpYrjGPQrUCGrlIybbIs+T9JtVAjvac=; b=ajNS7uEwpbTA6y4trT8CrTK2Ls3/pxuZCIf9WYnpReiG+5z5COnO1PPpzCeQmzKgfW BjZRj/h+GZQzHMnh9FrbJaS3OS8XVhc3zsLfcCaTQG5j6lPC7c2tYMvl6ffZXx1yGsG/ tuPA0tlzrTEYebtbyyYWYtCmlEEpZTzYPMwQz6IkL/6ibLNmP136pd1ed83b4Pb9mBwX ffUGVA8GiOH1NcKmU16goUodTjmUoWUZZG744K9uP7f9NqmCbsMB0gHnJVUAL2FKwQ2m 82bwhDqao/lDgSZCxr6iQKs1XemGEFsLKY1nLfh0mEW0ox0upS0ENVplBpMoc+bDQhk6 x1Wg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :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=dpsLIzSFChuMdpYrjGPQrUCGrlIybbIs+T9JtVAjvac=; b=IVpZn140DOtO8NZt+GpixGlqPS+Hsxh9zmTcske/J+GH+LiiBOR7m45DHSOroCHueB CpUJ/GGuGn9yneehzzyBV2truXt2OOlHbY7qVo7Qvux/8gMZQ4ybdLa/AsiSlDUJhlcY KT48ZGVkiAuqNNPPr5r85MshbnalhxrYq4GPWeFMIx2bcR3I5y1zoZw68zRPHHU1UK5y VGkq866z73u69JjawfuiikcHwlsvJL7sZg6IfI6nGTSkFS6hn+uECYrCDIVncj3OmEEn cj3TB9F29d+mQ7b6avtTvNxN73Scij69Hc8zXRELgkTtJ3nXPTie2nLiKg7p6muNrJvA yc4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:in-reply-to:references:from :date:message-id:subject:to: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=dpsLIzSFChuMdpYrjGPQrUCGrlIybbIs+T9JtVAjvac=; b=eBK8VZngI3Hk1Y5fQ7TIg0xj3sAMn4PkGRP53gC41cA7FkP0olrg/gl5RWgRadgcho nOUfXmAqo1pfdAc0jBiBWNKP0W3mvPJj+IC4nFEWxgXEymtOtUkwZt+MZvwbVcFr47jx sqAjklLAZecelOHeQIBj6T3bTiay6elYegTXCDg60KHxKlU5ZJ89y++Ujv4/hUA7x65v dAtKwYn8US9rTr7OvBaiFgDl7bCk6u2eSSaIdn4Ba80+pRbif2TucKDI79czwNz0NMS/ H8xZLjkQEsZby3XD3yHWyxDYGvQXiR52ENWFerCFXj30F8SgsLiQliS9OzkZFVAO68cJ eE1w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaWp20Uhtqna3a2UWxtBta7Tjxk1Hq7hbVNI2+wXeNvQP/4iMz0m i5rdmd3qju9YVAbKHwKs71I= X-Google-Smtp-Source: ABhQp+SQoAHYZv6NKKvhST7rISUf86tcDlisbJh6nu2N5B9n4ZCO0qAz46Dv6RMvyJpFXzBCzU6NGw== X-Received: by 10.31.189.202 with SMTP id n193mr304925vkf.5.1508467927710; Thu, 19 Oct 2017 19:52:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.13.226.3 with SMTP id l3ls695666ywe.14.gmail; Thu, 19 Oct 2017 19:52:06 -0700 (PDT) X-Received: by 10.129.87.80 with SMTP id l77mr1959188ywb.77.1508467926965; Thu, 19 Oct 2017 19:52:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508467926; cv=none; d=google.com; s=arc-20160816; b=R7R2HgxybyMy96LUUVg1bzxvrmyU3tDuZM9xc65ZfaKp8csZqs0VEOI4Rpl4Bgi1HV KM0tDnaexYEca6yjrHXMHgCd1/4NkVvE3rfcBZADHKTx57s/MqazYc6llbyBq6QKdCnd QKWQxLRsRTnk8tGdKukOvsGB3LfOkawtgAQJw7FBJfVE6JTFpDQa0kLjeYtzeDiLFyGK U1dkVDbKmHMlLjU5WzlZApFM7ecR+KHP87PTZFiDpuPQzlmPVCnSXLfcpS6q57X3SoBS UCVHQKn5xVusPQG5TMn4Hy3d349qcfhgHZbuYfTyqyGtaVsZ+ycN2ra8bEu9evKqIo/Q TGSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=YMZtKEwtdaPzp3Cl1UEDP2tvmJkL77HNRKDE7thvEUM=; b=T8pWASoCkIJlpWFGlCTacO4PD5s6lQejwGH1jgj8kh7oksw0G5uHDIe38n3QUKzCBm /+2bFeGQvV7eGq6+Y8zBBAcSO66Eh5pqea9nDE2S5ALyPuGoCBho6XXMif69C2FlEeCt FZpmzrzoFNLx0g2/cPUJW+MVmuJ+Ekq+dW9w3vhyD3DMD0B2UBgrOuXHQaX5Ho9uq7sG oNidr3qRFMuCtC+7BDyU2XLs124dzVufYDSEoPkVu4ipVBZPJA6WdXIE312anUMXhaZo oEL6JwtYaWsKPVv2vB7JMDeeVHpQuidMWlVUy9PnkxSieMAhTfgYgZXJqL8v7vIdmXnR dzww== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Be1K3tlV; spf=pass (google.com: domain of uromise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22d as permitted sender) smtp.mailfrom=uromise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Original-Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com. [2607:f8b0:4001:c06::22d]) by gmr-mx.google.com with ESMTPS id e85si365190ybb.4.2017.10.19.19.52.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 19:52:06 -0700 (PDT) Received-SPF: pass (google.com: domain of uromise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22d as permitted sender) client-ip=2607:f8b0:4001:c06::22d; Original-Received: by mail-io0-x22d.google.com with SMTP id 189so11910328iow.10 for ; Thu, 19 Oct 2017 19:52:06 -0700 (PDT) X-Received: by 10.107.68.8 with SMTP id r8mr4575493ioa.192.1508467926461; Thu, 19 Oct 2017 19:52:06 -0700 (PDT) Original-Received: by 10.107.18.215 with HTTP; Thu, 19 Oct 2017 19:52:06 -0700 (PDT) In-Reply-To: <20171019161034.GC73240@protagoras> X-Original-Sender: uromise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Be1K3tlV; spf=pass (google.com: domain of uromise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22d as permitted sender) smtp.mailfrom=uromise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com 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:18357 Archived-At: --089e0825d8d0e971ad055bf18ecc Content-Type: text/plain; charset="UTF-8" So will pandoc be able to solve this problem in another way? 2017-10-20 0:10 GMT+08:00 John MACFARLANE : > +++ 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. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit https://groups.google.com/d/to > pic/pandoc-discuss/wGVGKiUhcNU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/ms > gid/pandoc-discuss/20171019161034.GC73240%40protagoras. > > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CA%2BR_Ot%3DvGzOaC_kx-RpC-k2Jrz%2BU2g%2BLEKSxOsZxczX1LzcMPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --089e0825d8d0e971ad055bf18ecc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So will pandoc be able to solve this problem in another wa= y?

2017-10-2= 0 0:10 GMT+08:00 John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
+++ 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 n= on-breaking spaces?

The problem is the reverse.=C2=A0 There are no spaces in the
source, just Chinese punctuation characters that include a
space.=C2=A0 Pandoc won't break on those, and this makes the line
too long to fit in a cell of the required width.

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/wGVGKiUhc= NU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-disc= uss/20171019161034.GC73240%40protagoras.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to
pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https:/= /groups.google.com/d/msgid/pandoc-discuss/CA%2BR_Ot%3DvGzOaC_kx-RpC-k2Jrz%2= BU2g%2BLEKSxOsZxczX1LzcMPA%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--089e0825d8d0e971ad055bf18ecc--