I'm trying to convert some latex which includes the quoting environment, to html using htlatex. Here's a little example which gets typeset without any problems:
\documentclass{scrbook}
\usepackage{quoting}
\begin{document}
\chapter{Chapter one}
Here is a para
Here is a second para
\begin{quoting}
one para inside a small block.
another para inside the block.
\end{quoting}
Now for a para after the quote.
And another para after the quote.
What has happened? In the HTML version there are no para breaks!
\chapter{Chapter two}
Let's try after a chapter break.
That's good -- para breaks work now.
But what happened after the quoting environment in the previous chapter?
\end{document}
When I tried to run htlatex on this file it didn't know about the quoting environment, so I created this tex4ht config file configexample.cfg:
\Preamble{html}
\begin{document}
\ConfigureEnv{quoting}
{\HCode{<blockquote>}}
{\HCode{</blockquote>}}{}{}
\EndPreamble
Running this as htlatex example.tex "configexample.cfg"
appears to work, and it creates example.html, and even gets the blockquote tags in there. But after the end of the quoting environment, I don't get the p tags I expected. Not, that is, until after a chapter break.
I don't know whether this is a tex4ht issue, or an issue with the quoting package. I could go back to using the quote environment, but I'd like to make this work first, if I can. Any ideas?
(Running under MiKTeX)