remimorvan / knowledge-clustering

Clustering notions for the knowledge LaTeX package
MIT License
13 stars 1 forks source link

Knowledge Clustering and \AP #16

Closed nicolas-waldburger closed 10 months ago

nicolas-waldburger commented 2 years ago

Could knowledge clustering also help by adding \AP whenever forgotten by the user?

remimorvan commented 2 years ago

The suggestion was partially implemented in v0.5.0 in the anchor feature: for now it simply prints the line number where it found a missing anchor point. It might be enhanced later, but I am not sure 1) what a good policy would be on where to add anchor points, and 2) if automation is really necessary since the number of missing anchor points should be relatively small.

remimorvan commented 10 months ago

I'm closing the issue: I find the actual feature very easy to use, even on large documents, and I don't think full automation is desirable. Indeed, having some control on where the anchor points are is necessary, and moreover, automation is very likely to produce unwanted behaviour (I'm thinking for instance about the issue with AP in align* environment, see §"Problems with amsmath" in knowledge's documentation).