Commit Graph

529 Commits (compathelper/new_version/2022-02-25-00-09-31-809-1513646093)

Author SHA1 Message Date
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
Mike 4c60bd8d64
Fix #388.
Replaces the `IO` argument with a `Union{IOBuffer,IOContext}` which
should be the only types that are actually reachable since the code
paths pass through `sprint`, which only uses either of those.

It's still not a perfect fix due to the type piracy, as noted in the
comments, but avoids the method overwrite warning at least.
2021-06-01 08:42:02 +01:00
Sebastian Pfitzner 6b6f82bed4 fix chunk options regression 2021-04-29 13:12:08 +02:00
Nathan Hattersley 849cc20e88
Change tex escaping to tex comments
Take more opinionated stance on TeX inside julia blocks--LaTeX belongs in comments.
2021-03-12 14:43:38 -06:00
PGunnink 8dc0441b90 Fix for out_path only working for directories 2021-03-02 19:37:12 +01:00
Shuhei Kadowaki cc5913e812
Update src/rendering/htmlformats.jl 2020-10-03 16:29:44 +09:00
JonasIsensee e02d5ce2fd
Update src/rendering/exportformat.jl
Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
2020-10-03 08:51:22 +02:00
Shuhei Kadowaki 955675d89a Merge branch 'master' into exportaswrapper 2020-10-03 13:38:33 +09:00
Shuhei Kadowaki 196d4ca7ce don't decl const for `WEAVE_ARGS` 2020-10-03 13:17:39 +09:00
Shuhei Kadowaki e927495a62 fixes #400 2020-10-03 04:44:52 +09:00
Shuhei Kadowaki c24a262135 allow arbitrary runtime argument 2020-09-30 18:43:15 +09:00
Shuhei Kadowaki 8f23084471 fixes #398 2020-09-30 18:28:22 +09:00
Shuhei Kadowaki a1830e0502 triple quote for markdown output 2020-09-28 01:10:21 +09:00
Shuhei Kadowaki 21d7fbdbea version 0.10.4 2020-09-25 00:41:30 +09:00
Tor Erlend Fjelde 766847ec65
fix for #386 2020-09-24 16:09:33 +01:00
Sebastian Pfitzner 74768a7e0f
Merge pull request #357 from baggepinnen/patch-2
[RFC] Do not define Markdown.latex using eval
2020-08-17 10:13:20 +02:00
Jonas Isensee 90d8c8430f do the same for pandoc exports 2020-06-15 20:41:46 +02:00
Jonas Isensee a61ade7778 implement general `ExportFormat` 2020-06-15 20:39:15 +02:00
Jonas Isensee 8ac94989f1 fix rendering bug in output 2020-06-15 20:38:53 +02:00
Jonas Isensee 191282c1e5 implement LaTeXPDF as wrapper 2020-06-15 20:19:36 +02:00
Shuhei Kadowaki d8eca00fd8 fix regression 2020-06-14 22:54:27 +09:00
Shuhei Kadowaki 957d12e751
Merge pull request #377 from JunoLab/avi/simpletest
add simple end2end test
2020-06-14 21:39:18 +09:00
Shuhei Kadowaki 82c7c2a8c6 rename formats 2020-06-14 21:33:55 +09:00
Shuhei Kadowaki 676ecc64f9 preserve header for pandoc formats 2020-06-14 20:57:37 +09:00
Shuhei Kadowaki 2a509d8f96 reorganize things 2020-06-14 18:15:05 +09:00
Shuhei Kadowaki 9b2a1228cd fix terminology, reorder arguments 2020-06-14 18:10:31 +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 db5308b286 reorder function definition, rename `JMarkdown2tex` to `JMarkdown2PDF` 2020-06-14 14:49:48 +09:00
Shuhei Kadowaki 174585e504
Merge pull request #362 from JonasIsensee/texpipeline
Improvements to the tex rendering pipeline
2020-06-14 14:35:46 +09:00
Shuhei Kadowaki 8206ca2d14 fix `set_chunk_options!` 2020-06-14 14:25:21 +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 5ae1fd5cf1 Merge branch 'master' into texpipeline 2020-06-14 13:36:18 +09:00
Jonas Isensee 3dfe817584 fix bug 2020-06-13 22:56:23 +02:00
Jonas Isensee 12e148af18 move unicode2tex escape characters to struct 2020-06-13 22:16:48 +02: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 5d3dd15733 🔥 2020-06-14 01:43:32 +09:00
Shuhei Kadowaki 972869da47 Merge branch 'master' into pr-362/JonasIsensee/texpipeline 2020-06-13 23:45:43 +09:00
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 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