Commit Graph

134 Commits (630ac466e796e27955aefde7e7677aef3715caa8)

Author SHA1 Message Date
Shuhei Kadowaki 3ddb1375eb yet another clean up:
- remove weird dispatches
- rm unused `result_no` field
2020-06-02 19:25:34 +09:00
Shuhei Kadowaki aa7fd311d8 use isnothing & isempty 2020-06-02 19:00:40 +09:00
Shuhei Kadowaki 0bdab33630 Merge branch 'master' into texexports 2020-06-01 22:45:32 +09:00
Jonas Isensee 3eba5de7f4 make `texminted` output valid texfile 2020-05-31 11:48:37 +02:00
Jonas Isensee 770496b3af remove format dict - make everything a field of format <: WeaveFormat directly 2020-05-31 09:29:26 +02:00
Shuhei Kadowaki e0e9ae8753 respect specied `fig_path`
- closes #358
2020-05-30 22:14:50 +09:00
Shuhei Kadowaki aa63b20e7c remove unncessary :doctype field 2020-05-25 22:39:59 +09:00
Shuhei Kadowaki cc936f5377 refactor formatters.jl 2020-05-25 22:39:37 +09:00
Shuhei Kadowaki eca4ed2559 handle codeunits gracefully in inline chunks 2020-05-24 18:17:58 +09:00
Shuhei Kadowaki f71a491847 rm unused stuff 2020-05-23 22:04:01 +09:00
Shuhei Kadowaki 745abe176c Revert "rm unused field from WeaveDoc"
This reverts commit 301f9b2f27.
2020-05-23 20:07:41 +09:00
Shuhei Kadowaki 301f9b2f27 rm unused field from WeaveDoc 2020-05-23 20:03:38 +09:00
Shuhei Kadowaki 4113402908 rename `latex_keep_unicode` to `keep_unicode`, handle this in `format` 2020-05-17 12:17:24 +09:00
Shuhei Kadowaki 249c94a5c1 avoid manipulation of global struct 2020-05-17 12:14:30 +09:00
Shuhei Kadowaki 6d1732247a a bit refactor 2020-05-17 11:10:25 +09:00
Shuhei Kadowaki b7233b468e no `term` option for inline code chunk 2020-05-17 11:05:30 +09:00
Shuhei Kadowaki e60f066d31 fix when a header value is not `String` 2020-05-16 23:45:41 +09:00
Shuhei Kadowaki 58bc741b7f detect doctype when running a doc 2020-05-16 23:10:44 +09:00
Shuhei Kadowaki 99a50ad86f integrate with Juno progress bar 2020-05-16 19:52:56 +09:00
Shuhei Kadowaki 17c2151d86 a bit refactor:
- don't match slide `---` separator as header start/end
- recognize `doctype` in construction
2020-05-16 01:49:30 +09:00
Shuhei Kadowaki 492d1f330b dynamic YAML option specification 2020-05-16 01:47:52 +09:00
Shuhei Kadowaki 7c2eb23bcd small refactors (mostly about code styles) 2020-05-16 00:32:09 +09:00
Shuhei Kadowaki e89d5da250 rm unncessary `Symbol` spec:
- change `informat` and `doctype` options to 
`Union{NothingAbstractString}`
2020-05-10 13:20:44 +09:00
Shuhei Kadowaki 68f72bdfb3 small updates 2020-05-09 23:55:11 +09:00
Shuhei Kadowaki d4413a1d78 clear sandbox module correctly 2020-05-09 16:09:11 +09:00
Shuhei Kadowaki 5dbe54316b isnothing utility 2020-05-09 11:26:32 +09:00
Shuhei Kadowaki e41202d3ff no weird Base.run overload 2020-05-09 11:25:19 +09:00
Shuhei Kadowaki 4e7fda212d ensure Weave display pops out even if an internal err occurs 2020-05-09 02:48:56 +09:00
Shuhei Kadowaki 2376a9dae9 format things 2020-05-08 23:39:17 +09:00
Shuhei Kadowaki a759dc10bd specify default output format (HMTL) for notebooks 2020-03-27 20:34:06 +09:00
Shuhei Kadowaki 840f1b3b8f simpler doc APIs 2020-03-27 18:45:04 +09:00
Shuhei Kadowaki 6339303569 rm Compat 2020-03-18 08:53:25 +09:00
Sebastian Pech c9e26d5638 Rename escape_unicode and move to tex based formatdicts 2019-10-15 21:48:05 +02:00
Sebastian Pech 4d7a444246 Fix displayed output produced by capture_output 2019-08-21 15:03:22 +02:00
Konstantinos Samaras-Tsakiris ea1de0fb9e
Fix mpastell/Weave.jl#214
Fixes incorrect UTF-8 string handling as described in https://github.com/mpastell/Weave.jl/issues/214.
2019-06-04 21:02:40 +03:00
Matti Pastell 6082786f92 Allow setting document options in YAML header 2019-03-05 19:36:27 +02:00
Matti Pastell 73584edd34 Strip ANSI from text output #184 2019-02-27 16:19:14 +02:00
Matti Pastell e52083c42a Display assigned objects from chunk's last line 2019-02-27 12:42:43 +02:00
Matti Pastell 4a7d63bc7e Clean up and fix svg embedding 2019-02-08 16:01:25 +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 3fc3e3c6e0 Use :label consistently 2018-07-27 10:42:14 +03:00
Matti Pastell 160017b6e8 Remove plot library hack and use Requires instead 2018-07-26 20:32:10 +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 373f5e9d37 Allow choosing where to eval code. 2018-07-25 23:24:25 +03: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
femtocleaner[bot] f04b67f69b Fix deprecations (#135)
* Fix deprecations

* Fix html output
2018-07-23 13:37:25 +03:00