From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22514 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Problem When Transcribing Greek HTML Letters to LaTex Date: Thu, 11 Apr 2019 21:54:22 -0700 Message-ID: References: <4160d0dd-940f-405e-9ecb-0f1eca421b14@googlegroups.com> <885bafeb-28cc-4f7f-ad1f-f7708ed8fb4d@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="48870"; mail-complaints-to="usenet@blaine.gmane.org" To: totyped-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBC5UYDSQKGQEUJZ2ZBI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 12 06:54:40 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pg1-f188.google.com ([209.85.215.188]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hEoCz-000CUJ-Fe for gtp-pandoc-discuss@m.gmane.org; Fri, 12 Apr 2019 06:54:37 +0200 Original-Received: by mail-pg1-f188.google.com with SMTP id o1sf5818547pgv.15 for ; Thu, 11 Apr 2019 21:54:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555044875; cv=pass; d=google.com; s=arc-20160816; b=PfAAvHMwG78Y6KMC9yxMC0iQmI5qu6bj9ldvBd1LRC5Gza6XNXxMBOGDYjIpWY/MB9 3KOwWSOiQfNzN87AWX+hWE1K0fElMu2oPuCbCE4rvEUAYHMTLJylMjyYHJI7uXbpQn/U 82Q/DzwG9tI/kY0LTOQjaCToTf7pNP5ntVW+GVqfll6nhza+nxKATQ6zDzcF0EUEvdZ7 GZHwXjEEY7/SX66VWX/ucjbGPl/aSzBOcxHE5V96hd2NgLspUljrZLLAkFmdJM/WgehT gZU/50bgAS9JHjQ3KyYiU6lRmM2dAqIoYEeV6MW8DK0MG8Ks9wZtQQCVoqN5UnAhWyEF P7bg== 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=8YmjJQc+Y5fJEEVjqBqgs6fLAo0vNIleXQxgxUteHWE=; b=i/uj4H1q85t4NmmBMsRXZv1xyjRRB4Dy69tkZpnYvSvdO89ZNqUzSxJ25UcvGFSzuZ QRpXPf1Tey7RFSfpSezr3qHjK3u9tsUIXK9sqH/TpkNmBfRxVfNdr9wwX6D+Ugsqp2ok MSUfTx/JDA1GQq+7WcLGp1Zkl9NB6uvZBuL40Dql61lT0IgFpUcBsfHKa8DMhtBLIsoN uT5gQAHJQwyn9rnpWDtQaZFyjeB/WYjmocwKRbGjWdTk0F84g/Q+ebNAWQTNsSvS8vb2 pWWzOiYsdKyYA52jbjUCiVrXHZOVAvivliUuKteFGU9ldQEhjmmEupmw+ezggf2MkCPU rWwQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=fHfm1yL0; 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: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=8YmjJQc+Y5fJEEVjqBqgs6fLAo0vNIleXQxgxUteHWE=; b=hvTa4PGkVjUTqN8Wiin7BVJ//rWj/5C1Tg8E9US7kKhRHr4VfCzSpObLV5Gp1EueBt gGghnm8EV7OYw8PAqY6bz0eFQMejURDR+C5x8iIZzKzQf9m5V4eVtWH5y4K6zm+0sKLe hyfoczQyjtjpnTrw97r7EuUg8U9vfFDSNgNWP7A3A4UOijSEDAL4G1iBCgPeRg8WKvGL AS9L5bIo/hYPBw4CHHADfo9u1J/QIKvTczDdvI1Rvxp5ExQxnBRRkIp8xoUpFxK53U++ gmDn3xWPUm/YhFDBywsS0U6CdtPwrVGoRmvvgIg/zhYh1HIDo14eizLMp0rfjWzjcwQN IW8A== 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=8YmjJQc+Y5fJEEVjqBqgs6fLAo0vNIleXQxgxUteHWE=; b=r+Btzc0NTgWOsXsvILUe0r4UCE4wEXU2wUDXuv1DmYU1xbWYHnLxrCYNzOr2K0GuS1 up85LYETsqqG5up7IpefoDupRLcbBozfjGEHePWob824F2qCR05NpPRAIB8pXqHDeJLt 1NjFfrCtlaI86XdVD4e8MbsRXwN5J8xx+SWDzAmUyikUgQCIruVLy3pxL2ZW3mVl8z85 8SvY/yMOueTSAMfUb2FJy/wvhzXKr0pJUUUmBXi041CjKGPfC/wHn9icvEVBCbMv1w5u RGDKxqH6qV140yNQQyT1VX9DnsYP682HDVFHYCFqBPeCJasgxZsefbpj3O3qQQk2gTbG Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXGDRhUlpx5n2E3Y+Kih1S+oLgC5zGtL45tSq1tfn27wuuqjAPJ sXRffQ88kFDbjcsoZHcJVzM= X-Google-Smtp-Source: APXvYqzo+lytoM1zVTj7Zi/kIzuP/SrWbR//hNflA1o+Y054x43UJOAAvLHSuS2iK8AUmuktnXJW7w== X-Received: by 2002:a65:4083:: with SMTP id t3mr25072836pgp.332.1555044875534; Thu, 11 Apr 2019 21:54:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a62:4116:: with SMTP id o22ls2283571pfa.12.gmail; Thu, 11 Apr 2019 21:54:34 -0700 (PDT) X-Received: by 2002:aa7:85c2:: with SMTP id z2mr1611956pfn.42.1555044874788; Thu, 11 Apr 2019 21:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555044874; cv=none; d=google.com; s=arc-20160816; b=NRYt0wh3F1SmzyD1dDFzH5sbuO/Mf0cR2j00ajvALmd1A5ib14eS9M4CI2b7fqVzvi RUzNoNUq+QWy2bC9QUES/1k7ozLsZ9WhB9hG6bNAjVnNJtDPDoJNKAQnN/FlJQ0bgz+M oCu7nX56yPuV6Uz77UN03n/yfcKzxIwzpnyozs+bXELXh28R1Z7xg6Wf3U4SyaqPB/st AaHdi6w5QRgKRLyOqbH4SC+wzsMh3IMLFPByjiQjYeVkdWiJYuCPc2ADI9qsx8V4Raaa wK3YGTzbfayP8zX8T6S/fq0Vbk//IyJDNglt4x4QBKyKC/Saa6x+i5f0a3XqZLx1fYdC sYZw== 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=GPitONEZ0SPheWgSyiOydvE8rb8W23V3u6m5CPnkD/M=; b=hConFVP3knk2Hce+pnCy5c4kGBFkpl1mkIce4o5JfXMxhcd54JPm1v6F4LXpchNvh4 XDbicqKO6Hui4hlbtBR1RY2Pf/l+9HINTxE68URn4rV8QK+0nytOfNSn/fz3mOYq3cRk EZ2glLtqkVqkwYOUsVyKUXmGPc+2mlXmZxMB/mRuXqAdBlEoNPTBnOHv3IeqP/99qTzw hSOQ0dfjWNIyHCWYcJ3zzgHOOc93UgxbjFVQaaF5NIDm9NHNVKWDK11HAA4qMBiRRmHc jXO/+6sAPYym+7t5l+Y5euJxtvdG/Q+SBBuKFY9+Xtfo//N8fos12qqdfELMN8Oay2Oh ZfUw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=fHfm1yL0; 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 q203si514486pgq.4.2019.04.11.21.54.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 21:54:34 -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 e6so4583880pgc.4 for ; Thu, 11 Apr 2019 21:54:34 -0700 (PDT) X-Received: by 2002:aa7:8c56:: with SMTP id e22mr54920787pfd.155.1555044874356; Thu, 11 Apr 2019 21:54:34 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id c18sm106499378pfc.0.2019.04.11.21.54.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Apr 2019 21:54:33 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id B5DE3A177; Fri, 12 Apr 2019 00:54:22 -0400 (EDT) In-Reply-To: <885bafeb-28cc-4f7f-ad1f-f7708ed8fb4d-/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=fHfm1yL0; 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:22514 Archived-At: totyped-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes: > I see, thank you very much for your help !=20 > So, you replaced basically all `<`with `<`, correct ?=20 All the < except the ones that are parts of HTML tags. > Also: Do you understand, why, if you go on my Stackoverflow question=20 > https://stackoverflow.com/q/55642183/6114310, the string can be perfectly= =20 > represented, if I just type it as is into Stackoverflow ?=20 StackOverflow is parsing as Markdown, which allows raw HTML. And it's more forgiving of invalid HTML, apparently, than pandoc's HTML parser. Interestingly, pandoc does the same thing. If you read markdown, it allows this: % pandoc -f markdown -t latex <=CE=BBv1,w> + 2,w> \textless =CE=BBv1,w\textgreater{} + \textless v2,w\textgreater{} Here the emphasis disappears, though, because teh HTML tag is parsed as raw HTML which won't be passed through to latex: % pandoc -f markdown -t native <=CE=BBv1,w> + 2,w> [Para [RawInline (Format "html") "",Str "<\955v",RawInline (Format "html= ") "",Str "1",RawInline (Format "html") "",Str ",w>",Space,Str "= +",Space,Str "",Str "2",RawInline (Form= at "html") "",Str ",w>",RawInline (Format "html") ""]] But if you read HTML, it doesn't like the unescaped <. % pandoc -f html -t latex \emph{1,w\textgreater{} + 2,w\textgreater{}} --=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 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/m2y34fvn5t.fsf%40johnmacfarlane.net. For more options, visit https://groups.google.com/d/optout.