Andreas Politz <poli...@hochschule-trier.de> writes:

>> [...]  I wouldn't object if you do something similar in PDF Tools. ;-)
>>
>> E.g., `pdf-sync-correlate-pdf' would return a list (file line column
>> search-regex) where the latter would only be used by `pdf-sync-goto-tex'
>> if column is -1 (in the hope that some future SyncTeX version will
>> eventually provide correct line numbers).
>
> Sounds good, but I don't know if a regexp is sufficient.  I'm thinking
> of dropping the line and column values and return (file closure), such
> that closure finds the right position in the tex buffer, including some
> limited `uncompiling', i.e using the likes of LaTeX-math-default.

Then the AUCTeX region-file to real-file translation we've discussed in

  https://github.com/politza/pdf-tools/issues/36

wouldn't work.  For that, I'd be happy with any list (file line column
and now whatever you want).

Bye,
Tassilo


_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to