<div dir="ltr">Hello Michal,<div><br></div><div>thank you for the fast response and please take care of yourself first, of course!</div><div>Should anybody in the list have a creative workaround (compatible with the PDF flow), I'll be happy to try out.  So far I have just replaced all "%" in captions with "percent".</div><div><br></div><div>Best Regards,</div><div>Lorenzo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 28, 2021 at 10:28 PM Michal Hoftich <<a href="mailto:michal.h21@gmail.com">michal.h21@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Lorenzo,<br>
<br>
>I have a figure with a caption containing "\%", like in "this is 3\% of<br>
>that". This breaks tex4ht (I run make4ht) because in filename.4tc the<br>
>percent is not escaped anymore, so I find the line<br>
><br>
>\doTocEntry\toclof{}{\csname a:TocLink\endcsname{1}{x1-28012}{}{\numberline<br>
>{2.6}{\ignorespaces this is 3% of that.\relax }}}{30}\relax<br>
><br>
>and the %-sign is interpreted as a comment, so the command gets broken.<br>
><br>
>Is this behaviour known to you and is there a way to fix it?<br>
<br>
I can confirm that this happens with the Caption package. It is not <br>
known, so thanks for the report.<br>
<br>
I am currently dealing with COVID 19 and I am bit tired, so it may take <br>
some time before I will be able to fix this issue.<br>
<br>
Best regards,<br>
Michal<br>
<br>
</blockquote></div>