bugtex4ht - Bugs: bug #454, Problem using \PauseCutAt with...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #454: Problem using \PauseCutAt with high split level

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Sat 04 Apr 2020 08:49:38 PM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sat 04 Apr 2020 08:49:38 PM EEST, original submission:

When using \TocAt with \PauseCutAt, tex4ht gives error.

Please see the following MWE

==================
\documentclass[11pt,notitlepage]{book}
\begin{document}
\ifdefined\HCode
\TocAt{chapter,section} %show subsection only in sections TOC
\TocAt{section,subsection} %show subsection only in sections TOC
\fi

\ifdefined\HCode
\PauseCutAt{section}
\fi
\chapter{Introduction}
chapter
\section{test}
stuff
\subsection{more stuff}
stuff
\end{document}
===================================

Compiled using

make4ht -ulm default -a debug t.tex "htm,3,notoc*,p-width"

./t.aux) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1cmr.fd)
[1] [2]
Chapter 1.
(./t.4ct) (/usr/local/texlive/2019/texmf-dist/tex/latex/lm/ot1lmtt.fd) (./t.4ct
) (./t.4ct
! Missing number, treated as zero.
<to be read again>
\TitleCount
l.3 ...k\endcsname{2}{x2-20001.1}{QQ2-2-2}{test}}{3}
\relax
?

ways to make the error goes away:
======================================
A) use split level 2 instead of 3 (but I want to use 3). So this
works

make4ht -ulm default -a debug t.tex "htm,2,notoc*,p-width"

B) use split 3, but comment out the line
%\TocAt{section,subsection}
In the above tex file. (But I want to have toc at section level).

C) Do not use \PauseCutAt at all.

TL 2019 on Linux.

Thnaks
--Nasser

Nasser M. Abbasi <nma123>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nma123 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray