X and Y add include their macros together in the preamble:
Code: Select all
% preamble
% ...
\input{X-macros.tex} % X's macros
\input{Y-macros.tex} % Y's macros
% ...
\begin{document}
\include{part1.tex}
\include{part2.tex}
\end{document}
How should we deal with such macro conflict issues?
Is there a way to introduce some kind of namespace or scope?