This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
body { | |
margin: 0; | |
min-height: 100vh; | |
display: grid; | |
grid: none / 1fr 1fr; | |
gap: 1rem; | |
} | |
%23i { | |
outline: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## I used cfxr to create a coin sound. afplay is an OS X command line sound playback tool. | |
DING='afplay -v .01 /mixed\ media/music/cfxr\ coin.wav' | |
## Silence the ding. | |
# DING='' | |
## Simple continuous ding with draft mode followed by a batch mode run which actually generates the PDF. | |
## Copies the PDF with the suffix -copy.pdf, so that live-updating PDF viewers don't choke trying to load the PDF while it is still being written. | |
### We can't distinguish between the first time latexmk launches the viewer regardless of changes and later launches of the viewer with changes. |