> I am working on a new implementation of my 'extramarks' package,
> based on the '\marks' command. To get a clean namespace, I would
> prefix all internal commands with '\extramarks@', or \extramarks_' in
> expl3 syntax (which I am slowly learning now). However, this causes
> the names to get quite long.
as Phelype suggested the best practice approach in l3 is to use the @@
notation and let docstrip add the prefix into stripped code. works for
all private csnames and automatically adds the double underscore so
Using the package name as namespace then becomes simple. Personally I
sometimes use more cryptic ones starting with my initial, e.g. fmdug in
the dashundergaps package using the long package name is probably better.
> So I was thinking of changing that to something shorter, and I came
> up with \xmarks@'/'\xmarks_', and then 'xmarks' for the package name,
> and in fact I already did that edit. But then I remembered that in
> the past there had been an 'xmarks' or 'xmarks2' package by the LaTeX
The xmarks package is currently not distributed that is true but I would
ask you to please not use marks or xmarks as prefix names nor as package
names as there will be a marks interface eventually again and "xmarks"
would the "extension" of that.
Not knowing exactly what the package is out to do (is it an extension to
extramarks?) it is difficult to suggest a name, but when using the @@
convention in l3 long names aren't a problem.