sdiehl / write-you-a-haskell

Building a modern functional compiler from first principles. (http://dev.stephendiehl.com/fun/)
MIT License
3.34k stars 256 forks source link

some character, "λ" and "≡" #49

Open takenobu-hs opened 9 years ago

takenobu-hs commented 9 years ago

Thank you for your great work :-)

The following line's "λ" can be displayed in HTML, but can not be displayed correctly in PDF. (Please ignore if my environment dependent)

The following lines' "λ" and "≡" can be displayed in HTML, but can not be displayed correctly in PDF.

(Because not yet been able to environment, sorry in this way)

kmarekspartz commented 9 years ago

XeLaTeX should handle that fine. The build file looks like it is using XeLaTeX as its engine: https://github.com/sdiehl/write-you-a-haskell/blob/master/Makefile#L42

It might be environment dependent.

sdiehl commented 9 years ago

xetex supports inline greek characters, although the font that I'm currently using for the monospace font (Source Code Pro) currently doesn't have Greek character support.

https://github.com/adobe-fonts/source-code-pro/issues/48