## tex4ht - Bugs: bug #330, tex4ht fails to compile footnote...

Show feedback again

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

## bug #330: tex4ht fails to compile footnote when there is blank line with scrartcl class

 Submitted by: Nasser M. Abbasi Submitted on: Sat Jul 16 16:28:40 2016 Category: None Priority: 5 - Normal Severity: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Closed

Tue Jul 19 02:28:43 2016, comment #7:

it all rebuilt for me (as well as it ever does, anyway :). installed in tl, thanks.

Karl Berry <karl>
Mon Jul 18 20:58:32 2016, comment #6:

I've just pushed the commit with changes to the repo. Hope it doesn't break anything.

Michal Hoftich <michal_h21>
Mon Jul 18 20:30:14 2016, comment #5:

Maybe just nobody used paragraphs in \footnotes with KOMA Script yet :)

OK, I will try to add \long to \pend:def and it's variants.

Michal Hoftich <michal_h21>
Mon Jul 18 00:49:08 2016, comment #4:

i don't see a problem with making everything \long in our case.

but why did it start to fail at this late date?
because of the lineno stuff? i don't see that changing pend:def.

Karl Berry <karl>
Sun Jul 17 22:31:31 2016, comment #3:

Karl, yes, it seems to be a missing \long, respective the fact that \long commands redefined with \pend:def and similar commands don't remain \long, ordinary \def is used to define temporary macro. I am not sure that is is safe to make such a big change and make all commands patched by \pend:def and it's variants \long. Maybe make a long variants?

Michal Hoftich <michal_h21>
Sun Jul 17 00:23:23 2016, comment #2:

I wonder if it could be as simple as a missing \long. I hope Michal can look into it (and your other report(s)). Michal? Sadly, I could not locate the right place without more research.

The last change noted in the tex4ht ChangeLog for these classes was 2015-02-07. I don't know what might have changed recently to affect it. Sigh.

Karl Berry <karl>
Sat Jul 16 23:09:17 2016, comment #1:

I should have added that this problem affects all koma-script classes with tex4ht and not just the scrartcl. Same problem happens when using scrbook and scrreprt

Nasser M. Abbasi <nma123>
Sat Jul 16 16:28:40 2016, original submission:

This MWE fails to compile with tex4ht because there is blank line in footnote

\documentclass[11pt]{scrartcl}
%\documentclass[11pt]{article}
\IfFileExists{luatex85.sty}{\usepackage{luatex85}}{}
\begin{document}

Then \footnote{Another way to find particular

solution is by gussing.},

\end{document}

The file compiles OK with lualatex and pdflatex. Changing the class to article instead of scrartcl the error goes away.

TL 2016 on Linux mint.

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 karl (Posted a comment)
• -unavailable- added by nma123 (Submitted the item)
•

Do you think this task is very important?
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):