From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Pank Roulund Subject: Re: Publish HTML Without Title Date: Sat, 26 Nov 2011 13:40:48 +0000 Message-ID: <87lir3atnj.fsf@gmail.com> References: <87r50vmxja.fsf@gmail.com> <17025.1322293237@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUISP-0001OZ-S8 for emacs-orgmode@gnu.org; Sat, 26 Nov 2011 08:38:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUISO-0000DS-5x for emacs-orgmode@gnu.org; Sat, 26 Nov 2011 08:38:17 -0500 Received: from mailout-eu.gmx.com ([213.165.64.42]:59059) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RUISN-0000D8-R6 for emacs-orgmode@gnu.org; Sat, 26 Nov 2011 08:38:16 -0500 In-Reply-To: <17025.1322293237@alphaville.dokosmarshall.org> (Nick Dokos's message of "Sat, 26 Nov 2011 02:40:37 -0500") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Rasmus wrote: > >> Hi, >> >> I publish my website with Org. have defined my title in >> org-publish-project-alist under the :html-preamble. >> >> However, it seems that recent Orgs have become 'smart' and now I don't >> know how to disable the publishing of title and I have the title printed >> twice. As I recall this was not an issue before. >> >> It seems to stem from org-html. el around 1358: >> >> #+begin_src emacs-lisp >> ;; begin wrap around body >> (insert (format "\n
" >> ;; FIXME org-export-html-content-div is obsolete since 7.7 >> (or org-export-html-content-div >> (nth 1 org-export-html-divs))) >> ;; FIXME this should go in the preamble but is here so >> ;; that org-infojs can still find it >> "\n

" title "

\n")) >> #+end_src >> >> Are there any known solutions to this at the moment? >> > > I spent 10 minutes trying to recreate the problem, and decided that I > have no idea what you are talking about. > > So in my role as the official and perpetual nag on this list: can you > please post your org-publish-project-list -or at least the relevant > subset- > and (unless, as I suspect, the org file is completely trivial) an ECM > exhibiting the problem? In my publish file I have (Warning: 'destructive' example that setq rather than add-to-list). #+begin_src emacs-lisp (setq org-publish-project-alist '( ("test" :base-directory "~/test" :publishing-directory "~/test" :html-preamble "

%t

Home | Emacs |
" ))) #+end_src Now use ~/test/index.org #+begin_src org #+TITLE: TEST * First head 1. point 2. two 3. three #+end_src Publish it as HTML. Here is relevant snips from the sourced code. #+begin_src html [...] TEST [....]

TEST

Home | Emacs |

TEST

[...] #+end_src Note, I never asked for the second title and this is the one I want to go away, but I don't know how. As I pointed out in the previous case, it seems that it may be hardcoded, but I don't know. I use Emacs-bzr 106282 and Org-git of 20111126. =E2=80=93Rasmus -- Sent from my Emacs