Commit Graph

206 Commits (0bc0d3b510208e38553f96aa3b0eec2a771d64f4)

Author SHA1 Message Date
Shuhei Kadowaki b8b9b095b7 fix tests:
- revert changes introduced in 1fb4065 in test suite
2020-05-24 14:05:29 +09:00
Shuhei Kadowaki 1fb40645ed refactors: almost just about code styles, doesn't change any behaviour 2020-05-24 02:36:32 +09:00
Shuhei Kadowaki 3c76b804dc separate format logic from WeaveDoc:
- this is just a first step, though
2020-05-23 22:16:56 +09:00
Shuhei Kadowaki 0f94c7b49c fix case when `weave_options` are empty 2020-05-23 21:18:16 +09:00
Shuhei Kadowaki b4c2bbea45 deprecate `options`, change to `weave_options`:
- avoid unexpected header stripping (`options` sounds too general)
- deprecated `options` support will be remove within ≥v0.11
2020-05-18 22:10:26 +09:00
Shuhei Kadowaki 4113402908 rename `latex_keep_unicode` to `keep_unicode`, handle this in `format` 2020-05-17 12:17:24 +09:00
Shuhei Kadowaki 249c94a5c1 avoid manipulation of global struct 2020-05-17 12:14:30 +09:00
Shuhei Kadowaki f9daa3a289 add test for HTML display limit 2020-05-16 23:25:44 +09:00
Shuhei Kadowaki 91403b4ec0 fix typo 2020-05-16 23:11:05 +09:00
Shuhei Kadowaki ba8e9f4724 fix header handling in noweb doc 2020-05-16 20:33:48 +09:00
Shuhei Kadowaki 2a6ee38850 fix code chunk line numbers 2020-05-16 19:52:24 +09:00
Shuhei Kadowaki 6100083c9e update test 2020-05-16 16:05:02 +09:00
Shuhei Kadowaki 6955ca6be2 add test for header processing 2020-05-16 01:49:55 +09:00
Shuhei Kadowaki 492d1f330b dynamic YAML option specification 2020-05-16 01:47:52 +09:00
Shuhei Kadowaki 42115e7d52 rename writer.jl -> converter.jl 2020-05-16 00:43:33 +09:00
Shuhei Kadowaki 7c2eb23bcd small refactors (mostly about code styles) 2020-05-16 00:32:09 +09:00
Shuhei Kadowaki 1ddff9a1b7 more test clean up 2020-05-11 09:40:10 +09:00
Shuhei Kadowaki 2c7f3da7cc
Merge pull request #324 from JunoLab/avi/cleanup
rm unused tests
2020-05-10 15:54:46 +09:00
Shuhei Kadowaki 423146f981 rm unused tests 2020-05-10 15:27:14 +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 f1df02c2b7
Merge pull request #320 from JunoLab/avi/robusttest
more robust error rendering test
2020-05-09 23:17:24 +09:00
Shuhei Kadowaki 4dae2a0816 `WEAVE_OPTION_NAME` 2020-05-09 22:42:05 +09:00
Shuhei Kadowaki 8303311d59 more robust error rendering test 2020-05-09 22:35:45 +09:00
Shuhei Kadowaki 36bdd4f82b remove weird default constructor for `WeaveDoc` 2020-05-09 22:33:58 +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 3b8201df04 add test for `clear_module!` 2020-05-09 18:22:24 +09:00
Shuhei Kadowaki 79579053f1 refactor tests:
- simpler module evaluation test
- remove useless include_weave test
2020-05-09 17:27:51 +09:00
Shuhei Kadowaki e41202d3ff no weird Base.run overload 2020-05-09 11:25:19 +09:00
Shuhei Kadowaki 95e32c4908 more graceful header handling 2020-04-18 19:10:07 +09:00
Sebastian Pech 05c93b8607 Fix inline tests after Highlights update 2019-10-22 20:10:27 +02:00
Sebastian Pfitzner 3d673d0338
Merge pull request #244 from sebastianpech/disable-unicode-escape
Add argument to weave function to disable unicode escape
2019-10-21 19:48:29 +02:00
Sebastian Pech c9e26d5638 Rename escape_unicode and move to tex based formatdicts 2019-10-15 21:48:05 +02:00
Sebastian Pech 0018f0e24c Fix new expected output in ref for new escape char 2019-10-15 17:18:50 +02:00
Sebastian Pech bd5ff7031c Add argument for disabling unicode escaping 2019-09-05 10:13:49 +02:00
Sebastian Pech fa4a1a629d Add function to convert percentages to matching latex widths 2019-08-25 19:19:31 +02:00
Sebastian Pech eeb723981d Fix printing [] if fig_env is empty string 2019-08-25 10:25:57 +02:00
Sebastian Pech 474cb6e4b2 Combine formatfigures for Tex and JMarkdown2tex 2019-08-25 09:39:03 +02:00
Sebastian Pfitzner ed41be610a
Merge pull request #221 from thofma/master
Add html rendering of Markdown tables
2019-06-26 12:10:46 +02:00
Tommy Hofmann 1c0506342e Add html rendering of Markdown tables 2019-06-26 11:19:11 +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 95e860816c Restore .ps and .js.svg to Gadfly 2019-03-11 15:13:30 +02:00
Matti Pastell 8194c8a1b8 Fix `include_weave`. Closes #152. 2019-03-11 14:05:06 +02:00
Matti Pastell 83e2e0ae20 Add tests for inline code 2019-03-11 13:39:21 +02:00
Matti Pastell 35addd2b50 Fixes to option parsing, gadfly pdf, stripping header, add tests 2019-03-11 10:23:31 +02:00