Commit Graph

471 Commits (630ac466e796e27955aefde7e7677aef3715caa8)

Author SHA1 Message Date
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
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
Dave Kleinschmidt b4ebf0cd16 generate pandoc-crossref style labels for figures
also clean up attrib code
2018-02-01 13:13:11 -05:00
Matti Pastell 8ab0d66dda Fix html list writer 2018-01-07 21:33:50 +02:00
Matti Pastell 1341aed3d0 Precompile 2018-01-07 20:36:46 +02:00
Matti Pastell b2b143c22e Add markdown2html writer, remove Documenter depency 2018-01-07 20:19:59 +02:00
Matti Pastell 88d8665e03 Load JLD2 and FileIO only when cache is used 2018-01-07 20:01:18 +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 48327bd570 Embed Plots animated gifs to html output. Closes #105 2018-01-04 21:45:43 +02:00
Matti Pastell 965eb6dfe9 Fix world age bug with display 2018-01-04 18:02:09 +02:00
Matti Pastell be0ac321b3 Use Highlight.jl with pandoc2html 2018-01-04 18:00:01 +02:00
Matti Pastell 484b1fdf23 FIx `term=true` for md2tex 2018-01-03 20:31:24 +02:00
Matti Pastell 6dc482d997 Fix term=true in "rich outputs", closes #113 2018-01-03 19:33:57 +02:00
Matti Pastell 15d4cdf512 Update md2tex format tests. Closes #107 2018-01-03 19:07:14 +02:00
Matti Pastell dc566fc69a Fix md2pdf output -> use minted and xelatex 2018-01-03 17:23:57 +02:00
Matti Pastell 6c149b383c Use compact output for IO 2018-01-03 15:48:14 +02:00
Matti Pastell 51641124b5 Fix output: html wrap bug, output from last line 2018-01-03 15:35:47 +02:00
Matti Pastell c1795e7310 Fix Gadfly tests 2018-01-03 08:48:01 +02:00
Matti Pastell f8ffe9218d Merge branch 'fbot/deps' 2018-01-02 16:38:42 +02:00
Matti Pastell 5bb5e8994c Switch to JLD2 for caching docs 2018-01-02 16:21:45 +02:00
Matti Pastell c2f581a31d Merge branch 'master' of https://github.com/mpastell/Weave.jl into HEAD 2018-01-02 15:57:17 +02:00
Matti Pastell ebd4f6dbed Allow empty cells in scripts 2018-01-02 15:48:56 +02:00
femtocleaner[bot] 2693389a3a Fix deprecations 2017-12-31 12:02:28 +00:00
Timothée Poisot 6b7e88d465 Attempt to solve #102 2017-07-17 11:32:33 -04:00
Matti Pastell 4bc5435e6d Fix figure display for Gadfly 2017-05-15 17:13:18 +03:00
Matti Pastell 2e65f08e0e Merge branch 'master' of https://github.com/mpastell/Weave.jl 2017-05-12 16:12:20 +03:00
Matti Pastell 5c83309aa3 Fix Gadfly and Plots, use Compat.invokelatest 2017-05-12 16:12:05 +03:00
Matti Pastell 7edd8f8bc3 Merge pull request #88 from tpapp/hugo-trivial-fix
Removed superfluous space which broke the hugo parser.
2017-04-02 22:58:50 +03:00
Tamas K. Papp 0682ca8c59 Removed superfluous space which broke the hugo parser. 2017-04-02 20:30:29 +02:00
Matti Pastell 562968f9be Don't remove whitespace from start of inline output 2017-04-02 09:47:12 +03:00
Maxim Grechkin 1ab37ae48c fix inline code snippets output 2017-04-01 16:07:15 -07:00
Tamas K. Papp 3297d07102 Added caption for figure shortcode in Hugo. 2017-03-26 17:13:11 +02:00
Tamas K. Papp 3176ae88bf Added a formatter for Hugo.
Uses the figure shortcode [1]. Tested at [2].

