Today I switched to the
import package with the hope that it will simplify the management of the files of my text. It surely did that, but.... It broke
RefTex in emacs. Now, I cannot lookup my labels using
reftex-reference (normally bounded to
C-c )). It doesn't parse the files that were included/imported/added using the
import package. Thus, I don't get this nice list with all the labels of my whole document.
Is there a way to enjoy both worlds?
I found this thread which suggests that this is an open problem... It seems that the problem comes from the way
reftex parses the document. Adding
subimport to the variable
reftex-include-file-commands cannot solve the problem, since it is documented explicitly that
RefTeX expects to have the filename right after the command - this is not the case when using