<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/htmltolatex/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/htmltolatex/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/htmltolatex/bugs/</id><updated>2012-04-07T15:54:18Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>&lt;br&gt; within &lt;td&gt; destroys table</title><link href="https://sourceforge.net/p/htmltolatex/bugs/5/" rel="alternate"/><published>2012-04-07T15:54:18Z</published><updated>2012-04-07T15:54:18Z</updated><author><name>skymab</name><uri>https://sourceforge.net/u/skymab/</uri></author><id>https://sourceforge.netba1dc489fc78f7b8643b649d08144f6f3b838d1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I've got a document which has linebreaks in table cells. It looks like this:&lt;br /&gt;
&amp;lt;tr align="center"&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ん&amp;lt;br&amp;gt;&amp;lt;span&amp;gt;(n)&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;わ&amp;lt;/td&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;th&amp;gt;a&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;/p&gt;
&lt;p&gt;The line with the linebreak is translated to:&lt;br /&gt;
\hline&lt;br /&gt;
ん&lt;br /&gt;
\\(n) &amp;amp; わ &amp;amp; ら &amp;amp; や &amp;amp; ま &amp;amp; は &amp;amp; な &amp;amp; た &amp;amp; さ &amp;amp; か &amp;amp; あ &amp;amp; \textbf{a} \\ &lt;/p&gt;
&lt;p&gt;which destroys the table-layout because latex thinks a new table row is starting.&lt;/p&gt;
&lt;p&gt;Is there a workaround for this behaviour? Can I preprocess my html file somehow in order to obtain a correct output?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Extremly slow when all html document is almost one tag</title><link href="https://sourceforge.net/p/htmltolatex/bugs/4/" rel="alternate"/><published>2009-10-28T15:57:34Z</published><updated>2009-10-28T15:57:34Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net5fe849777dc360f00598e805c51fa82406f48e72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, I've started playing with your package and I find it extremly useful (I love the configuration via XML).&lt;/p&gt;
&lt;p&gt;However I've found that I almost cannot use it if one tag has a large chunk of text. It's because of an error in the way string are concatenated. You use String str=""; str + [a char] which is the wrong way then working on large memory blocks. Such a thing will cause the OS to move huge chunks of memory from place to place.&lt;/p&gt;
&lt;p&gt;I've have overcome this problem by changing some lines in your Parser.java file (there are other playes but I was mostly interested in tags with a large number of text).&lt;/p&gt;
&lt;p&gt;I've included the corrected file (look for text krzysp;)&lt;/p&gt;
&lt;p&gt;In my case I had a HTML document which was 100KB, all of which (almost) was one &amp;lt;p&amp;gt; element. It takes around 90 seconds on my MacPro.&lt;/p&gt;
&lt;p&gt;The corrected version takes around 1 second which is acceptable for me.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>empty comment crashes</title><link href="https://sourceforge.net/p/htmltolatex/bugs/3/" rel="alternate"/><published>2009-10-18T21:28:52Z</published><updated>2009-10-18T21:28:52Z</updated><author><name>AVPorotnikov</name><uri>https://sourceforge.net/u/alpo3z/</uri></author><id>https://sourceforge.net8804557b1383d21f25ff398a6022f6841f6f3000</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Empty HTML comment &amp;lt;!----&amp;gt; crashes your nice tool with this message&lt;br /&gt;
java.lang.StringIndexOutOfBoundsException: String index out of range: -1   &lt;br /&gt;
at java.lang.String.substring(Unknown Source)                      &lt;br /&gt;
at cz.kebrt.html2latex.Parser.readElement(Parser.java:133)         &lt;br /&gt;
at cz.kebrt.html2latex.Parser.readContent(Parser.java:225)         &lt;br /&gt;
at cz.kebrt.html2latex.Parser.doParsing(Parser.java:108)           &lt;br /&gt;
at cz.kebrt.html2latex.Parser.parse(Parser.java:52)                &lt;br /&gt;
at cz.kebrt.html2latex.Main.main(Main.java:38)                     &lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ignoring style attribute</title><link href="https://sourceforge.net/p/htmltolatex/bugs/2/" rel="alternate"/><published>2009-04-30T12:40:58Z</published><updated>2009-04-30T12:40:58Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net11d505aae2415a3c394c5fe625933be240377c32</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm not sure if it's a bug or simply an unsupported feature, but &amp;lt;span style="text-decoration: underline;"&amp;gt;test&amp;lt;/span&amp;gt; is converted to test (ignoring the underline information).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ParserHandler is not visable </title><link href="https://sourceforge.net/p/htmltolatex/bugs/1/" rel="alternate"/><published>2009-02-10T00:16:50Z</published><updated>2009-02-10T00:16:50Z</updated><author><name>neo anderson</name><uri>https://sourceforge.net/u/chl501/</uri></author><id>https://sourceforge.netb98669cba40d5c9689b598fe601869f1e490444d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I came across to see this project. Thanks for providing such APIs. However, I find out a minor problem that cause a bit difficulty to use this project as a lib. In parser class it passes in ParserHander (around line 45) as parameter, whose class is  set to `default', resulting class in other package can not exploit Parser class. Is it possible to change Parser function from &lt;br /&gt;
public void parse(File inputFile, ParserHandler handler)&lt;br /&gt;
to &lt;br /&gt;
public void parse(File inputFile, IParserHandler handler)&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>