Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get conversion of ASCII symbols to Latex-like symbols #97

Closed
andrewlubrino opened this issue Mar 5, 2022 · 5 comments
Closed

Comments

@andrewlubrino
Copy link

I'm pretty sure I have everything installed correctly, but I can't get the nice-looking implication, conjunction, disjunction, etc. symbols to appear in my VSCode window. Any ideas on how to troubleshoot? I'm running this on a Chromebook with developer mode enabled, so this is basically running on some flavor of Linux. A screenshot of my VSCode is below:

image

@infogulch
Copy link

You mean ligatures? You need a font that supports ligatures (e.g. Iosevka) and to set "editor.fontLigatures": true, in settings.json.

@digama0
Copy link
Owner

digama0 commented Mar 5, 2022

Sorry for the bad news, but MM0 does not support Unicode (deliberately, because specifying unicode is a nightmare). The MM1 proof assistant allows it but only in comments. (It might one day be extended to everywhere except notations and public theorems, since it has to talk to MM0 which is unicode-free.) The font I use in the tutorial video and in my day-to-day work is Fira Code, and you have to enable ligatures to use it in VSCode.

@andrewlubrino
Copy link
Author

Okay, so I downloaded Fira Code and installed in one of the fonts directories. My settings.json file is below:

{
    "workbench.colorTheme": "Default Dark+",
    "metamath-zero.executablePath": "/home/andrewlubrino/mm0/mm0-rs/target/release/mm0-rs",
    "editor.fontLigatures": true,
    "editor.fontFamily": "'Fira Code','Droid Sans Mono', 'monospace', monospace,"
}

I'm still having no luck. Any other tips? Thanks for the help.

@andrewlubrino
Copy link
Author

I'm not sure what Unicode is, but I just want to basically get the nice-looking implication symbol from Mario's youtube video introducing MM0.

@andrewlubrino
Copy link
Author

I got it! So exciting. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants