<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/htmltolatex/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/htmltolatex/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 07 Apr 2012 15:54:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/htmltolatex/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>&lt;br&gt; within &lt;td&gt; destroys table</title><link>https://sourceforge.net/p/htmltolatex/bugs/5/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">skymab</dc:creator><pubDate>Sat, 07 Apr 2012 15:54:18 -0000</pubDate><guid>https://sourceforge.netba1dc489fc78f7b8643b649d08144f6f3b838d1f</guid></item><item><title>Extremly slow when all html document is almost one tag</title><link>https://sourceforge.net/p/htmltolatex/bugs/4/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 28 Oct 2009 15:57:34 -0000</pubDate><guid>https://sourceforge.net5fe849777dc360f00598e805c51fa82406f48e72</guid></item><item><title>empty comment crashes</title><link>https://sourceforge.net/p/htmltolatex/bugs/3/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">AVPorotnikov</dc:creator><pubDate>Sun, 18 Oct 2009 21:28:52 -0000</pubDate><guid>https://sourceforge.net8804557b1383d21f25ff398a6022f6841f6f3000</guid></item><item><title>ignoring style attribute</title><link>https://sourceforge.net/p/htmltolatex/bugs/2/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 30 Apr 2009 12:40:58 -0000</pubDate><guid>https://sourceforge.net11d505aae2415a3c394c5fe625933be240377c32</guid></item><item><title>ParserHandler is not visable </title><link>https://sourceforge.net/p/htmltolatex/bugs/1/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">neo anderson</dc:creator><pubDate>Tue, 10 Feb 2009 00:16:50 -0000</pubDate><guid>https://sourceforge.netb98669cba40d5c9689b598fe601869f1e490444d</guid></item></channel></rss>