[Haskell-cafe] Request for example of putting LaTeX in Haskell code comments for Haddock processing.

Andrew Butterfield Andrew.Butterfield at scss.tcd.ie
Thu Sep 13 17:12:19 UTC 2018


Hi David,

I can see the ones in Data.Sequence

(e.g. http://hackage.haskell.org/package/containers-0.6.0.1/docs/Data-Sequence.html#g:1 <http://hackage.haskell.org/package/containers-0.6.0.1/docs/Data-Sequence.html#g:1>)

using Safari 11.1.2 with macOS Sierra 10.12.6. The only extension installed is a divx html 5 video player.


Regards, Andrew



> On 13 Sep 2018, at 17:04, David Banas <capn.freako at gmail.com> wrote:
> 
> Thanks!
> 
> I’m using the same syntax you are, but not seeing rendered equations in the resultant HTML, when viewed in Safari.
> (I’m about to try some other browsers.)
> I don’t need to give haddock any special option, do I?
> Is this a known issue w/ Safari?
> Is there a plug-in I need to install?
> 
> Thanks,
> -db
> 
> 
>> On Sep 13, 2018, at 7:23 AM, Frederic Cogny <frederic.cogny at gmail.com <mailto:frederic.cogny at gmail.com>> wrote:
>> 
>> example with both below [and its rendering further down]
>> 
>> syntax: 
>> - \( \) for inline and 
>> - \[ \] for block
>> 
>> <image.png>
>> 
>> 
>> <image.png>
>> 
>> 
>> On Wed, Sep 12, 2018 at 10:02 PM David Banas <capn.freako at gmail.com <mailto:capn.freako at gmail.com>> wrote:
>> Hi all,
>> 
>> Can anyone provide a know working example (GHC 8.4.3) of embedding LaTeX in Haskell source code comments intended for Haddock processing?
>> Both in-line and block, if you’ve got them, would be great.
>> 
>> Thanks!
>> -db
>> 
>> _______________________________________________
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe <http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe>
>> Only members subscribed via the mailman list are allowed to post.
>> -- 
>> Frederic Cogny
>> +33 7 83 12 61 69
> 
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

--------------------------------------------------------------------
Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204
Lero at TCD, Head of Foundations & Methods Research Group
School of Computer Science and Statistics,
Room G.39, O'Reilly Institute, Trinity College, University of Dublin
                          http://www.scss.tcd.ie/Andrew.Butterfield/
--------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180913/e2df6429/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2018-09-13 at 18.11.48.png
Type: image/png
Size: 11552 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180913/e2df6429/attachment.png>


More information about the Haskell-Cafe mailing list