From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31546 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Antonio Piccolboni Newsgroups: gmane.text.pandoc Subject: Re: quoted atoms highlighted as errors in prolog Date: Thu, 13 Oct 2022 14:47:36 -0700 (PDT) Message-ID: References: <34ee4a2d-b80d-4a44-acca-c68fc55fb380n@googlegroups.com> <18f7f4df-2bc8-4244-848c-c07fef627f51n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_392_1435780635.1665697656074" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14880"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC4KDA7JYIPRB6MOUKNAMGQE53KL5PY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 13 23:47:41 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oj63I-0003fy-GD for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 13 Oct 2022 23:47:40 +0200 Original-Received: by mail-ot1-f57.google.com with SMTP id z22-20020a05683020d600b00661bd353d87sf528157otq.16 for ; Thu, 13 Oct 2022 14:47:40 -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:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=oUIdWlmzJjF0GUk0i5QZzmffXpO//88WNoqqgZEGZ68=; b=fFPKzdrFd0kVbgB2Zv2gDaqZqumeZz9cKk6MU+MlxAQDTfdeXxD8NJH1EepW9newdY 2Dtk6bkjMYGTIBe+XMZFzNMcnSn3X18QXOe8svpBqO5BZHfT9OO1O0HVJgPB00Tluywm m9YksGV45utO1fWf4dxBacKTkFefdPmK8lHIs/CtH2BUr4Zp6LX7dKSQc7SErIMMaFwK pCKIkm/zFAkFt6l9yV3AcH5/AYz76TGH1yrFReGaY8AX2q7jeLiZltK7Ng4hJJB6+N8T QAxDErYHWvJjYVmtuUcFiMKF8Yalk94Jpodi62JZzb0HWn6cylH9ynvUZM0npJxzz8yN mvig== 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:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=oUIdWlmzJjF0GUk0i5QZzmffXpO//88WNoqqgZEGZ68=; b=APEvK8X+9IIRMWYXOofmPlljOkf3JsnFELU4uUdjWdzfBCgTSKvL1j5flps42pc84t MW42BGW+EMZoGfUHRq35STtoXe190XTWG/Y9Nu4Odi8VC3LOD2Z3tirH0h1j9Bsv9cB/ 1EkmqnK/mxUGpWh+D6fBmE1/vgkloX/8NEBZWhzoQ5rg0/Q69BUtNnJIG8PzHtVmMfr8 W9ZMgO7DUTnuNCjVdTx9MV4uIGoRs0OdpF+FUh23XeVRrkqeMJTO5rai033An3/dmBsG rM0BQCu4l+X4sg87fATX9pnJJ4iFEQFa5rNJnS6HLidtn8tRAj4917wunjt4xYZOHJf3 5XOg== 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:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=oUIdWlmzJjF0GUk0i5QZzmffXpO//88WNoqqgZEGZ68=; b=c4mloYKoy9cEU9zk2H/PT7026uDXa4KY8qAA8ABMBhInpR+AbD+oEUW72h6iFr1EAL Xn0x8FSu9zQfstdefnpbt6ccjGq1EgzGAPT0zifsoD1R657t41IabPWdbyA8Eqh2uCbZ 0HXcgkf8OCgHzppZKC0yQ/VUmnLSUAWgCraJb8lajwpGGstreagKKKGoP+d0NYRNxk0A lMzJrj9F4xfKtnJKNdmbaTkad/SeqOq7tvKTk3QU11kf25QnbZhU7N7ebQVkuBkaWN6w 1pO1bMO4OFbc0GJN3BOXQ1DvGF1Ky3ECWdGwext4xdTowwD/ijOu3AWrOaHklcA+bEk1 YK/Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf32xxKTnXdM5ERR9INRO1J2mLn/BqanDDALe+mwu9lrts/QOVVy llLQvp4XrHgSDfJu0ZKua/M= X-Google-Smtp-Source: AMsMyM4k4AFtNLjVXX4DmbPnRky6q70PXvUu1B8PGGzRSvssT/lcfvECt2xA6smoX8kWgifXsDJqvA== X-Received: by 2002:a05:6870:612c:b0:132:a4d3:e0d8 with SMTP id s44-20020a056870612c00b00132a4d3e0d8mr1004565oae.95.1665697659420; Thu, 13 Oct 2022 14:47:39 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:e3c7:b0:133:7d54:99a0 with SMTP id y7-20020a056870e3c700b001337d5499a0ls1035758oad.10.-pod-prod-gmail; Thu, 13 Oct 2022 14:47:36 -0700 (PDT) X-Received: by 2002:a05:6870:f281:b0:132:62a5:a5a5 with SMTP id u1-20020a056870f28100b0013262a5a5a5mr1014484oap.63.1665697656757; Thu, 13 Oct 2022 14:47:36 -0700 (PDT) In-Reply-To: <18f7f4df-2bc8-4244-848c-c07fef627f51n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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:31546 Archived-At: ------=_Part_392_1435780635.1665697656074 Content-Type: multipart/alternative; boundary="----=_Part_393_425589598.1665697656074" ------=_Part_393_425589598.1665697656074 Content-Type: text/plain; charset="UTF-8" Skylighting does show the problem: *skylighting* -s prolog kate.prolog generates the red highlight. When generating latex, it generates the \ErrorTok cmd. I suppose I should report a bug there? On Thursday, October 13, 2022 at 2:40:40 PM UTC-7 Antonio Piccolboni wrote: > New to Kate, but AFAICT no problem there (saved code in .prolog file, atom > highlighted in green, not bold red). Looking into skylighting > > > > On Thursday, October 13, 2022 at 1:37:29 PM UTC-7 fiddlosopher wrote: > >> I don't know, but pandoc's highlighting is based on KDE syntax >> definitions. >> So first step is to see if you get a similar result in the Kate editor. >> If you do, the problem is with the prolog.xml definition we build on, and >> it >> should be reported upstream. If not, the problem may lie in pandoc's >> (really skylighting's) implementation of the KDE syntax definitions. >> See jgm/skylighting - the README.md there has more information. >> >> > On Oct 13, 2022, at 1:03 PM, Antonio Piccolboni >> wrote: >> > >> > Hi >> >> -- 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/da61c885-da73-4ff3-8d92-72df8510bdf3n%40googlegroups.com. ------=_Part_393_425589598.1665697656074 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Skylighting does show the problem:

 skylighting -s prolog kate.prolog


generate= s the red highlight. When generating latex, it generates the \ErrorTok cmd.=  

I suppose I should report a bug there?


On Thursday, Octobe= r 13, 2022 at 2:40:40 PM UTC-7 Antonio Piccolboni wrote:
New to Kate, but AFAICT no prob= lem there (saved code in .prolog file, atom highlighted in green, not bold = red). Looking into skylighting



On Thursday, Octobe= r 13, 2022 at 1:37:29 PM UTC-7 fiddlosopher wrote:
I don't know, but pandoc's highlightin= g is based on KDE syntax definitions.
So first step is to see if you get a similar result in the Kate editor.
If you do, the problem is with the prolog.xml definition we build on, a= nd it
should be reported upstream. If not, the problem may lie in pandoc'= ;s
(really skylighting's) implementation of the KDE syntax definitions= .
See jgm/skylighting - the README.md there has more information.

> On Oct 13, 2022, at 1:03 PM, Antonio Piccolboni <picc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>=20
> Hi

--
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/da61c885-da73-4ff3-8d92-72df8510bdf3n%40googlegroups.= com.
------=_Part_393_425589598.1665697656074-- ------=_Part_392_1435780635.1665697656074--