I am exploring the Workbench documentation tools for the first time and one of the difficulties I encountered was that when documentation pages are generated, a CamelCase package name is changed into "CAMEL CASE" with a space inbetween. How can I prevent this?
Take a look at the top left:
It says,
MA TE X SYMBOL
I want it to say "MATEX SYMBOL", with no spaces. What setting should I change?
My PacletInfo.m
is as follows:
Paclet[
Name -> "MaTeX",
Version -> "1.6.1",
MathematicaVersion -> "10+",
Extensions ->
{
{"Documentation", Resources ->
{"Guides/MaTeX"}
, Language -> "English"}
}
]
I believe this should be possible, as I see that e.g. TetGenLink isn't broken up to TET GEN LINK in the official documentation.
Update and possible solution:
The function that adds the spaces is AddSpaceToCamelCase
in Utils.m
in the DocumentationBuild package that ships with Workbench. This function has an explicit, hard-coded list of names, such as NETLink, GPUTools, FEM, TetGenLink, etc. which it will not break up.
A very hackish but simple solution was to edit Utils.m
and add "MaTeX"
to this hard-coded list of exceptions.