From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23439 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: U+200B and LaTeX Date: Wed, 18 Sep 2019 09:24:24 -0700 Message-ID: References: <45688658-4762-4910-b8d1-a28a23efd91c@googlegroups.com> 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="166690"; mail-complaints-to="usenet@blaine.gmane.org" To: nopria , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBRNURHWAKGQEHXXPGBY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 18 18:24:42 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f188.google.com ([209.85.167.188]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iAckx-000hAF-Bh for gtp-pandoc-discuss@m.gmane.org; Wed, 18 Sep 2019 18:24:39 +0200 Original-Received: by mail-oi1-f188.google.com with SMTP id d206sf337776oig.6 for ; Wed, 18 Sep 2019 09:24:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1568823878; cv=pass; d=google.com; s=arc-20160816; b=Z28y1qcful3nOJNyMk+gm88ZLVF8Sch+rN1GLB+yEJmYNWFYUiTMXDeCNZr7TPJsXz JCyCw5FwJacUnQsx8GSSGN0ZiXzrmqHMB9x/e3dZOcCPnTsSjyJ3X8UYn9pIox8o8Kip LF/WeGHi7PMJX2hr807PbbWl9Fz60JbCpCh4RWrrSeXOaR1QfrzRWdEBWw34+mx5BzrX b929/caA0Kmpl3I1AVxoPupJ2G5lzUKMBi9Bqgp2Y77Qq1VV0IlgXcNrmNkGHtutvPxR 0STbFf9YXrfmUqsEIGVauEA8S4U3sFNhTN2Nw+o8Cbi+Tzt+ZUZi+KgdXNnSbB0tkDKr zgpg== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=SXmdzDO/OcTOjf2oOj8SmtDJWH/lqyuuzH6c/VUVkY8=; b=yAIrfL5LI3MhczoNGOk6LVUpl4pH08Et7ObLa32dPS61LLP9/b4FYcHsTExp4Y14ma bi3s4XmE/GGh4kyZ5F2IzsQJuDdZfL8nfrbXDJD5TmCFObFNfoxuywxB2HfgYxkv8PKC zvRJFku4f5pWvSBgCiQCTjjXZqOMxK7NLMiWnXCcK9xQfyCAVbu6HoOYIYQZWXXWcMka H9Bd0LWPtONuu8Kc4gFPOpZVgZsl7RrnwqzWwKXRg1fz/zV0K9us0fEV+2Ex6vchHCzD Vl3sNU07whvu2gCIPu0aVFvBq9iH6F7rVWLpa4TZ8YT/99aitlZApdG4cn5vouMPQNLJ Ouag== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="P/SQAvrq"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a 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:content-transfer-encoding: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=SXmdzDO/OcTOjf2oOj8SmtDJWH/lqyuuzH6c/VUVkY8=; b=Nzx4drLNmQ75WapBphOJ+4i6Q8eNP8lmKPO7p5R8M8jkeGHwvnKydykoEagfcOhW4A h95N+W9RfelLLwwyHJ4krVQMUjj7y28OhhQtWMACcP01HdHYlBPhoQL1ONo899N49r5e gbt1mKzAI2LEczEew3AWWbTsLNdWtJV5ecfnQ9Pn1aTKPWJYAY7LjLOzZAd3PI79ySSW o+ng5yhWllxdY7HrRY10oSa1kA098Q8NaHYXqoRD+l8xxNVKE4eq1Ycby8R1e+Lmkdnq M4PLHJHXD+unnrKDsulukxlIYWD98yd3l7bmliLlYMZ87u3j28VhpX4+drXj8sU6S9ml 1m1A== 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:content-transfer-encoding :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=SXmdzDO/OcTOjf2oOj8SmtDJWH/lqyuuzH6c/VUVkY8=; b=O4RKDfYOXHhKyy2XFAXcn3+vXyV2uUrN0bfCYr81sip6UOmh2XQWtcn/ybRMgkDH/t bCQPu6Fw6a+iOIWN2GZ3pUisfeebs0sscH7nEux9IJAPEHbwKvmR1fPQVDI0asswMJql mrSPUWanaEWoFGiOmRarEemAYMXIXJXcMhSEs1nNBn3GjevE1oBcm6CGBn750EJtkKLw v2DxbTnzfFkGrMxJ2gYewMQX8jvSRPz1Ik6k5FZ4H3Ibprt8Bj8VgUm3SMsCC9xhHhmJ SC8ukFOQbzNYW970ik8FhgQV6pj0EhE7LwL4xjeMghBquZBUkk+IoiVp7Ze4c9Q3E9de Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXYvIiWQnKopy+7cuTWA3jzPUEA+H7O2J+Q5m/QZ8qbqEsDWBwT DId+6bwYZV3D88/LviMYeY4= X-Google-Smtp-Source: APXvYqxOuLurmkLLLJ2vMrmXA0tYz1qOvjxVfryzFLb7LHnF8nLqtS+JKWM4mpcPy4YOYUhCXajalw== X-Received: by 2002:a9d:7d02:: with SMTP id v2mr3650215otn.295.1568823878113; Wed, 18 Sep 2019 09:24:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:3cc:: with SMTP id o12ls26090oie.0.gmail; Wed, 18 Sep 2019 09:24:37 -0700 (PDT) X-Received: by 2002:aca:d683:: with SMTP id n125mr2880916oig.21.1568823877310; Wed, 18 Sep 2019 09:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568823877; cv=none; d=google.com; s=arc-20160816; b=l7fGChS9+vk/rCAj/ESwBaLdlty7NoLLtTXlScQpE07l/Z5Pt1QKGi9VSt3M7n24fL CnWg5V4iqJ+3Z0X9YBTbPVVdCARIrHgCscvdGbUkTeJb+PGS+k4So0+KrLcXuKOTWgBd 50LfUdsoEVqnxqylIAQcP2UleAGNlynrkoaZ0qaMUYQro3PiVilr5W5xgefXkktZ9J5X hTIawm9D8exT3Y8EiOsOVGmxmLc7To21Gh1/RaZG9KeKcvkeDuS7lPWQElS++buxjKtP 5++dNmGutjhW8/2dqEKFgnx5xVz0oN9LrwgYgUQWxo8iQiCP5rg+HZ9Fxd8SavaIsCW4 h5aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=J6ix0v8UhmVM7VpXEBXh+5M76V0ufnQgy2TmjL4KlGY=; b=haWKtpftSmlunSATXVc4nqHp86GZ+2tr8S5gv0OGBKujN69SCFtd5midOkmsBzJrjA nigYgx7mIilWbRM9+zPdO76u+jrGgR4gNjCgSug92ar7ipZmYB9jqpbcmU4Y3Ju02LsY uLWtIQdo37/EDb08jok/NCiinYb3PzQS9YCEgcIp3Gwds0WtSrSSCeyeH6tsGhGUWytT OT1POZW+dEYN+2UIRGWiv8QqfvvbQP7ZKxpQJESpa0s2LnOhn5p2Jsz4DQmtWW991kVm SKLsUyTV+2lJBkNiLrkfYxPGNvljUiM2eMMalce8/f/RLeQA4AJn5HP1vZGutb6Egjja RfvA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="P/SQAvrq"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com. [2607:f8b0:4864:20::42a]) by gmr-mx.google.com with ESMTPS id q3si409449ota.4.2019.09.18.09.24.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Sep 2019 09:24:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) client-ip=2607:f8b0:4864:20::42a; Original-Received: by mail-pf1-x42a.google.com with SMTP id x127so301742pfb.7 for ; Wed, 18 Sep 2019 09:24:37 -0700 (PDT) X-Received: by 2002:a17:90a:c24e:: with SMTP id d14mr4937244pjx.0.1568823876490; Wed, 18 Sep 2019 09:24:36 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id y80sm6739797pfc.30.2019.09.18.09.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2019 09:24:35 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id E668AA258; Wed, 18 Sep 2019 12:24:24 -0400 (EDT) In-Reply-To: <45688658-4762-4910-b8d1-a28a23efd91c-/JYPxA39Uh5TLH3MbocFFw@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="P/SQAvrq"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a 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:23439 Archived-At: The question is how we should render U+200B zero-width space in LaTeX. Currently we are just outputing the unicode character (which should work okay with xelatex anyway). Is there a better way? We could just output {}, for example. It's probably worth putting an issue on the tracker. nopria writes: > Converting from docbook to LaTeX I came across a possible uncorrect=20 > management of U+200B when converting to LaTeX. > The following docbook MWE (the simple string "...abc") > > > > >
"http://www.w3.org/1999/xlink" version=3D"5.0" xml:lang=3D"en"> > …​abc > > is converted to LaTeX > > \ldots=E2=80=8Babc > > with a (invisible but detectable in the real output) zero-width-space=20 > between "\ldots" and "abc". > > I think that the correct LaTeX output should be > > \ldots abc > > with a standard space after `\ldots`, because if you try to produce a PDF= =20 > you get > > [WARNING] Missing character: There is no =C3=94=C3=87=C3=AF (U+200B) in f= ont [lmroman10- > regular]:mapping=3Dtex-text;! > > because of the presence of the zero-width-space, whereas with the standar= d=20 > space you get the correct output ("...abc" and not "... abc") in PDF (and= =20 > no warnings). > > --=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/45688658-4762-4910-b8d1-a28a23efd91c%40googlegroups.com. --=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/m25zlp4lon.fsf%40johnmacfarlane.net.