Commit Graph

317 Commits (371cec474fc2ab8a0a2822ac6ac04526f3c23668)

Author SHA1 Message Date
Matti Pastell 1de36fd1f5 Fix Jupyter header 2019-03-06 10:41:31 +02:00
Matti Pastell 4e70d32901 Don't run latex on travis 2019-03-05 20:18:58 +02:00
Matti Pastell 6082786f92 Allow setting document options in YAML header 2019-03-05 19:36:27 +02:00
Matti Pastell 52f3a23d28 Allow format specific options in header 2019-03-05 16:44:10 +02:00
Matti Pastell e9ea54bc1b Allow setting options in document header. Closes #189 2019-03-04 11:10:02 +02:00
Matti Pastell a14b7a8f80 Return weaved file path from weave function. Closes #190 2019-03-04 09:45:30 +02:00
Matti Pastell edd558de0e Add support for comments in Markdown. Closes #97 2019-02-28 16:17:03 +02:00
Matti Pastell 710b67ca45 Add markdown flavor for improved math support. Closes #182 2019-02-27 18:21:05 +02:00
Matti Pastell f2773376d9 Merge branch 'noalign' 2019-02-27 16:43:15 +02:00
Matti Pastell 6a30aa20f2 Remove align environment from math output #182 2019-02-27 16:42:51 +02:00
Matti Pastell 73584edd34 Strip ANSI from text output #184 2019-02-27 16:19:14 +02:00
Matti Pastell 8d1bb63b0a Render markdown output in md2* formats. Fixes #156 2019-02-27 15:03:33 +02:00
Matti Pastell e52083c42a Display assigned objects from chunk's last line 2019-02-27 12:42:43 +02:00
Matti Pastell 056db5141a Add option to skip chunks in notebook 2019-02-27 10:15:56 +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 6e0daf9335 Render header in notebooks, fixes #179 2019-02-26 09:12:28 +02:00
Matti Pastell 7587b4f9cf
Fix line wrapping (#180)
* Fix line wrapping

* Don't chop from tail

* Test wrapping unicode
2019-02-26 00:09:40 +02:00
Matti Pastell cb791e8b69 Fix notebook support. Closes #173 2019-02-25 19:46:25 +02:00
Christopher Rackauckas 73f0e1e998 Remove precompile statement (#177) 2019-02-25 19:29:02 +02:00
schrimpf adf7338f34 Allow errors (#174)
* Added ability to pass aditional options to nbconvert. Main purpose is
to pass "--allow-errors"

* Changed IJulia.jupyter to IJulia.JUPYPTER to match change in IJulia.jl
2019-02-25 19:24:01 +02:00
Matti Pastell f1a85d3726 Merge branch 'master' of https://github.com/mpastell/Weave.jl 2019-02-08 16:03:23 +02:00
Matti Pastell 4a7d63bc7e Clean up and fix svg embedding 2019-02-08 16:01:25 +02:00
Tamas Nagy caf64b2407 [WIP] Add Gadfly support back (#163)
* add back gadfly support

* fix svg embed encoding
2019-02-07 19:28:06 +02:00
Dave Kleinschmidt 4bf8e0e209 check fig_ext to choose preferred mimetype in display(::Report, d) 2019-02-01 10:59:39 -05:00
Dave Kleinschmidt d0c71ba556 use Base.show (#165)
* use Base.show

* drop offending show method altogether
2019-01-28 16:20:03 +02:00
schrimpf ab09bddcd8 change cache to work with figures (#158)
* Changed read/write cache to use serialize/deserialize instead of
JLD2. JLD2 fails to save strings longer than 2^16 characters, which
can occur in the stringmime() of large figures.

* Added test for cache with figures and html output.
Updated REQUIRE & Project.toml to include Serialization instead of
FileIO and JLD2

* Added "Import Pkg;" to expected output of errors, so that tests pass.
2019-01-03 15:40:32 +02:00
Matti Pastell bf57bf8a07
Use align for ```math blocks (#143)
* Use align for ```math blocks
* Fix deprecation from inline parsing
* Update tests
2018-08-23 08:22:08 +03:00
Matti Pastell 246f7eef62 Remove tmp directories from md2pdf output, closes #140 2018-08-17 13:12:37 +03:00
Matti Pastell 341edd3784 Allow custom fields in templates, closes #100 2018-07-27 14:39:53 +03:00
Matti Pastell 4cd0b92792 Fix pandoc support, add raw options to pandoc requires pandoc 2. Closes #132. 2018-07-27 14:18:33 +03:00
Matti Pastell 3fc3e3c6e0 Use :label consistently 2018-07-27 10:42:14 +03:00
Matti Pastell 5c803db6ae Merge branch 'dfk/pandoc-crossref' of https://github.com/kleinschmidt/Weave.jl into kleinschmidt-dfk/pandoc-crossref 2018-07-27 01:02:43 +03:00
Matti Pastell bd5e1d9a3b Eval requires in Main, add WeavePlots module 2018-07-26 21:29:46 +03:00
Matti Pastell 160017b6e8 Remove plot library hack and use Requires instead 2018-07-26 20:32:10 +03:00
Matti Pastell 44455a1fda Fix generic pdf support 2018-07-26 12:42:52 +03:00
Matti Pastell 973274bf22 Fix Plots support 2018-07-26 12:20:04 +03:00
Matti Pastell 93bb9ced2d Fix occursin bugs 2018-07-26 11:35:17 +03:00
Matti Pastell f90547cee6 Fix bug in Sandboxing, run code in sandbox module by default 2018-07-26 02:01:10 +03:00
Matti Pastell b136fa615d Fix header parsing, update example 2018-07-26 00:26:38 +03:00
Matti Pastell e5d2045350 Clean formatters 2018-07-25 23:26:39 +03:00
Matti Pastell 373f5e9d37 Allow choosing where to eval code. 2018-07-25 23:24:25 +03:00
Matti Pastell 7c091ed034 Clean highlighting code 2018-07-25 01:33:24 +03:00
Matti Pastell 4523b3a58e Use Highlights.jl for md2tex output 2018-07-24 23:40:47 +02:00
Matti Pastell 57724aff67 Fix error handling test 2018-07-24 11:50:28 +02:00
Matti Pastell 0956ce6dff Fix more deprecations 2018-07-23 19:35:15 +02:00
Matti Pastell 83c506252d Fix formatting deprecations 2018-07-23 19:29:07 +02:00
Matti Pastell 01f8810bc3 Run working tests with 0.7 2018-07-23 18:39:48 +02:00
femtocleaner[bot] f04b67f69b Fix deprecations (#135)
* Fix deprecations

* Fix html output
2018-07-23 13:37:25 +03:00
Dave Kleinschmidt 6ff3bee3e8 handle empty attribs 2018-05-21 15:20:15 -04:00