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

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).