* Compiling markdown to html not working with latex math accents @ 2017-10-19 16:30 Diego Quintana [not found] ` <bac03a30-b317-4413-a65b-57347e6e6105-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Diego Quintana @ 2017-10-19 16:30 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1352 bytes --] Hi, just a short question. Does anybody knows why this $$ \sqrt{\frac{\sum_{i=1}^{n}\left(\hat{r}_{ui}-r_{ui}\right)^2}{n}} $$ does compile to pdf (using the latex writer) but it doesn't compile to html? I think the problem is with $\hat{r}$ But I'm totally lost with any probable cause. The dollar signs are being escaped somehow. My pandoc version is pc@user$ pandoc --version pandoc 1.19.2.1 Compiled with pandoc-types 1.17.0.4, texmath 0.9, skylighting 0.1.1.4 Default user data directory: /home/user/.pandoc Copyright (C) 2006-2016 John MacFarlane Web: http://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose. running on ubuntu 16.04 Thanks a lot! -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bac03a30-b317-4413-a65b-57347e6e6105%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 6330 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <bac03a30-b317-4413-a65b-57347e6e6105-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Compiling markdown to html not working with latex math accents [not found] ` <bac03a30-b317-4413-a65b-57347e6e6105-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2017-10-19 16:33 ` Diego Quintana 2017-10-19 17:03 ` John MACFARLANE 1 sibling, 0 replies; 3+ messages in thread From: Diego Quintana @ 2017-10-19 16:33 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1573 bytes --] I messed up masking my username. pc@user should be something like user@ubuntu or whatever. Am Donnerstag, 19. Oktober 2017 13:30:41 UTC-3 schrieb Diego Quintana: > > Hi, just a short question. Does anybody knows why this > > $$ \sqrt{\frac{\sum_{i=1}^{n}\left(\hat{r}_{ui}-r_{ui}\right)^2}{n}} $$ > > does compile to pdf (using the latex writer) but it doesn't compile to > html? I think the problem is with > > $\hat{r}$ > > But I'm totally lost with any probable cause. The dollar signs are being > escaped somehow. > > My pandoc version is > > pc@user$ pandoc --version > pandoc 1.19.2.1 > Compiled with pandoc-types 1.17.0.4, texmath 0.9, skylighting 0.1.1.4 > Default user data directory: /home/user/.pandoc > Copyright (C) 2006-2016 John MacFarlane > Web: http://pandoc.org > This is free software; see the source for copying conditions. > There is no warranty, not even for merchantability or fitness > for a particular purpose. > > running on ubuntu 16.04 > > > Thanks a lot! > > > > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3230252d-fc2f-4c5e-b1ef-e6f5ba882719%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 5311 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling markdown to html not working with latex math accents [not found] ` <bac03a30-b317-4413-a65b-57347e6e6105-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2017-10-19 16:33 ` Diego Quintana @ 2017-10-19 17:03 ` John MACFARLANE 1 sibling, 0 replies; 3+ messages in thread From: John MACFARLANE @ 2017-10-19 17:03 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw If you just convert to HTML with no options, pandoc will try to "fake" the math with unicode. It can only do that in simple cases, and complex roots, fractions, etc. defeat it, so it just gives you the raw TeX. I recommend using mathjax or katex if you target HTML. See the manual for more on this. +++ Diego Quintana [Oct 19 17 09:30 ]: > Hi, just a short question. Does anybody knows why this > $$ \sqrt{\frac{\sum_{i=1}^{n}\left(\hat{r}_{ui}-r_{ui}\right)^2}{n}} $$ > does compile to pdf (using the latex writer) but it doesn't compile to > html? I think the problem is with > $\hat{r}$ > But I'm totally lost with any probable cause. The dollar signs are > being escaped somehow. > My pandoc version is > pc@user$ pandoc --version > pandoc 1.19.2.1 > Compiled with pandoc-types 1.17.0.4, texmath 0.9, skylighting 0.1.1.4 > Default user data directory: /home/user/.pandoc > Copyright (C) 2006-2016 John MacFarlane > Web: http://pandoc.org > This is free software; see the source for copying conditions. > There is no warranty, not even for merchantability or fitness > for a particular purpose. > running on ubuntu 16.04 > Thanks a lot! > > -- > You received this message because you are subscribed to the Google > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/bac03a30-b317-4413- > a65b-57347e6e6105%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/bac03a30-b317-4413-a65b-57347e6e6105-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-19 17:03 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-10-19 16:30 Compiling markdown to html not working with latex math accents Diego Quintana [not found] ` <bac03a30-b317-4413-a65b-57347e6e6105-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2017-10-19 16:33 ` Diego Quintana 2017-10-19 17:03 ` John MACFARLANE
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).