Skip to content

Add export -t html -o f.pdf #29

@kiwi0fruit

Description

@kiwi0fruit
  • Add mathjax to conda-forge

  • Default profile should not run ipynb

  • [Nope] Try pug with pandoc templates. if OK make CLI UX in profiles convenient somehow. Actually converting in the same folder would be enough. Even in the site-packages.

  • [Nope] prism.pdf special $to

  • [Nope] add fallback chains for Consolas and Segoe UI too.

  • Test if WeasyPrint tenders OK and supports cross-references. Compare it to pyppeteer. http://pandoc.org/MANUAL.html#creating-a-pdf

pip download weasyprint pyppeteer
conda install -c defaults -c conda-forge wkhtmltopdf <Successfully downloaded>
pip install weasyprint pyppeteer

# cssselect2 tinycss2 Pyphen html5lib cffi webencodings defusedxml pillow six pycparser websockets appdirs urllib3 tqdm
# CairoSVG cairocffi weasyprint pyee pyppeteer

WeasyPrint is free software made available under a BSD license. It is based on various libraries but not on a full rendering engine like WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on.

Nope. WeasyPrint is not an option.

pip download pyppeteer
conda install -c defaults -c conda-forge <Successfully downloaded>
pip install pyppeteer

UPD:
Nope. It's too many work to do. I better go with Atom tweaking.

UPD2:
Yep, that's a lot of work. But it's a better way to go - it's would works on both VS Code and Atom.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions