Suppose a class (or package), say mysuperclass.cls
, silently "\input
"s a fixed configuration file, say mysuperclassconfigurationfile.tex
(or mysuperclassconfigurationfile.cfg
) located:
the .tex
file using this class.
It could be nice to make TXS aware of this input through a mysuperclass.cwl
, in order to let it display this configuration file in the structure tab when a .tex
file using this class is open (just like it displays all the files explicitly input/included with \input
/\include
in this .tex
file).
Anonymous
I second this request. Using
%\newcommand{\includetex}{./include/mytexfolder/}
Or any other variation of this command (\def, with argument etc.) causes TXS to highlight the correcsponding file red in the structure view pane. \
makeatletter
\def\input@path{{"./include/mytexfolder/"}}
\makeatother
Exhibits the same behaviour.
Or am I just unaware of a way to declare a static path which TXS will respect, which is not in the parents .tex folder?
PS: If this is considered off topic, I apologize.
@accdragon: you should takte a look at making an aproriate cwl file, see manual.
@Denis: this is not possible with the current control logic.
The class name is just used a filename for an cwl-file. Classes neither parsed not read.