@@ -393,7 +393,10 @@ blockToOpenDocument o bs
393393 mapM_ addParaStyle . newPara $ paraHStyles ++ paraStyles
394394 captionDoc <- if null c
395395 then return empty
396− else inlinesToOpenDocument o c >>= numberedTableCaption
396+ else inlinesToOpenDocument o c >>=
397+ if True -- temporary: see #5474
398+ then unNumberedCaption "TableCaption"
399+ else numberedTableCaption
397400 th <- if all null h
398401 then return empty
399402 else colHeadsToOpenDocument o (map fst paraHStyles) h
@@ -405,7 +408,10 @@ blockToOpenDocument o bs
405408 withParagraphStyle o "Figure" [Para [Image attr caption (source,title)]]
406409 | otherwise = do
407410 imageDoc <- withParagraphStyle o "FigureWithCaption" [Para [Image attr caption (source,title)]]
408− captionDoc <- inlinesToOpenDocument o caption >>= numberedFigureCaption
411+ captionDoc <- inlinesToOpenDocument o caption >>=
412+ if True -- temporary: see #5474
413+ then unNumberedCaption "FigureCaption"
414+ else numberedFigureCaption
409415 return $ imageDoc $$ captionDoc
410416
411417
@@ -434,6 +440,9 @@ numberedCaption style term name num caption =
434440 c = text ": "
435441 in inParagraphTagsWithStyle style $ hcat [ t, text " ", s, c, caption ]
436442
443+unNumberedCaption :: Monad m => String -> Doc -> OD m Doc
444+unNumberedCaption style caption = return $ inParagraphTagsWithStyle style caption
445+
437446colHeadsToOpenDocument :: PandocMonad m
438447 => WriterOptions -> [String] -> [[Block]]
439448 -> OD m Doc