From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: using org-publish, `#+OPTIONS title:nil` is invalid Date: Thu, 11 Feb 2016 14:06:34 +0100 Message-ID: <87oabn5rc5.fsf@nicolasgoaziou.fr> References: <56AF1B2B.1090005@shellcodes.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTqvE-0000vC-G1 for emacs-orgmode@gnu.org; Thu, 11 Feb 2016 08:04:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTqvA-0001CN-Fc for emacs-orgmode@gnu.org; Thu, 11 Feb 2016 08:04:36 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:33618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTqvA-0001C1-97 for emacs-orgmode@gnu.org; Thu, 11 Feb 2016 08:04:32 -0500 In-Reply-To: <56AF1B2B.1090005@shellcodes.org> (lux's message of "Mon, 1 Feb 2016 16:45:31 +0800") 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: lux Cc: emacs-orgmode@gnu.org Hello, lux writes: > first, I write a org file: > > #+TITLE: Just test > #+OPTIONS: doc:nil title:nil num:nil > > * h1 > hello world > > as you see, I define `title:nil` in #+OPTIONS. > > I wan't `title` just display in tag, and don't display in body. > > But, I did not take effect after executing `org-publish-project`, the > title 'Just test' still in new HTML file: > > <h1 class="title">Just test</h1> > > and I using `org-html-export-as-html` don't see it. > > the `org-publish-project-alits' as follows: > > (setq org-publish-project-alist > '(("src" > :base-directory "src" > :base-extension "org" > :publishing-directory "html" > :recursive t > :publishing-function org-html-publish-to-html > :headline-levels 4 > :auto-preamble nil) > ("test-project" :components ("src")))) > > > Emacs : GNU Emacs 25.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.7) > of 2016-02-01 > Package: Org-mode version 8.3.3 (8.3.3-26-ge92a06-elpa @ > /home/lu4nx/.emacs.d/elpa/org-20160125/) FWIW I cannot reproduce it. Regards, -- Nicolas Goaziou