Commit Graph

949 Commits (master)

Author SHA1 Message Date
Shuhei Kadowaki 912387c331 follow RMarkdown more: make `throw_error` option into chunk option 2020-06-13 23:09:51 +09:00
Jonas Isensee 1135c5ddfa Remove "tex" format 2020-06-13 15:50:04 +02:00
Shuhei Kadowaki c1bc2fd5c5 fix weird typings of `Report` 2020-06-13 22:44:13 +09:00
Shuhei Kadowaki d586c24792 clean up:
- unused `:display` chunk option
- rm `displayed` chunk field
- rm `cur_result`, `pendind_code`, `term_state` `Report` field
- rm `:skip` config option
- rm unfunctional `include` chunk option for now
2020-06-13 22:44:13 +09:00
Shuhei Kadowaki d468912332
Merge pull request #369 from JunoLab/avi/cleanup
clean up:
2020-06-13 22:39:34 +09:00
Shuhei Kadowaki 753afe24d7
Merge pull request #368 from JunoLab/avi/config
config powerup
2020-06-13 22:23:55 +09:00
Shuhei Kadowaki c0e7e66ec3 clean up:
- unused `:display` chunk option
- rm `displayed` chunk field
- rm `cur_result`, `pendind_code`, `term_state` `Report` field
- rm `:skip` config option
2020-06-13 21:59:09 +09:00
Shuhei Kadowaki fd07d2db3f
Merge pull request #367 from JunoLab/avi/fixpath
fix paths
2020-06-13 21:52:11 +09:00
Shuhei Kadowaki 8d95e159e2 config powerup 2020-06-13 21:42:09 +09:00
Shuhei Kadowaki 9fac56f681 why `get_outname` defined in run.jl 2020-06-13 21:14:44 +09:00
Shuhei Kadowaki b709ce8aef
Merge pull request #364 from JunoLab/avi/fix263
fixes #263
2020-06-13 21:14:02 +09:00
Shuhei Kadowaki 4a89b04759 fix `get_cwd` 2020-06-13 20:48:44 +09:00
Shuhei Kadowaki ec986b387b `cd` into doc's working directory 2020-06-13 20:42:57 +09:00
Jonas Isensee 5c853150c8 fix math escapes in code and output 2020-06-13 09:14:12 +02:00
Shuhei Kadowaki f8b1c5104b more test clean up 2020-06-11 20:28:55 +09:00
Shuhei Kadowaki d88675d521 rm rich_output test
will be replaced by per-format rendering test
2020-06-11 20:26:25 +09:00
Shuhei Kadowaki e52c30f72e add test 2020-06-11 20:20:42 +09:00
Shuhei Kadowaki 66c33e6679 fixes #263 2020-06-11 20:20:30 +09:00
Shuhei Kadowaki cdd653e028 make Weave.path really path 2020-06-10 01:24:08 +09:00
Shuhei Kadowaki 8515c0dcde SandBox -> mod 2020-06-10 00:36:40 +09:00
Shuhei Kadowaki 3a7cb360af
Merge pull request #363 from JunoLab/avi/fixregression
fix header regression, add test, update test
2020-06-05 19:56:30 +09:00
Shuhei Kadowaki c7b566aaaa fix header regression, add test, update test 2020-06-05 18:59:02 +09:00
Jonas Isensee 630ac466e7 Reapply improvements to the tex rendering pipeline 2020-06-03 14:13:07 +02:00
Shuhei Kadowaki 3e6cda8950
Merge pull request #361 from JunoLab/avi/list
make `list_out_formats` return return just data structure
2020-06-02 19:57:59 +09:00
Shuhei Kadowaki f1d8838bc5
Merge pull request #360 from JunoLab/avi/refc
yet another clean up:
2020-06-02 19:52:46 +09:00
Shuhei Kadowaki 3faa8e2d95 make `list_out_formats` return return just data structure 2020-06-02 19:35:07 +09:00
Shuhei Kadowaki 3ddb1375eb yet another clean up:
- remove weird dispatches
- rm unused `result_no` field
2020-06-02 19:25:34 +09:00
Shuhei Kadowaki 73bf7fe77f
Merge pull request #350 from JonasIsensee/texexports
Reworking format.jl
2020-06-02 19:24:13 +09:00
Shuhei Kadowaki 533667b9ad type annotate API 2020-06-02 19:03:30 +09:00
Shuhei Kadowaki aa7fd311d8 use isnothing & isempty 2020-06-02 19:00:40 +09:00
Shuhei Kadowaki 0760591021 bump up to julia 1.2 2020-06-02 15:48:02 +09:00
Shuhei Kadowaki 04b24ea83b a bit more reorder 2020-06-02 15:45:38 +09:00
Shuhei Kadowaki 4b12f3da99 reorder functions again 2020-06-02 15:40:04 +09:00
Shuhei Kadowaki c6b23d4541 drop LTS support:
- first, it's really dull to keep compatibility with LTS
- and now we want to use `Base.@kwdef` for creating types with 
supertypes, and LTS can't have that for reasons
2020-06-02 15:33:17 +09:00
Shuhei Kadowaki ae48729cff use type field to restore header check 2020-06-02 15:31:41 +09:00
Shuhei Kadowaki 19b4a7974f reorder WeaveFormat field defs 2020-06-02 15:31:18 +09:00
Shuhei Kadowaki 0bdab33630 Merge branch 'master' into texexports 2020-06-01 22:45:32 +09:00
Shuhei Kadowaki 55d2c975cd set rendering options with dispatch:
- remove unused field defs
- in theory extensible, once documented
- fix test
- start to change terminology, `format` -> `render`
2020-06-01 22:36:48 +09:00
Shuhei Kadowaki ae0dc70ffa refactoring:
- reorder/move things so that format-specific rendering methods are 
defined close to the format
- separate common rendering methods from format specific methods
- fix using location
2020-06-01 21:32:18 +09:00
Jonas Isensee 543f99a915 rename files and include location + move texify 2020-05-31 18:04:40 +02:00
Jonas Isensee b5477d27ff revert improvements to tex rendering 2020-05-31 17:33:11 +02:00
Jonas Isensee 9875bc10f7 pass fewer arguments and bugfixes 2020-05-31 13:26:27 +02:00
Jonas Isensee 45adb8992f some cleanup 2020-05-31 12:07:26 +02:00
Jonas Isensee 3eba5de7f4 make `texminted` output valid texfile 2020-05-31 11:48:37 +02:00
Jonas Isensee 62d56846f4 fix lots of things I missed before 2020-05-31 09:49:20 +02:00
Jonas Isensee 770496b3af remove format dict - make everything a field of format <: WeaveFormat directly 2020-05-31 09:29:26 +02:00
Jonas Isensee 6e99822905 removing duplicate code 2020-05-30 18:02:49 +02:00
Jonas Isensee 119b3332aa move around code into separate files 2020-05-30 17:49:20 +02:00
Shuhei Kadowaki 9ccf3a2c5e
Merge pull request #359 from JunoLab/avi/figpath
respect specied `fig_path`
2020-05-30 23:57:53 +09:00
Shuhei Kadowaki db89118b4c fix typing and improve `@define_format` 2020-05-30 22:46:20 +09:00