[tex4ht] serious bug with \PauseCutAt

Nasser M. Abbasi nma at 12000.org
Fri Apr 3 21:53:44 CEST 2020


On 4/3/2020 2:42 PM, Michal Hoftich wrote:
> Hi Nasser,
> 
> 
> On Fri, Apr 3, 2020 at 9:01 PM Nasser M. Abbasi <nma at 12000.org> wrote:
>>
>> Is this a known bug? If not, I can enter official report on it.
>>
>> When using \TocAt with \PauseCutAt, tex4ht gives error.
>>
>> Please see the following MWE
> 
> I didn't even know about existence of this command :D
> 

Too many tex4ht commands, too little time :)

I use \TocAt a lot. It automatically makes TOC at top of each section
or top of each chapter and so on. I just have to keep watching the
split level when I use it.  Here is an example page with toc at top of
a section (split level is 2 here)

https://www.12000.org/my_notes/CAS_integration_tests/reports/rubi_4_16_1_graded/inse1.htm#x2-10001

I do not know how else in tex4ht to make local TOC like this otherwise.

For lualatex, I use instead this code (to make toc at first of section)
(from etoc package)

   \etocsetnexttocdepth{1}
   \etocsettocstyle{\section*{Local contents}}{}
   \cftsecindent 0pt
   \localtableofcontents

> It is used only on three places in the TeX4ht sources - one is it's
> definition, second is a comment and third is in the info file, where
> it is mentioned without any description what it is supposed to do. I
> will take a look at this soon.
> 
> Best,
> Michal
> 

Thank you
--Nasser



More information about the tex4ht mailing list.