4
$\begingroup$

Some of the documentation pages for Mathematica 10's built-in symbols have an additional "Background & Context" section (just below the Details section) that's reserved for textbook-type information. See for example: Pi, Sin, Part, etc...

enter image description here

I would like to add this section to some of the symbol pages for my packages. How can I add a new section (that is closed by default) to symbol pages within Wolfram Workbench?

Additional question: will adding this section cause any problems when trying to load these pages from older version of Mathematica like 8 and 9?

$\endgroup$

1 Answer 1

2
$\begingroup$

I do not have WB with me now, but I think that the different sections in the documentation pages are basically all the same, in the sense that you can simply add a new section (using a "section" button) and then simply change the heading. Another good way (probably the best) to really emulate official doc pages, is to use ctrl-shift-E and see the cell code in the official pages and then just copy/paste and edit the code in your doc pages.

$\endgroup$
4
  • $\begingroup$ I tried that: "section" button actually creates a section of the type you see within the More Examples section. It doesn't create a whole section all together. $\endgroup$ Commented Jun 9, 2016 at 12:17
  • $\begingroup$ For reference, @QuantumDot: what version of Workbench do you have? $\endgroup$ Commented Jun 9, 2016 at 12:21
  • $\begingroup$ @J.M. I have workbench 2.0 build 138 for Mac OS X $\endgroup$ Commented Jun 9, 2016 at 12:49
  • $\begingroup$ The sad truth is that version 2 has not been updated in years. My impression is that WRI is not too interested in having users producing professionally looking packages with documentation, ect. $\endgroup$ Commented Jun 9, 2016 at 20:30

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.