Commit Graph

328 Commits (c9a814759dba764931582f7dc91e0d92633a7e4d)

Author SHA1 Message Date
Matti Pastell b136fa615d Fix header parsing, update example 2018-07-26 00:26:38 +03:00
Matti Pastell e5d2045350 Clean formatters 2018-07-25 23:26:39 +03:00
Matti Pastell 373f5e9d37 Allow choosing where to eval code. 2018-07-25 23:24:25 +03:00
Matti Pastell 7c091ed034 Clean highlighting code 2018-07-25 01:33:24 +03:00
Matti Pastell 4523b3a58e Use Highlights.jl for md2tex output 2018-07-24 23:40:47 +02: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
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