From: "Klaus R." <k-rindfrey-Mmb7MZpHnFY@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: How to resolve "WARNING: Undefined function 'Figure'"? Is there a workaround?
Date: Tue, 28 Nov 2023 09:03:56 -0800 (PST) [thread overview]
Message-ID: <84b364a6-bbfe-4c9b-b825-d0f52557229fn@googlegroups.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1743 bytes --]
Hi,
To generate my documentation, I use a toolchain that generates a markdown
file from various sources, the last step is the generation of Confluence
HTML via Pandoc. Since Pandoc does not directly support Confluence HTML, I
use a patched version of
https://github.com/jpbarrette/pandoc-confluence-writer (patched because the
generated HTMl is not always quite correct and some features I need are
missing). This worked well for a long time, but after the last update (from
Pandoc 2.19.2 to 3.1.8) I got a series of warnings:
*WARNING: Undefined function 'Figure'WARNING: Undefined function
'Figure'...*
and the HTML code for the images is completely missing. I tried Pandoc
3.1.9, same result. Confusing: the Lua code of pandoc-confluence-writer
does not contain a call to a function named "Figure". Just to analyze the
problem, i tried custom-markdown.lua from
https://gist.github.com/tarleb/5a9c3fbfa47b0e6d3643efd8af2994b9 and i got:
*Error running Lua:custom-markdown.lua:19: No function to convert Figure
(Block)*
What's going on? Is this a bug in Pandoc? Is there a workaround?
At the moment I will be using version 2.19.2, but I would like to be able
to upgrade to newer versions of Pandoc.
Minimal example:
*# ExampleJust an example.![Fancy example](img/mypic.png){scale=70}*
Regards,
Klaus
--
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/84b364a6-bbfe-4c9b-b825-d0f52557229fn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2431 bytes --]
next reply other threads:[~2023-11-28 17:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-28 17:03 Klaus R. [this message]
[not found] ` <84b364a6-bbfe-4c9b-b825-d0f52557229fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-11-28 17:31 ` 'William Lupton' via pandoc-discuss
[not found] ` <CAEe_xxg1bdy8nKFf1uY4NojPTxJgxTur-7Es5Y+rHMaXOtKeBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-28 18:14 ` 'William Lupton' via pandoc-discuss
[not found] ` <CAEe_xxjzpptPpYC9cAPP4GaSw32qmOA8d0KeV-8MsgyS8=QGMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-28 19:33 ` 'William Lupton' via pandoc-discuss
[not found] ` <CAEe_xxj2MwNy9-G21jAfSq15sA2OHMuBNFeVXTO4nvO7Sp_Wqw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-29 6:42 ` Aw: " Klaus Rindfrey
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=84b364a6-bbfe-4c9b-b825-d0f52557229fn@googlegroups.com \
--to=k-rindfrey-mmb7mzphnfy@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).