<html><body><div>I believe the LaTeX backend for Haddock is used to generate the libraries part of the Haskell Report.</div><div><pre style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; white-space: pre-wrap" data-mce-style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; white-space: pre-wrap;">Regards,
    Malcolm</pre></div><div><br>On 07 Jan, 2014,at 01:10 PM, Roman Cheplyaka <roma@ro-che.info> wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">* Mateusz Kowalczyk <<a href="mailto:fuuzetsu@fuuzetsu.co.uk" data-mce-href="mailto:fuuzetsu@fuuzetsu.co.uk">fuuzetsu@fuuzetsu.co.uk</a>> [2014-01-07 02:52:12+0000]<br><blockquote class="quoted-plain-text" type="cite">* This touches on frequently overlooked problem: Haddock targets more</blockquote><blockquote class="quoted-plain-text" type="cite">than just the HTML back-end. We also have the LaTeX back-end and the</blockquote><blockquote class="quoted-plain-text" type="cite">Hoogle back-end. This is why we don't allow things like verbatim</blockquote><blockquote class="quoted-plain-text" type="cite">HTML in the markup, it doesn't make sense for anything but HTML.</blockquote><blockquote class="quoted-plain-text" type="cite">Admittedly, LaTeX back-end could just generate the maths itself but</blockquote><blockquote class="quoted-plain-text" type="cite">we then suddenly have to change the ‘verbatim’ block to the ‘LaTeX’</blockquote><blockquote class="quoted-plain-text" type="cite">block. It's also unclear how Hoogle back-end would deal with this.</blockquote><blockquote class="quoted-plain-text" type="cite">Even if we add the ‘LaTeX structure‘ to Haddock, I'm afraid that it</blockquote><blockquote class="quoted-plain-text" type="cite">might end up with people just writing LaTeX for their documentation</blockquote><blockquote class="quoted-plain-text" type="cite">which is useless for anyone not using that back-end.</blockquote><br> I see no reason why haddock should have a hoogle backend, as opposed to<br> hoogle using the GHC API directly. It's just a hack that exists for<br> historical reasons.<br> <br> Other than that, HTML is the only backend really in use at the moment,<br> I believe.<br> <br> Roman<br></div><div class="_stretch">_______________________________________________<br> Haskell-Cafe mailing list<br> <a href="mailto:Haskell-Cafe@haskell.org" data-mce-href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" data-mce-href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br></div></div></blockquote></div></body></html>