Commit Graph

167 Commits

Author SHA1 Message Date
TEC 32c02a7330
Org: Julia code blocks in LaTeX
We need to do a little finangling to get this working nicely.
For unicode, we need to switch to LuaLaTeX (I tried XeLaTeX but it
didn't seem happy for some reason), and then adjust microtype to remove
the pdfLaTeX-only flags.
2021-03-26 02:54:00 +08:00
TEC 55212eae28
Org: make LaTeX conditional preamble a bit fancier
Introduced to org-latex-feature-implementations in this commit:
+ :when keyword
+ :prevents keyword
+ special treatment of features starting with !

No more universal preamble.

Moved all latex template content other than font into preamble features.

Added xkcd feature implications.

Refactored org-latex-generate-features-preamble.

Update org-latex-clever-preamble graphic to better illustrate the
functionality.
2021-03-26 02:48:33 +08:00
TEC 2652b52d95
Config publishing: capitalize snippet names 2021-03-21 21:33:27 +08:00
TEC 32ab25b884
Org: re-implement conditional preamble generation
It's *extra* nice now
2021-03-18 15:34:03 +08:00
TEC fe5981e927
CI: Don't check for updates to commented-out pkgs 2021-03-13 00:42:30 +08:00
TEC 8ba1d28cb2
Update writeroom screenshot 2021-03-07 19:33:02 +08:00
TEC 1ae7b6414f
CI: Ignore pdf-tools-install 2021-03-06 12:24:26 +08:00
TEC b90665c733
CI: Set config file mode to Org before exporting
This is needed for some buffer local setup to be performed.
2021-03-06 02:23:53 +08:00
TEC 2072eb27ad
CI: Prevent explain-pause-mode from interfering 2021-03-04 10:53:30 +08:00
TEC d2388d4a24
Package updates: correctly resolve local repo path 2021-02-22 12:33:12 +08:00
TEC a625c8db45
CI: show commits elapsed with outdated packages 2021-02-14 22:24:47 +08:00
TEC 7de8615033
Finally fix CalcTeX
The hardcoding hurt my soul
2021-02-14 21:41:00 +08:00
TEC cc4cd5c47c
Org roam: try to avoid errors without roam dir 2021-02-01 18:58:27 +08:00
TEC e9ede2999e
Config publishing: insert snippets into exports 2021-01-31 05:12:47 +08:00
TEC a60df127a5
Config publishing: Refactor async stuff into file 2021-01-31 03:11:54 +08:00
TEC aec6d5f4e7
Config export: make a bit more robust
Because the html and pdf exports start both at the same time,
they both experience a cache miss with the xkcd sqlite db.
Poth processes download the image, and attempt to write to the db
... with the same primary key. Hence, errors.

So, when the xkcd cache isn't populated, we wait for one process to
finish before starting the other
2021-01-30 04:48:58 +08:00
TEC c127646ab2
Config publishing: set file encoding for logs 2021-01-29 19:56:28 +08:00
TEC 7401330d93
Export pdf version of config too 2021-01-28 17:40:04 +08:00
TEC 76c5cf8411
Remove obsolete/outdated file 2021-01-28 12:15:43 +08:00
TEC 00d1a88ef7
Publish script: avoid find-file-noselect + fixes
A doom change now causes a y-or-n-p prompt to appear, so we need to make
that non-interactive.
2021-01-27 17:51:35 +08:00
TEC 2deea5c05d
Publish script tweaks 2021-01-25 01:22:18 +08:00
TEC 21795bfe3b
Publish script: add timeout + improve visuals 2021-01-24 16:23:48 +08:00
TEC b452aefd73
Readme: Add icons to all the badges 2021-01-24 00:31:10 +08:00
TEC d95df6a76a
Publish script: avoid need to purge gh image cache
By using a raw.githubusercontent.com url, github no longer uses the camo
cache, and so I can avoid bothering with cache clearing.
2021-01-24 00:19:26 +08:00
TEC 54e617139c
Publish script: ask github to clear cached images 2021-01-24 00:17:32 +08:00
TEC af816cb006
Publish script: fix invalid regex, log files 2021-01-23 22:23:24 +08:00
TEC 214abe21ab
Publish script: fix index.html symlink 2021-01-23 22:22:27 +08:00
TEC fc527b0d0f
Publish script: add package update checker 2021-01-23 22:07:38 +08:00
TEC a2d7ee7964
Publish workflow: implement file moving in scripts
It makes sense to put the decisions of which files to publish with the
generation of said files.
2021-01-23 20:24:00 +08:00
TEC 917d36c79d
Publishing script: make script watcher macro a fn 2021-01-23 19:13:53 +08:00
TEC 1c8514fa79
Refactor config publishing scripts 2021-01-23 17:19:47 +08:00
TEC 44b71d22ed
Config exporter: org-roam really wants a dir. Fine 2021-01-21 01:55:28 +08:00
TEC 5d3828ef28
Org html: update readme and licence of style 2021-01-09 01:15:45 +08:00
TEC 8e512c703b
Org html: add scss save hook, make css and reload 2021-01-09 01:15:03 +08:00
TEC fa3aff5b3d
Org html: subtlety restyle links
and remove FF61- ::-moz selectors
2021-01-09 00:47:47 +08:00
TEC b3d0469229
Org html: delete/comment out some unused CSS 2021-01-09 00:14:21 +08:00
TEC ed693f4698
Org html: Upgrade normalise from v7 to v8
Then modify by removing references to elements that are not generated by
Org, and IE-only mitigations (I do *not* care about IE).
2021-01-09 00:02:11 +08:00
TEC f2092071ba
Typo fix: clipboard not clipdord 2021-01-08 22:03:38 +08:00
TEC 3688bb0f53
Rename misc/pile-css-theme/ to misc/org-css/ 2021-01-08 19:56:53 +08:00
TEC ab7effe116
Org html: Re-add CSS for music tracks 2021-01-08 19:52:44 +08:00
TEC a308ff2757
Org html: add missing org-center class 2021-01-07 15:31:33 +08:00
TEC 6cddb77e8c
Read and manage ebooks from Emacs 2020-12-25 23:43:12 +08:00
TEC 7ec7a1cbca
Config tangle: remove link comment from some files 2020-12-25 02:50:18 +08:00
TEC a72561f44f
Add screenshot package 2020-12-25 02:50:16 +08:00
TEC fe85d7685d
Compress screenshot images, and add two new ones 2020-12-25 02:18:49 +08:00
TEC 470f915135
Whitespace re-alignment + tabs to spaces 2020-12-25 02:18:21 +08:00
TEC 099cab498d
Revamp CI config export to properly use htmlize 2020-12-25 01:17:57 +08:00
TEC 32caf16794
Untrack init.el and packages.el 2020-12-24 04:17:46 +08:00
TEC 01595a28ac Org html: add print-specific styling 2020-12-20 03:33:13 +08:00
TEC 990f236836 Org html: Move min-height from #page to #content
This avoids some sort of weird edge-case where applying it to #page
causes it to become 100vh tall (even on longer documents).
2020-12-13 19:52:38 +08:00
TEC a23cc4843f Org html: ensure that #page covers the viewport 2020-12-13 03:01:07 +08:00
TEC b5f928bec1 Config: Add commit hash to html export
also use last git change date, not current time
2020-12-10 02:44:01 +08:00
TEC d3f6f2fbfc Changes in generated python file 2020-12-09 14:47:46 +08:00
TEC 1f2983be5c Org: improve HTML pre-copying 2020-11-06 18:19:51 +08:00
TEC db5fcf2c4f Add github publish action 2020-11-04 00:06:06 +08:00
TEC caf70f34f9 Org html: Add a little sepia to light background 2020-10-11 13:24:58 +08:00
TEC f96157d42a Discuss Emacs as a platform a little bit 2020-10-08 00:39:49 +08:00
TEC b8583e6caf Org html: allow for invertible svgs 2020-10-08 00:24:06 +08:00
TEC 1b842ee6db Add three more screenshots to config page 2020-10-07 02:53:07 +08:00
TEC ff9224adb0 Org html: add red arrow to targeted element 2020-10-05 19:08:31 +08:00
TEC b009296433 Org html: spacing and colour tweaks
+ update compiled scss
2020-10-05 19:04:48 +08:00
TEC 2238736cc9 More auto-indenting 2020-10-05 18:52:29 +08:00
TEC 446efa6db8 Org html css: fix typo 2020-09-27 16:30:36 +08:00
TEC fa889d5e1f Org html: Update fonts loaded 2020-09-27 15:57:42 +08:00
TEC 0ac7e70e46 Org html: Improve layout on huge displays 2020-09-27 15:46:38 +08:00
TEC 85861ffe7c Org html: reduce DOM element containment
'paint' containment seems to be a step too far as it prevents the
hanging section numbers from rendering.
2020-08-31 18:35:28 +08:00
TEC 67cae19919 Config: Add more sections org latex export + misc 2020-08-29 23:21:15 +08:00
TEC 415b18b830 Config doc: add org-capture screenshot 2020-08-29 23:12:39 +08:00
TEC 6160b6f0ce Org html: improve rendering performance 2020-08-29 22:34:21 +08:00
TEC c4209bbefc Org html: use self-hosted Merriweather font
This gives us proper small-caps
2020-08-23 23:31:18 +08:00
TEC 21721be483 Org html: add acronym formatting 2020-08-23 21:16:03 +08:00
TEC aed6c9f255 Move all self-developed packages into lisp/
and update
2020-08-19 11:11:40 +08:00
TEC a1163059ab Fix typo (invertable → invertible) 2020-08-12 18:21:13 +08:00
TEC d09d7f3c73 Add screenshots, mark plot images as invertible 2020-08-12 18:13:19 +08:00
TEC a8b627782a Org html: add systemd label 2020-08-12 18:06:24 +08:00
TEC 6d03df917a Org html: improve quality of image inversion 2020-08-12 18:06:12 +08:00
TEC 50c40bc294 Org html: add authinfo label 2020-08-10 00:37:27 +08:00
TEC 37c62772e5 Org html: remove hidden src code lang from DOM 2020-07-19 18:08:30 +08:00
TEC 8411cbcd74 Org html: add ID links to tables 2020-07-19 17:57:31 +08:00
TEC d069406997 Org html: switch doctype to html5 2020-07-19 16:24:39 +08:00
TEC 4e85c08915 Org html: rematch img invert to background
and speed up theme transition, fixind incorrect
transition-property value
2020-07-19 15:38:46 +08:00
TEC f2e69592bd Org: better IDs, html: links to code block 2020-07-19 13:22:36 +08:00
TEC 2c1ec8424c Org html: tweak styling
- switch dark/light icons and add hover text
 - darken TOC text
 - make white shadow on link text only on hover
 - remove obsolete TOC code
 - make all TOC entries take up 100% width
2020-07-18 16:17:27 +08:00
TEC 9ba5a35f96 Org html: add copy button to src/example block 2020-07-18 03:05:47 +08:00
TEC d6d608304c Org html: tweak small screen theme toggle position 2020-07-18 02:39:24 +08:00
TEC 0c93a6b858 Org html: revamp TOC 2020-07-17 23:20:09 +08:00
TEC 6a1d1f29f5 Org html: make section numbering responsive 2020-07-17 14:32:02 +08:00
TEC af0b4f4649 Org html: forgot to style some elements 2020-07-17 13:34:20 +08:00
TEC cadf494253 Org html: improve code placement in paragraphs 2020-07-17 12:24:48 +08:00
TEC 19001f137a Org html: make src lang labels lang not mode 2020-07-17 12:00:15 +08:00
TEC c95045f4d1 Org html: TOC items must have a clear background
+ some re-generation of some html
2020-07-17 05:44:42 +08:00
TEC 91944dc020 Org html: mitigate <summary> differences in Chrome 2020-07-17 05:29:32 +08:00
TEC 015c33d780 Org html code fold marker: tweak placement 2020-07-17 05:12:46 +08:00
TEC 17f550d0ad Org html: handle wide table overflow 2020-07-17 05:08:30 +08:00
TEC 5f0b3bbba1 Org html export: make src blocks collapsable 2020-07-17 04:44:56 +08:00
TEC a3f0de1153 Note issues with Chrome's rendering of fixed pos 2020-07-17 02:52:02 +08:00
TEC 21ee9a4f99 Adapt pile-theme to my liking, and use with org 2020-07-17 02:42:14 +08:00
TEC 903a06b894 Steal @lepisma's lovely org CSS theme 2020-07-15 18:27:33 +08:00
TEC 4894e5a32c Add help flag to imapnotify script 2020-07-12 03:36:50 +08:00
TEC 8b2c0dae17 Fix illegal format spec in imapnotifyconfig script 2020-07-12 03:33:02 +08:00