projects
/
matthijs
/
master-project
/
report.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd3f69
)
Support ▶ in the lambda prettyprinter.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 1 Dec 2009 10:57:27 +0000
(11:57 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 1 Dec 2009 10:57:27 +0000
(11:57 +0100)
We'll have to use the glyph from our roman font, since our sans font
doesn't have it.
pret-lam.lua
patch
|
blob
|
history
diff --git
a/pret-lam.lua
b/pret-lam.lua
index 12fa94ec89c5f2cc6d1b8e5afe6b9358aca29f7a..ba3829c2a7bc77fdc50f63bbbc3b1cde67788eeb 100644
(file)
--- a/
pret-lam.lua
+++ b/
pret-lam.lua
@@
-29,6
+29,8
@@
local symbols = {
['~'] = {repr = '\\HDLine[width=.20 * \\the\\textwidth]'},
['|'] = {repr = '\\char' .. utf.byte('|')},
['$'] = {repr = '\\char' .. utf.byte('$')},
+ -- Use ▶ from our roman font, since Iwona doesn't have the glyph
+ ['▶'] = {repr = '{\\rm{}▶}'},
}
-- Keywords that should be bold