]> git.lyx.org Git - features.git/commitdiff
Activate export of chess diagrams for XHTML.
authorRichard Heck <rgheck@lyx.org>
Sun, 31 Jul 2016 03:17:15 +0000 (23:17 -0400)
committerRichard Heck <rgheck@lyx.org>
Sun, 31 Jul 2016 05:36:10 +0000 (01:36 -0400)
(cherry picked from commit 0b8c6bbbf83aa21e01f31693ae1d9b421293ef66)

lib/external_templates

index e9cd9a7ffee9392fa8e356cba017cf618e5cc6ee..681b7eedf77e879664a99e5a68358fb57656840d 100644 (file)
@@ -314,6 +314,11 @@ Template ChessDiagram
        Format DocBook
                Product "[Chess: $$AbsOrRelPathMaster$$Basename]"
        FormatEnd
+       Format XHTML
+               Product "<pre>$$Contents(\"$$AbsPath$$Basename.asc\")</pre>"
+               UpdateFormat asciichess
+               UpdateResult "$$AbsPath$$Basename.asc"
+       FormatEnd
 TemplateEnd