KeitaNakamura / tex-conceal.vim

MIT License
128 stars 45 forks source link

Conceal replacing symbols with '?' #12

Closed tarzanjunior closed 4 years ago

tarzanjunior commented 4 years ago

Screen Shot 2020-03-25 at 3 07 46 PM This is what it shows, it apparently replaces expressions of type a_n by '?'. But I don't think this should be the case since my vimrc looks like this: Screen Shot 2020-03-25 at 3 15 55 PM

the let g:tex_conceal='abdmg' should mean that the subscripts , etc should not be concealed, but they are.

I also tried \mathscr{F} with conceal and ? in a box is shown.

ChasingZenith commented 4 years ago

I have the same issue too, and I doubt that this is because I haven't chosen the right font. Is there any recommended font that is suitable for conceal function for latex?

I check /usr/share/vim/vim81/syntax/tex.vim and find that I can't make subscript 'hklmnpst' show up correctly.

ChasingZenith commented 4 years ago

17 gives a font that can deal with this question mark problem.

Thanks to @KeitaNakamura.

DejaVu font supports the character n (see U+2099 in Unicode characters supported by the DejaVu )