From: Karl Weber <karl.weber99-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: syntax-definition no longer working after release upgrade
Date: Sun, 14 May 2023 12:46:19 -0700 (PDT) [thread overview]
Message-ID: <8135c3fa-9210-44f5-bb9b-6a075b92e9cdn@googlegroups.com> (raw)
In-Reply-To: <2D35C81B-C8B2-49DB-A898-CC5F35C4D72A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 2704 bytes --]
Yes, indeed, it was an error in my syntax definition. I hadn't expected
that, since the previous versions of pandoc didn't complain and the result
was as expected -- and still is after fixing this.
Thanks you very much!
On Sunday, May 14, 2023 at 6:43:40 PM UTC+2 John MacFarlane wrote:
> Does your xml file define a context called Parameters? This looks like a
> problem with your syntax definition
>
> On May 14, 2023, at 4:40 AM, Karl Weber <karl.w...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi,
>
>
>
> yesterday I upgraded from release 2.11.3.2 to 3.1.2 and ran into some
> incompatibilities. I could fix those related to lua scripts, but I am
> stuck
> with my syntax definition. (Both releases are the binary distributions
> from
> the pandoc website.)
>
> I have my own KDE-style XML syntax definition file named asshell.xml. In
> my
> global.yaml file it is specifies as
>
> syntax-definition: ../../../asshell.xml
>
> This relative path is correct. OS is opensuse. I use this syntax
> definition as
>
> ~~~~~~{.asshell}
> blabla
> ~~~~~~
>
> The file asshell.xml starts with
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE language SYSTEM "language.dtd">
> <language name="asshell" version="1" kateversion="2.3" section="Sources"
> extensions="*.asshell" priority="5" author="KW" license="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:
> Unknown syntax or context: ("asshell","Parameters")
>
> Could you please give me some help?
>
> Thanks in advance!
>
> Kind regards
> Karl
>
> --
> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/cfe8c5b3-6f89-4735-8945-e47217bf0ba4n%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/cfe8c5b3-6f89-4735-8945-e47217bf0ba4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
--
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/8135c3fa-9210-44f5-bb9b-6a075b92e9cdn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 4101 bytes --]
prev parent reply other threads:[~2023-05-14 19:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-14 11:40 Karl Weber
[not found] ` <cfe8c5b3-6f89-4735-8945-e47217bf0ba4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-05-14 16:43 ` John MacFarlane
[not found] ` <2D35C81B-C8B2-49DB-A898-CC5F35C4D72A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-05-14 19:46 ` Karl Weber [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8135c3fa-9210-44f5-bb9b-6a075b92e9cdn@googlegroups.com \
--to=karl.weber99-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).