From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31543 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Antonio Piccolboni Newsgroups: gmane.text.pandoc Subject: quoted atoms highlighted as errors in prolog Date: Thu, 13 Oct 2022 13:03:49 -0700 (PDT) Message-ID: <34ee4a2d-b80d-4a44-acca-c68fc55fb380n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_168_255942001.1665691429544" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22682"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC4KDA7JYIPRBJW6UGNAMGQEFQKC35I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 13 22:03:54 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oj4Qs-0005fJ-7R for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 13 Oct 2022 22:03:54 +0200 Original-Received: by mail-oi1-f186.google.com with SMTP id bk29-20020a0568081a1d00b00354945ee05fsf1178027oib.9 for ; Thu, 13 Oct 2022 13:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=yEgAdvRmp1CpIIJp3scKCVJW6I1Sl2+vZpPo70L7+IA=; b=bl5kKDcGdwdq7gsMnLVBinq78An60bPY/UoRQoQ4I7Us01iTMBEtJqHYNU9OHvWj8t 8wyZPUxbViS1AhgFsxSkja3JuE5NM2rYN+mKGr4P7VYhFdFl64H7R5SY5wU+nWST3sho qF+sWkTfgSbU9+i/5a1qBCJ0xcArmLdQ72BOzEDqktvVhtaPKC4qTBJPqNgkHwWCYi4Z Rtd41R7Q+S5M1VEbraMYwWQf5A/6HlF0PFRsk2iMPRfx5TjiufwF8BufqizZ01S4G5H3 s4SBQ4+Nbp2bh79ldJKtjOX1/N4UqL5Ix95CEx80k8rM1JByFtfgUrxOIWYMzqsRhfOw jwew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=yEgAdvRmp1CpIIJp3scKCVJW6I1Sl2+vZpPo70L7+IA=; b=dHlSeQISmXuzDCRTj8CbKGybC73tfnw5UERh1ip8sbi2nlBJbFrvTNUrQQ/v8IHUB6 0l2PoUlbKXXcnREdd9rwTPHGhQ3fgUpVGEvziu4Nj0XlcY4k0tcSPKRSbl1x8gwDjso6 I5jrFLNzWaopYz3T01ZYlxPpPeGFId7HZpq0suBDYnUJ94zzwQ2gB7WZdGmSrbQNsIDA lvxujinurDmOsoZQfIv01rLmBLjWSdIVtdQnglNb6NIZ3qLGgv4F25rfrv8iu8hLAj/M LFlIjKpK6oL4QOg+MFloP3qHta5po2ShD6AbY9j86hGpivsvkEZzovWlmsIenZxNpLXP GBCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=yEgAdvRmp1CpIIJp3scKCVJW6I1Sl2+vZpPo70L7+IA=; b=sxxhREJY31oWHFFN9VSPownzqHqTM+D0MIjTeODTMnxRSlKRCL/rLh5HubQ1z2mBz7 ZLVGkIvJksTfKGM26l7KG/l3gkBIG7NxjLH30wOo7BOSmUJbbQL/s20HC1sxPUExh7xw GsWkZVKRZMiJSQ5Oklaje94ubwclQjireK9Zz2UHj87N6lgYkPWeP0TO/SdJAxfhYkhn ZvIjNc3uiJLIOIgcgyg7QxAHQIpj7nyr+pBQrVEpnv129szxY+aGP6HFoLBm2ugTL+hN 4ZXq1d2J/6tPvNK54h4KpnUpXBhkT/NyzDv4Pitv0bMmi3SybjOUI5j9QEsoqx22EJvd 074A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf01uPBgF8/PO0lzKgTrsld7N+MLADcEVdRINE7j/J9XXZvTsA3Y uUQVJn63Bnx0Ekc+N968X1E= X-Google-Smtp-Source: AMsMyM770qtyGZXd/rxA9qvMaktLrgHB/RPegDencJsNroxIditA2uyfcn/fmc4oMJKYwEmJzx4/9w== X-Received: by 2002:a05:6808:f01:b0:354:2d95:3f96 with SMTP id m1-20020a0568080f0100b003542d953f96mr735922oiw.41.1665691433069; Thu, 13 Oct 2022 13:03:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:3a2a:b0:132:8229:a3d7 with SMTP id du42-20020a0568703a2a00b001328229a3d7ls974435oab.6.-pod-prod-gmail; Thu, 13 Oct 2022 13:03:50 -0700 (PDT) X-Received: by 2002:a05:6870:15c8:b0:133:16e6:5af8 with SMTP id k8-20020a05687015c800b0013316e65af8mr6676541oad.80.1665691430310; Thu, 13 Oct 2022 13:03:50 -0700 (PDT) X-Original-Sender: piccolbo-Re5JQEeQqe8AvxtiuMwx3w@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.io gmane.text.pandoc:31543 Archived-At: ------=_Part_168_255942001.1665691429544 Content-Type: multipart/alternative; boundary="----=_Part_169_859470072.1665691429544" ------=_Part_169_859470072.1665691429544 Content-Type: text/plain; charset="UTF-8" Hi This simple example of prolog ```{.prolog} afact("Fact"). ``` gets converted into this html (please note the class="er" around "Fact", straight pandoc cmd with no options)
afact("Fact").
and this latex (please note the ErrorTok{Fact}) \begin{Shaded} \begin{Highlighting}[] \NormalTok{afact(}\OtherTok{"}\ErrorTok{Fact}\OtherTok{"}\NormalTok{)}\KeywordTok{.} \end{Highlighting} \end{Shaded} I am a complete Prolog noob, but that looks fine to me and SWI Prolog accepts it. Why is it marked as an error token? It results in a bold red font with pygments, quite eye-piercing. Thanks Antonio -- 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/msgid/pandoc-discuss/34ee4a2d-b80d-4a44-acca-c68fc55fb380n%40googlegroups.com. ------=_Part_169_859470072.1665691429544 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

This simple example of prolog

```{.prolog}
afact("F= act").
```
gets converted into this html (please no= te the class=3D"er" around "Fact", straight pandoc cmd with no options)

<div class=3D"sourceCode" id=3D"cb1">&l= t;pre class=3D"sourceCode prolog"><code class=3D"sourceCode prolog"&g= t;<span id=3D"cb1-1"><a href=3D"#cb1-1" aria-hidden=3D"true" tabin= dex=3D"-1"></a>afact(<span class=3D"ot">&quot;</span&= gt;<span class=3D"er">Fact</span><span class=3D"ot">&= quot;</span>)<span class=3D"kw">.</span></span><= /code></pre></div>

and this latex (please note = the ErrorTok{Fact})

\begin{Shaded}
\begin{= Highlighting}[]
\NormalTok{afact(}\OtherTok{"}\ErrorTok{Fact}\OtherTok{"= }\NormalTok{)}\KeywordTok{.}
\end{Highlighting}
\end{Shaded}

I am a complete Prolog noob, but that looks fine to me and= SWI Prolog accepts it. Why is it marked as an error token? It results in a= bold red font with pygments, quite eye-piercing. Thanks

Antonio

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/34ee4a2d-b80d-4a44-acca-c68fc55fb380n%40googlegroups.= com.
------=_Part_169_859470072.1665691429544-- ------=_Part_168_255942001.1665691429544--