Mike
d4c65729e4
Use `RelocatableFolders` for assets folders.
2021-06-18 09:50:38 +01:00
Mike
1dfb8d76d6
Make assets `PackageCompiler`-friendly
...
A possible solution to relocatablilty issues with the hardcoded paths.
Embeds the asset folder contents into the precompiled files. When the
original folder isn't available (due to relocation) creates a
scratchspace containing the original folder contents as uses that
instead.
2021-06-12 09:21:20 +01:00
PGunnink
8dc0441b90
Fix for out_path only working for directories
2021-03-02 19:37:12 +01:00
Shuhei Kadowaki
c24a262135
allow arbitrary runtime argument
2020-09-30 18:43:15 +09:00
Shuhei Kadowaki
2a509d8f96
reorganize things
2020-06-14 18:15:05 +09:00
Shuhei Kadowaki
7e9c4fb99d
dispatch-base documentation generation
2020-06-14 16:36:51 +09:00
Shuhei Kadowaki
29546b7716
more generic name
2020-06-14 15:15:11 +09:00
Shuhei Kadowaki
092adb6805
update test
2020-06-14 14:25:03 +09:00
Shuhei Kadowaki
872f7c7153
construct UNICODE2LATEX at precompile time
2020-06-14 13:56:59 +09:00
Shuhei Kadowaki
5a585f845a
improve ansi character removal
2020-06-14 04:06:25 +09:00
Shuhei Kadowaki
7d6fddc749
improve term result
2020-06-14 01:53:17 +09:00
Shuhei Kadowaki
912387c331
follow RMarkdown more: make `throw_error` option into chunk option
2020-06-13 23:09:51 +09:00
Shuhei Kadowaki
c1bc2fd5c5
fix weird typings of `Report`
2020-06-13 22:44:13 +09:00
Shuhei Kadowaki
9fac56f681
why `get_outname` defined in run.jl
2020-06-13 21:14:44 +09:00
Shuhei Kadowaki
cdd653e028
make Weave.path really path
2020-06-10 01:24:08 +09:00
Shuhei Kadowaki
3faa8e2d95
make `list_out_formats` return return just data structure
2020-06-02 19:35:07 +09:00
Shuhei Kadowaki
04b24ea83b
a bit more reorder
2020-06-02 15:45:38 +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
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
9875bc10f7
pass fewer arguments and bugfixes
2020-05-31 13:26:27 +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
119b3332aa
move around code into separate files
2020-05-30 17:49:20 +02:00
Shuhei Kadowaki
e0e9ae8753
respect specied `fig_path`
...
- closes #358
2020-05-30 22:14:50 +09:00
Shuhei Kadowaki
788f926067
move description field into `formatdict`
2020-05-30 21:16:03 +09:00
Shuhei Kadowaki
cc936f5377
refactor formatters.jl
2020-05-25 22:39:37 +09:00
Shuhei Kadowaki
44ed8788d5
LTS compat ...
2020-05-25 11:44:09 +09:00
Shuhei Kadowaki
0bc0d3b510
more consistent templates names, move stylesheets into ./stylesheets
2020-05-24 14:16:37 +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
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
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
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
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
101b170ea6
some support for dynamic YAML `weave` configuration
2020-05-17 11:45:39 +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
58bc741b7f
detect doctype when running a doc
2020-05-16 23:10:44 +09:00
Shuhei Kadowaki
c1cf566c53
refactor format.jl
2020-05-16 17:59:17 +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
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