From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: BIND org-html-style-include-* Date: Fri, 15 Feb 2013 22:21:21 +0100 Message-ID: <87d2w19stq.fsf@bzg.ath.cx> References: <87r4kh7oc2.fsf@gmail.com> <87liapi8r2.fsf@lapcat.tftorrey.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6Sio-0006hO-5S for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:21:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6Sim-0007tR-AR for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:21:29 -0500 Received: from we-in-x022e.1e100.net ([2a00:1450:400c:c03::22e]:47187 helo=mail-we0-x22e.google.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6Sim-0007sx-1F for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:21:28 -0500 Received: by mail-we0-f174.google.com with SMTP id r6so3204731wey.33 for ; Fri, 15 Feb 2013 13:21:26 -0800 (PST) In-Reply-To: <87liapi8r2.fsf@lapcat.tftorrey.com> (T. F. Torrey's message of "Fri, 15 Feb 2013 14:10:09 -0700") 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: "T.F. Torrey" Cc: emacs-orgmode@gnu.org, Nicolas Goaziou Hi Terry, tftorrey@tftorrey.com (T.F. Torrey) writes: > However, the new HTML exporter includes the MathJax JavaScript every > time, and I don't see any variable to set to suppress it. This is not the case anymore since commit 4d7f4d87. > Recent posts by Bastien suggest that maybe it is supposed to be included > only if LaTeX is used in the buffer, but I'm not sure he was talking > about this issue. I hope I was -- the MathJax config will now be included if your HTML page contains LaTeX snippets to display. It will not be included otherwise. > With the new exporter on my Org, even the most minimal Org file exported > to HTML includes MathJax. My Org version is 7.9.3e-1032-g791a8d. The > most recent pulls fail testing (which people must already know). You are behind a few commits, please update. > (By the way, though it may be too late to change them now, the variables > would be better named "org-html-include-style-default" and > "org-html-include-scripts-default" and possibly > "org-html-include-scripts-mathjax". The HTML exporter has many things > that might be included in the output, and having the variables all > starting with "org-html-include-" would make them easier for everyone to > find, understand, and modify.) I somewhat agree. But C-h v org-html-include TAB expands and display all variables here, so maybe not such an issue. It is not too late to change the names of the variables, but I'd rather stick to these names because it lowers the effort when switching from 7.9 to 8.0. > (Similarly, as someone else wrote, #+HTML_STYLE would be much better > named #+HTML_HEAD, given that style is just one of the many things this > directive might put into the head element of the html.) For this one I agree completely. I will make this change. -- Bastien