Hi,
I use the following command/settings to convert a Markdown file to PDF:
Code:
ebook-convert book.md build/book.pdf \
--cover='cover.jpg' \
--authors='Michael' \
--language='en' \
--title='My Book' \
--formatting-type=markdown \
--level1-toc="//h:h1" \
--level2-toc="//h:h2" \
--level3-toc="//h:h3" \
--markdown-extensions="footnotes,tables,toc,fenced_code" \
--pdf-add-toc \
--pdf-header-template="<p style=\"text-align: center\">beta</p>" \
--pdf-footer-template='<p style="text-align: right">Page _PAGENUM_</p>'
On a CentOS based OS.
When I view the PDF on my Mac (using the Preview app), I select a few words of text and copy them, the text is not available if I paste it into some other app (e.g. a text editor).
If I use the Export to PDF feature of the Preview app, I can copy from the resulting PDF file.
Any ideas what could be the reason for this?
Thanks
Michael