Commit Graph

91 Commits

Author SHA1 Message Date
Ellis Kenyo 0cc5d0b980 feat: add ansi-color faces 2024-04-21 16:28:02 +08:00
Gerard Vermeulen 2c72619195
Fix engraving of whitespace in LaTeX export
To prevent LaTeX's undesirable folding of whitespace, it's good to
ensure the styling commands wrap around whitespace conservatively.
2023-01-15 15:01:18 +08:00
TEC 2b107c9357
Fix non-hex color check
Somehow I ended up making the final check a check /for/ hex colors...
2023-01-15 12:35:16 +08:00
TEC 51a2f8d18e
Style, checkdoc, and byte-compile improvements 2023-01-13 23:45:19 +08:00
TEC e541cf4366
Better resolve non-hex fg/bg colours 2023-01-13 23:22:44 +08:00
TEC 5089660a60
Normalise single-plist text property form
When trying engrave-faces in an Org buffer I noticed that sometimes it
seems a single plist can be returned, e.g. (:inherit org-block). This is
problematic as the processing method requires a list where each list
item is a text property form, which does not hold true in this case.

We can correct for this by checking to see if the obtained text-property
has the form (:keyword ...), and if so wrap it in a list.
2022-12-10 01:00:01 +08:00
TEC b4275e63fd
Fix missing argument in ef-html--make-standalone 2022-10-04 09:30:52 +08:00
TEC 005958481b
Add fixme note 2022-10-03 11:47:00 +08:00
TEC 41c5171470
Update copyright dates 2022-10-03 11:46:52 +08:00
TEC 6d2bcb72c0
No need to manually specify defcustom :group
Raised by Stefan Monnier
2022-08-23 09:15:10 +08:00
TEC 217d70b827
ef-preset-styles needs to come after ef-themes
Raised by Stefan Monnier
2022-08-23 09:11:37 +08:00
TEC fe356507ef
Move defcustoms all to the start 2022-08-22 21:09:27 +08:00
TEC 0dbe2e088f
Note colour form restriction in docs 2022-08-22 21:09:02 +08:00
Ellis Kenyo 94fbdb021f
fix: add more faces
Add a couple more faces needed for HTML export in ox-chameleon
2022-06-04 17:36:56 +08:00
TEC 4b16820232
html: Tweak CSS font weights 2022-06-04 15:43:50 +08:00
TEC 246c3c5cda
Fix misplaced function docstring in macro 2022-06-03 23:07:33 +08:00
TEC fe29d9b593
Version 0.3.1 2022-05-13 00:41:51 +08:00
TEC d6bc222841
LaTeX: allow for tex/latex only maths comments 2022-05-11 22:08:37 +08:00
TEC d84964ec8a
LaTeX: set standalone page color/background 2022-05-11 00:56:06 +08:00
TEC 04e55d1d3a
fix: implementation mistakes in LaTeX mathescape 2022-05-11 00:33:28 +08:00
TEC 8fc37b3152
tweak: LaTeX post-process func dostring and indent 2022-05-11 00:10:17 +08:00
TEC 9f8dedd877
LaTeX: Add support for mathescape 2022-05-11 00:09:48 +08:00
TEC 2628fd8936
fix: transform named colors into hex colors 2022-05-11 00:06:41 +08:00
TEC f6841111e4
fix elpa tracking
Merge commit '5b1f4369e9'
2022-05-09 09:40:27 +08:00
TEC 531ea687e4
fix: don't set current-preset-style in get-theme 2022-05-08 23:38:57 +08:00
TEC 6626419e4e
Version 0.3 2022-05-08 17:46:22 +08:00
TEC 45a16e6e9d
Add the default theme's default face background 2022-05-08 17:46:22 +08:00
TEC 5b1f4369e9
LaTeX: allow for preamble of just cmds/colors 2022-05-08 15:33:59 +08:00
TEC 9aff1b9d6e
Add the default theme's default face background 2022-05-08 15:32:48 +08:00
TEC 0efa22cd62
LaTeX: Don't draw colorbox for default background 2022-05-08 03:02:53 +08:00
TEC 3739d9f690
Version 0.3 2022-05-08 03:02:53 +08:00
TEC f4d3af3887
Elaborate on face preset format in docstring 2022-05-08 03:02:01 +08:00
TEC e857ef72ed
Redraw display after switching back to orig theme 2022-05-08 03:02:01 +08:00
TEC 7bb7f46e22
Reinterpret t theme as current theme 2022-05-08 03:02:01 +08:00
TEC 32fb760ca8
Don't record height/strike-through of default face 2022-05-08 03:02:01 +08:00
TEC d3a8a55674
Update macro-generated interactive specs 2022-05-08 03:02:01 +08:00
TEC 248196fb4d
Fix typo in readme 2022-05-08 01:28:08 +08:00
TEC 6fa12694e6
Rename default theme shorts and slugs 2022-05-08 01:19:42 +08:00
TEC 571d60774c
Reflow a docstring 2022-05-08 01:10:52 +08:00
TEC 9ef6c83553
Variable declaration rearrangement 2022-05-08 01:03:52 +08:00
TEC 4a0d16715a
Themes support 2022-05-08 01:02:55 +08:00
TEC 0ff0251187
Add ability to log face preset misses 2022-05-08 00:16:44 +08:00
TEC 1b50efc320
LaTeX: improve background boxes by adding a strut 2022-05-07 21:22:02 +08:00
TEC 85ddcdb516
Refactor ef-define-backend and ef-faces-file 2022-05-07 21:20:49 +08:00
TEC 9e41d5f9a8
Add stage badge to readme 2021-11-12 02:43:15 +08:00
TEC a6663d2dba
Don't try to get attributes of non-existant faces 2021-09-18 19:45:03 +08:00
TEC 32a95110bb
subr-x should only be needed at compile time 2021-09-16 03:20:58 +08:00
TEC c21ec3629f
Fix typo in LaTeX preamble 2021-09-16 03:20:29 +08:00
TEC 6b507611ee
Reduce the public API of engrave-faces
Private (--) symbols have not been used as much as they should have.
2021-09-07 21:37:25 +08:00
TEC 6b8261d9d4
Improve autoload statements
Having ;;;###autoload above the macro call caused the whole macro
expansion to be inlined! That's not very nice. There may be a better
solution long-term, but for now just crafting targeted autoload
statements is an improvement.
2021-09-07 21:27:48 +08:00