Commit Graph

33 Commits (c7b566aaaaa9c1ccb5496c93a126f240dbffeaac)

Author SHA1 Message Date
Shuhei Kadowaki c7b566aaaa fix header regression, add test, update test 2020-06-05 18:59:02 +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
Jonas Isensee 770496b3af remove format dict - make everything a field of format <: WeaveFormat directly 2020-05-31 09:29:26 +02:00
Shuhei Kadowaki cc936f5377 refactor formatters.jl 2020-05-25 22:39:37 +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 3c76b804dc separate format logic from WeaveDoc:
- this is just a first step, though
2020-05-23 22:16:56 +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 f9daa3a289 add test for HTML display limit 2020-05-16 23:25:44 +09:00
Shuhei Kadowaki 492d1f330b dynamic YAML option specification 2020-05-16 01:47:52 +09:00
Shuhei Kadowaki 7c2eb23bcd small refactors (mostly about code styles) 2020-05-16 00:32:09 +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 36bdd4f82b remove weird default constructor for `WeaveDoc` 2020-05-09 22:33:58 +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 e41202d3ff no weird Base.run overload 2020-05-09 11:25:19 +09:00
Shuhei Kadowaki 95e32c4908 more graceful header handling 2020-04-18 19:10:07 +09:00
Sebastian Pech c9e26d5638 Rename escape_unicode and move to tex based formatdicts 2019-10-15 21:48:05 +02:00
Sebastian Pech bd5ff7031c Add argument for disabling unicode escaping 2019-09-05 10:13:49 +02:00
Matti Pastell 6082786f92 Allow setting document options in YAML header 2019-03-05 19:36:27 +02:00
Matti Pastell 8d1bb63b0a Render markdown output in md2* formats. Fixes #156 2019-02-27 15:03:33 +02:00
Matti Pastell bad5650027 Fix \bf and \frak symbols in md2tex. Improves #181 2019-02-26 17:38:28 +02:00
Matti Pastell 7587b4f9cf
Fix line wrapping (#180)
* Fix line wrapping

* Don't chop from tail

* Test wrapping unicode
2019-02-26 00:09:40 +02:00
Matti Pastell ac26ffe271 Fix formatter test 2018-07-25 11:22:12 +03:00
femtocleaner[bot] f04b67f69b Fix deprecations (#135)
* Fix deprecations

* Fix html output
2018-07-23 13:37:25 +03:00
Matti Pastell b2b143c22e Add markdown2html writer, remove Documenter depency 2018-01-07 20:19:59 +02:00
Matti Pastell 15d4cdf512 Update md2tex format tests. Closes #107 2018-01-03 19:07:14 +02:00
Matti Pastell 0ffa04b3fd Fix tests 2017-03-13 18:55:15 +02:00
Matti Pastell 9dc99ba602 Fix format tests, disable cache, convert until fixed 2016-12-27 01:16:39 +02:00
Matti Pastell 96f4fd03b8 Fix extra whitespace from reader and format 2016-12-19 18:42:00 +02:00
Matti Pastell 05b0c04b6d Update format tests 2016-12-15 16:16:35 +02:00
Matti Pastell 84dbf05b3e Fixed tests 2016-12-15 00:24:26 +02:00
Matti Pastell 277c6f3e0f Added titleblock parsing and formatting to tex template #63 2016-12-15 00:07:56 +02:00
Matti Pastell 2afd25fd09 Added tests for formatters 2016-12-13 22:02:42 +02:00