Commit Graph

137 Commits (42115e7d5290d6bc011539c3dc4d0a363f93c710)

Author SHA1 Message Date
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
Matti Pastell d974134ee4 First version of md2html formatter using templates and pandoc 2016-04-20 15:41:54 +03:00
Matti Pastell a1de2c64e2 Added setting and restoring chunk options 2016-04-20 11:16:50 +03:00
Matti Pastell 1ede33365b Change pandoc output to output inline images if there is no caption 2016-04-19 16:48:30 +03:00
Matti Pastell 526646bb79 Add hold option for chunks 2016-04-19 16:39:10 +03:00
Matti Pastell f50c94d0ed First version of documentation with Documenter.jl and mkdocs. Remove Docile depency 2016-04-19 16:10:10 +03:00
Matti Pastell 0399b57c0e Fix md strings and deprecation warning from pgf example 2016-04-12 17:35:58 +03:00
= 0e44f9683c Make string AbstractStrings 2016-04-11 18:47:23 +03:00
Matti Pastell 97fe1a43bd Capturing output now works with new options. Needs new tests and need to clean up obsolete code. Caching is broken 2015-01-11 23:38:58 +02:00
Matti Pastell abb21a6d80 Working to improve capturing output, added functions to parse and capture chunk content. 2015-01-10 20:10:40 +02:00
Matti Pastell c2f76c7190 Added shortcut method for weave, cleaned obsolete code 2015-01-09 00:05:46 +02:00
Matti Pastell c5d91dd6c7 Removed unused code, tweaked test 2015-01-08 19:35:59 +02:00
Matti Pastell d19b374fe9 Implemented caching, added documentation and tests 2015-01-08 18:52:42 +02:00
Matti Pastell 6635eb5c74 Working on caching. Saving and restoring added, problems with formatting 2015-01-07 16:37:02 +02:00
Matti Pastell ee262e81a4 Fix: Documents run code in separate SandBoxes. Each document is executed in separate sandbox module instead of redefining the same one. Fixes warnings and occasional segfaults. 2015-01-07 12:22:32 +02:00
Matti Pastell 91914d675a Moved pyplot code to separate file, made Winston tests to run in separate process 2015-01-07 10:26:11 +02:00
Matti Pastell 5d1f5ab4d7 Refactoring to cleaner API. Added WeaveDoc type.
Reading and running chunks now return WeaveDoc's.
Cleaned weave function significantly.
2015-01-07 00:01:25 +02:00
Matti Pastell e76e823a3d Made report object local, closes #3 2015-01-06 00:56:47 +02:00
Matti Pastell 3c4cc04e14 Sepated reading and parsing to different methods 2015-01-06 00:31:24 +02:00
Matti Pastell 25fb2096d3 Figure saving and formatting fixed, updated unit tests 2015-01-05 16:35:24 +02:00
Matti Pastell fb30b28c12 Executing code refactored except for figures 2015-01-04 15:45:41 +02:00
Matti Pastell 42108cb69d Changing chunk representation to own type instead of just Dicts. Reader works, everyting else is broken 2015-01-04 15:18:17 +02:00
Matti Pastell 0d170ead3a More documentation 2015-01-02 17:05:40 +02:00
Matti Pastell 5ec60597b0 Small improvements to docstrings 2015-01-01 23:36:58 +02:00
Matti Pastell eff8f1f522 Added docstrings using Docile.jl 2015-01-01 23:32:15 +02:00
Matti Pastell 8ae1cbd920 Merge pull request #22 from wildart/dev
disable figure processing for no-eval chunks
2014-12-21 10:03:40 +02:00
Art Wild cf7187666a added code extraction into an Julia source file 2014-12-21 02:25:45 -05:00
Art Wild 5ae4314ac7 disable figure processing for no-eval chunks 2014-12-20 21:17:30 -05:00
Matti Pastell 9b620e4a67 Added command line script for weaving: bin/weave.jl. Closes #19 2014-12-20 16:41:37 +02:00
Matti Pastell cb60eee6f8 Updated README, made Gadfly default for plots 2014-12-20 13:04:12 +02:00
Matti Pastell 7cbdd2e431 Added out_path option, fixes #20 2014-12-20 12:38:35 +02:00
Matti Pastell b0f2f92e37 Tests for pyplot and minor fixes 2014-12-09 15:32:41 +02:00
Matti Pastell 9e5f7cb1c2 Bug fix: eval=false was excluding code from output 2014-12-09 11:33:30 +02:00
Matti Pastell 73fc1ee8e6 Clear the Sanbox for running code for each document 2014-12-09 10:27:50 +02:00
Matti Pastell d97c45c63d New tests for Gadfly and figure formatters, small fixes to formats 2014-12-08 23:51:27 +02:00
Matti Pastell 97b7c0f26d Renamed package to Weave,jl as discussed in mpastell:pull-request/54b50af2 2014-12-08 10:31:03 +02:00