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 Apr 4 17:49:38 2020  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed Oct 20 10:41:54 2021, comment #1:

I think we fixed this issue in the meantime. At least I don't get any error with this example.

Michal Hoftich <michal_h21>
Project Member
Sat Apr 4 17:49:38 2020, 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 michal_h21 (Posted a comment)
  • -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):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Oct 20 10:41:54 2021michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray