Commit Graph

949 Commits (master)

Author SHA1 Message Date
Shuhei Kadowaki e7637de643 Merge branch 'master' into texexports 2020-05-30 22:22:10 +09:00
Shuhei Kadowaki e0e9ae8753 respect specied `fig_path`
- closes #358
2020-05-30 22:14:50 +09:00
Shuhei Kadowaki 5b959a972c
Merge pull request #355 from JunoLab/avi/refactorformatters
refactor formatters.jl
2020-05-30 22:14:38 +09:00
Shuhei Kadowaki 788f926067 move description field into `formatdict` 2020-05-30 21:16:03 +09:00
Fredrik Bagge Carlson c87782f451
[RFC] Do not define Markdown.latex using eval
This PR solves #356 at the expense of a warning:
```
WARNING: Method definition latex(IO, Markdown.LaTeX) in module Markdown at /home/fredrikb/julia/usr/share/julia/stdlib/v1.5/Markdown/src/IPython/IPython.jl:28 overwritten in module WeaveMarkdown at /home/fredrikb/.julia/dev/Weave/src/WeaveMarkdown/markdown.jl:10.
  ** incremental compilation may be fatally broken for this module **
```
2020-05-27 13:04:51 +02:00
Shuhei Kadowaki 96de887308 basic assertion 2020-05-26 10:44:30 +09:00
Shuhei Kadowaki aa63b20e7c remove unncessary :doctype field 2020-05-25 22:39:59 +09:00
Shuhei Kadowaki cc936f5377 refactor formatters.jl 2020-05-25 22:39:37 +09:00
Shuhei Kadowaki f4ed10b625 define render_doc and dispatch on it with different formats
- and load minted package for TexMinted format

Co-Authored-By: null <JonasIsensee@users.noreply.github.com>
2020-05-25 20:29:57 +09:00
Shuhei Kadowaki 2fdd09b585 introduce WeaveFormat abstract type
well, we can do much more things using this, but this commit just 
introduces this type

Co-Authored-By: null <JonasIsensee@users.noreply.github.com>
2020-05-25 20:29:57 +09:00
Jonas Isensee e20042848d introduce common supertype for JMarkdown2tex and Tex 2020-05-25 20:29:57 +09:00
Shuhei Kadowaki 1e9ba19db4 fix wording 2020-05-25 12:22:33 +09:00
Shuhei Kadowaki 14b56f1667
Merge pull request #353 from JunoLab/avi/rmarkdownchunks
RMarkdown style chunk options
2020-05-25 12:13:28 +09:00
Shuhei Kadowaki 227ab2cbf8 informative test skipping 2020-05-25 11:46:54 +09:00
Shuhei Kadowaki 84e91104d5 maybe fix type errors 2020-05-25 11:44:09 +09:00
Shuhei Kadowaki 44ed8788d5 LTS compat ... 2020-05-25 11:44:09 +09:00
Shuhei Kadowaki 022bb216eb general documentation improvements 2020-05-25 11:44:09 +09:00
Shuhei Kadowaki e43a2843af descriptions for RMarkdown style chunk option specs 2020-05-25 11:44:09 +09:00
Shuhei Kadowaki bb4ebb105e add tests cases for RMarkdown styel chunk option passing 2020-05-25 11:44:09 +09:00
Shuhei Kadowaki b0db8b991c allow RMarkdown style chunk option passing:
e.g.:
- `julia, k1 = v1`
- `{julia, k1 = v1}`
- `julia k1 = v1`
2020-05-25 11:44:09 +09:00
Shuhei Kadowaki dd0c51b6e5 improve type definition of CodeChunk 2020-05-25 11:44:09 +09:00
Shuhei Kadowaki 3d4f04902c
Merge pull request #354 from JunoLab/avi/onlyci
trigger tests for Plots.jl and Gadfly.jl only on CI
2020-05-25 10:55:06 +09:00
Shuhei Kadowaki e9c9274896 trigger tests for Plots.jl and Gadfly.jl only on CI 2020-05-25 10:14:45 +09:00
Shuhei Kadowaki 542f3e3225
Merge pull request #351 from JunoLab/avi/refactorreader
refactor /reader/
2020-05-24 23:29:53 +09:00
Shuhei Kadowaki 976d822f58 refactor /reader/ 2020-05-24 22:54:58 +09:00
Shuhei Kadowaki 819079c0f6
Merge pull request #349 from JunoLab/avi/fixunicode
fixes #348
2020-05-24 21:38:57 +09:00
Shuhei Kadowaki b62a744dfe update tests:
- create new test_inline.jl
- add tests to check inline code parser handlers unicode correctly
- create end2end.jl, which temporarily keeps old end2end tests
2020-05-24 21:11:09 +09:00
Shuhei Kadowaki eca4ed2559 handle codeunits gracefully in inline chunks 2020-05-24 18:17:58 +09:00
Shuhei Kadowaki 9b55d7e924
Merge pull request #347 from JunoLab/avi/pandochighlight
fix no highlight style error on pandoc2(html|pdf) output
2020-05-24 18:16:17 +09:00
Shuhei Kadowaki 0fc915b748 use same logic 2020-05-24 17:06:31 +09:00
Shuhei Kadowaki 39d3d8d91c fix no highlight style error on pandoc2(html|pdf) output 2020-05-24 16:18:58 +09:00
Shuhei Kadowaki 125d73982e
Merge pull request #344 from JunoLab/avi/renames
more consistent templates names, move stylesheets into ./stylesheets
2020-05-24 15:50:57 +09:00
Shuhei Kadowaki 0bc0d3b510 more consistent templates names, move stylesheets into ./stylesheets 2020-05-24 14:16:37 +09:00
Shuhei Kadowaki b8b9b095b7 fix tests:
- revert changes introduced in 1fb4065 in test suite
2020-05-24 14:05:29 +09:00
Shuhei Kadowaki 48adeff932 serious fix 2020-05-24 03:38:32 +09:00
Shuhei Kadowaki a7de8f5f58 minor fix 2020-05-24 03:17:24 +09:00
Shuhei Kadowaki 60fc450c88
Merge pull request #341 from JunoLab/avi/preprefactor
pre #338
2020-05-24 03:14:11 +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 9ca328f468 add TODO 2020-05-23 23:50:28 +09:00
Shuhei Kadowaki d84504267b addspaces -> addlines 2020-05-23 23:49:29 +09:00
Shuhei Kadowaki 29ff436a00 consistent and clearer terminology:
- formatted -> body/rendered
- wdate -> weave_date
- wsource (or source) -> weave_source
- wdate -> weave_date
2020-05-23 23:05:36 +09:00
Shuhei Kadowaki c24920870d version 0.10.2 2020-05-23 22:51:33 +09:00
Shuhei Kadowaki f4caba1561 maxlog for deprecation warning 2020-05-23 22:51:17 +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 f71a491847 rm unused stuff 2020-05-23 22:04:01 +09:00
Shuhei Kadowaki af45cc01ab even more clean up 2020-05-23 22:03:40 +09:00
Shuhei Kadowaki 31f670b74c
Merge pull request #339 from JunoLab/avi/pandoc
refactor pandoc code:
2020-05-23 21:59:42 +09:00
Shuhei Kadowaki 0cdcc72bfb version 0.10.1 2020-05-23 21:57:05 +09:00
Shuhei Kadowaki 3ee7dec864
Merge pull request #340 from JunoLab/avi/emptyheader
fix case when `weave_options` are empty
2020-05-23 21:55:38 +09:00
Shuhei Kadowaki 0f94c7b49c fix case when `weave_options` are empty 2020-05-23 21:18:16 +09:00