Commit Graph

48 Commits (master)

Author SHA1 Message Date
Jonas Isensee 630ac466e7 Reapply improvements to the tex rendering pipeline 2020-06-03 14:13:07 +02:00
Jonas Isensee b5477d27ff revert improvements to tex rendering 2020-05-31 17:33:11 +02:00
Jonas Isensee 3eba5de7f4 make `texminted` output valid texfile 2020-05-31 11:48:37 +02:00
Shuhei Kadowaki f4ed10b625 define render_doc and dispatch on it with different formats
- and load minted package for TexMinted format

Co-Authored-By: null <JonasIsensee@users.noreply.github.com>
2020-05-25 20:29:57 +09:00
Shuhei Kadowaki 0bc0d3b510 more consistent templates names, move stylesheets into ./stylesheets 2020-05-24 14:16:37 +09:00
Shuhei Kadowaki 29ff436a00 consistent and clearer terminology:
- formatted -> body/rendered
- wdate -> weave_date
- wsource (or source) -> weave_source
- wdate -> weave_date
2020-05-23 23:05:36 +09:00
Shuhei Kadowaki cec388e94f add Weave version 2020-05-17 01:16:59 +09:00
Dave Kleinschmidt 048603ffe6 use 0.9em for code size instead of hard coding 13px 2020-03-04 16:29:32 -05:00
Matti Pastell badaaa7dea Decrease item and p spacing. Closes #162 2019-02-28 10:49:55 +02:00
Matti Pastell 8d1bb63b0a Render markdown output in md2* formats. Fixes #156 2019-02-27 15:03:33 +02:00
Matti Pastell 73536707dc Change html colors closer to jupyter 2019-02-27 12:31:10 +02:00
Matti Pastell bad5650027 Fix \bf and \frak symbols in md2tex. Improves #181 2019-02-26 17:38:28 +02:00
Toby Driscoll 26cf943d25 New output css class for md2html (#172)
* New output css class for md2html

* margins and padding taken from Highlights.jl
2019-02-26 09:16:27 +02:00
Matti Pastell 6d0779ca4d Enable equation numbers in MathJax, #142 2018-08-21 12:52:07 +03:00
Matti Pastell 4523b3a58e Use Highlights.jl for md2tex output 2018-07-24 23:40:47 +02:00
Matti Pastell fb854a1d63 Update Mathjax CDN, closes #131 2018-07-23 12:41:25 +02:00
Matti Pastell eead8f24a8
Added error handling with html display (#117)
* Implemented error handling and initial html display

* Improved html display and tests for error handling
2018-01-07 11:53:07 +02:00
Matti Pastell 742f00bf6a Fix image width for html output 2018-01-04 18:05:19 +02:00
Matti Pastell be0ac321b3 Use Highlight.jl with pandoc2html 2018-01-04 18:00:01 +02:00
Matti Pastell 5b6d50cf72 Tweak CSS templates, fixes #61 2018-01-04 17:18:25 +02:00
Matti Pastell dc566fc69a Fix md2pdf output -> use minted and xelatex 2018-01-03 17:23:57 +02:00
Matti Pastell 51641124b5 Fix output: html wrap bug, output from last line 2018-01-03 15:35:47 +02:00
Fredrik Bagge Carlson 3f42023b42
Replace usepackage graphics with graphicx
I had issues with the chunk option `out_width` unless I replaced the use of the old `graphics` package with the newer `graphicx`
See https://tex.stackexchange.com/questions/23075/packages-graphics-vs-graphicx for additional info
2017-10-30 09:40:31 +01:00
Chris Foster da17ac2cc1 Add unicode symbol support based on CMU fonts 2017-04-07 00:22:37 +10:00
Matti Pastell e2c40262dd Fix to tex template 2016-12-17 00:25:56 +02:00
Matti Pastell e3051a7525 Several fixes to tex formatter and template 2016-12-16 20:24:41 +02:00
Matti Pastell 13e40cefa8 Several fixes to tex output 2016-12-15 22:14:18 +02:00
Matti Pastell b2932f1b86 Add template, highlight_theme and css options to weave 2016-12-15 15:49:21 +02:00
Matti Pastell 262589cfdc Add titleblock to html template 2016-12-15 14:08:19 +02:00
Matti Pastell 277c6f3e0f Added titleblock parsing and formatting to tex template #63 2016-12-15 00:07:56 +02:00
Matti Pastell 9664acbe85 Added julia markdown to tex formatter 2016-12-14 16:07:04 +02:00
Matti Pastell 434d5d4286 Add parsing of doc title 2016-12-13 20:51:34 +02:00
Matti Pastell d27ba7879c Add math support to julia markdown 2016-12-13 20:03:07 +02:00
Matti Pastell e0199b2e6e Add footer to jmd template 2016-12-13 15:52:33 +02:00
Matti Pastell daafd8e911 Add plotly header to template 2016-12-13 15:43:37 +02:00
Matti Pastell 9b170349d1 Modified template to work better with julia markdown output 2016-12-13 15:10:14 +02:00
Matti Pastell d683625444 Make julia Markdown the default when converting to html, Fix term chunks 2016-12-13 14:20:40 +02:00
Matti Pastell f0bcaf546a Initial implementation of pure julia markdown2html formatter 2016-12-13 13:26:34 +02:00
Matti Pastell 544ae925e2 Implement adding plotly javascript to html file header using pandoc when needed. Remove Raleway, closes #45 2016-11-02 23:45:32 +02:00
Matti Pastell 901050a32f First version of template for plotly 2016-11-02 09:54:45 +02:00
Giuseppe Ragusa bec1cd08d3 Correct issue with mathjax script not being picked up 2016-05-11 15:37:54 +02:00
Giuseppe Ragusa fd3e7e4c87 Different background colors for code and results 2016-05-02 23:35:24 +02:00
Giuseppe Ragusa bd300ed881 Add template for includeion of multiple css 2016-05-02 23:34:45 +02:00
Matti Pastell 2b5e8ee968 Make mathjax work with sef-contained pandoc, fix a bug in script reader 2016-04-22 13:18:33 +03:00
Matti Pastell 65a10335a3 Added md2pdf format 2016-04-20 18:36:26 +03:00
Matti Pastell 34ea7f495e Move css back to separate file 2016-04-20 16:58:38 +03:00
Matti Pastell bb613d1017 Fixed extra empty space in first doc chunk, tweaks to html style 2016-04-20 16:32:22 +03:00
Matti Pastell d974134ee4 First version of md2html formatter using templates and pandoc 2016-04-20 15:41:54 +03:00