textlint-plugin-latex2e icon indicating copy to clipboard operation
textlint-plugin-latex2e copied to clipboard

latex-utensils v4.x

Open pddg opened this issue 4 years ago • 3 comments

https://github.com/tamuratak/latex-utensils/blob/v4.0.0/CHANGELOG.md#L8-L12

v4.x introduce softbreak, space, and Linebreak. This will break our algorithms of parsing the output of latex-utensils.

refs #135

pddg avatar Jun 06 '21 00:06 pddg

I reported the issue about why softbreak and space have no location information. refs https://github.com/tamuratak/latex-utensils/issues/26

pddg avatar Jun 06 '21 00:06 pddg

My suggestion that adds location information to softbreak and space is rejected by the maintainer.

The completeBlank function should take care of these properly, so we may simply ignore them.

pddg avatar Jul 09 '21 00:07 pddg

Hmm..., we still need to maintain the completeBlank function but it is not so straightway to deal AST. We now are spending a large part of the code to complete the lacking information retrieved by latex-utensils. We have common sense reducing code lines is better to make no more bugs. Coulld we make monkey patch for latex-utensils. I guess this is better than completeBlank.

tani avatar Jul 09 '21 00:07 tani