PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
266 stars 208 forks source link

index and larger TOC in sample article #425

Closed davidfarmer closed 7 years ago

davidfarmer commented 7 years ago

It is hard to find things you know are in the sample article. It would help if the index were activated, and until the index is comprehensive, have the TOC include subsections.

rbeezer commented 7 years ago

Index is activated. Not comprehensive. Now easier to find. Have a peek.

http://mathbook.pugetsound.edu/examples/sample-article/html/backmatter.html#index-part-1

Note: sidebar ToC is 2-deep, content is chunked 1-deep. Click on a secondary ToC bar, you get a page that is a section, and all 2-deep links get highlighted.

Thanks, Rob

davidfarmer commented 7 years ago

I guess the javascript that is supposed to highlight just the section you are on, has become broken. (Or the markup is not what the javascript expects).

On Mon, 31 Oct 2016, Rob Beezer wrote:

Index is activated. Not comprehensive. Now easier to find. Have a peek.

http://mathbook.pugetsound.edu/examples/sample-article/html/backmatter.html#index-part-1

Note: sidebar ToC is 2-deep, content is chunked 1-deep. Click on a secondary ToC bar, you get a page that is a section, and all 2-deep links get highlighted.

Thanks, Rob

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LHC1Uc-adA5FjRygmcqKAnWLI8-Nks5q5rvagaJpZM4KlNYX.gif]

rbeezer commented 7 years ago

I'm guessing the Javascript is "seeing" all those targets on the currently open page and so highlighting them.

So not newly broken, just an unanticipated use case?

On 11/01/2016 03:16 AM, davidfarmer wrote:

I guess the javascript that is supposed to highlight just the section you are on, has become broken. (Or the markup is not what the javascript expects).

On Mon, 31 Oct 2016, Rob Beezer wrote:

Index is activated. Not comprehensive. Now easier to find. Have a peek.

http://mathbook.pugetsound.edu/examples/sample-article/html/backmatter.html#index-part-1

Note: sidebar ToC is 2-deep, content is chunked 1-deep. Click on a secondary ToC bar, you get a page that is a section, and all 2-deep links get highlighted.

Thanks, Rob

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LHC1Uc-adA5FjRygmcqKAnWLI8-Nks5q5rvagaJpZM4KlNYX.gif]

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/425#issuecomment-257531707, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cgQ7QYDET7kyV5s3nHunEtQCBGwxks5q5xGYgaJpZM4KlNYX.

davidfarmer commented 7 years ago

Now I am guessing it is the markup. Scroll up and down this page and you will see one seciton highlighted, which changes as you move:

http://sl2x.aimath.org/development/collectedworks/htmlpaper/0711.0718/section3.html

I need a break from CSS/layout, and I am guessing you have higher priorities, so I'll make an MBX issue to be dealt with later.

On Tue, 1 Nov 2016, Rob Beezer wrote:

I'm guessing the Javascript is "seeing" all those targets on the currently open page and so highlighting them.

So not newly broken, just an unanticipated use case?

On 11/01/2016 03:16 AM, davidfarmer wrote:

I guess the javascript that is supposed to highlight just the section you are on, has become broken. (Or the markup is not what the javascript expects).

On Mon, 31 Oct 2016, Rob Beezer wrote:

Index is activated. Not comprehensive. Now easier to find. Have a peek.

http://mathbook.pugetsound.edu/examples/sample-article/html/backmatter.html#index-part-1

Note: sidebar ToC is 2-deep, content is chunked 1-deep. Click on a secondary ToC bar, you get a page that is a section, and all 2-deep links get highlighted.

Thanks, Rob

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LHC1Uc-adA5FjRygmcqKAnWLI8-Nks5q5rvagaJpZM4KlNYX.gif]

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/425#issuecomment-257531707, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cgQ7QYDET7kyV5s3nHunEtQCBGwxks5q5xGYgaJ pZM4KlNYX.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LB5PTtfG_MI9DU8nMs9Qi5hZSedCks5q50wUgaJpZM4KlNYX.gif]