From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Latex package nicefrac for HTML export Date: Fri, 19 Feb 2016 22:35:29 +0100 Message-ID: <87ziuwv0wu.fsf@mbork.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWsiF-0007Ul-J4 for emacs-orgmode@gnu.org; Fri, 19 Feb 2016 16:35:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWsiB-0005Sv-Ec for emacs-orgmode@gnu.org; Fri, 19 Feb 2016 16:35:43 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:58451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWsiA-0005S0-RU for emacs-orgmode@gnu.org; Fri, 19 Feb 2016 16:35:39 -0500 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lawrence Bottorff Cc: emacs-orgmode Mailinglist On 2016-02-19, at 22:26, Lawrence Bottorff wrote: > I've got Latex's *nicefrac *working fine for a Latex export. I've put > > #+LaTeX_HEADER: \usepackage{nicefrac} > > at the top of my file, and this inlined > > $\pi =3D \nicefrac{C}{d}$ > > But for an HTML export, it's not seeing it, giving back =CF=80=3D\nicef= racCd. Is > there anything I can do to get my HTML export to handle nicefrac proper= ly? Quick googling reveals that MathJax doesn't seem to support \nicefrac. If you don't need regular fractions (maybe you're writing a cookbook?), in a pinch you can say #+LaTeX_HEADER: \usepackage{nicefrac} \let\frac=3D\nicefrac and just use \frac. > LB Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University