How to keep the "contents" panel showing fully in the left? #31
Replies: 9 comments 39 replies
|
Try something like the following: In your document Creat a new file This adds an automatic vertical scroll bar to the sidetoc and to the main document. If this works well for you then I should add it to the documentation. |
|
The TikZ and beamer HTML manual utilize Beautifulsoup Python module to process the raw HTML files and use a completely different CSS file. |
I have create simple latex file with hyperref package enabled, but it looks like the generated html file does not has the content side bars. So I think I will read the lwarp document carefully to enable such feature. |
|
I did some further test, it looks like the "side toc window" only happens when I'm using the So, my question is: is it possible to add the sidetoc when I'm using |
|
Update: I shall try to set up a CSS grid with a fallback for older browers. The hope is that using grid the side TOC will behave like its own little window independent of the contents. But there must be fallback for smaller windows and more fallback for older browsers. |
|
Try the following for separate scroll bars for the side TOC and the main document. This uses CSS grid with fallback for older browsers, and also keeps the existing fallback for narrow displays. If this works well in testing then I'll add it to In the preamble: In |
|
@bdtc Thanks for the work. I just tested it under Widows texlive 2025 version. And the result looks like below:
Note there are two vertical scrolling bars in the right edge. If I drag the the inner one( maked as "2"), the TOC content side window does not move. If I drag the scrolling bar labeled "1", the TOC side window will move up and down. |
|
Some kind of browser issue? On Firefox I get a scroll window for the TOC and a scroll window for the main contents, unless the window is large enough that a scroll bar is not needed. Perhaps I have to disable more of the fallback CSS. Do you have other custom CSS active? What browser are you using? Do the scroll bars improve if the window is a different size? |
|
I try to build a html from a file named wxWidgets.tex, which has many Chinese text. I'm using the batch file before, the only change is that I use the xelatex to build the wxWidgets.tex. But I got some error when building the lwarpmk html command I'm not sure how to fix this issue. BTW, the wxWidgets.pdf builds fine. |



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, I see in your homepage:
https://bdtechconcepts.com/Technical-Editing.html#autosec-18
You see, the left panel shows the "contents".
But if I scroll down the web page, the "content" will scroll, and see below:
So, any way to keep the "contents" panel always stay in the left? So, people can navigate easily.
BTW, it looks like this page works quite well:
Introduction - Beamer Manual
and
PGF/TikZ Manual - Complete Online Documentation
I'm not sure how they did that.
Thanks.
All reactions