emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] manual: Fix publish stylesheet


From: Erik Hetzner
Subject: [PATCH] manual: Fix publish stylesheet
Date: Sun, 18 Apr 2021 21:47:04 -0700
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

* doc/org-manual.org (Publishing sample configuration):
* doc/org-guide.org (Publishing):
Fix stylesheet setting in publish: :style is not a valid option; use
:html-head instead.
---
A small fix for the manual which I believe is necessary (:style does not appear 
to be a valid option any more). My copyright assignment paperwork is on file. 
Thank you!

 doc/org-guide.org  | 6 +++---
 doc/org-manual.org | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/org-guide.org b/doc/org-guide.org
index ea3040bba..3715982f6 100644
--- a/doc/org-guide.org
+++ b/doc/org-guide.org
@@ -2337,9 +2337,9 @@ example:
          :publishing-directory "~/public_html"
          :section-numbers nil
          :table-of-contents nil
-         :style "<link rel=\"stylesheet\"
-                href=\"../other/mystyle.css\"
-                type=\"text/css\"/>")))
+         :html-head "<link rel=\"stylesheet\"
+                    href=\"../other/mystyle.css\"
+                    type=\"text/css\"/>")))
 #+end_src
 
 - {{{kbd(C-c C-e P x)}}} ::
diff --git a/doc/org-manual.org b/doc/org-manual.org
index 914649f6e..593c848cf 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -16325,9 +16325,9 @@ directory on the local machine.
          :publishing-directory "~/public_html"
          :section-numbers nil
          :table-of-contents nil
-         :style "<link rel=\"stylesheet\"
-                href=\"../other/mystyle.css\"
-                type=\"text/css\"/>")))
+         :html-head "<link rel=\"stylesheet\"
+                    href=\"../other/mystyle.css\"
+                    type=\"text/css\"/>")))
 #+end_src
 
 *** Example: complex publishing configuration
-- 
2.30.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]