Commit Graph

290 Commits (bf57bf8a0717b035afeb030799beb763113a2c2f)

Author SHA1 Message Date
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