︠ae73d768-5544-4454-9506-e1741b717dadi︠ %html

Table of Contents in a Sage worksheet.

It is possible to define a table of contents with links to sections in a large Sage worksheet. Just use the 100% bog standard old fashioned HTML approach to this problem, and it works. You could also use markdown or wiki to do the same. ︡6658f3de-1e65-4d69-a81d-e4395ef86587︡{"html":"\n

\n Table of Contents in a Sage worksheet.\n

\n\nIt is possible to define a table of contents with links to sections in a large Sage worksheet. Just use the 100% bog standard old fashioned HTML approach to this problem, and it works. You could also use markdown or wiki to do the same.\n"}︡ ︠211f7380-1aec-4fc2-a52e-3cb28d6eed28︠ %html(hide=0)

Click on one of the links below:

︡aa294c3c-2a6d-4765-be83-f6343f2c517d︡{"html":"\n

\n Click on one of the links below:\n

\n"}︡ ︠c39ac6a4-cb42-46bc-801a-a1c3b35cea13︠ for i in range(30): i, sqrt(i) ︡e6ddcef5-96ff-4f0b-938e-e3d9379bb3e5︡{"stdout":"(0, 0)\n(1, 1)\n(2, sqrt(2))\n(3, sqrt(3))\n(4, 2)\n(5, sqrt(5))\n(6, sqrt(6))\n(7, sqrt(7))\n(8, 2*sqrt(2))\n(9, 3)\n(10, sqrt(10))\n(11, sqrt(11))\n(12, 2*sqrt(3))\n(13, sqrt(13))\n(14, sqrt(14))\n(15, sqrt(15))\n(16, 4)\n(17, sqrt(17))\n(18, 3*sqrt(2))\n(19, sqrt(19))\n(20, 2*sqrt(5))\n(21, sqrt(21))\n(22, sqrt(22))\n(23, sqrt(23))\n(24, 2*sqrt(6))\n(25, 5)\n(26, sqrt(26))\n(27, 3*sqrt(3))\n(28, 2*sqrt(7))\n(29, sqrt(29))\n"}︡ ︠3669176f-995e-4cc1-8372-50ae82c197c0︠ %html(hide=0)

Section 1

︡bbdba411-7e19-48a5-84e8-fb6758803cbc︡{"html":"

\n Section 1\n

"}︡ ︠d1acdaa0-999b-492a-a13e-baf6bf55850d︠ for i in range(30): i, i^3 ︡587f3c61-8e80-4acb-ae31-b9318566b235︡{"stdout":"(0, 0)\n(1, 1)\n(2, 8)\n(3, 27)\n(4, 64)\n(5, 125)\n(6, 216)\n(7, 343)\n(8, 512)\n(9, 729)\n(10, 1000)\n(11, 1331)\n(12, 1728)\n(13, 2197)\n(14, 2744)\n(15, 3375)\n(16, 4096)\n(17, 4913)\n(18, 5832)\n(19, 6859)\n(20, 8000)\n(21, 9261)\n(22, 10648)\n(23, 12167)\n(24, 13824)\n(25, 15625)\n(26, 17576)\n(27, 19683)\n(28, 21952)\n(29, 24389)\n"}︡ ︠3c98b552-689d-4b0a-b737-5ba1d81bdb7c︠ %html(hide=0)

Section 2

︡91b97cf8-0dec-4f3e-aa66-5338e5f341f5︡{"html":"

\n Section 2\n

"}︡ ︠abe8afa2-fc35-4c25-b376-a6ed8da8a0a8︠ for i in range(100): i, i^2 ︡f8e64db0-0bdc-49b7-a8ff-cf867eca4ce7︡{"stdout":"(0, 0)\n(1, 1)\n(2, 4)\n(3, 9)\n(4, 16)\n(5, 25)\n(6, 36)\n(7, 49)\n(8, 64)\n(9, 81)\n(10, 100)\n(11, 121)\n(12, 144)\n(13, 169)\n(14, 196)\n(15, 225)\n(16, 256)\n(17, 289)\n(18, 324)\n(19, 361)\n(20, 400)\n(21, 441)\n(22, 484)\n(23, 529)\n(24, 576)\n(25, 625)\n(26, 676)\n(27, 729)\n(28, 784)\n(29, 841)\n(30, 900)\n(31, 961)\n(32, 1024)\n(33, 1089)\n(34, 1156)\n(35, 1225)\n(36, 1296)\n(37, 1369)\n(38, 1444)\n(39, 1521)\n(40, 1600)\n(41, 1681)\n(42, 1764)\n(43, 1849)\n(44, 1936)\n(45, 2025)\n(46, 2116)\n(47, 2209)\n(48, 2304)\n(49, 2401)\n(50, 2500)\n(51, 2601)\n(52, 2704)\n(53, 2809)\n(54, 2916)\n(55, 3025)\n(56, 3136)\n(57, 3249)\n(58, 3364)\n(59, 3481)\n(60, 3600)\n(61, 3721)\n(62, 3844)\n(63, 3969)\n(64, 4096)\n(65, 4225)\n(66, 4356)\n(67, 4489)\n(68, 4624)\n(69, 4761)\n(70, 4900)\n(71, 5041)\n(72, 5184)\n(73, 5329)\n(74, 5476)\n(75, 5625)\n(76, 5776)\n(77, 5929)\n(78, 6084)\n(79, 6241)\n(80, 6400)\n(81, 6561)\n(82, 6724)\n(83, 6889)\n(84, 7056)\n(85, 7225)\n(86, 7396)\n(87, 7569)\n(88, 7744)\n(89, 7921)\n(90, 8100)\n(91, 8281)\n(92, 8464)\n(93, 8649)\n(94, 8836)\n(95, 9025)\n(96, 9216)\n(97, 9409)\n(98, 9604)\n(99, 9801)\n"}︡ ︠c6b3d153-8391-40e7-9bb5-9012c92ed872︠