public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* syntax-definition no longer working after release upgrade
@ 2023-05-14 11:40 Karl Weber
       [not found] ` <cfe8c5b3-6f89-4735-8945-e47217bf0ba4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Weber @ 2023-05-14 11:40 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1466 bytes --]

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-discuss+unsubscribe-/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.

[-- Attachment #1.2: Type: text/html, Size: 1950 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: syntax-definition no longer working after release upgrade
       [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>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2023-05-14 16:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/html, Size: 3074 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: syntax-definition no longer working after release upgrade
       [not found]     ` <2D35C81B-C8B2-49DB-A898-CC5F35C4D72A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-05-14 19:46       ` Karl Weber
  0 siblings, 0 replies; 3+ messages in thread
From: Karl Weber @ 2023-05-14 19:46 UTC (permalink / raw)
  To: pandoc-discuss


[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-14 19:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-14 11:40 syntax-definition no longer working after release upgrade 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 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).