在 vim-latex 中添加的 IgnoreWarning 不起作用

在 vim-latex 中添加的 IgnoreWarning 不起作用

我使用 vim-latex 套件。

在无法修复 moderncv 中的字体警告后,我决定忽略它们。不幸的是,这对我也不起作用。以下是相关设置:

let g:tex_IgnoredWarnings = 
\'Underfull'."\n".
\'Overfull'."\n".
\'specifier changed to'."\n".
\'You have requested'."\n".
\'Missing number, treated as zero.'."\n".
\'There were undefined references'."\n".
\'LaTeX Font Warning:'."\n".
\'Citation %.%# undefined'
let g:Tex_IgnoreLevel = 8

我添加了一行: \'LaTeX Font Warning:'."\n".它应该处理以下警告:

LaTeX Font Warning: Font shape `T1/lmss/m/sc' in size <10> not available

但事实并非如此。我增加了 IgnoreLevel,我还能做什么?

答案1

似乎有非常类似的问题堆栈溢出。可接受的答案指出,您应该将 first 的字符大小写更改texlet g:Tex_IgnoredWarnings。其他一切都相同。

相关内容