From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18356 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: Compiling markdown to html not working with latex math accents Date: Thu, 19 Oct 2017 10:03:32 -0700 Message-ID: <20171019170332.GF80640@protagoras> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1508432616 12605 195.159.176.226 (19 Oct 2017 17:03:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Oct 2017 17:03:36 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBWVVUPHQKGQEP3IIVLI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 19 19:03:31 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f57.google.com ([209.85.214.57]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5EDz-0000gO-Jd for gtp-pandoc-discuss@m.gmane.org; Thu, 19 Oct 2017 19:03:15 +0200 Original-Received: by mail-it0-f57.google.com with SMTP id y15sf7990520ita.22 for ; Thu, 19 Oct 2017 10:03:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1508432602; cv=pass; d=google.com; s=arc-20160816; b=gGmI6b1j+qhzzfD7aoU3506pl7noZ2cIvKmTYj8n6N+PWlw2m1OAp/I2HjJsefDb2f HCff1yBxO5djT6ng7SZWR/1568FwxCfGtUT/WzhJjkxKQeQczN7+X/GuXibDf/uGIucp 7Lkjw+hUkmwXzJtsufYNT9xNijpsesnShAvvo0O2AB21a2UvkLo0+WMTQHjvUdzeLep5 iv9eaSognn93lZbQbJK85DCGGEsYvK3wlxNpJmNMMM1r6ytxDWKCy9OkfT7bH9DP186f J5Eb1fCmZfA2HJVUXrRiIx1K5AZGMAKEhwSXacB0E93IeauRpM7wkU2YzdQIMLEy8nqt 89Kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=IQABpTisvXT0oOWhGBlaQTU4g+vdBLa7Vf5jdDLA35w=; b=Dpwid9+4O5RzKL1hAQQz3CR4xI41Ug5JBf3v5ECjbIyYLMltQXX9taA5j4H3GC+jEg j8a/0xNHktgTgPY9POZmOup4UBFIkdqhMXC3HeQhzvVqPs7Icl2j/iAMHJwCu0LE4Jiw Q3NXelK7pkR/Xqx3f3zV3l8TISNwjnmNDYJhxpN1IyUI9Q18LjOc7mj9KKFtcjeIyXwk TUB2vqRTDhAkw5ix83LLTUwWjm3B7JATh/oYT2HSUv2D0ggfFktCUC/nYLhou8kPWNdA sc0NCIzDUYmUxtWF9B9X0Pok7ZMQUd5evWEenxRnqNIZw2k3GUqznpkaD+/qDR5BIcxu ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=UXwShazu; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::243 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=IQABpTisvXT0oOWhGBlaQTU4g+vdBLa7Vf5jdDLA35w=; b=cISHJ2HJEjGQLmmf9x6kOIrBc765sQSp2PsfxpSflZTx8xTpr40pYnTpjm62oaArPq 0vWtJySyIBFm53XZHK0V0w9pUnCEDgzMhSwx+HMeijF4tQ50MQhA9hA2zZm9ySSeoIL1 0jHe6AFbppOmUV7eEnlt4/ZdSLYfi2bMomWPWoQMkuaw0HeUoIEj9Z2myv57HW7O+hwt iuaN/oFiizLKs8uZdPJ4S/Fm0QK4dzauFlKR/wFQtygAuuBHp+OZj/BQClP+nbjuc2mG oAsPns0+qWgJPGXz9zdVVJaLqvUOn4vasLNhtVcqPetcWeM0QgftCD6URLmULpjiLm5u Alvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=IQABpTisvXT0oOWhGBlaQTU4g+vdBLa7Vf5jdDLA35w=; b=snHo00QmgJO1it5CRxT2efrtYuu8dSMWgBaOUsCWa5CmS8yNs5bFxu0sBtKm/ADuii 0DawJr6Ol2mf1XsuaTOb2PhcpKAYf6AefBp/te5Y1SCktLWjy8Wt+fUNxSdkP3c3uCYb 9jPCPAQhItGh7KCtcp6HoXlFpI6su+0RmLf4IbMnRvKZ/AjgkQxUPw7/zahGPI6hraKv LRsekMG3gBzqdQvXM9kY+W69xvAOLc0NSDmBWbsQfUcjm++/D4jwngw3weFi90//l0wf BD4viGRXCVjSy6KhIu4jH+7Wr2mN8AvjoOe293v/K9kNluXSS8CXv5KEC0eVCU5kFIWK Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaVyvbePVPetyXRksyjlJcik2upEX8S4EadUatYvk1oePrThST81 acIDiV5pvHLWntjm16CLtoU= X-Google-Smtp-Source: ABhQp+TMbbDOk6c0euROE0a77O35W6ON+zXyywCO0cLOgbjHVVd4NSTf51sUtiP8WDxCIeWQJRdPQg== X-Received: by 10.36.80.4 with SMTP id m4mr41787itb.5.1508432602935; Thu, 19 Oct 2017 10:03:22 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.81.3 with SMTP id f3ls1889935iob.0.gmail; Thu, 19 Oct 2017 10:03:22 -0700 (PDT) X-Received: by 10.107.183.142 with SMTP id h136mr1339454iof.44.1508432602245; Thu, 19 Oct 2017 10:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508432602; cv=none; d=google.com; s=arc-20160816; b=zDiUU+b0lDymB8GDjf3AwhJ5iDYTTJuoEXp2DqM6CGgzzAgqrkO8NY7TuhRLpweaRm TbI3gyIQ7azwA+6LSQhbLksj4VVPUnBruuGdE4wqlOACFR3TacNl/CbxJpkB9GyoMjWc WImnD75ZpmCc8Ahryxcey4U87ynV1N7yZ/Y8vtVJFmU/pl+PT0hR9Aq4/kaAFPhym1gv xBpxkGWRYg8DuI1VmiTFO4wnglmWqJEJaiJZVq9yjWuvjl5+fTy3aplwUNiArTlrctwd JT2r+omnTIKfu9vxLCBq2ABQuW12QVAl+LXoB5w13SxvYYCUEyb/i2JMLr1+SUHWHyLx 410Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=Ekr+w9rGRJNWB5M8fHSFRtEcldCb3LzVt21OP+aevu0=; b=bJOQe7fC15NQnqeieEN255USb1vNUWqvA9IqXvGfteYnXE23667LbgO3lpIRl3KU7I 8G9jZvCRwp8/SMOH2rrZc8HQGWuYenZJEbZ42CLzwTKy+krbmzSwKA2BA1RnUgOVqj4q gYA8g6YVngCBtanjKfB9BnPsOXntx5ajz69ZZJ6F7Zjf7jJR8/lAy9zeKrF9YRRGNHe/ IqohOi8UHXbB8Ax1K6jhq3U5clxSolwUmIF9N11kOogkkbdplGJJwggBuU4ziigevHyK PbRGpdDiscgeepHBN4PCvpPvM37AiwW+3dg0wIRc2/K9doYokyrjrCe3/nFc75RU0591 zWMw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=UXwShazu; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::243 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com. [2607:f8b0:400e:c05::243]) by gmr-mx.google.com with ESMTPS id l10si293435ioc.2.2017.10.19.10.03.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 10:03:22 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::243 as permitted sender) client-ip=2607:f8b0:400e:c05::243; Original-Received: by mail-pg0-x243.google.com with SMTP id y7so7683200pgb.7 for ; Thu, 19 Oct 2017 10:03:22 -0700 (PDT) X-Received: by 10.159.206.132 with SMTP id bg4mr2007811plb.129.1508432601525; Thu, 19 Oct 2017 10:03:21 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id q69sm29468817pfg.127.2017.10.19.10.03.19 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 10:03:20 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 64B18A1ED; Thu, 19 Oct 2017 13:03:09 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=UXwShazu; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::243 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18356 Archived-At: 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