[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parse graphicspath for searching [
From: |
Arash Esbati |
Subject: |
Re: Parse graphicspath for searching [ |
Date: |
Wed, 18 Sep 2024 20:56:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Leo Stein <leo.stein@gmail.com> writes:
> Regarding multifile documents, do I understand correctly that this is
> the job of reftex?
No, this has nothing to do with RefTeX, it's exclusively AUCTeX's
business to cater for completion candidates of graphics files.
> It would indeed be nice to avoid regexing the whole document each time
> you do \includegraphics. But, if somebody goes back and edits their
> previous \graphicspath command, a re-parse would be needed... I don't
> know what is the best way to handle this.
I think the easiest way is to plug this into AUCTeX's parsing abilities.
Search the files under style/ directory for `TeX-auto-add-regexp' and
you will get a lot of examples. But since parsing in AUCTeX is
expensive reg. regexp groups, you should make this addition conditional
and provide a custom variable for users who want to enable this feature.
Best, Arash
- Re: Provide advice to ffap (find-file-at-point) from \input@path?, Arash Esbati, 2024/09/01
- Parse graphicspath for searching [was: Provide advice to ffap (find-file-at-point) from \input@path?], Leo Stein, 2024/09/16
- Re: Parse graphicspath for searching [was: Provide advice to ffap (find-file-at-point) from \input@path?], Ikumi Keita, 2024/09/18
- Re: Parse graphicspath for searching [, Arash Esbati, 2024/09/18
- Re: Parse graphicspath for searching [, Ikumi Keita, 2024/09/18
- Re: Parse graphicspath for searching [, Arash Esbati, 2024/09/18
- Re: Parse graphicspath for searching [, Leo Stein, 2024/09/18
- Re: Parse graphicspath for searching [,
Arash Esbati <=
- Re: Parse graphicspath for searching [, Leo Stein, 2024/09/18
- Re: Parse graphicspath for searching, Arash Esbati, 2024/09/19
- Re: Parse graphicspath for searching [was: Provide advice to ffap (find-file-at-point) from \input@path?], Leo Stein, 2024/09/18
- Re: Parse graphicspath for searching [was: Provide advice to ffap (find-file-at-point) from \input@path?], Ikumi Keita, 2024/09/19
- Re: Parse graphicspath for searching [was: Provide advice to ffap (find-file-at-point) from \input@path?], Leo Stein, 2024/09/19