Float being ignored #10329
Unanswered
code-monki
asked this question in
Q&A
Float being ignored
#10329
Replies: 1 comment 4 replies
-
Correct. Pandoc pays no attention to CSS. It is concerned with capturing document structure, not formatting details. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm somewhat new to pandoc and I'm having trouble figuring out how to properly get an HTML document to convert to a PDF document.
I've tried:
Pandoc produces a PDF but it seems to ignore the embedded CSS (I'm aware of the flag to include external CSS, but I'm trying to use as simple of an example as possible — see attached files).
The issue that I'm seeing is that if I display the HTML file in the browser, the image that is floated to the right appears correctly while in the PDF it appears the float CSS directive is ignored. My goal is to be able to embed images and have the text wrap around them, but I'm sort of stumped as to how to do that and I'm not really eager to have to load each file into the browser and print them out (which does, incidentally produce the correct output).
Any thoughts, pointers, spare change, etc., appreciated and thanks in advance for your help!
MacOS X Sonoma, 14.6.1
Pandoc v3.5
test-files.zip
Beta Was this translation helpful? Give feedback.
All reactions