From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32604 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Karl Weber Newsgroups: gmane.text.pandoc Subject: Re: syntax-definition no longer working after release upgrade Date: Sun, 14 May 2023 12:46:19 -0700 (PDT) Message-ID: <8135c3fa-9210-44f5-bb9b-6a075b92e9cdn@googlegroups.com> References: <2D35C81B-C8B2-49DB-A898-CC5F35C4D72A@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_11852_782387683.1684093579836" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11050"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCSM5U75QMDBBDPVQSRQMGQEEHDSMZY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 14 21:46:25 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f191.google.com ([209.85.167.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pyHfk-0002gr-Kc for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 14 May 2023 21:46:24 +0200 Original-Received: by mail-oi1-f191.google.com with SMTP id 5614622812f47-394275e473csf5081163b6e.2 for ; Sun, 14 May 2023 12:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684093583; x=1686685583; 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=0LjxwNuj2L5z8M9cStsws3sDjQnGcNZTZYRmnK5SnjE=; b=dYTXMV7A6e3QNP5JtNtFAkia6A/zwvjdxNgFIlGPmC7nRgcJW/W8Tv+ic3ZTuMzOQO C3INnrpwkPDrQSPluZ4xbJKCs63Xvi9oyblEurkux0BBtKkps0duHP+5BXsHthBX9oqt xME5t/ao/4t7erIijnOe4/zyd+TmU9anAq2PSTRPJ+qR0cD0yoRxV3ZNMpUc5WUQIfPK C3UKFTMbwDJh+j7bhzDOVPtptkfWyyasEVZkdXS4YopawUwRXOuN4+Fkco8hq0sxH8Zq EzT1sSZSoRWOPNss0dEJew5QXaQb78U8tNbu0Xlgp2o+cXVYwayJrbs0DKKoPhF2ogzF LCBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684093583; x=1686685583; 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=0LjxwNuj2L5z8M9cStsws3sDjQnGcNZTZYRmnK5SnjE=; b=BClTRiNzmVieTg2HFGbVZErZ9c1MYFhf6UBXkk98JZJjDbYo7WACRvqkoJ8kOQ39hR PcGNwEkH8ZMkWcT7/oN5eSXPkel8ZzN6Z8ESQ5GcxlyL20iFms9h4gMOQPAzEy0Iu0qj 5sAwGCAXbac5ebfVEEs+DmC1dhG6HDsrZmWUycAJvHZstsAI7s1bkxFg1oDPuQw1Ijy6 +q64s3TJTZkAOrTDSkJrrjmClVvK73tN+wA8sz9SZNC8xLhU3HIHn5OLOffLn9Hjc8kk PmjhciaqIUBIm3cXTu62vz9xwqe7Q5V2L2fsqWAiGB0HEPXO/eqw8IHHYGpYhc5rhkQB CqgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684093583; x=1686685583; 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-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=0LjxwNuj2L5z8M9cStsws3sDjQnGcNZTZYRmnK5SnjE=; b=hKAyx0nIOga/C2PYp6Gf+WnLBrDeQLF/cjUo6iFs5If7KOBmFmkxqOPuMTm2bImpnq YeQZIHdI8BAF1vgncg1YRx4oultl+oj1a2QmxqXDfY7C5wvw+CUREbIziPpn4xvWkMvW baeaHZEbeOcSR5KjeaqQxeQAhWKVtF0dDfUOZQDUN7VbtfRJL89oclz14Zzz8r1hJ0V/ lNBPr1g506oWMUh4InYS2bEi6okylqJE2T3KTM9W8MinGC+OyTuoVOHVYRNAjaV4ckE3 kvJ7c9V09rOasCSyOxMy7rkgthEUZLOolnZtJlX59y7IU+7pXE Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDwiaRcJ/2p1ZepZV/7d3/fk0G8nzmj/lT3+R4q1YbFAiyqzjfEo K908UCclezAZK/t02GCYE2Q= X-Google-Smtp-Source: ACHHUZ4fntIx50LDxRiimLcsrY5ENCfk4JXEX7UQiLSXW6H2wqsLvfLwGUjo3h4hfZEjkWOhEnUUEQ== X-Received: by 2002:aca:3206:0:b0:38e:1edb:379e with SMTP id y6-20020aca3206000000b0038e1edb379emr4906140oiy.4.1684093583283; Sun, 14 May 2023 12:46:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:e394:0:b0:547:6066:abe6 with SMTP id l20-20020a4ae394000000b005476066abe6ls591339oov.1.-pod-prod-00-us; Sun, 14 May 2023 12:46:20 -0700 (PDT) X-Received: by 2002:aca:a90d:0:b0:384:420d:6671 with SMTP id s13-20020acaa90d000000b00384420d6671mr5031503oie.5.1684093580616; Sun, 14 May 2023 12:46:20 -0700 (PDT) In-Reply-To: <2D35C81B-C8B2-49DB-A898-CC5F35C4D72A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: karl.weber99-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:32604 Archived-At: ------=_Part_11852_782387683.1684093579836 Content-Type: multipart/alternative; boundary="----=_Part_11853_345753934.1684093579836" ------=_Part_11853_345753934.1684093579836 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, indeed, it was an error in my syntax definition. I hadn't expected=20 that, since the previous versions of pandoc didn't complain and the result= =20 was as expected -- and still is after fixing this. Thanks you very much! On Sunday, May 14, 2023 at 6:43:40=E2=80=AFPM UTC+2 John MacFarlane wrote: > Does your xml file define a context called Parameters? This looks like a= =20 > problem with your syntax definition=20 > > On May 14, 2023, at 4:40 AM, Karl Weber wrote: > > =EF=BB=BFHi, > > > > yesterday I upgraded from release 2.11.3.2 to 3.1.2 and ran into some=20 > incompatibilities. I could fix those related to lua scripts, but I am=20 > stuck=20 > with my syntax definition. (Both releases are the binary distributions= =20 > from=20 > the pandoc website.) > > I have my own KDE-style XML syntax definition file named asshell.xml. In= =20 > my=20 > global.yaml file it is specifies as > > syntax-definition: ../../../asshell.xml > > This relative path is correct. OS is opensuse. I use this syntax=20 > definition as > > ~~~~~~{.asshell} > blabla > ~~~~~~ > > The file asshell.xml starts with > > > > extensions=3D"*.asshell" priority=3D"5" author=3D"KW" license=3D"GPL"> > > This worked perfectly with releases up to and including 2.11.3.2, but wit= h=20 > 3.1.2 I get the error message > > [WARNING] Could not highlight code block: > Unknown syntax or context: ("asshell","Parameters") > > Could you please give me some help? > > Thanks in advance! > > Kind regards > Karl=20 > > --=20 > You received this message because you are subscribed to the Google Groups= =20 > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= =20 > email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/cfe8c5b3-6f89-4735-8945-= e47217bf0ba4n%40googlegroups.com=20 > > . > > --=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/8135c3fa-9210-44f5-bb9b-6a075b92e9cdn%40googlegroups.com. ------=_Part_11853_345753934.1684093579836 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, indeed, it was an error in my syntax definition. I hadn't expecte= d that, since the previous versions of pandoc didn't complain and the resul= t was as expected -- and still is after fixing this.
Thanks= you very much!

On Sunday, May 14, 2023 at 6:43:40=E2=80=AFPM UTC+2= John MacFarlane wrote:
Does= your xml file define a context called Parameters? =C2=A0This looks like a = problem with your syntax definition=C2=A0

On May 14, 2023, at 4:40 AM, Karl Weber <karl.w...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

=EF=BB=BFHi,


yesterday I upgraded from release 2.11.3.2 to 3.1.2 and ra= n into some
incompatibilities. I could fix those related to lua scripts= , but I am stuck
with my syntax definition. =C2=A0(Both releases are th= e binary distributions from
the pandoc website.)

I have my own K= DE-style XML syntax definition file named asshell.xml. In my
global.yam= l file it is specifies as

syntax-definition: ../../../asshell.xml
This relative path is correct. OS is opensuse. I use this syntax defin= ition as

~~~~~~{.asshell}
blabla
~~~~~~

The file asshel= l.xml starts with

=C2=A0<?xml version=3D"1.0" encoding= =3D"UTF-8"?>
<!DOCTYPE language SYSTEM "language.dt= d">
<language name=3D"asshell" version=3D"1&qu= ot; kateversion=3D"2.3" section=3D"Sources"
extensi= ons=3D"*.asshell" priority=3D"5" author=3D"KW"= ; license=3D"GPL">

This worked perfectly with releases = up to and including 2.11.3.2, but with
3.1.2 I get the error message
[WARNING] Could not highlight code block:
=C2=A0 Unknown syntax or = context: ("asshell","Parameters")

Could you plea= se give me some help?

Thanks in advance!

Kind regards
Karl

--
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 pandoc-discus...@googleg= roups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/cfe8c5b3-6= f89-4735-8945-e47217bf0ba4n%40googlegroups.com.

--
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/8135c3fa-9210-44f5-bb9b-6a075b92e9cdn%40googlegroups.= com.
------=_Part_11853_345753934.1684093579836-- ------=_Part_11852_782387683.1684093579836--