* Bug: :html-head-extra ignored when publishing project [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.5/lisp/org/)]
@ 2016-10-27 17:50 Michel Damiens
2016-11-05 7:50 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Michel Damiens @ 2016-10-27 17:50 UTC (permalink / raw)
To: emacs-orgmode
Hello,
when publishing "org-linux.manthano.fr" project (see below) I get this head in exported html which uses only :html-head
<head>
<title>index</title>
<meta charset="utf-8">
<meta name="generator" content="Org-mode">
<link rel="stylesheet" href="/css/style.css" type="text/css">
<script src="/js/jquery-3.1.1.min.js">
</head>
Using backtracing as explained in your feedback help gives nothing
When I do not use :html-head-extra and replace :html-head with
:html-head "<link rel=\"stylesheet\" href=\"/css/style.css\"
type=\"text/css\" /><script src=\"/js/jquery-3.1.1.min.js\" /><script src=\"/js/commun.js\" /><script
src=\"/js/linux.js\" />"
I get exactly the same in <head> :
<script src=\"/js/jquery-3.1.1.min.js\" /><script src=\"/js/commun.js\" /><script
src=\"/js/linux.js\" />
is ignored
Can you help me ?
Emacs : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2016-04-17 on lgw01-04, modified by Debian
Package: Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/24.5/lisp/org/)
current state:
==============
(setq
org-export-with-todo-keywords nil
org-hide-leading-stars t
org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("article" "\\documentclass[11pt]{article}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("report" "\\documentclass[11pt]{report}"
("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("book" "\\documentclass[11pt]{book}"
("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
)
org-export-exclude-tags "noexport"
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-export-with-timestamps nil
org-ellipsis " ▹"
org-occur-hook '(org-first-headline-recenter)
org-export-with-tasks nil
org-metaup-hook '(org-babel-load-in-session-maybe)
org-html-format-drawer-function '(lambda (name contents) contents)
org-src-window-setup 'current-window
org-latex-format-inlinetask-function 'ignore
org-confirm-shell-link-function 'yes-or-no-p
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-export-with-date nil
org-export-preserve-breaks t
org-html-validation-link nil
org-export-with-section-numbers nil
org-export-default-language "fr"
org-export-with-toc nil
org-pretty-entities t
org-special-ctrl-a/e t
org-support-shift-select t
org-return-follows-link t
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-default-notes-file "/media/DATA/MesDocs/Devel/notes/capture.org"
org-todo-keyword-faces '(("TODO" . org-warning) ("DOING" . "orange")
("CANCELED" :foreground "blue" :weight bold))
org-startup-indented t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-latex-format-drawer-function '(lambda (name contents) contents)
org-odt-format-headline-function 'ignore
org-html-postamble nil
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-tags-column 50
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-pretty-entities-include-sub-superscripts nil
org-babel-pre-tangle-hook '(save-buffer)
org-html-head-include-default-style nil
org-mode-hook '((lambda nil
(org-add-hook (quote change-major-mode-hook)
(quote org-show-block-all) (quote append) (quote local))
)
(lambda nil
(org-add-hook (quote change-major-mode-hook)
(quote org-babel-show-result-all) (quote append)
(quote local))
)
(lambda nil (modify-syntax-entry (string-to-char "▼") "w"))
#[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)
org-refile-targets '((nil :maxlevel . 3) (org-agenda-files :maxlevel . 3))
org-export-coding-system 'utf-8
org-export-with-tags nil
org-use-speed-commands t
org-ascii-format-drawer-function '(lambda (name contents width) contents)
org-odt-format-inlinetask-function 'ignore
org-html-use-infojs nil
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
org-refile-use-outline-path 'file
org-directory "/media/DATA/MesDocs/Devel/notes"
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-hide-inline-tasks org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-M-RET-may-split-line '((item) (default . t))
org-export-with-author nil
org-export-with-creator nil
org-ditaa-eps-jar-path "/usr/share/emacs/24.5/lisp/contrib/scripts/DitaaEps.jar"
org-refile-allow-creating-parent-nodes 'confirm
org-export-with-drawers nil
org-blank-before-new-entry '((heading) (plain-list-item))
org-html-infojs-options '((path . "http://orgmode.org/org-info.js")
(view . "content") (toc) (ftoc) (tdepth . "0")
(sdepth . "6") (mouse . "blue") (buttons) (ltoc)
(up . :html-link-up) (home . :html-link-home))
org-todo-keywords '((sequence "TODO(t)" "DOING(i)" "|" "DONE(d)" "CANCELED(c)"))
org-hide-emphasis-markers t
org-export-allow-bind-keywords t
org-babel-tangle-lang-exts '(("python" . "py") ("maxima" . "max")
("latex" . "tex") ("awk" . "awk")
("emacs-lisp" . "el"))
org-confirm-elisp-link-function 'yes-or-no-p
org-html-preamble nil
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-odt-format-drawer-function '(lambda (name contents) contents)
org-export-with-special-strings nil
org-ditaa-jar-path "/media/DATA/MesDocs/Devel/emacs/.emacs.d/elpa/contrib/scripts/ditaa.jar"
org-html-format-headline-function 'ignore
org-startup-truncated nil
org-completion-use-ido t
org-babel-load-languages '((awk . t) (ditaa . t) (emacs-lisp . t) (gnuplot . t)
(latex . t) (org . t) (maxima . t) (python . t)
(sh . t) (sqlite . t))
org-html-doctype "html5"
org-html-format-inlinetask-function 'ignore
org-export-with-archived-trees nil
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-html-html5-fancy t
org-html-toplevel-hlevel 1
org-src-fontify-natively t
org-export-headline-levels 6
org-publish-project-alist '(("org-linux.manthano.fr" :base-directory
"/media/DATA/MesDocs/Devel/public_html/org/org-linux.manthano.fr/" :base-extension "org" :publishing-directory "/media/DATA/MesDocs/Devel/public_html/1and1-manthano.fr/linux.manthano.fr/" :recursive t :publishing-function org-html-publish-to-html :html-head "<link rel=\"stylesheet\" href=\"/css/style.css\" type=\"text/css\" /><script src=\"/js/jquery-3.1.1.min.js\" />" :html-head-extra "<script src=\"/js/commun.js\" /><script src=\"/js/linux.js\" />" :headline-levels 6 :html-preamble "<nav>NAV</nav><aside>ASIDE</aside>" :html-postamble "BAS" :auto-index t :html-extension "php" :index-filename "sitemap.org" :index-title "Sitemap")
("static-linux.manthano.fr" :base-directory
"/media/DATA/MesDocs/Devel/public_html/org/org-linux.manthano.fr/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php" :publishing-directory "/media/DATA/MesDocs/Devel/public_html/1and1-manthano.fr/linux.manthano.fr/" :recursive t :publishing-function org-publish-attachment)
("linux.manthano.fr" :components
("org-linux.manthano.fr"
"static-linux.manthano.fr")
)
("org-manthano.fr" :base-directory
"/media/DATA/MesDocs/Devel/public_html/org/org-manthano.fr/" :base-extension "org" :publishing-directory "/media/DATA/MesDocs/Devel/public_html/1and1-manthano.fr/manthano.fr/" :recursive t :publishing-function org-html-publish-to-html :html-head "<link rel=\"stylesheet\" href=\"/css/style.css\" type=\"text/css\" />" :headline-levels 6 :html-preamble "<nav></nav><aside></aside>" :html-postamble "<footer>BAS</footer>" :auto-index nil :html-extension "php" :index-filename "sitemap.org" :index-title "Sitemap")
("static-manthano.fr" :base-directory
"/media/DATA/MesDocs/Devel/public_html/org/org-manthano.fr/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php" :publishing-directory "/media/DATA/MesDocs/Devel/public_html/1and1-manthano.fr/manthano.fr/" :recursive t :publishing-function org-publish-attachment)
("manthano.fr" :components
("org-manthano.fr" "static-manthano.fr"))
)
)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-05 7:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-27 17:50 Bug: :html-head-extra ignored when publishing project [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.5/lisp/org/)] Michel Damiens
2016-11-05 7:50 ` Nicolas Goaziou
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.