yatex
diff yahtml.el @ 565:6c09561c22f0
Use YaTeX-package-alist-default for YaTeX::usepackage-alist-default
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 24 Jan 2019 15:16:07 +0900 |
parents | 6fd30c828f96 |
children | be050eec7849 |
line diff
1.1 --- a/yahtml.el Sun Sep 10 21:38:19 2017 +0859 1.2 +++ b/yahtml.el Thu Jan 24 15:16:07 2019 +0900 1.3 @@ -1623,7 +1623,8 @@ 1.4 1.5 (defvar yahtml:meta-attrs 1.6 '(("charset" value) 1.7 - ("name" content ("keywords")("author")("copyright")("date")("GENERATOR")) 1.8 + ("name" content ("keywords")("author")("copyright")("date")("GENERATOR") 1.9 + ("viewport")) 1.10 ("http-equiv" content))) 1.11 1.12 (defun yahtml:meta () 1.13 @@ -1665,6 +1666,9 @@ 1.14 (error "Use <meta charset=\"...\" instead.. See docs/qanda.") 1.15 (yahtml-make-optional-argument 1.16 "content" (yahtml-read-parameter "content")))) 1.17 + ((string-match "viewport" name) 1.18 + ;; XXX: Very dirty static string 1.19 + "width=device-width, initial-scale=1") 1.20 (t (read-string-with-history (concat name ": "))))))) 1.21 (t (yahtml-make-optional-argument 1.22 attr (yahtml-read-parameter attr))))))