#24 PDF presentation import missing formatting
Opened 3 years ago by samwwwblack. Modified 2 years ago

PDF presentation importing misses some formatting, such as
- Bullet points
- Image positions
- Layout

Refer to #2 for what to import.

Background information is also missing, and can only be retrieved by using another tool.

For example;

Ghostscript: gs -dNumRenderingThreads=4 -dNOPAUSE -sDEVICE=pngalpha -dFirstPage=1 -dLastPage=5 -dFILTERTEXT -r96 -sOutputFile=page%_d.png ./test_ppt.pdf -c quit

poppler-utils pdftohtml -p -c -s -noframes -nomerge -nodrm ./test_ppt.pdf test.html

pdftohtml might be the most useful as it includes position information, but it would need reimporting and cleaning to work with reveal.js.

The generated HTML/images are also exported to the current directory, and would thus require tempfile.TemporaryDirectory

Metadata Update from @samwwwblack:
- Issue tagged with: bug, enhancement

2 years ago

Login to comment on this ticket.