The scenario is that I'm writing a book and it looks like I'm going to need to do some munging as the document class Memoir has some wonderful features but Octavio has the presentation.
Now, one of the things that really bugs me with LaTeX is that they use a global namespace, which means they interact with each other in unpredictable ways. I can't predict easily what a hack-and-splice job will do. As for finding and fixing problems... well..
LaTeX 2e has dozens of variants these days and there are an endless number of preprocessors to support them. If just one supports namespaces then I can munge with safety. I don't know of any, but that doesn't mean they're not there. Anyone know of anything that might help?
MyPackage:Index:DirtyHack? – Marco Nov 23 '11 at 11:15\outerare currently not implemented. – Schweinebacke Nov 24 '11 at 07:29mylongpackagename, you could write\begin{inNamespace}[mylongpackagename] … 1000 lines of codes … \end{inNamespace}. All newly defined commands in this block would automatically be in themylongpackagenamenamespace, and all referenced command would reference themylongpackagenameversions. Later, you might add (and change) a namespace prefix. For example\setnsprefix{mlp}[mylongpackagename]. [Comment box to small to add more info. :-(] – Karl Ove Hufthammer Nov 26 '11 at 11:39