From: lux <lx@shellcodes.org>
To: emacs-orgmode@gnu.org
Subject: Bug: using org-publish, `#+OPTIONS title:nil` is invalid
Date: Mon, 1 Feb 2016 16:45:31 +0800 [thread overview]
Message-ID: <56AF1B2B.1090005@shellcodes.org> (raw)
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 <title> 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/)
current state:
==============
(setq
org-tab-first-hook '(org-hide-block-toggle-maybe
org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-html-format-drawer-function '(lambda (name contents) contents)
org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
org-confirm-shell-link-function 'yes-or-no-p
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-latex-pdf-process '("xelatex %f")
org-latex-format-headline-function
'org-latex-format-headline-default-function
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-latex-format-drawer-function '(lambda (name contents) contents)
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook
change-major-mode-hook org-show-block-all append local] 5]
#[nil "\300\301\302\303\304$\207" [org-add-hook
change-major-mode-hook org-babel-show-result-all append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes
(lambda nil (setq org-latex-pdf-process (quote
("xelatex %f"))) (auto-fill-mode nil) (setq truncate-lines nil)
(set-face-attribute (quote org-level-1) nil :height
1.5 :bold nil)
(set-face-attribute (quote org-level-2) nil :height
1.4 :bold nil)
(set-face-attribute (quote org-level-3) nil :height
1.3 :bold nil)
(set-face-attribute (quote org-level-4) nil :height
1.2 :bold nil) (setq org-src-fontify-natively t)
(if window-system (progn
(org-display-inline-images))) (org-indent-mode))
)
org-archive-hook '(org-attach-archive-delete-maybe)
org-ascii-format-drawer-function '(lambda (name contents width) contents)
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-html-format-headline-function
'org-html-format-headline-default-function
org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
)
next reply other threads:[~2016-02-01 8:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-01 8:45 lux [this message]
2016-02-11 13:06 ` Bug: using org-publish, `#+OPTIONS title:nil` is invalid Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56AF1B2B.1090005@shellcodes.org \
--to=lx@shellcodes.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.