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
0f94c7b49c
fix case when `weave_options` are empty
2020-05-23 21:18:16 +09:00
Shuhei Kadowaki
54ccd9b1ed
refactor pandoc code:
...
- more sensible err handling
- annotate TODO comments
2020-05-23 21:15:05 +09:00
Shuhei Kadowaki
3f4ba672b3
Revert "rm unused dict push!"
...
This reverts commit ef295e9a24
.
2020-05-23 20:07:59 +09:00
Shuhei Kadowaki
745abe176c
Revert "rm unused field from WeaveDoc"
...
This reverts commit 301f9b2f27
.
2020-05-23 20:07:41 +09:00
Shuhei Kadowaki
301f9b2f27
rm unused field from WeaveDoc
2020-05-23 20:03:38 +09:00
Shuhei Kadowaki
ef295e9a24
rm unused dict push!
2020-05-23 19:52:00 +09:00
Shuhei Kadowaki
a03a1d4c34
EXAMPLE_FOLDER
2020-05-23 19:42:19 +09:00
Shuhei Kadowaki
8aa8f0c4df
easy doc access
2020-05-18 22:59:18 +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
101b170ea6
some support for dynamic YAML `weave` configuration
2020-05-17 11:45:39 +09:00
Shuhei Kadowaki
6d1732247a
a bit refactor
2020-05-17 11:10:25 +09:00
Shuhei Kadowaki
b7233b468e
no `term` option for inline code chunk
2020-05-17 11:05:30 +09:00
Shuhei Kadowaki
405deb3681
reorder things
2020-05-17 10:30:33 +09:00
Shuhei Kadowaki
87ba87d2d1
resolve CSS theme path relative to a target document when given in YAML
2020-05-17 10:29:01 +09:00
Shuhei Kadowaki
cec388e94f
add Weave version
2020-05-17 01:16:59 +09:00
Shuhei Kadowaki
0831144393
Merge pull request #311 from JunoLab/avi/limitdisplay
...
limit display:
2020-05-17 00:18:12 +09:00
Shuhei Kadowaki
e60f066d31
fix when a header value is not `String`
2020-05-16 23:45:41 +09:00
Shuhei Kadowaki
f86f5a7bd0
preserve header when weaving to Hugo markdown
2020-05-16 23:31:27 +09:00
Shuhei Kadowaki
5fb3fae741
no ANSI chars
2020-05-16 23:11:05 +09:00
Shuhei Kadowaki
7b53eb8e9e
limit display:
...
- for now if we try to render a "big object" like a table with many
rows, Weave tries to render all of the result and it can lead to that a
document can't even be opened
2020-05-16 23:11:05 +09:00
Shuhei Kadowaki
58bc741b7f
detect doctype when running a doc
2020-05-16 23:10:44 +09:00
Shuhei Kadowaki
bca3ee7dd1
LTS compat ...
2020-05-16 21:04:58 +09:00
Shuhei Kadowaki
ba8e9f4724
fix header handling in noweb doc
2020-05-16 20:33:48 +09:00
Shuhei Kadowaki
99a50ad86f
integrate with Juno progress bar
2020-05-16 19:52:56 +09:00
Shuhei Kadowaki
2a6ee38850
fix code chunk line numbers
2020-05-16 19:52:24 +09:00
Shuhei Kadowaki
c1cf566c53
refactor format.jl
2020-05-16 17:59:17 +09:00
Shuhei Kadowaki
0d3d3a8c19
rm code ...
2020-05-16 17:59:04 +09:00
Shuhei Kadowaki
6d91ab6512
no explicit header support in `convert_doc`
2020-05-16 17:53:46 +09:00
Shuhei Kadowaki
17c2151d86
a bit refactor:
...
- don't match slide `---` separator as header start/end
- recognize `doctype` in construction
2020-05-16 01:49:30 +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
094ebea6cf
simplify converter functions
2020-05-16 00:32:28 +09:00
Shuhei Kadowaki
7c2eb23bcd
small refactors (mostly about code styles)
2020-05-16 00:32:09 +09:00
Shuhei Kadowaki
bc0f687352
rm header_args
2020-05-10 15:55:37 +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
54e50a54cb
users should load Cairo
2020-05-10 14:07:55 +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
4b6fc2d913
fix typings
2020-05-10 00:01:49 +09:00
Shuhei Kadowaki
c825076e36
simplify imports
2020-05-10 00:01:41 +09:00
Shuhei Kadowaki
68f72bdfb3
small updates
2020-05-09 23:55:11 +09:00
Shuhei Kadowaki
4dae2a0816
`WEAVE_OPTION_NAME`
2020-05-09 22:42:05 +09:00
Shuhei Kadowaki
36bdd4f82b
remove weird default constructor for `WeaveDoc`
2020-05-09 22:33:58 +09:00
Shuhei Kadowaki
5f7cf529b9
chunks.jl -> types.jl
2020-05-09 21:03:00 +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
79579053f1
refactor tests:
...
- simpler module evaluation test
- remove useless include_weave test
2020-05-09 17:27:51 +09:00
Shuhei Kadowaki
d4413a1d78
clear sandbox module correctly
2020-05-09 16:09:11 +09:00
Shuhei Kadowaki
5dbe54316b
isnothing utility
2020-05-09 11:26:32 +09:00
Shuhei Kadowaki
e41202d3ff
no weird Base.run overload
2020-05-09 11:25:19 +09:00
Shuhei Kadowaki
14e7635458
getvalue -> get
2020-05-09 11:25:19 +09:00
Shuhei Kadowaki
4e7fda212d
ensure Weave display pops out even if an internal err occurs
2020-05-09 02:48:56 +09:00
Shuhei Kadowaki
2376a9dae9
format things
2020-05-08 23:39:17 +09:00
Shuhei Kadowaki
020b4353a4
fix indents, Github -> GitHub
2020-05-06 23:37:04 +09:00
Shuhei Kadowaki
db13be44e3
fix no header case
2020-04-18 19:18:03 +09:00
Shuhei Kadowaki
95e32c4908
more graceful header handling
2020-04-18 19:10:07 +09:00
Fredrik Bagge Carlson
f126e1c7a9
fix formatting
2020-04-17 12:16:56 +08:00
Fredrik Bagge Carlson
7e88052db3
keep latex figures
2020-04-17 12:16:56 +08:00
Shuhei Kadowaki
d40e21ea35
improve documentations around notebooks
2020-03-27 20:43:33 +09:00
Shuhei Kadowaki
a759dc10bd
specify default output format (HMTL) for notebooks
2020-03-27 20:34:06 +09:00
Shuhei Kadowaki
840f1b3b8f
simpler doc APIs
2020-03-27 18:45:04 +09:00
Shuhei Kadowaki
efccb5c7f1
more documentation improve
2020-03-27 10:16:57 +09:00
Shuhei Kadowaki
9e9fe45231
improve documentations
2020-03-26 21:41:54 +09:00
Shuhei Kadowaki
f8c32c865b
more type annotate APIs
2020-03-26 17:35:05 +09:00
Shuhei Kadowaki
16bc2d7be9
immutable structs for result trait
2020-03-18 10:50:01 +09:00
Shuhei Kadowaki
6339303569
rm Compat
2020-03-18 08:53:25 +09:00
Shuhei Kadowaki
1f8514a737
fixes : #105 , #288
...
closes : #289
2020-03-17 10:57:36 +09:00
Shuhei Kadowaki
d8595e266f
more doc fixes
2020-03-06 10:14:21 +09:00
aviatesk
e18c5f35e3
update comment
2020-01-07 23:51:55 +09:00
aviatesk
652b19cd0f
fixes #232
2020-01-05 15:18:41 +09: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
da66a8f272
Add escape_unicode to docstring
2019-10-15 14:20:11 +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 Pech
4d7a444246
Fix displayed output produced by capture_output
2019-08-21 15:03:22 +02:00
ilia-kats
02134d29d5
use the minted jlcon lexer for terminal mode ( #205 )
2019-06-27 09:00:43 +03: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
Tamas Nagy
df7f0d1f3c
Merge pull request #215 from Oblynx/patch-1
...
Fix mpastell/Weave.jl#214
2019-06-19 10:39:37 -07: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
Konstantinos Samaras-Tsakiris
ea1de0fb9e
Fix mpastell/Weave.jl#214
...
Fixes incorrect UTF-8 string handling as described in https://github.com/mpastell/Weave.jl/issues/214 .
2019-06-04 21:02:40 +03: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
99db6a9406
Actually fix include_weave
2019-03-11 14:25:17 +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
Matti Pastell
4338fc4b07
Make out_path and template path relative to document
2019-03-10 22:53:00 +02:00
Matti Pastell
6f83f1abf5
Add example beamer document
2019-03-10 20:10:30 +02:00