emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Hoskins <rich@walnutbeach.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Make html export honor html-viewport option
Date: Sat, 18 Jul 2015 23:08:53 -0400	[thread overview]
Message-ID: <CA+1OtoJD0AWFKa6HOJtDKz8xNbYR-w41EsZHY6YZbMb72pyuhg@mail.gmail.com> (raw)

* ox-html.el (options-alist) Change html-viewport to honor
  html-viewport: option in org file.

Value of `html-viewport' is being checked by `org-html--build-meta-info',
but it could not be changed due to its `options-alist' entry.

TINYCHANGE
---
 lisp/ox-html.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 17695f0..bb0c258 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -163,7 +163,7 @@
     (:html-use-infojs nil nil org-html-use-infojs)
     (:html-use-unicode-chars nil nil org-html-use-unicode-chars)
     (:html-validation-link nil nil org-html-validation-link)
-    (:html-viewport nil nil org-html-viewport)
+    (:html-viewport nil "html-viewport" org-html-viewport)
     (:html-inline-images nil nil org-html-inline-images)
     (:html-table-attributes nil nil org-html-table-default-attributes)
     (:html-table-row-tags nil nil org-html-table-row-tags)
-- 
2.1.0

             reply	other threads:[~2015-07-19  3:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-19  3:08 Richard Hoskins [this message]
2015-07-19  8:05 ` [PATCH] Make html export honor html-viewport option Nicolas Goaziou
2015-07-19  8:34   ` Richard Hoskins
2015-07-19  8:52     ` Rasmus
2015-07-20  7:03       ` Nicolas Goaziou
2015-07-20  8:51         ` Rasmus
2015-07-20  9:43           ` 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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+1OtoJD0AWFKa6HOJtDKz8xNbYR-w41EsZHY6YZbMb72pyuhg@mail.gmail.com \
    --to=rich@walnutbeach.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).