pandoc icon indicating copy to clipboard operation
pandoc copied to clipboard

accessibility issue in docx and powerpoint files

Open itwars opened this issue 2 years ago • 2 comments

Explain the problem. When using Pandoc to generate docx or pptx file, I got 2 differentes issues regarding docx and pptx (non consistent) regarding accessibility "replacement text" for an image:

Markdown:

![A chart](img/my-chart.jpg "This is a chart showing blablabla")

On docx replacement text give me:

This is a chart showing blablabla

A chart

On pptx replacement text give me:

fig:This is a chart showing blablabla  img/my-chart.jpg

I would like:

This is a chart showing blablabla

Pandoc version?

pandoc 2.17.1.1
Compiled with pandoc-types 1.22.1, texmath 0.12.4, skylighting 0.12.2,
citeproc 0.6.0.1, ipynb 0.2
User data directory: /Users/user/.local/share/pandoc
Copyright (C) 2006-2022 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.

On MacOS 11.6.4

itwars avatar Mar 10 '22 18:03 itwars

You're saying the string "Optional title" is somehow inserted in the output document even though it wasn't in the input? Can you try with the latest pandoc version?

mb21 avatar May 07 '22 08:05 mb21

Sorry, I just update the issue (wrong copy/paste). But I steel have the issue with last version :

pandoc 2.18
Compiled with pandoc-types 1.22.2, texmath 0.12.5, skylighting 0.12.3,
citeproc 0.7, ipynb 0.2, hslua 2.2.0
Scripting engine: Lua 5.4

itwars avatar May 17 '22 15:05 itwars