[1] https://gohugo.io/extras/shortcodes/.
[2] https://tpapp.github.io/post/hugo-julia-weave/.
2017-03-24 19:57:02 +01:00
Matti Pastell ebcee727aa Fix version numbers for patches 2017-03-15 17:15:41 +02:00
Matti Pastell 1915501026 More tests for 0.6 2017-03-14 21:27:26 +02:00
Matti Pastell 9d4817007e Fix world-age for display 2017-03-14 21:06:47 +02:00
Matti Pastell b4f5221e3a Fix mimetype order for md2html 2017-03-14 18:54:03 +02:00
Matti Pastell 1a54d6a557 Add citeproc filter to pandoc, fixes #50 2017-03-14 16:08:52 +02:00
Matti Pastell 38d3b04363 Only strip header from md2* formats, fix pandoc2html 2017-03-14 15:34:27 +02:00
Matti Pastell bbad66d0b8 Fix plotting imports and tests 2017-03-14 09:27:16 +02:00
Matti Pastell b2ffefdb27 Remove Winston support, closes #58 2017-03-13 20:57:39 +02:00
Matti Pastell 70c850e79e Fix extra whitespace in convert_doc 2017-03-13 15:12:59 +02:00
Matti Pastell 888b732f86 Fix output for `term=true`. Closes #82. 2017-03-13 15:05:07 +02:00
Matti Pastell b0d2ccdba2 Cleaner world-age fix for pyplot 2017-03-11 11:31:17 +02:00
Matti Pastell 868efa8208 Use compat for abstract types 2017-03-10 13:09:13 +02:00
Matti Pastell c788f5f15e Fix PyPlot for 0.6 2017-03-09 22:09:36 +02:00
Matti Pastell 6c2f0a7bb5 No need to patch latex writer in 0.6 2017-01-04 19:56:28 +02:00
Matti Pastell f1b42156e1 Fix a bug with out_path and tmp figure directory 2016-12-29 17:58:21 +02:00
Matti Pastell de1e08e1ef Add exception handling to weave 2016-12-27 22:22:32 +02:00
Matti Pastell 3837142f9b Add cache/restore for inline code 2016-12-27 21:46:23 +02:00
Matti Pastell c7918241f2 Fix convert and enable test 2016-12-27 01:48:00 +02:00
Matti Pastell a7cd923e27 Format inline chunks 2016-12-27 00:59:15 +02:00
Matti Pastell e10f27b26f Fix weave messages 2016-12-26 21:28:57 +02:00
Matti Pastell a4cfebcc17 Initial version of running inline code 2016-12-26 21:21:55 +02:00
Matti Pastell f63fe62445 Added parsing of inline code 2016-12-26 20:06:03 +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 7c69ce9b0c Fix to embedding figures 2016-12-23 12:27:10 +02:00
Matti Pastell 4d499da343 Embed images for html at runtime and cache result 2016-12-23 12:02:28 +02:00
Matti Pastell 68b9bfda08 Fix CRLF in rest of the files 2016-12-23 10:54:48 +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 a2b63b8f07 Fix handling of \r #72 2016-12-22 21:40:07 +02:00
David Anthoff 3542374d92 Fix syntax error in Base.display 2016-12-20 12:21:50 -08:00
Matti Pastell 0234b3d059 Added weave_include function to include code from Weave documents 2016-12-20 20:34:24 +02:00
Matti Pastell 96f4fd03b8 Fix extra whitespace from reader and format 2016-12-19 18:42:00 +02:00
Matti Pastell ad08d4c4ae Fix saving of Plots formats and update tests 2016-12-19 14:46:00 +02:00
Matti Pastell 7222bfa9ab Add test for publishing to html and tex 2016-12-19 14:35:28 +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 13e40cefa8 Several fixes to tex output 2016-12-15 22:14:18 +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 606bf9147f Preserve whitespace when stripping the header 2016-12-15 12:49:56 +02:00
Matti Pastell 277c6f3e0f Added titleblock parsing and formatting to tex template #63 2016-12-15 00:07:56 +02:00
Matti Pastell d5bbf4f678 Add parsing of YAML header #63 2016-12-14 21:50:29 +02:00
Matti Pastell 9664acbe85 Added julia markdown to tex formatter 2016-12-14 16:07:04 +02:00
Matti Pastell 50127eaa90 Fix parse error when detecting plot library on windows 2016-12-14 14:28:46 +02:00
Matti Pastell 2afd25fd09 Added tests for formatters 2016-12-13 22:02:42 +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 ded6ce2c2a Embed images to html documents 2016-12-13 15:35:33 +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 985b3b1972 Add tests for converters 2016-12-12 19:54:02 +02:00
Matti Pastell 76bec5c438 Remove use of Pkg.dir 2016-12-12 19:25:51 +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 85b661f2cd Add ipynbas input format #48 2016-12-11 20:23:19 +02:00
Matti Pastell 9308081714 Add support for pdf output for pgfplots 2016-11-03 14:10:35 +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 43e850f113 Merge branch 'pandoc_header' 2016-11-02 23:48:04 +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 82e56aa9f3 Fix capturing stdout to use @async 2016-11-02 20:03:04 +02:00
Matti Pastell 901050a32f First version of template for plotly 2016-11-02 09:54:45 +02:00
Matti Pastell 93f9e9ac02 Fix plotly output for markdown, fix examples 2016-11-02 09:26:10 +02:00
Matti Pastell 4bc881378b Fix semicolon for term chunks, fixes #56 2016-11-01 21:32:11 +02:00
Matti Pastell 7bccdd2ab1 Fix Plots.jl PyPlot backend saving and update tests 2016-11-01 15:23:14 +02:00
Stephen Eglen 60ba918a7a fix deprecation in 0.5: readall -> readstring 2016-11-01 10:03:48 +00:00
Matti Pastell 8922124d21 Added support for Plots/PlotlyJS backend html/javascript output, #35 2016-11-01 10:40:40 +02:00
Matti Pastell cbdf0e2886 Add support for html output of Plots Plotly backend 2016-10-31 17:55:38 +02:00
Matti Pastell 0ce73efeaa Remove hanging code from saving plots.jl 2016-10-31 10:37:03 +02:00
Matti Pastell 68a8fbdcf4 Add saving pngs and pdf for plotlyjs Plots backend 2016-10-30 23:47:43 +02:00
Matti Pastell d50770abe1 Revert Pkg.dir 2016-10-30 21:16:12 +02:00
Tony Kelman 8324d32f01 No need to eval(parse(include(...)))
just include
2016-09-24 01:07:26 -04:00
Tony Kelman 3ad6d7ae56 Use dirname(@__FILE__) instead of Pkg.dir
so that the package can be installed elsewhere
2016-07-30 16:54:11 -04:00
= 0698165193 Added out_height support to tex and pandoc figures 2016-05-03 17:54:56 +03:00
Matti Pastell 181869a663 Merge pull request #42 from gragusa/master
Changes to pandoc call and to templates
2016-05-03 11:00:33 +03:00
Giuseppe Ragusa 6ab484848d Call to pandoc uses -c to include css template 2016-05-02 23:33:56 +02:00
= 95cfdaf04d Merge branch 'detect_plotlib' 2016-05-02 23:32:18 +03:00
= da5ffa7794 Add restoring rich_output from cache 2016-05-02 23:21:34 +03:00
= 5e929b7ef6 Make plotting library autodetection work in first chunk 2016-05-02 23:15:24 +03:00
Giuseppe Ragusa 1834b93cb3 Dispatch on when 2016-05-02 19:33:54 +02:00
Giuseppe Ragusa eecef35305 Remore DispResult type 2016-05-02 19:32:22 +02:00
Giuseppe Ragusa 1d72309959 Update run.jl 2016-05-02 18:11:08 +02:00
Giuseppe Ragusa cffbb7ff5c Implements chunk option prompt 2016-05-01 00:21:14 +02:00
Giuseppe Ragusa 60a234a95d Implements chunk option prompt 2016-05-01 00:21:01 +02:00
Giuseppe Ragusa 7a0958cf13 Adding and implementing display chunk option 2016-04-30 23:59:12 +02:00
= a760def865 Merge branch 'master' into detect_plotlib 2016-04-29 18:51:58 +03:00
Giuseppe Ragusa bc1d88c8d3 Added string to Date(now()) to prevent method error 2016-04-29 16:32:05 +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 d5f1fd4d19 Improved error handling for Pandoc 2016-04-28 16:11:45 +03:00
Matti Pastell 3d8bccdb52 Remove debug info 2016-04-28 12:07:02 +03:00
Matti Pastell 81bca0543f Fixed winston formats 2016-04-28 11:16:02 +03:00
= daa645ac58 Added tests for rich text, added display methods for markdown and latex 2016-04-27 21:52:55 +03:00
= 2681f19c19 Fixed tests to match the new slightly different output 2016-04-27 21:24:44 +03:00
Matti Pastell 9d4e68ca5c Remove syntax highlighting from markdown output 2016-04-27 19:34:37 +03:00
Matti Pastell dca852ed89 Catching of rich output implemented, initial tests with DataFrames and HTML 2016-04-27 19:18:17 +03:00
Matti Pastell 64fd4daa1d Display images automatically only if they are not assigned to variable 2016-04-27 17:52:38 +03:00
Matti Pastell 506f48f4dd Fix parsing: parse variables and not just expresssions 2016-04-27 17:30:33 +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 45f8871740 Generic svg and png handlers work 2016-04-27 15:10:26 +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
Matti Pastell f24b2157a6 First version with Plots.jl support, need to decide how to display figures 2016-04-27 10:18:06 +03:00
Matti Pastell 4483f6f052 Improved regex for start of markdown chunks 2016-04-26 18:45:26 +03:00
Matti Pastell 8ffef8ff7d Tweaks to markdown reader regex 2016-04-25 23:52:14 +03:00
Matti Pastell 6b1722b354 Fix md2html and md2pdf on windows 2016-04-25 09:11:59 +03:00
Matti Pastell 121ace9ec3 Fix a bug in out_path for Pandoc formats, tweak doctype autodetection 2016-04-24 16:12:30 +03:00
= 13670b1620 Allow out_path to be file or directory 2016-04-24 15:02:03 +03:00
= 01a235fd88 Fix to deserialing cached content. Caching now works as previously documented and tests pass 2016-04-23 19:19:38 +03:00
= 6ef016cc5f Mostly fixed caching, echo=false needs fixing. Switched to JLD format. 2016-04-23 18:15:59 +03:00
= 0132cdd33b Added support for figure width in pandoc, updated tests 2016-04-23 09:40:07 +03:00
= 47317b512b Remove figure width from multimarkdown figs when out_width=nothing, #34 2016-04-23 08:51:25 +03:00
Matti Pastell d5aaae43fc Added multimarkdown formatter, #34 2016-04-22 20:59:13 +03:00
Matti Pastell ec00702fe0 Fix to script reader 2016-04-22 16:42:51 +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 2b5e8ee968 Make mathjax work with sef-contained pandoc, fix a bug in script reader 2016-04-22 13:18:33 +03:00
Matti Pastell aa66a8d1d0 Merge branch 'master' into script_reader 2016-04-22 09:38:27 +03:00
Matti Pastell 0c847f2378 Added tangle option to code chunks, closes #33 2016-04-22 09:26:27 +03:00
Matti Pastell 54ada93bdd First version of script reader implemented, needs testing 2016-04-21 19:02:08 +03:00
Matti Pastell 6f4fa68427 Make inputs have a type, old readers work 2016-04-21 18:51:06 +03:00
Matti Pastell 92a5a372c4 Updates to gadfly sample 2016-04-20 21:31:55 +03:00
Matti Pastell 54a9a79e98 Changed readall to @compat readstring 2016-04-20 21:01:14 +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 9a7aebc98d Exception handling for missing pandoc 2016-04-20 17:04:38 +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
Matti Pastell 6bec8f19ea Fix output for paths containing ~ 2016-04-20 13:18:12 +03:00
Matti Pastell a1de2c64e2 Added setting and restoring chunk options 2016-04-20 11:16:50 +03:00
Matti Pastell f7e18f45a3 Removed unsused code 2016-04-19 17:36:56 +03:00
Matti Pastell 54663179cb Add test and docs for hold chunk option 2016-04-19 17:07:07 +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
Matti Pastell a0fbf826c0 Fix deprecation warning from mmap 2016-04-12 17:16:44 +03:00
Matti Pastell 8a35d741f6 Fixed output format and tests for PyPlot 2016-04-12 17:08:29 +03:00
= 6ab22417bf Gadfly tests pass 2016-04-11 22:16:29 +03:00
= 4fb521e219 Fixes to saving in pyplot, needs testing 2016-04-11 22:08:41 +03:00
= 0254a78e27 Fixed Gadfly tests 2016-04-11 21:23:15 +03:00
= dfd4f6dadd Fix formatter tests and format bugs 2016-04-11 20:34:36 +03:00
= 5dc7be69a9 Fix tuples for 0.4 2016-04-11 19:13:00 +03:00
= 0e44f9683c Make string AbstractStrings 2016-04-11 18:47:23 +03:00
= 178c295605 Change plotlib paramater 2016-04-11 18:29:19 +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 7ed8638658 Capturing output for 'script' chunks implemented, everything else is broken 2015-01-11 01:20:28 +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
Art Wild 3a9388d063 Clear only what can be cleared (vars) and disregard the rest (funcs and variables that cannot be defined) 2015-01-09 09:48:58 -05:00
Matti Pastell e8b69bfa72 Fixed a bug with PyPlot, added PyPlot to tests 2015-01-09 10:04:27 +02:00
Matti Pastell c2f76c7190 Added shortcut method for weave, cleaned obsolete code 2015-01-09 00:05:46 +02:00
Matti Pastell 00660a6332 Fix to caching, extended Gadfly with PGF example 2015-01-08 23:45:26 +02:00
Matti Pastell c5d91dd6c7 Removed unused code, tweaked test 2015-01-08 19:35:59 +02:00
Matti Pastell 78f04cafbd Merge branch 'cache'. Adds support to caching output 2015-01-08 19:08:31 +02:00
Matti Pastell 4af0801afb Added pgf plot support for Gadfly, closes #28 2015-01-08 19:06:43 +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 c8185984c3 Changed line wrapping added tests for it. Fixes #27.
- Added line_width chunk option
- Updated manual
- Removed Textwrap depency #27.
2015-01-05 23:15:39 +02:00
Matti Pastell 0b56046bb8 Don't wrap results if they are not formatted as markup 2015-01-05 16:57:14 +02:00
Matti Pastell 25fb2096d3 Figure saving and formatting fixed, updated unit tests 2015-01-05 16:35:24 +02:00
Matti Pastell f66e0e41aa Formatting code fixed, apart from figures 2015-01-04 16:14:59 +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 6910d6e707 Implemented asciidoc formatter, closes #16 2014-12-20 17:36:02 +02: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 f5250bab6a Added dpi option for Gadfly pngs 2014-12-18 13:44:37 +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 89333e8005 Tests and small fixes to Winston support 2014-12-09 10:35:38 +02:00
Matti Pastell 73fc1ee8e6 Clear the Sanbox for running code for each document 2014-12-09 10:27:50 +02:00
Matti Pastell 2d92fe44e5 Bug fix: environments with figures in latex 2014-12-09 09:43:32 +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 eaa3f34578 Separate environment for term chunks in tex format 2014-12-08 20:46:18 +02:00
Art Wild 075b11ee49 fixed latex figure handling, added latex example 2014-12-08 12:15:03 -05:00
Matti Pastell 784a524d86 Cleaning for release 2014-12-08 11:43:29 +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
Matti Pastell 8fd8de5a4c Added tests, fix to markdown parsing 2014-12-06 19:16:45 +02:00
Matti Pastell 85bfafb760 Improved markdown reader 2014-12-06 16:40:50 +02:00
Matti Pastell 70b2df47aa Implemented markdown reader 2014-12-06 00:17:54 +02:00
Matti Pastell 7d4b94b4e6 Added descriptions to output formats 2014-12-05 23:33:54 +02:00
Matti Pastell 4a3cad3118 Added rst format, closes #14 2014-12-05 23:13:44 +02:00
Matti Pastell 99d7a5ebb7 Updated Readme 2014-12-05 18:58:15 +02:00
Matti Pastell e6c7d5b59d Formatting 2014-12-05 12:59:05 +02:00
Matti Pastell b73137bd12 Fixed figures inside term chunks 2014-12-05 11:28:55 +02:00
Matti Pastell 63935ccf87 Added github markdown to formats, changed fig size defaults 2014-12-05 10:37:02 +02:00
Matti Pastell 7239424432 Removed broken dpi option from Gadfly 2014-12-05 09:34:08 +02:00
Matti Pastell e20025315d Changed chunk options to follow Knitr's naming
* Implemented dpi and fig_witdth and fig_height for Gadfly and Winston
2014-12-04 21:54:56 +02:00
Matti Pastell 60b29e751e Improved resolution for Winston figures 2014-12-04 18:01:49 +02:00
Matti Pastell c4ab398ac3 Fixes to Winston support 2014-12-04 17:54:56 +02:00