On Fri, Aug 9, 2013 at 5:57 AM, Nasser M. Abbasi <span dir="ltr"><<a href="mailto:nma@12000.org" target="_blank">nma@12000.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello;<br>
<br>
When I run this:<br>
<br>
htlatex foo.tex "htm"<br>
<br>
Then the HTML pages are in 2 columns fine. But when I wanted to split<br>
the web pages to physically different pagesrunning this<br>
<br>
htlatex foo.tex "htm,2"<br>
<br>
Then I found the section content are now no longer set in 2 columns<br>
mode. Am I doing something wrong? or do I need additional<br>
configuration to make it work when pages are split?<br></blockquote><div><br>A quick solution will be to reconfigure {section} heading since you're splitting at section level.<br><br>\Configure{section}<br> {\multicols{2}}<br>
{\endmulticols}<br> {\HCode{<h3>\TitleMark\space}}<br> {\HCode{</h3>}}<br>\ConfigureMark{section}{\thesection}<br><br clear="all"></div></div>An archive, nasser.tar.gz, is attached which has the modified version of MWE, slightly enhanced version of multicol.4ht and html output generated. <br>
<br>Ideally, using {multicols} environment in each section will provide better results as the cross-links and headings shall span across columns while the text alone will be in columns. You can also use \section{<title>} as an optional argument of \begin{multicols}{2}[...]<br>
<br>Best regards<br>-- <br>Radhakrishnan<br><a href="https://maps.google.com/maps?q=River%20Valley,%20Thiruvananthapuram%20Neyyardam%20Road,%20Kerala,%20India&vector=1" target="_blank">River Valley</a><br><br>