Shuhei Kadowaki
7c2eb23bcd
small refactors (mostly about code styles)
2020-05-16 00:32:09 +09:00
Shuhei Kadowaki
bc0f687352
rm header_args
2020-05-10 15:55:37 +09:00
Shuhei Kadowaki
2e19930565
Merge pull request #323 from JunoLab/avi/bang
...
use bangs for destructive functions
2020-05-10 14:28:40 +09:00
Shuhei Kadowaki
d809ddf703
Merge pull request #322 from JunoLab/avi/require
...
don't load Weave Plots submodules into user's module
2020-05-10 14:06:09 +09:00
Shuhei Kadowaki
e459bfb87d
use bangs for destructive functions
2020-05-10 13:56:09 +09:00
Shuhei Kadowaki
ede31bcf74
don't load Weave Plots submodules into user's module
2020-05-10 13:35:54 +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
c825076e36
simplify imports
2020-05-10 00:01:41 +09:00
Shuhei Kadowaki
4dae2a0816
`WEAVE_OPTION_NAME`
2020-05-09 22:42:05 +09:00
Shuhei Kadowaki
36bdd4f82b
remove weird default constructor for `WeaveDoc`
2020-05-09 22:33:58 +09:00
Shuhei Kadowaki
5f7cf529b9
chunks.jl -> types.jl
2020-05-09 21:03:00 +09:00
Shuhei Kadowaki
750b7624e0
refactor readers.jl:
...
- avoid unnecessary overloading on `parse_doc`
- split readers.jl into multiple scripts
2020-05-09 20:17:53 +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
2376a9dae9
format things
2020-05-08 23:39:17 +09:00
Shuhei Kadowaki
020b4353a4
fix indents, Github -> GitHub
2020-05-06 23:37:04 +09:00
Fredrik Bagge Carlson
f126e1c7a9
fix formatting
2020-04-17 12:16:56 +08:00
Fredrik Bagge Carlson
7e88052db3
keep latex figures
2020-04-17 12:16:56 +08:00
Shuhei Kadowaki
d40e21ea35
improve documentations around notebooks
2020-03-27 20:43:33 +09:00
Shuhei Kadowaki
840f1b3b8f
simpler doc APIs
2020-03-27 18:45:04 +09:00
Shuhei Kadowaki
efccb5c7f1
more documentation improve
2020-03-27 10:16:57 +09:00
Shuhei Kadowaki
9e9fe45231
improve documentations
2020-03-26 21:41:54 +09:00
Shuhei Kadowaki
f8c32c865b
more type annotate APIs
2020-03-26 17:35:05 +09:00
Shuhei Kadowaki
6339303569
rm Compat
2020-03-18 08:53:25 +09:00
Shuhei Kadowaki
1f8514a737
fixes : #105 , #288
...
closes : #289
2020-03-17 10:57:36 +09:00
Shuhei Kadowaki
d8595e266f
more doc fixes
2020-03-06 10:14:21 +09:00
Sebastian Pech
c9e26d5638
Rename escape_unicode and move to tex based formatdicts
2019-10-15 21:48:05 +02:00
Sebastian Pech
da66a8f272
Add escape_unicode to docstring
2019-10-15 14:20:11 +02:00
Sebastian Pech
bd5ff7031c
Add argument for disabling unicode escaping
2019-09-05 10:13:49 +02:00
Sebastian Pfitzner
9f664ba5a6
Merge pull request #202 from tshort/hook-fix
...
Fix hooks and add a push/pop hook to the test
2019-06-25 18:10:38 +02:00
Arnav Sood
5d3e05511e
allow configuration of jupyter command while weaving notebooks, fixes #194
...
* notebook refactor and tests
* update PR
* add jupyter test jmd
* add back full warnings and remove debugging output
* Update test filename [ci skip]
* Conda for CI
* update for CI?
* remove Conda, IJulia, and tests for now
* Project.toml changes suggested by tinagly
* revive travis tests
* comment out nb tests
2019-06-19 10:26:13 -07:00
tshort
bd69ef1f59
Fix hooks and add a push/pop hook to the test
2019-04-27 13:17:29 -04:00
Matti Pastell
99db6a9406
Actually fix include_weave
2019-03-11 14:25:17 +02:00
Matti Pastell
8194c8a1b8
Fix `include_weave`. Closes #152 .
2019-03-11 14:05:06 +02:00
Matti Pastell
35addd2b50
Fixes to option parsing, gadfly pdf, stripping header, add tests
2019-03-11 10:23:31 +02:00
Matti Pastell
4ab1c09b8c
Allow using MustacheTokens as template directly
2019-03-10 17:51:19 +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
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
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
Matti Pastell
246f7eef62
Remove tmp directories from md2pdf output, closes #140
2018-08-17 13:12:37 +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
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
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
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
Tom Short
5e1d8c1976
Fix a glitch with `pop_preexecute_hook` ( #124 )
2018-03-17 12:14:33 +02:00
Matti Pastell
53c2a337f3
Use IJulia jupyter. Closes #122
2018-02-27 15:08:08 +02:00
Matti Pastell
1341aed3d0
Precompile
2018-01-07 20:36:46 +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
51ea08ca88
Remove nbconvert timeout by default
2018-01-05 18:01:16 +02:00
Matti Pastell
048b484d83
Fix notebook doc string
2018-01-05 17:51:30 +02:00
Matti Pastell
57c17e05a3
Add notebook function for converting output to Jupyter notebooks
2018-01-05 17:42:47 +02:00
Matti Pastell
dc566fc69a
Fix md2pdf output -> use minted and xelatex
2018-01-03 17:23:57 +02:00
Matti Pastell
5c83309aa3
Fix Gadfly and Plots, use Compat.invokelatest
2017-05-12 16:12:05 +03:00
Matti Pastell
9d4817007e
Fix world-age for display
2017-03-14 21:06:47 +02:00
Matti Pastell
c788f5f15e
Fix PyPlot for 0.6
2017-03-09 22:09:36 +02:00
Matti Pastell
de1e08e1ef
Add exception handling to weave
2016-12-27 22:22:32 +02:00
Matti Pastell
3da8865a15
Export include_weave
2016-12-26 13:45:33 +02:00
Matti Pastell
7c5fcd24c6
Pass data to documents #78
2016-12-26 13:26:36 +02:00
Matti Pastell
4d499da343
Embed images for html at runtime and cache result
2016-12-23 12:02:28 +02:00
Matti Pastell
d75ae6d86b
Fix cache_path and don't clean figures when caching.
...
Fixes #76
2016-12-23 10:25:23 +02:00
Matti Pastell
ff79618182
Clean build artefacts for pandoc2* closes #69
2016-12-23 09:37:30 +02:00
Matti Pastell
c0f3bac70a
Clean extra files for pdf output #69
2016-12-23 09:25:44 +02:00
Matti Pastell
89859c0898
Rename weave_include to include_weave
2016-12-23 08:36:07 +02:00
Matti Pastell
b14cd13063
Clean extra files for html output #69
2016-12-23 08:34:54 +02:00
Matti Pastell
0234b3d059
Added weave_include function to include code from Weave documents
2016-12-20 20:34:24 +02:00
Matti Pastell
82cc021f3c
Update docs
2016-12-17 00:16:40 +02:00
Matti Pastell
e3051a7525
Several fixes to tex formatter and template
2016-12-16 20:24:41 +02:00
Matti Pastell
8a6aac0129
Make md2pdf use Julia markdown
2016-12-15 21:28:29 +02:00
Matti Pastell
a6b74156f6
Precompile
2016-12-15 19:54:50 +02:00
Matti Pastell
b2932f1b86
Add template, highlight_theme and css options to weave
2016-12-15 15:49:21 +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
6a68be5161
Updated docs, added convert_doc
2016-12-12 14:05:26 +02:00
Matti Pastell
15157a213a
Add converters between supported input formats #48
2016-12-12 12:53:10 +02:00
Matti Pastell
6b87fbeb90
Remove Winston from test depencies
2016-11-03 12:33:30 +02:00
Matti Pastell
56e92c648c
Remove compat macros
2016-11-03 10:41:29 +02:00
Matti Pastell
699f5b46e7
Move plotlib_set flag to rcParams
2016-04-29 16:56:05 +03:00
Matti Pastell
30a83667ee
Add autodetection of plotting library, and pre and post chunk hooks, prehook for setting plot size with plots.jl
2016-04-29 16:41:18 +03:00
Matti Pastell
31392a067f
Displaying and collecting rich results implemented
2016-04-27 17:14:42 +03:00
Matti Pastell
da5001bd31
Set mimetypes based on document format, started work on capturing 'rich' text results
2016-04-27 16:05:11 +03:00
Matti Pastell
37f0c7f796
Added more general display methods for png and svg, gadfly modified to catch svg's
2016-04-27 14:51:15 +03:00
=
13670b1620
Allow out_path to be file or directory
2016-04-24 15:02:03 +03:00
Matti Pastell
8292c17674
Implement autodetecting output format
2016-04-22 16:16:12 +03:00
Matti Pastell
42faaae5de
Detect informat based on file extension
2016-04-22 15:39:25 +03:00
Matti Pastell
0c847f2378
Added tangle option to code chunks, closes #33
2016-04-22 09:26:27 +03:00
Matti Pastell
f62a315dc0
Fixes Winston support, some tests now work on 0.5
2016-04-20 20:23:00 +03:00
Matti Pastell
65a10335a3
Added md2pdf format
2016-04-20 18:36:26 +03:00