History

EPUB wrapper

To use different font (i.e. not Charis SIL)

malc committed 5 years ago

Commit 02f06751 parent f9f45271 file · +12 −0Browse files

Unified · Split

misc/llppepub+12−0
@@ -0,0 +1,12 @@
1+#!/bin/bash
2+# this script uses <(cmd) and quoted $@, hence preceding shebang
3+set -eu
4+
5+: ${fontpath="$HOME/.fonts/fantasque/fantasquesansmono-regular-3ze.otf"}
6+fontface() { echo "@font-face { font-family: $1; src: \"$2\"; }"; }
7+all() {
8+ fontface serif $fontpath
9+ fontface sans-serif $fontpath
10+ fontface monospace $fontpath
11+}
12+llpp -css <(all) "$@"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t