From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alexis Newsgroups: gmane.emacs.help Subject: Re: How to use \subsetneqq in Org-mode? Date: Sun, 03 Dec 2017 11:44:10 +1100 Message-ID: <87374sej39.fsf@gmail.com> References: <87y3mlj0u5.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1512261913 25387 195.159.176.226 (3 Dec 2017 00:45:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Dec 2017 00:45:13 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.2.1 Cc: help-gnu-emacs@gnu.org, Kaushal Modi To: =?utf-8?B?5p2o5Yqy5p2+?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 03 01:45:07 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLIP2-00066o-7f for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Dec 2017 01:45:04 +0100 Original-Received: from localhost ([::1]:37384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLIP7-00027v-Pp for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Dec 2017 19:45:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLIOL-00024w-E5 for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 19:44:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLIOG-0003DT-Hd for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 19:44:21 -0500 Original-Received: from mail-pl0-x22f.google.com ([2607:f8b0:400e:c01::22f]:43055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLIOG-0003DJ-Am for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 19:44:16 -0500 Original-Received: by mail-pl0-x22f.google.com with SMTP id x4so8382730plv.10 for ; Sat, 02 Dec 2017 16:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=rTtA8pYvsYVbxTrHnQg0RJoX0F7R84EeKtYqsz+Yczg=; b=gY8+n2Hyd4q2N6I68uvL2afEb9mLxMuyQvbCjEpymwnSQYJMWBMD20SayJCGHJZJTH LW8+KJV1tAyrAt9kp/cfkq5my0X0GJzs7f2x8dLyTZP7NXfBF8zMU7ZKlqWtUzNfGa+x XjY+Uwnh7N8IhqMN5x14I/1pmOloQsHyg3Fgl+tJpnSvekGedfTI3iBEaLL/rAtF4aTL 6rj5VYzCI3/vtf14+vJZWYPbhAhy/i83GNoW98xNXnOImJ6Yh0eDc5psarfpjEw4KNxF FBFnyvKVV8B3U+Z0bZCZB5rC7gUdI3RMKee0aZZkwo9gz6CrhZZlTgVIrW6MfBsNPD/X SzDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=rTtA8pYvsYVbxTrHnQg0RJoX0F7R84EeKtYqsz+Yczg=; b=S9jGy53E7FJ+YOktYAy/fqTgiWUg356gFQWj7t8WwtZDVtmpoBaKdpaFHNMYybjSt2 WpDRXXLfsrPmXzwJc42gwz2JYZuSX6hk+njidBLAAiuJTnGoKlTlKV6MJ1NN7RBbJZh1 0I9qW0Brnx7KXVv+1wkvd4tNYoBTF5fptklO2TS/NTRjlY+BFwRa+2T4gBfRqPi59vQD VBnR8kAxDRX2c5zgcBgcyuXUVVoFBfcNmsoTjQ56bEoE1Y1aeEwT5BVVTVoweYqJ27ve v6YMpFYom/f+JUpcBQJHyvmt/8cdywFmh9rS+/ZVV9BGUjc5N+e7uls2V+OcdIkyo4t2 fKzA== X-Gm-Message-State: AJaThX6UIEOsQElcKSMJT47k1HNHKZsZDxKbgGI+nPHJp50XbYqnbGQN bO0wfVOgl03L5n67Olm5BIU= X-Google-Smtp-Source: AGs4zMZR1xxcxCmTezK35b+pzgz2lx+wLjJuZC1v09lesZZVpJ4JzObiffIXsjnMgUmCi+hASvwYxQ== X-Received: by 10.84.228.193 with SMTP id y1mr10477657pli.404.1512261855162; Sat, 02 Dec 2017 16:44:15 -0800 (PST) Original-Received: from localhost (ppp118-209-205-112.bras2.mel11.internode.on.net. [118.209.205.112]) by smtp.gmail.com with ESMTPSA id 84sm16410349pfy.59.2017.12.02.16.44.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 Dec 2017 16:44:14 -0800 (PST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115174 Archived-At: 杨劲松 writes: > Thank you Alexis and Kaushal. I might mislead you. > > I am writing some short articles which includes a lot of Math > formula. So I include LaTeX command here and there like $A > \subset > B$. Most symbol display OK when exporting to HTML. But the > \subsetneqq > not. Same article, Html couldn't handle $\subsetneqq$ and > display > "Undefined control sequence \subsetneqq" in final render. But > display > in PDF output correctly. Yes, because as we noted, \subsetneqq is not a LaTeX command that Org understands. When exporting to PDF, your article gets processed by a LaTeX program (e.g. pdflatex; but it might be something different on your system), which understands what \subseqneqq is, so it's able to produce the correct output in the PDF. But when exporting to HTML, as explained by Kaushal, exporting uses a list built-in to Org (which you can view with M-x org-entities-help) in order to produce HTML output. It seems most of the math symbols you use are in that list, but \subsetneqq is not, so you don't get the correct symbol in your output. Thus, Kaushal suggested that you send an email to the Org people asking if \subsetneqq can be added to the list. In the meantime, however, you can simply add the symbol directly into your article, by using the method i described; instead of typing \subsetneqq, type: C-x 8 RET SUBSET OF ABOVE NOT EQUAL which will insert the symbol into your article. Whether it displays in your Emacs buffer depends on whether the font you use in Emacs includes that symbol. Also note that whether it displays in a browser will depend on whether the user viewing it is using a font that includes that symbol. Hope that makes things clearer! Alexis.