karthink / consult-reftex

21 stars 3 forks source link

Consult fixes #6

Closed aikrahguzar closed 2 years ago

aikrahguzar commented 2 years ago

Recent changes to internal api's of consult cause problem. consult-read--config was changed to consult--customize-alist which results in an error. The type of the state function also changed and consult--kill-clean-buffer is no longer available. This fixes these issues at least for me.

This is a quick fix and I don't understand the code very well so please disregard it if you something else in store.

karthink commented 2 years ago

@aikraghuzar Sorry about the delay, I haven't had time to test this. The fix is fine, I tweaked a couple more things.

aikrahguzar commented 2 years ago

@aikraghuzar Sorry about the delay, I haven't had time to test this. The fix is fine, I tweaked a couple more things.

We can all take our time here :)

But if you have more time now: I have been experimenting with using the aux file to match the labels in the pdf with those in the tex file. I find it pretty convenient. The code is here https://github.com/aikrahguzar/latex-refs

I you would like it, I can do a pr to add the support for parsing the aux file here in the not too distant future.