Commit Graph

46 Commits (a38cec95db28f78717321024aaf848d9d3656ade)

Author SHA1 Message Date
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
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 e927495a62 fixes #400 2020-10-03 04:44:52 +09:00
Shuhei Kadowaki a1830e0502 triple quote for markdown output 2020-09-28 01:10:21 +09: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 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 972869da47 Merge branch 'master' into pr-362/JonasIsensee/texpipeline 2020-06-13 23:45:43 +09:00
Jonas Isensee 1135c5ddfa Remove "tex" format 2020-06-13 15:50:04 +02: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
Jonas Isensee 5c853150c8 fix math escapes in code and output 2020-06-13 09:14:12 +02: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 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 4b12f3da99 reorder functions again 2020-06-02 15:40:04 +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 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