gillescastel / inkscape-figures

Inkscape figure manager
MIT License
557 stars 119 forks source link

Prevent chktek warning in vim #4

Closed jaja360 closed 5 years ago

jaja360 commented 5 years ago

I get a warning "Delete this space to maintain correct pagereferences." (chktex warning #24) at the line creating the label. The "%" at the end of the caption line would prevent this warning.

Maybe there would also be a way to change the default latex figure inclusion template (e.g., for having 2 spaces instead of 4) ?

gillescastel commented 5 years ago

In this case, chtex is being overcautious, so adding % just silences the warning, while otherwise doing nothing. Therefore, I've decided not to change the default LaTeX template. That, said, your suggestion to make the template configurable is great and I implemented it in 23a88522 (version 1.0.3), so that'll probably fix your problem!

jaja360 commented 5 years ago

Thank you ! That's perfect 🙂