public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* When I use pandoc to convert html to pdf using the wkhtmltopdf tool, I get a different result (all color and formatting is gone) than when I use wkhtmltopdf directly.  Any ideas?
@ 2021-12-30 18:18 Jon Zadra
       [not found] ` <7da14c8f-f9dc-4aff-9a7d-810c69751bc1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Zadra @ 2021-12-30 18:18 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 632 bytes --]

PDF using pandoc 
<https://github.com/rstudio/rmarkdown/files/7748524/51809.using.pandoc_convert.pdf>

PDF using wkhtmltopdf 
<https://github.com/rstudio/rmarkdown/files/7748525/direct.using.wkhtmltopdf.command.line.pdf>

-- 
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/7da14c8f-f9dc-4aff-9a7d-810c69751bc1n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 972 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: When I use pandoc to convert html to pdf using the wkhtmltopdf tool, I get a different result (all color and formatting is gone) than when I use wkhtmltopdf directly.  Any ideas?
       [not found] ` <7da14c8f-f9dc-4aff-9a7d-810c69751bc1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-12-30 21:35   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2021-12-30 21:35 UTC (permalink / raw)
  To: Jon Zadra, pandoc-discuss


Pandoc just parses the structure and content of the HTML
document.  Styling gets lost in conversion.  See the opening
paragraphs of the pandoc manual.

Jon Zadra <jzadra-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> PDF using pandoc 
> <https://github.com/rstudio/rmarkdown/files/7748524/51809.using.pandoc_convert.pdf>
>
> PDF using wkhtmltopdf 
> <https://github.com/rstudio/rmarkdown/files/7748525/direct.using.wkhtmltopdf.command.line.pdf>
>
> -- 
> 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/7da14c8f-f9dc-4aff-9a7d-810c69751bc1n%40googlegroups.com.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-30 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30 18:18 When I use pandoc to convert html to pdf using the wkhtmltopdf tool, I get a different result (all color and formatting is gone) than when I use wkhtmltopdf directly. Any ideas? Jon Zadra
     [not found] ` <7da14c8f-f9dc-4aff-9a7d-810c69751bc1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-12-30 21:35   ` John MacFarlane

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).