texlive[43499] Master/texmf-dist: jlreq (14mar17)

commits+karl at tug.org commits+karl at tug.org
Tue Mar 14 22:52:14 CET 2017


Revision: 43499
          http://tug.org/svn/texlive?view=revision&revision=43499
Author:   karl
Date:     2017-03-14 22:52:14 +0100 (Tue, 14 Mar 2017)
Log Message:
-----------
jlreq (14mar17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/jlreq/README-ja.html
    trunk/Master/texmf-dist/doc/latex/jlreq/README-ja.md
    trunk/Master/texmf-dist/doc/latex/jlreq/README.html
    trunk/Master/texmf-dist/doc/latex/jlreq/README.md
    trunk/Master/texmf-dist/tex/latex/jlreq/jlreq.cls

Modified: trunk/Master/texmf-dist/doc/latex/jlreq/README-ja.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jlreq/README-ja.html	2017-03-14 21:51:58 UTC (rev 43498)
+++ trunk/Master/texmf-dist/doc/latex/jlreq/README-ja.html	2017-03-14 21:52:14 UTC (rev 43499)
@@ -1,14 +1,49 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html lang="ja">
 <head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <meta http-equiv="Content-Style-Type" content="text/css" />
-  <meta name="generator" content="pandoc" />
+  <meta charset="utf-8">
+  <meta name="generator" content="pandoc">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
   <title></title>
   <style type="text/css">code{white-space: pre;}</style>
-  <link href="data:text/css;charset=utf-8,body%20%7B%0Afont%2Dfamily%3A%20Helvetica%2C%20arial%2C%20sans%2Dserif%3B%0Afont%2Dsize%3A%2014px%3B%0Aline%2Dheight%3A%201%2E6%3B%0Apadding%2Dtop%3A%2010px%3B%0Apadding%2Dbottom%3A%2010px%3B%0Abackground%2Dcolor%3A%20white%3B%0Apadding%3A%2030px%3B%20%7D%0Abody%20%3E%20%2A%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%20%21important%3B%20%7D%0Abody%20%3E%20%2A%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%20%21important%3B%20%7D%0Aa%20%7B%0Acolor%3A%20%234183C4%3B%20%7D%0Aa%2Eabsent%20%7B%0Acolor%3A%20%23cc0000%3B%20%7D%0Aa%2Eanchor%20%7B%0Adisplay%3A%20block%3B%0Apadding%2Dleft%3A%2030px%3B%0Amargin%2Dleft%3A%20%2D30px%3B%0Acursor%3A%20pointer%3B%0Aposition%3A%20absolute%3B%0Atop%3A%200%3B%0Aleft%3A%200%3B%0Abottom%3A%200%3B%20%7D%0Ah1%2C%20h2%2C%20h3%2C%20h4%2C%20h5%2C%20h6%20%7B%0Amargin%3A%2020px%200%2010px%3B%0Apadding%3A%200%3B%0Afont%2Dweight%3A%20bold%3B%0A%2Dwebkit%2Dfont%2Dsmoothing%3A%20antialiased%3B%0Acursor%3A%20text%3B%0Aposition%3A%20relative%3B%20%7D%0Ah1%3Ahover%20a%2Eanchor%2C%20h2%3Ahover%20a%2Eanchor%2C%20h3%3Ahover%20a%2Eanchor%2C%20h4%3Ahover%20a%2Eanchor%2C%20h5%3Ahover%20a%2Eanchor%2C%20h6%3Ahover%20a%2Eanchor%20%7B%0A%0Atext%2Ddecoration%3A%20none%3B%20%7D%0Ah1%20tt%2C%20h1%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah2%20tt%2C%20h2%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah3%20tt%2C%20h3%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah4%20tt%2C%20h4%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah5%20tt%2C%20h5%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah6%20tt%2C%20h6%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah1%20%7B%0Afont%2Dsize%3A%2028px%3B%0Acolor%3A%20black%3B%20%7D%0Ah2%20%7B%0Afont%2Dsize%3A%2024px%3B%0Aborder%2Dbottom%3A%201px%20solid%20%23cccccc%3B%0Acolor%3A%20black%3B%20%7D%0Ah3%20%7B%0Afont%2Dsize%3A%2018px%3B%20%7D%0Ah4%20%7B%0Afont%2Dsize%3A%2016px%3B%20%7D%0Ah5%20%7B%0Afont%2Dsize%3A%2014px%3B%20%7D%0Ah6%20%7B%0Acolor%3A%20%23777777%3B%0Afont%2Dsize%3A%2014px%3B%20%7D%0Ap%2C%20b!
 lockquote%2C%20ul%2C%20ol%2C%20dl%2C%20li%2C%20table%2C%20pre%20%7B%0Amargin%3A%2015px%200%3B%20%7D%0Ahr%20%7B%0A%0Aborder%3A%200%20none%3B%0Acolor%3A%20%23cccccc%3B%0Aheight%3A%204px%3B%0Apadding%3A%200%3B%20%7D%0Abody%20%3E%20h2%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Abody%20%3E%20h1%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Abody%20%3E%20h1%3Afirst%2Dchild%20%2B%20h2%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Abody%20%3E%20h3%3Afirst%2Dchild%2C%20body%20%3E%20h4%3Afirst%2Dchild%2C%20body%20%3E%20h5%3Afirst%2Dchild%2C%20body%20%3E%20h6%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Aa%3Afirst%2Dchild%20h1%2C%20a%3Afirst%2Dchild%20h2%2C%20a%3Afirst%2Dchild%20h3%2C%20a%3Afirst%2Dchild%20h4%2C%20a%3Afirst%2Dchild%20h5%2C%20a%3Afirst%2Dchild%20h6%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Ah1%20p%2C%20h2%20p%2C%20h3%20p%2C%20h4%20p%2C%20h5%20p%2C%20h6%20p%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Ali%20p%2Efirst%20%7B%0Adisplay%3A%20inline%2Dblock%3B%20%7D%0Aul%2C%20ol%20%7B%0Apadding%2Dleft%3A%2030px%3B%20%7D%0Aul%20%3Afirst%2Dchild%2C%20ol%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Aul%20%3Alast%2Dchild%2C%20ol%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Adl%20%7B%0Apadding%3A%200%3B%20%7D%0Adl%20dt%20%7B%0Afont%2Dsize%3A%2014px%3B%0Afont%2Dweight%3A%20bold%3B%0Afont%2Dstyle%3A%20italic%3B%0Apadding%3A%200%3B%0Amargin%3A%2015px%200%205px%3B%20%7D%0Adl%20dt%3Afirst%2Dchild%20%7B%0Apadding%3A%200%3B%20%7D%0Adl%20dt%20%3E%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Adl%20dt%20%3E%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Adl%20dd%20%7B%0Amargin%3A%200%200%2015px%3B%0Apadding%3A%200%2015px%3B%20%7D%0Adl%20dd%20%3E%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Adl%20dd%20%3E%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Ablockquote%20%7B%0Aborder%2Dleft%3A%204px%20solid%20%23dddddd%3B%0Ap!
 adding%3A%200%2015px%3B%0Acolor%3A%20%23777777%3B%20%7D%0Ablockquote%20%3E%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Ablockquote%20%3E%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Atable%20%7B%0Apadding%3A%200%3B%20%7D%0Atable%20tr%20%7B%0Aborder%2Dtop%3A%201px%20solid%20%23cccccc%3B%0Abackground%2Dcolor%3A%20white%3B%0Amargin%3A%200%3B%0Apadding%3A%200%3B%20%7D%0Atable%20tr%3Anth%2Dchild%282n%29%20%7B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%20%7D%0Atable%20tr%20th%20%7B%0Afont%2Dweight%3A%20bold%3B%0Aborder%3A%201px%20solid%20%23cccccc%3B%0Atext%2Dalign%3A%20left%3B%0Amargin%3A%200%3B%0Apadding%3A%206px%2013px%3B%20%7D%0Atable%20tr%20td%20%7B%0Aborder%3A%201px%20solid%20%23cccccc%3B%0Atext%2Dalign%3A%20left%3B%0Amargin%3A%200%3B%0Apadding%3A%206px%2013px%3B%20%7D%0Atable%20tr%20th%20%3Afirst%2Dchild%2C%20table%20tr%20td%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Atable%20tr%20th%20%3Alast%2Dchild%2C%20table%20tr%20td%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Aimg%20%7B%0Amax%2Dwidth%3A%20100%25%3B%20%7D%0Aspan%2Eframe%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%20%7D%0Aspan%2Eframe%20%3E%20span%20%7B%0Aborder%3A%201px%20solid%20%23dddddd%3B%0Adisplay%3A%20block%3B%0Afloat%3A%20left%3B%0Aoverflow%3A%20hidden%3B%0Amargin%3A%2013px%200%200%3B%0Apadding%3A%207px%3B%0Awidth%3A%20auto%3B%20%7D%0Aspan%2Eframe%20span%20img%20%7B%0Adisplay%3A%20block%3B%0Afloat%3A%20left%3B%20%7D%0Aspan%2Eframe%20span%20span%20%7B%0Aclear%3A%20both%3B%0Acolor%3A%20%23333333%3B%0Adisplay%3A%20block%3B%0Apadding%3A%205px%200%200%3B%20%7D%0Aspan%2Ealign%2Dcenter%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%0Aclear%3A%20both%3B%20%7D%0Aspan%2Ealign%2Dcenter%20%3E%20span%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%0Amargin%3A%2013px%20auto%200%3B%0Atext%2Dalign%3A%20center%3B%20%7D%0Aspan%2Ealign%2Dcenter%20span%20img%20%7B%0Amargin%3A%200%20auto%3B%0Atext%2Dalign%3A%20center%3B%20%7D%0Aspan%2Ealign%2Dright%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3!
 A%20hidden%3B%0Aclear%3A%20both%3B%20%7D%0Aspan%2Ealign%2Dright%20%3E%20span%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%0Amargin%3A%2013px%200%200%3B%0Atext%2Dalign%3A%20right%3B%20%7D%0Aspan%2Ealign%2Dright%20span%20img%20%7B%0Amargin%3A%200%3B%0Atext%2Dalign%3A%20right%3B%20%7D%0Aspan%2Efloat%2Dleft%20%7B%0Adisplay%3A%20block%3B%0Amargin%2Dright%3A%2013px%3B%0Aoverflow%3A%20hidden%3B%0Afloat%3A%20left%3B%20%7D%0Aspan%2Efloat%2Dleft%20span%20%7B%0Amargin%3A%2013px%200%200%3B%20%7D%0Aspan%2Efloat%2Dright%20%7B%0Adisplay%3A%20block%3B%0Amargin%2Dleft%3A%2013px%3B%0Aoverflow%3A%20hidden%3B%0Afloat%3A%20right%3B%20%7D%0Aspan%2Efloat%2Dright%20%3E%20span%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%0Amargin%3A%2013px%20auto%200%3B%0Atext%2Dalign%3A%20right%3B%20%7D%0Acode%2C%20tt%20%7B%0Amargin%3A%200%202px%3B%0Apadding%3A%200%205px%3B%0Awhite%2Dspace%3A%20nowrap%3B%0Aborder%3A%201px%20solid%20%23eaeaea%3B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%0Aborder%2Dradius%3A%203px%3B%20%7D%0Apre%20code%20%7B%0Amargin%3A%200%3B%0Apadding%3A%200%3B%0Awhite%2Dspace%3A%20pre%3B%0Aborder%3A%20none%3B%0Abackground%3A%20transparent%3B%20%7D%0A%2Ehighlight%20pre%20%7B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%0Aborder%3A%201px%20solid%20%23cccccc%3B%0Afont%2Dsize%3A%2013px%3B%0Aline%2Dheight%3A%2019px%3B%0Aoverflow%3A%20auto%3B%0Apadding%3A%206px%2010px%3B%0Aborder%2Dradius%3A%203px%3B%20%7D%0Apre%20%7B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%0Aborder%3A%201px%20solid%20%23cccccc%3B%0Afont%2Dsize%3A%2013px%3B%0Aline%2Dheight%3A%2019px%3B%0Aoverflow%3A%20auto%3B%0Apadding%3A%206px%2010px%3B%0Aborder%2Dradius%3A%203px%3B%20%7D%0Apre%20code%2C%20pre%20tt%20%7B%0Abackground%2Dcolor%3A%20transparent%3B%0Aborder%3A%20none%3B%20%7D%0A" rel="stylesheet" type="text/css" />
+  <style>
+    .markdown-body {
+      padding-top: 10px;
+      padding-bottom: 10px;
+      background-color: white;
+      padding: 30px;
+    }
+  </style>
+  <!-- github-markdown.css 2.4.1 by Sindre Sorhus
+  https://github.com/sindresorhus/github-markdown-css
+  It is distributed under the MIT license:
+  Copyright (c) Sindre Sorhus <sindresorhus at gmail.com> (sindresorhus.com)
+
+  Permission is hereby granted, free of charge, to any person obtaining a copy
+  of this software and associated documentation files (the "Software"), to deal
+  in the Software without restriction, including without limitation the rights
+  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+  copies of the Software, and to permit persons to whom the Software is
+  furnished to do so, subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be included in
+  all copies or substantial portions of the Software.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+  THE SOFTWARE.
+  -->
+  <link href="data:text/css;charset=utf-8,%40font%2Dface%20%7B%0Afont%2Dfamily%3A%20octicons%2Dlink%3B%0A%7D%0A%2Emarkdown%2Dbody%20%7B%0A%2Dms%2Dtext%2Dsize%2Dadjust%3A%20100%25%3B%0A%2Dwebkit%2Dtext%2Dsize%2Dadjust%3A%20100%25%3B%0Aline%2Dheight%3A%201%2E5%3B%0Acolor%3A%20%23333%3B%0Afont%2Dfamily%3A%20%2Dapple%2Dsystem%2C%20BlinkMacSystemFont%2C%20%22Segoe%20UI%22%2C%20Roboto%2C%20Helvetica%2C%20Arial%2C%20sans%2Dserif%2C%20%22Apple%20Color%20Emoji%22%2C%20%22Segoe%20UI%20Emoji%22%2C%20%22Segoe%20UI%20Symbol%22%3B%0Afont%2Dsize%3A%2016px%3B%0Aline%2Dheight%3A%201%2E5%3B%0Aword%2Dwrap%3A%20break%2Dword%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dc%20%7B%0Acolor%3A%20%23969896%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dc1%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Ds%20%2Epl%2Dv%20%7B%0Acolor%3A%20%230086b3%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2De%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Den%20%7B%0Acolor%3A%20%23795da3%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dsmi%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Ds%20%2Epl%2Ds1%20%7B%0Acolor%3A%20%23333%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dent%20%7B%0Acolor%3A%20%2363a35c%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dk%20%7B%0Acolor%3A%20%23a71d5d%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Ds%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dpds%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Ds%20%2Epl%2Dpse%20%2Epl%2Ds1%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%20%2Epl%2Dcce%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%20%2Epl%2Dsre%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%20%2Epl%2Dsra%20%7B%0Acolor%3A%20%23183691%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dv%20%7B%0Acolor%3A%20%23ed6a43%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Did%20%7B%0Acolor%3A%20%23b52a1d%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dii%20%7B%0Acolor%3A%20%23f8f8f8%3B%0Abackground%2Dcolor%3A%20%23b52a1d%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%20%2Epl%2Dcce%20%7B%0Afont%2Dweight%3A%20bold%3B%0Acolor%3A%20%2363a35c%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dml%20%7B%0Acolor%3A%20%23693a17%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmh%2C%0A%2Emarkdown%2!
 Dbody%20%2Epl%2Dmh%20%2Epl%2Den%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dms%20%7B%0Afont%2Dweight%3A%20bold%3B%0Acolor%3A%20%231d3e81%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmq%20%7B%0Acolor%3A%20%23008080%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmi%20%7B%0Afont%2Dstyle%3A%20italic%3B%0Acolor%3A%20%23333%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmb%20%7B%0Afont%2Dweight%3A%20bold%3B%0Acolor%3A%20%23333%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmd%20%7B%0Acolor%3A%20%23bd2c00%3B%0Abackground%2Dcolor%3A%20%23ffecec%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmi1%20%7B%0Acolor%3A%20%2355a532%3B%0Abackground%2Dcolor%3A%20%23eaffea%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmdr%20%7B%0Afont%2Dweight%3A%20bold%3B%0Acolor%3A%20%23795da3%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmo%20%7B%0Acolor%3A%20%231d3e81%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Eocticon%20%7B%0Adisplay%3A%20inline%2Dblock%3B%0Avertical%2Dalign%3A%20text%2Dtop%3B%0Afill%3A%20currentColor%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%20%7B%0Abackground%2Dcolor%3A%20transparent%3B%0A%2Dwebkit%2Dtext%2Ddecoration%2Dskip%3A%20objects%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%3Aactive%2C%0A%2Emarkdown%2Dbody%20a%3Ahover%20%7B%0Aoutline%2Dwidth%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20strong%20%7B%0Afont%2Dweight%3A%20inherit%3B%0A%7D%0A%2Emarkdown%2Dbody%20strong%20%7B%0Afont%2Dweight%3A%20bolder%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%20%7B%0Afont%2Dsize%3A%202em%3B%0Amargin%3A%200%2E67em%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20img%20%7B%0Aborder%2Dstyle%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20svg%3Anot%28%3Aroot%29%20%7B%0Aoverflow%3A%20hidden%3B%0A%7D%0A%2Emarkdown%2Dbody%20code%2C%0A%2Emarkdown%2Dbody%20kbd%2C%0A%2Emarkdown%2Dbody%20pre%20%7B%0Afont%2Dfamily%3A%20monospace%2C%20monospace%3B%0Afont%2Dsize%3A%201em%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%20%7B%0Abox%2Dsizing%3A%20content%2Dbox%3B%0Aheight%3A%200%3B%0Aoverflow%3A%20visible%3B%0A%7D%0A%2Emarkdown%2Dbody%20input%20%7B%0Afont%3A%20inherit%3B%0Amargin%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20input%20%7B%0Aoverflow%3A%20visible%3B%0A%7D%0A%2Emarkdown%2D!
 body%20%5Btype%3D%22checkbox%22%5D%20%7B%0Abox%2Dsizing%3A%20border%2Dbox%3B%0Apadding%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2A%20%7B%0Abox%2Dsizing%3A%20border%2Dbox%3B%0A%7D%0A%2Emarkdown%2Dbody%20input%20%7B%0Afont%2Dfamily%3A%20inherit%3B%0Afont%2Dsize%3A%20inherit%3B%0Aline%2Dheight%3A%20inherit%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%20%7B%0Acolor%3A%20%234078c0%3B%0Atext%2Ddecoration%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%3Ahover%2C%0A%2Emarkdown%2Dbody%20a%3Aactive%20%7B%0Atext%2Ddecoration%3A%20underline%3B%0A%7D%0A%2Emarkdown%2Dbody%20strong%20%7B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%20%7B%0Aheight%3A%200%3B%0Amargin%3A%2015px%200%3B%0Aoverflow%3A%20hidden%3B%0Abackground%3A%20transparent%3B%0Aborder%3A%200%3B%0Aborder%2Dbottom%3A%201px%20solid%20%23ddd%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%3A%3Abefore%20%7B%0Adisplay%3A%20table%3B%0Acontent%3A%20%22%22%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%3A%3Aafter%20%7B%0Adisplay%3A%20table%3B%0Aclear%3A%20both%3B%0Acontent%3A%20%22%22%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20%7B%0Aborder%2Dspacing%3A%200%3B%0Aborder%2Dcollapse%3A%20collapse%3B%0A%7D%0A%2Emarkdown%2Dbody%20td%2C%0A%2Emarkdown%2Dbody%20th%20%7B%0Apadding%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%2C%0A%2Emarkdown%2Dbody%20h2%2C%0A%2Emarkdown%2Dbody%20h3%2C%0A%2Emarkdown%2Dbody%20h4%2C%0A%2Emarkdown%2Dbody%20h5%2C%0A%2Emarkdown%2Dbody%20h6%20%7B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%20%7B%0Afont%2Dsize%3A%2032px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h2%20%7B%0Afont%2Dsize%3A%2024px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h3%20%7B%0Afont%2Dsize%3A%2020px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h4%20%7B%0Afont%2Dsize%3A%2016px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h5%20%7B%0Afont%2Dsize%3A%2014px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h6%20%7B%0Afont%2Dsize%3A%2012px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20p%20%7B%0Am!
 argin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%2010px%3B%0A%7D%0A%2Emarkdown%2Dbody%20blockquote%20%7B%0Amargin%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20ul%2C%0A%2Emarkdown%2Dbody%20ol%20%7B%0Apadding%2Dleft%3A%200%3B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20ol%20ol%2C%0A%2Emarkdown%2Dbody%20ul%20ol%20%7B%0Alist%2Dstyle%2Dtype%3A%20lower%2Droman%3B%0A%7D%0A%2Emarkdown%2Dbody%20ul%20ul%20ol%2C%0A%2Emarkdown%2Dbody%20ul%20ol%20ol%2C%0A%2Emarkdown%2Dbody%20ol%20ul%20ol%2C%0A%2Emarkdown%2Dbody%20ol%20ol%20ol%20%7B%0Alist%2Dstyle%2Dtype%3A%20lower%2Dalpha%3B%0A%7D%0A%2Emarkdown%2Dbody%20dd%20%7B%0Amargin%2Dleft%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20code%20%7B%0Afont%2Dfamily%3A%20Consolas%2C%20%22Liberation%20Mono%22%2C%20Menlo%2C%20Courier%2C%20monospace%3B%0Afont%2Dsize%3A%2012px%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%20%7B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%200%3B%0Afont%3A%2012px%20Consolas%2C%20%22Liberation%20Mono%22%2C%20Menlo%2C%20Courier%2C%20monospace%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Eocticon%20%7B%0Avertical%2Dalign%3A%20text%2Dbottom%3B%0A%7D%0A%2Emarkdown%2Dbody%20input%20%7B%0A%2Dwebkit%2Dfont%2Dfeature%2Dsettings%3A%20%22liga%22%200%3B%0Afont%2Dfeature%2Dsettings%3A%20%22liga%22%200%3B%0A%7D%0A%2Emarkdown%2Dbody%3A%3Abefore%20%7B%0Adisplay%3A%20table%3B%0Acontent%3A%20%22%22%3B%0A%7D%0A%2Emarkdown%2Dbody%3A%3Aafter%20%7B%0Adisplay%3A%20table%3B%0Aclear%3A%20both%3B%0Acontent%3A%20%22%22%3B%0A%7D%0A%2Emarkdown%2Dbody%3E%2A%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%3E%2A%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%3Anot%28%5Bhref%5D%29%20%7B%0Acolor%3A%20inherit%3B%0Atext%2Ddecoration%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Eanchor%20%7B%0Afloat%3A%20left%3B%0Apadding%2Dright%3A%204px%3B%0Amargin%2Dleft%3A%20%2D20px%3B%0Aline%2Dheight%3A%201%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Eanchor%3Afocus%20%7B%0Aoutline%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20p%2C%0A%2Ema!
 rkdown%2Dbody%20blockquote%2C%0A%2Emarkdown%2Dbody%20ul%2C%0A%2Emarkdown%2Dbody%20ol%2C%0A%2Emarkdown%2Dbody%20dl%2C%0A%2Emarkdown%2Dbody%20table%2C%0A%2Emarkdown%2Dbody%20pre%20%7B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%2016px%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%20%7B%0Aheight%3A%200%2E25em%3B%0Apadding%3A%200%3B%0Amargin%3A%2024px%200%3B%0Abackground%2Dcolor%3A%20%23e7e7e7%3B%0Aborder%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20blockquote%20%7B%0Apadding%3A%200%201em%3B%0Acolor%3A%20%23777%3B%0Aborder%2Dleft%3A%200%2E25em%20solid%20%23ddd%3B%0A%7D%0A%2Emarkdown%2Dbody%20blockquote%3E%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20blockquote%3E%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20kbd%20%7B%0Adisplay%3A%20inline%2Dblock%3B%0Apadding%3A%203px%205px%3B%0Afont%2Dsize%3A%2011px%3B%0Aline%2Dheight%3A%2010px%3B%0Acolor%3A%20%23555%3B%0Avertical%2Dalign%3A%20middle%3B%0Abackground%2Dcolor%3A%20%23fcfcfc%3B%0Aborder%3A%20solid%201px%20%23ccc%3B%0Aborder%2Dbottom%2Dcolor%3A%20%23bbb%3B%0Aborder%2Dradius%3A%203px%3B%0Abox%2Dshadow%3A%20inset%200%20%2D1px%200%20%23bbb%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%2C%0A%2Emarkdown%2Dbody%20h2%2C%0A%2Emarkdown%2Dbody%20h3%2C%0A%2Emarkdown%2Dbody%20h4%2C%0A%2Emarkdown%2Dbody%20h5%2C%0A%2Emarkdown%2Dbody%20h6%20%7B%0Amargin%2Dtop%3A%2024px%3B%0Amargin%2Dbottom%3A%2016px%3B%0Afont%2Dweight%3A%20600%3B%0Aline%2Dheight%3A%201%2E25%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h2%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h3%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h4%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h5%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h6%20%2Eocticon%2Dlink%20%7B%0Acolor%3A%20%23000%3B%0Avertical%2Dalign%3A%20middle%3B%0Avisibility%3A%20hidden%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%3Ahover%20%2Eanchor%2C%0A%2Emarkdown%2Dbody%20h2%3Ahover%20%2Eanchor%2C%0A%2Emarkdown%2Dbody%20h3%3Ahover%20%2Eanchor%2C%0A%2Emarkdown%2Dbody%20h4%3Ahover%20%2Eanchor%2C%0A%2Ema!
 rkdown%2Dbody%20h5%3Ahover%20%2Eanchor%2C%0A%2Emarkdown%2Dbody%20h6%3Ahover%20%2Eanchor%20%7B%0Atext%2Ddecoration%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h2%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h3%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h4%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h5%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h6%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%20%7B%0Avisibility%3A%20visible%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%20%7B%0Apadding%2Dbottom%3A%200%2E3em%3B%0Afont%2Dsize%3A%202em%3B%0Aborder%2Dbottom%3A%201px%20solid%20%23eee%3B%0A%7D%0A%2Emarkdown%2Dbody%20h2%20%7B%0Apadding%2Dbottom%3A%200%2E3em%3B%0Afont%2Dsize%3A%201%2E5em%3B%0Aborder%2Dbottom%3A%201px%20solid%20%23eee%3B%0A%7D%0A%2Emarkdown%2Dbody%20h3%20%7B%0Afont%2Dsize%3A%201%2E25em%3B%0A%7D%0A%2Emarkdown%2Dbody%20h4%20%7B%0Afont%2Dsize%3A%201em%3B%0A%7D%0A%2Emarkdown%2Dbody%20h5%20%7B%0Afont%2Dsize%3A%200%2E875em%3B%0A%7D%0A%2Emarkdown%2Dbody%20h6%20%7B%0Afont%2Dsize%3A%200%2E85em%3B%0Acolor%3A%20%23777%3B%0A%7D%0A%2Emarkdown%2Dbody%20ul%2C%0A%2Emarkdown%2Dbody%20ol%20%7B%0Apadding%2Dleft%3A%202em%3B%0A%7D%0A%2Emarkdown%2Dbody%20ul%20ul%2C%0A%2Emarkdown%2Dbody%20ul%20ol%2C%0A%2Emarkdown%2Dbody%20ol%20ol%2C%0A%2Emarkdown%2Dbody%20ol%20ul%20%7B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20li%3Ep%20%7B%0Amargin%2Dtop%3A%2016px%3B%0A%7D%0A%2Emarkdown%2Dbody%20li%2Bli%20%7B%0Amargin%2Dtop%3A%200%2E25em%3B%0A%7D%0A%2Emarkdown%2Dbody%20dl%20%7B%0Apadding%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20dl%20dt%20%7B%0Apadding%3A%200%3B%0Amargin%2Dtop%3A%2016px%3B%0Afont%2Dsize%3A%201em%3B%0Afont%2Dstyle%3A%20italic%3B%0Afont%2Dweight%3A%20bold%3B%0A%7D%0A%2Emarkdown%2Dbody%20dl%20dd%20%7B%0Apadding%3A%200%2016px%3B%0Amargin%2Dbottom%3A%2016px%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20%7B%0Adisplay%3A%20block%3B%0Awidth%3A%20100%25%3B%0Aoverflow%3A%2!
 0auto%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20th%20%7B%0Afont%2Dweight%3A%20bold%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20th%2C%0A%2Emarkdown%2Dbody%20table%20td%20%7B%0Apadding%3A%206px%2013px%3B%0Aborder%3A%201px%20solid%20%23ddd%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20tr%20%7B%0Abackground%2Dcolor%3A%20%23fff%3B%0Aborder%2Dtop%3A%201px%20solid%20%23ccc%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20tr%3Anth%2Dchild%282n%29%20%7B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%0A%7D%0A%2Emarkdown%2Dbody%20img%20%7B%0Amax%2Dwidth%3A%20100%25%3B%0Abox%2Dsizing%3A%20content%2Dbox%3B%0Abackground%2Dcolor%3A%20%23fff%3B%0A%7D%0A%2Emarkdown%2Dbody%20code%20%7B%0Apadding%3A%200%3B%0Apadding%2Dtop%3A%200%2E2em%3B%0Apadding%2Dbottom%3A%200%2E2em%3B%0Amargin%3A%200%3B%0Afont%2Dsize%3A%2085%25%3B%0Abackground%2Dcolor%3A%20rgba%280%2C0%2C0%2C0%2E04%29%3B%0Aborder%2Dradius%3A%203px%3B%0A%7D%0A%2Emarkdown%2Dbody%20code%3A%3Abefore%2C%0A%2Emarkdown%2Dbody%20code%3A%3Aafter%20%7B%0Aletter%2Dspacing%3A%20%2D0%2E2em%3B%0Acontent%3A%20%22%5C00a0%22%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%20%7B%0Aword%2Dwrap%3A%20normal%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%3Ecode%20%7B%0Apadding%3A%200%3B%0Amargin%3A%200%3B%0Afont%2Dsize%3A%20100%25%3B%0Aword%2Dbreak%3A%20normal%3B%0Awhite%2Dspace%3A%20pre%3B%0Abackground%3A%20transparent%3B%0Aborder%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Ehighlight%20%7B%0Amargin%2Dbottom%3A%2016px%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Ehighlight%20pre%20%7B%0Amargin%2Dbottom%3A%200%3B%0Aword%2Dbreak%3A%20normal%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Ehighlight%20pre%2C%0A%2Emarkdown%2Dbody%20pre%20%7B%0Apadding%3A%2016px%3B%0Aoverflow%3A%20auto%3B%0Afont%2Dsize%3A%2085%25%3B%0Aline%2Dheight%3A%201%2E45%3B%0Abackground%2Dcolor%3A%20%23f7f7f7%3B%0Aborder%2Dradius%3A%203px%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%20code%20%7B%0Adisplay%3A%20inline%3B%0Amax%2Dwidth%3A%20auto%3B%0Apadding%3A%200%3B%0Amargin%3A%200%3B%0Aoverflow%3A%20visible%3B%0Aline%2Dheight%3A%20inherit%3B%0Aword%2Dwrap%3A%20normal%3B%0Abackground%2Dcolor%3A%20transparent%3B%0Abor!
 der%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%20code%3A%3Abefore%2C%0A%2Emarkdown%2Dbody%20pre%20code%3A%3Aafter%20%7B%0Acontent%3A%20normal%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D0%20%7B%0Apadding%2Dleft%3A%200%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D1%20%7B%0Apadding%2Dleft%3A%203px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D2%20%7B%0Apadding%2Dleft%3A%206px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D3%20%7B%0Apadding%2Dleft%3A%2012px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D4%20%7B%0Apadding%2Dleft%3A%2024px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D5%20%7B%0Apadding%2Dleft%3A%2036px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D6%20%7B%0Apadding%2Dleft%3A%2048px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Efull%2Dcommit%20%2Ebtn%2Doutline%3Anot%28%3Adisabled%29%3Ahover%20%7B%0Acolor%3A%20%234078c0%3B%0Aborder%3A%201px%20solid%20%234078c0%3B%0A%7D%0A%2Emarkdown%2Dbody%20kbd%20%7B%0Adisplay%3A%20inline%2Dblock%3B%0Apadding%3A%203px%205px%3B%0Afont%3A%2011px%20Consolas%2C%20%22Liberation%20Mono%22%2C%20Menlo%2C%20Courier%2C%20monospace%3B%0Aline%2Dheight%3A%2010px%3B%0Acolor%3A%20%23555%3B%0Avertical%2Dalign%3A%20middle%3B%0Abackground%2Dcolor%3A%20%23fcfcfc%3B%0Aborder%3A%20solid%201px%20%23ccc%3B%0Aborder%2Dbottom%2Dcolor%3A%20%23bbb%3B%0Aborder%2Dradius%3A%203px%3B%0Abox%2Dshadow%3A%20inset%200%20%2D1px%200%20%23bbb%3B%0A%7D%0A%2Emarkdown%2Dbody%20%3Achecked%2B%2Eradio%2Dlabel%20%7B%0Aposition%3A%20relative%3B%0Az%2Dindex%3A%201%3B%0Aborder%2Dcolor%3A%20%234078c0%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Etask%2Dlist%2Ditem%20%7B%0Alist%2Dstyle%2Dtype%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Etask%2Dlist%2Ditem%2B%2Etask%2Dlist%2Ditem%20%7B%0Amargin%2Dtop%3A%203px%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Etask%2Dlist%2Ditem%20input%20%7B%0Amargin%3A%200%200%2E2em%200%2E25em%20%2D1%2E6em%3B%0Avertical%2Dalign%3A%20middle%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%20%7B%0Aborder%2Dbottom%2Dcolor%3A%20%23eee%3B%0A%7D%0A" rel="stylesheet">
+  <!--[if lt IE 9]>
+    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
+  <![endif]-->
 </head>
 <body>
+<article class="markdown-body">
 <h1 id="jlreq">jlreq</h1>
 <h2>これは何?</h2>
 <p><a href="https://www.w3.org/TR/jlreq/ja/">日本語組版処理の要件</a>の実装を試みる<a href="https://osdn.jp/projects/luatex-ja/wiki/FrontPage">LuaTeX-ja</a> / pLaTeX / upLaTeX用のクラスファイルと,それに必要なJFMの組み合わせです.</p>
@@ -32,9 +67,11 @@
 <p>その他,<code>oneside / twoside / onecolumn / twocolumn / titlepage / notitlepage / draft / final / openright / openany / leqno / fleqn</code>というよくあるオプションを受け付けます.</p>
 <p>標準的な文書クラスと同じように中身を書くことができますが,次のような命令が追加 / 拡張されています.</p>
 <h3 id="section"><code>\section</code></h3>
-<p><code>\section*[running head]{見出し文字列}[副題]</code>というように,通常の書式に加えて副題を受け付けられるように拡張されています.その他,<code>\part</code>(articleのみ),<code>\chapter</code>(book/reportのみ),<code>\subsection</code>も副題を受け付けます.(<code>\subsubsection</code>も受け付けますが,汚い見た目になります.)</p>
+<p><code>\section*[running head]{見出し文字列}[副題]</code>というように,通常の書式に加えて副題を受け付けられるように拡張されています.その他,<code>\part</code>(articleのみ),<code>\chapter</code>(book/reportのみ),<code>\subsection</code>,<code>\subsubsection</code>も副題を受け付けます.</p>
+<h3 id="abstract"><code>abstract</code>環境</h3>
+<p>プリアンブルにもかけるようになっています.プリアンブルに書かれた場合は,<code>\maketitle</code>とともに出力されます.二段組の場合は,段組にならず概要を出力することができます.</p>
 <h3 id="sidenote"><code>\sidenote</code></h3>
-<p>傍注(縦組みの場合は脚注)を出力します.デフォルトでは<code>\footnote</code>と同様の書式となりますが,クラスオプションに<code>sidenote_type=mark</code>が指定されている場合,その書式は<code>\sidenote{該当項目}{注}</code>となります.たとえば</p>
+<p>傍注(縦組みの場合は脚注)を出力します.デフォルトでは<code>\footnote</code>と同様の書式となりますが,クラスオプションに<code>sidenote_type=symbol</code>が指定されている場合,その書式は<code>\sidenote{該当項目}{注}</code>となります.たとえば</p>
 <pre><code>刊行できる\sidenote{原稿}{印刷などの方法により……}を入手する仕事である.</code></pre>
 <p>とします.後の説明も参照してください.</p>
 <p>デフォルトの基本版面では余白が少なく,実用にはならないかと思います.後の基本版面の設定を参考にしてください.</p>
@@ -42,7 +79,7 @@
 <p>後注を指定します.<code>\footnote</code>と同様の書式です.デフォルトでは,注自身の出力は見出し直前に行われます.この動作はクラスオプションにより制御できます.また<code>\theendnotes</code>を実行するとその場に出力をします.</p>
 <h3 id="warichu"><code>\warichu</code></h3>
 <p>割注を出力します.行分割位置などは自動で計算されます.(複数回のコンパイルが必要.)<code>\warichu*</code>ではこれらの位置を手動で指定できます.書式は</p>
-<p><code>\warichu*{(一行目前) & (一行目後)\\ (二行目前) & (二行目後)...}</code></p>
+<pre><code>\warichu*{(一行目前) & (一行目後)\\ (二行目前) & (二行目後)...}</code></pre>
 <p>です.<code>&</code>が省略されている場合は自動で調整されます.</p>
 <h3 id="jlreqsetup"><code>\jlreqsetup</code></h3>
 <p>設定用命令です.プリアンブルでしか使えません.文書に対する殆どの設定はクラスオプションにより行いますが,一部の設定はこの命令を通じて行います.</p>
@@ -57,34 +94,34 @@
 <p>設計はクラスオプションまたは<code>\jlreqsetup</code>によりkeyval形式で行います.以下では次の用法を使います.</p>
 <ul>
 <li><code>[A/B]</code>: AまたはBです.<code>[A/B/C]</code>等も同様.</li>
-<li><code><寸法></code>: TeXが認識する寸法です.簡単な式(10pt+10ptのような)を使うこともできます.また,場合によっては次のような特殊な値を使うこともできます.
+<li><code><寸法></code>: TeXが認識する寸法です.簡単な式(10pt+10ptのような)を使うこともできます.また,クラスオプションでは,場合によっては次のような特殊な値を使うこともできます.(これらはpLaTeX / upLaTeXではもとから利用可能ですが,LuaLaTeXでも利用可能なように処理されています.)<code>\jlreqsetup</code>内のような場所では,常に<code>\zw</code>や<code>\zh</code>により全角幅が記述できます.以下,たとえば<code>Q</code>が利用可能な場合は<code><寸法;Q></code>のように記述します.
 <ul>
 <li><code>Q</code>: 0.25mmと解釈されます.</li>
-<li><code>zh</code>, <code>zw</code>: 全角幅として解釈されます.</li>
+<li><code>zw</code>, <code>zh</code>: 全角幅として解釈されます.</li>
 </ul></li>
 </ul>
-<p>たとえば<code>Q</code>が利用可能な場合は<code><寸法;Q></code>のように記述します.</p>
 <h3>基本版面</h3>
-<p>すべてクラスファイルへのオプションです.</p>
+<p>クラスオプションです.</p>
 <ul>
 <li><code>paper=[<紙サイズ名>/{<寸法>,<寸法>}]</code>:紙サイズです.紙サイズ名はa0からa10,b0からb10,c2からc8を指定できます.B列はJIS B列です.また,<code>{<縦>,<横>}</code>と直接寸法を指定することもできます.</li>
 <li><code>fontsize=<寸法;Q></code> : フォントサイズ.デフォルトは10pt.</li>
 <li><code>line_length=<寸法;zw,zh></code> : 一行の長さ.デフォルトは紙の縦幅の0.75倍.実際の値は一文字の長さの整数倍になるように補正されます.</li>
 <li><code>number_of_lines=<整数値></code> : 一ページの行数.デフォルトは紙の横幅の0.75倍になるような値.</li>
-<li><code>gutter=<寸法;zh,zw></code> : のどの余白の大きさ.
+<li><code>gutter=<寸法;zw,zh></code> : のどの余白の大きさ.
 <ul>
 <li><code>tate</code>無指定時は奇数ページ左,偶数ページ右の余白</li>
 <li><code>tate</code>指定時は奇数ページ右,偶数ページ左の余白</li>
 <li><code>twoside</code>が指定されていない時は,常に奇数ページ扱いで余白が設定される</li>
 </ul></li>
-<li><code>head_space=<寸法;zh,zw></code> : 天の空き量.デフォルトは中央寄せになるような値.</li>
-<li><code>foot_space=<寸法;zh,zw></code> : 地の空き量.デフォルトは中央寄せになるような値.</li>
-<li><code>baselineskip=<寸法;Q,zh,zw></code> : 行送り.デフォルトはfontsizeの1.7倍.</li>
-<li><code>linegap=<寸法;Q,zh,zw></code> : 行間.</li>
+<li><code>head_space=<寸法;zw,zh></code> : 天の空き量.デフォルトは中央寄せになるような値.</li>
+<li><code>foot_space=<寸法;zw,zh></code> : 地の空き量.デフォルトは中央寄せになるような値.</li>
+<li><code>baselineskip=<寸法;Q,zw,zh></code> : 行送り.デフォルトはfontsizeの1.7倍.</li>
+<li><code>linegap=<寸法;Q,zw,zh></code> : 行間.</li>
 <li><code>headfoot_sidemargin=<寸法;zw,zh></code>:柱やノンブルの左右の空き.</li>
 <li><code>column_gap=<寸法;zw,zh></code>: 段間(twocolumn指定時のみ).</li>
 </ul>
 <h3>組み方</h3>
+<p>クラスオプションです.</p>
 <ul>
 <li><code>open_bracket_pos=[zenkaku_tentsuki/zenkakunibu_nibu/nibu_tentsuki]</code>: 始め括弧が行頭に来た際の配置方法を指定します.それぞれ段落開始全角折り返し行頭天付き(デフォルト),段落開始全角二分折り返し行頭二分,段落開始二分折り返し行頭天付きを意味します.</li>
 <li><code>hanging_punctuation</code>: ぶら下げ組をします.</li>
@@ -91,14 +128,14 @@
 </ul>
 <h3>注関係</h3>
 <ul>
-<li><code>reference_mark=[inline/interlinear]</code>: 合印の配置方法を指定します.<code>inline</code>にすると該当項目の後ろの行中に配置します.<code>interlinear</code>を指定すると該当項目の上(横組)または右(縦組)に配置します.</li>
-<li><p><code>sidenote_type=[number/symbol]</code>: 傍注と本文との対応の方法を指定します.<code>number</code>が規定で,注の位置に通し番号が入り,それにより対応が示されます.<code>symbol</code>とすると,注の位置に特定の記号が入り,また注がついている単語が強調されます.ここに入る記号と単語の強調は<code>\jlreqsetup</code>に次を渡すことで指定します.</p>
+<li><code>reference_mark=[inline/interlinear]</code>: 合印の配置方法を指定します.<code>inline</code>にすると該当項目の後ろの行中に配置します.<code>interlinear</code>を指定すると該当項目の上(横組)または右(縦組)に配置します.クラスオプションです.</li>
+<li><p><code>sidenote_type=[number/symbol]</code>: クラスオプションです.傍注と本文との対応の方法を指定します.<code>number</code>が規定で,注の位置に通し番号が入り,それにより対応が示されます.<code>symbol</code>とすると,注の位置に特定の記号が入り,また注がついている単語が強調されます.ここに入る記号と単語の強調は<code>\jlreqsetup</code>に次を渡すことで指定します.</p>
 <ul>
 <li><code>sidenote_symbol</code>: 注の位置に入る記号.デフォルト*</li>
 <li><code>sidenote_keyword_font</code>: 注のついている単語のフォント命令.デフォルトは無し(強調しない)</li>
 </ul></li>
-<li><code>sidenote_width=<寸法;zh,zw></code>: 傍注の幅を指定します.基本版面の設定に合わせて設定してください.</li>
-<li><p><code>endnote_position=[headings/paragraph/{_<見出し名1>,_<見出し名2>,...}]</code>:後注の出力場所を指定します.<code>headings</code>は各見出しの直前(デフォルト),<code>paragraph</code>は改段落の際に出力します.また,<code>endnote_position={_chapter,_section}</code>とすると,<code>\chapter</code>と<code>\section</code>の直前に出力します.</p></li>
+<li><code>sidenote_width=<寸法;zw,zh></code>: 傍注の幅を指定します.基本版面の設定に合わせて設定してください.クラスオプションです.</li>
+<li><p><code>endnote_position=[headings/paragraph/{_<見出し名1>,_<見出し名2>,...}]</code>:後注の出力場所を指定します.<code>headings</code>は各見出しの直前(デフォルト),<code>paragraph</code>は改段落の際に出力します.また,<code>endnote_position={_chapter,_section}</code>とすると,<code>\chapter</code>と<code>\section</code>の直前に出力します.クラスオプションです.</p></li>
 </ul>
 <h3>キャプション</h3>
 <p>図表のキャプションを<code>\jlreqsetup</code>で変更できます.</p>
@@ -106,6 +143,14 @@
 <li><code>caption_font=<命令></code>: キャプション自身のフォントを指定します.</li>
 <li><code>caption_label_font=<命令></code>: キャプションのラベルのフォントを指定します.</li>
 </ul>
+<h3>引用</h3>
+<p><code>quote / quotation / verse</code>環境の挙動をクラスオプションで指定できます.</p>
+<ul>
+<li><code>quote_indent=<寸法;zw,zh></code>: 字下げを指定します.デフォルトは2zwです.一行の長さが文字サイズの整数倍になるように調整されます.</li>
+<li><code>quote_end_indent=<寸法;zw,zh></code>: 字上げを指定します.デフォルトは0zwです.</li>
+<li><code>quote_beforeafter_space=<寸法></code>: 前後の空きを指定します.<code>quote_beforeafter_space=1\baselineskip</code>とすると一行あきます.</li>
+<li><code>quote_fontsize=[normalsize/small/footnotesize/scriptsize/tiny]</code>: フォントサイズを指定します.</li>
+</ul>
 <h2>見出し</h2>
 <p>見出しの設定は,<code>\Declare***Heading</code>という命令で行います(***には見出しの種類に応じた文字列が入る).書式はすべて</p>
 <pre><code>\Declare****Heading{<命令名>}{<レベル>}{<設定>}</code></pre>
@@ -116,33 +161,51 @@
 <li><code>type=[han/naka]</code>: <code>han</code>だと半扉見出しを,<code>naka</code>だと中扉見出しを作ります.</li>
 <li><code>pagestyle=<ページスタイル></code>: 見出し箇所のページスタイルを指定します.</li>
 <li><code>label_format=<書式></code>: ラベルを出力する命令を指定します.たとえば<code>label_format={第\thechapter 章}</code>のように指定します.</li>
-<li><code>format=<書式></code>: 実際に出力する書式を指定します.<code>format={\null\vfill {\Huge\bfseries #1#2}}</code>のようにします.<code>#1</code>はラベルに,<code>#2</code>は見出し文字列に置き換えられます.</li>
+<li><code>format=<書式></code>: 実際に出力する書式を指定します.<code>format={\null\vfil {\Huge\bfseries #1#2}}</code>のようにします.<code>#1</code>はラベルに,<code>#2</code>は見出し文字列に置き換えられます.</li>
 </ul>
 <h3>別行見出し</h3>
 <p><code>\DeclareBlockHeading</code>で作成します.<code>\<命令名>*[running head]{見出し文字列}[副題]</code>という書式の命令を作成します.設定は以下の通り.</p>
+<h4>書式関連</h4>
 <ul>
 <li><code>font=<命令></code>: 見出しのフォントを指定します.</li>
-<li><code>indent=<整数値></code> 見出し全体の字下げ量を全角文字数で指定します.</li>
 <li><code>subtitle_font=<命令></code>: 副題のフォントを指定します.</li>
+<li><code>label_format=<命令></code>: ラベルのフォーマットを指定します.<code>label_format={第\thechapter 章}</code>などのようにします.</li>
+<li><code>subtitle_format=<命令></code>: 副題のフォーマットを指定します.<code>subtitle_format={「#1」}</code>のようにします.<code>#1</code>が副題自身になります.</li>
+</ul>
+<h4>インデント関連</h4>
+<ul>
+<li><code>indent=<寸法/center></code> 見出し全体の字下げ量を指定します.<code>indent=center</code>とすると見出しを中央寄せします.</li>
+<li><code>end_indent=<寸法/center></code>: 見出し全体の字上げ量を指定します.<code>end_indent=center</code>とすると見出しを中央寄せします.</li>
+<li><code>after_label_space=<寸法></code>: ラベル後,見出し文字列までの空きを指定します.</li>
+<li><code>second_heading_text_indent=<寸法/{寸法,寸法}></code>: 見出し文字列の二行目以降のインデントを指定します.一行目の頭を起点として指定しますが,<code>second_heading_text_indent=*1\zw</code>のように先頭に<code>*</code>をつけるとラベルの頭を起点としての指定になります.(ラベルがない時は一行目の頭が起点.)また,<code>second_heading_text_indent={<ラベルがある時>,<ラベルがない時>}</code>という指定をすると,ラベルの有無に応じて値を変更することができます.<code><ラベルがある時></code>の指定ではやはり<code>*</code>を使うことができます.</li>
+<li><code>subtitle_indent=<寸法></code>: 副題のインデント量を指定します.見出し文字列の一行目を起点として指定します.</li>
+</ul>
+<h4 id="-1">その他</h4>
+<ul>
+<li><code>subtitle_break=<true/false></code>: 見出し文字列と副題の間を改行するか指定します.</li>
+<li><code>allowbreak_if_evenpage=[true/false]</code>: 見出しが偶数ページにあった場合,その直後の改ページを許可します.</li>
 <li><code>pagebreak=[clearpage/cleardoublepage/clearcolumn/nariyuki]</code>: 見出し直前の改ページを指定します.それぞれ,改ページ,改丁,改段,なりゆきです.</li>
+<li><code>afterindent=[true/false]</code>: 見出し直後の段落の字下げを行うかを指定します.</li>
 </ul>
-<p>また,行取りの指定を行うことができます.次のいずれかの方法で行います.</p>
+<h4>行取り</h4>
+<p>行取りの指定は以下のいずれかの方法で行うことができます.</p>
 <ul>
-<li>行数を指定し,その中央に配置する.<code>lines=<整数値></code>により行数を指定します.<code>before_lines=<整数値></code>や<code>after_lines=<整数値></code>により,さらに前後に追加する行数を指定します.たとえば<code>lines=3,after_lines=1</code>とすれば,四行の中に配置され,前の空きよりも後ろの空きの方が一行分大きくなります.</li>
-<li>行数と,前後いずれかの空きを指定します.<code>lines=<整数値></code>により行数を,<code>before_space=<寸法></code>または<code>after_space=<寸法></code>のいずれかの指定によりそれぞれ前またら後ろの空きを指定します.</li>
+<li>行数を指定し,その中央に配置する.<code>lines=<整数値></code>により行数を指定します.<code>before_lines=<整数値></code>や<code>after_lines=<整数値></code>により,さらに前後に追加する行数を指定します.たとえば<code>lines=3,after_lines=1</code>とすれば,四行の中に配置され,前の空きよりも後ろの空きの方が一行分大きくなります.<code>before_lines</code>により指定された空きは,ページ頭には入りませんが,<code>before_lines=*1</code>というように<code>*</code>を先頭につけると常に入るようになります.</li>
+<li>行数と,前後いずれかの空きを指定します.<code>lines=<整数値></code>により行数を,<code>before_space=<寸法></code>または<code>after_space=<寸法></code>のいずれかの指定によりそれぞれ前または後ろの空きを指定します.</li>
 <li>前後の空きを指定します.<code>before_space=<寸法></code>および<code>after_space=<寸法></code>を指定します.</li>
 </ul>
 <h3>同行見出し</h3>
-<p><code>\DeclareRuninHeading</code>で作成します.<code>\section</code>と同様の書式の命令が作成されます.設定は以下の通り.</p>
+<p><code>\DeclareRuninHeading</code>で作成します.通常の文書クラスにおける<code>\section</code>と同様の,<code>\<命令名>*[running head]{見出し文字列}</code>という書式の命令が作成されます.設定は以下の通り.</p>
 <ul>
 <li><code>font=<命令></code>: 見出しのフォントを指定します.</li>
-<li><code>indent=<整数値></code> 見出し文字列全体の字下げ量を全角文字数で指定します.</li>
+<li><code>indent=<寸法></code> 見出し文字列全体の字下げ量を指定します.</li>
 </ul>
 <h3>窓見出し</h3>
 <p><code>\DeclareCutinHeading</code>で作成します.<code>\<命令名>{見出し文字列}</code>という書式の命令を作成します.設定は以下の通り.</p>
 <ul>
 <li><code>font=<命令></code>: 見出しのフォントを指定します.</li>
-<li><code>indent=<整数値></code>: 見出し全体の字下げ量を全角文字数で指定します.</li>
+<li><code>indent=<寸法></code>: 見出し全体の字下げ量を指定します.</li>
+<li><code>after_space=<寸法></code>: 見出しと本文との間の空きを指定します.</li>
 <li><code>onelinemax=<寸法></code>, <code>twolinemax=<寸法></code>: 見出し文字列の長さが<code>onelinemax</code>以下ならば一行で,<code>twolinemax</code>以下ならば二行で窓見出しを出力します.それ以上の場合は三行です.デフォルトはそれぞれ6文字,20文字の長さ.</li>
 </ul>
 <h3 id="modifyheading"><code>\ModifyHeading</code></h3>
@@ -149,6 +212,13 @@
 <p>既に(上のどれかを使い)定義された見出し命令の設定を変更します.たとえば</p>
 <pre><code>\ModifyHeading{section}{lines=10}</code></pre>
 <p>とすると,<code>\section</code>のフォントなどの設定はそのままに,行取りのみが10行に変更されます.見出しの種類を変更することはできません.</p>
+<h3 id="saveheading"><code>\SaveHeading</code></h3>
+<p>見出し命令の定義を待避します.</p>
+<pre><code>\SaveHeading{section}{\restoresection} % \sectionの中身を\restoresectionに待避.
+\RenewBlockHeading{section}{1}{font=……} % \sectionを新しく定義する.
+……
+\restoresection % \sectionの中身を元に戻す.</code></pre>
+<p>のように使います.</p>
 <h2>ページスタイル</h2>
 <pre><code>\DeclarePageStyle{<ページスタイル名>}{<設定>}</code></pre>
 <p>によりページスタイルを定義することができます.設定は以下の通り.</p>
@@ -158,7 +228,7 @@
 <li><code>odd_running_head=<書式></code>,<code>even_running_head=<書式></code>:それぞれ奇数ページ,偶数ページの柱を指定します.<code>_section</code>のように<code>_</code>から始まる名前を指定すると,対応する見出しを出力します.(<code>_section</code>だと現在の<code>\section</code>を出力する.)</li>
 </ul>
 <p><code>\ModifyPageStyle</code>により既存のページスタイルを改変することが可能です.</p>
-<h2 id="-1">その他</h2>
+<h2 id="-2">その他</h2>
 <ul>
 <li>クラスオプション<code>jlreq_warnings</code>を渡されると,日本語組版処理の要件に反する設定が行われた場合に警告がされます.</li>
 </ul>
@@ -177,6 +247,14 @@
 <li><code>abstract</code>環境を実装.</li>
 <li>パッケージを読み込んでいるだけのはやめた.</li>
 </ul></li>
+<li>2017-03-14
+<ul>
+<li>いくつかバグを修正.</li>
+<li>和文ファミリを欧文ファミリに従属させるようにした.</li>
+<li><code>\DeclareBlockHeading</code>にオプションをたくさん追加.</li>
+<li>quote環境などを調整するオプションを追加.</li>
+</ul></li>
 </ul>
+</article>
 </body>
 </html>

Modified: trunk/Master/texmf-dist/doc/latex/jlreq/README-ja.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jlreq/README-ja.md	2017-03-14 21:51:58 UTC (rev 43498)
+++ trunk/Master/texmf-dist/doc/latex/jlreq/README-ja.md	2017-03-14 21:52:14 UTC (rev 43499)
@@ -32,10 +32,13 @@
 標準的な文書クラスと同じように中身を書くことができますが,次のような命令が追加 / 拡張されています.
 
 ### `\section`
-`\section*[running head]{見出し文字列}[副題]`というように,通常の書式に加えて副題を受け付けられるように拡張されています.その他,`\part`(articleのみ),`\chapter`(book/reportのみ),`\subsection`も副題を受け付けます.(`\subsubsection`も受け付けますが,汚い見た目になります.)
+`\section*[running head]{見出し文字列}[副題]`というように,通常の書式に加えて副題を受け付けられるように拡張されています.その他,`\part`(articleのみ),`\chapter`(book/reportのみ),`\subsection`,`\subsubsection`も副題を受け付けます.
 
+### `abstract`環境
+プリアンブルにもかけるようになっています.プリアンブルに書かれた場合は,`\maketitle`とともに出力されます.二段組の場合は,段組にならず概要を出力することができます.
+
 ### `\sidenote`
-傍注(縦組みの場合は脚注)を出力します.デフォルトでは`\footnote`と同様の書式となりますが,クラスオプションに`sidenote_type=mark`が指定されている場合,その書式は`\sidenote{該当項目}{注}`となります.たとえば
+傍注(縦組みの場合は脚注)を出力します.デフォルトでは`\footnote`と同様の書式となりますが,クラスオプションに`sidenote_type=symbol`が指定されている場合,その書式は`\sidenote{該当項目}{注}`となります.たとえば
 ````
 刊行できる\sidenote{原稿}{印刷などの方法により……}を入手する仕事である.
 ````
@@ -48,9 +51,9 @@
 
 ### `\warichu`
 割注を出力します.行分割位置などは自動で計算されます.(複数回のコンパイルが必要.)`\warichu*`ではこれらの位置を手動で指定できます.書式は
-
-``\warichu*{(一行目前) & (一行目後)\\ (二行目前) & (二行目後)...}``
-
+````
+\warichu*{(一行目前) & (一行目後)\\ (二行目前) & (二行目後)...}
+````
 です.`&`が省略されている場合は自動で調整されます.
 
 ### `\jlreqsetup`
@@ -68,44 +71,43 @@
 設計はクラスオプションまたは`\jlreqsetup`によりkeyval形式で行います.以下では次の用法を使います.
 
 * `[A/B]`: AまたはBです.`[A/B/C]`等も同様.
-* `<寸法>`: TeXが認識する寸法です.簡単な式(10pt+10ptのような)を使うこともできます.また,場合によっては次のような特殊な値を使うこともできます.
-	* `Q`: 0.25mmと解釈されます.
-	* `zh`, `zw`: 全角幅として解釈されます.
+* `<寸法>`: TeXが認識する寸法です.簡単な式(10pt+10ptのような)を使うこともできます.また,クラスオプションでは,場合によっては次のような特殊な値を使うこともできます.(これらはpLaTeX / upLaTeXではもとから利用可能ですが,LuaLaTeXでも利用可能なように処理されています.)`\jlreqsetup`内のような場所では,常に`\zw`や`\zh`により全角幅が記述できます.以下,たとえば`Q`が利用可能な場合は`<寸法;Q>`のように記述します.
+    - `Q`: 0.25mmと解釈されます.
+    - `zw`, `zh`: 全角幅として解釈されます.
 
-たとえば`Q`が利用可能な場合は`<寸法;Q>`のように記述します.
 
-
 ### 基本版面
-すべてクラスファイルへのオプションです.
+クラスオプションです.
 
 * `paper=[<紙サイズ名>/{<寸法>,<寸法>}]`:紙サイズです.紙サイズ名はa0からa10,b0からb10,c2からc8を指定できます.B列はJIS B列です.また,`{<縦>,<横>}`と直接寸法を指定することもできます.
 * `fontsize=<寸法;Q>` : フォントサイズ.デフォルトは10pt.
 * `line_length=<寸法;zw,zh>` : 一行の長さ.デフォルトは紙の縦幅の0.75倍.実際の値は一文字の長さの整数倍になるように補正されます.
 * `number_of_lines=<整数値>` : 一ページの行数.デフォルトは紙の横幅の0.75倍になるような値.
-* `gutter=<寸法;zh,zw>` : のどの余白の大きさ.
+* `gutter=<寸法;zw,zh>` : のどの余白の大きさ.
     - `tate`無指定時は奇数ページ左,偶数ページ右の余白
     - `tate`指定時は奇数ページ右,偶数ページ左の余白
     - `twoside`が指定されていない時は,常に奇数ページ扱いで余白が設定される
-* `head_space=<寸法;zh,zw>` : 天の空き量.デフォルトは中央寄せになるような値.
-* `foot_space=<寸法;zh,zw>` : 地の空き量.デフォルトは中央寄せになるような値.
-* `baselineskip=<寸法;Q,zh,zw>` : 行送り.デフォルトはfontsizeの1.7倍.
-* `linegap=<寸法;Q,zh,zw>` : 行間.
+* `head_space=<寸法;zw,zh>` : 天の空き量.デフォルトは中央寄せになるような値.
+* `foot_space=<寸法;zw,zh>` : 地の空き量.デフォルトは中央寄せになるような値.
+* `baselineskip=<寸法;Q,zw,zh>` : 行送り.デフォルトはfontsizeの1.7倍.
+* `linegap=<寸法;Q,zw,zh>` : 行間.
 * `headfoot_sidemargin=<寸法;zw,zh>`:柱やノンブルの左右の空き.
 * `column_gap=<寸法;zw,zh>`: 段間(twocolumn指定時のみ).
 
 ### 組み方
+クラスオプションです.
 * `open_bracket_pos=[zenkaku_tentsuki/zenkakunibu_nibu/nibu_tentsuki]`: 始め括弧が行頭に来た際の配置方法を指定します.それぞれ段落開始全角折り返し行頭天付き(デフォルト),段落開始全角二分折り返し行頭二分,段落開始二分折り返し行頭天付きを意味します.
 * `hanging_punctuation`: ぶら下げ組をします.
 
 ### 注関係
-* `reference_mark=[inline/interlinear]`: 合印の配置方法を指定します.`inline`にすると該当項目の後ろの行中に配置します.`interlinear`を指定すると該当項目の上(横組)または右(縦組)に配置します.
-* `sidenote_type=[number/symbol]`: 傍注と本文との対応の方法を指定します.`number`が規定で,注の位置に通し番号が入り,それにより対応が示されます.`symbol`とすると,注の位置に特定の記号が入り,また注がついている単語が強調されます.ここに入る記号と単語の強調は`\jlreqsetup`に次を渡すことで指定します.
+* `reference_mark=[inline/interlinear]`: 合印の配置方法を指定します.`inline`にすると該当項目の後ろの行中に配置します.`interlinear`を指定すると該当項目の上(横組)または右(縦組)に配置します.クラスオプションです.
+* `sidenote_type=[number/symbol]`: クラスオプションです.傍注と本文との対応の方法を指定します.`number`が規定で,注の位置に通し番号が入り,それにより対応が示されます.`symbol`とすると,注の位置に特定の記号が入り,また注がついている単語が強調されます.ここに入る記号と単語の強調は`\jlreqsetup`に次を渡すことで指定します.
 
     - `sidenote_symbol`: 注の位置に入る記号.デフォルト*
     - `sidenote_keyword_font`: 注のついている単語のフォント命令.デフォルトは無し(強調しない)
 
-* `sidenote_width=<寸法;zh,zw>`: 傍注の幅を指定します.基本版面の設定に合わせて設定してください.
-* `endnote_position=[headings/paragraph/{_<見出し名1>,_<見出し名2>,...}]`:後注の出力場所を指定します.`headings`は各見出しの直前(デフォルト),`paragraph`は改段落の際に出力します.また,`endnote_position={_chapter,_section}`とすると,`\chapter`と`\section`の直前に出力します.
+* `sidenote_width=<寸法;zw,zh>`: 傍注の幅を指定します.基本版面の設定に合わせて設定してください.クラスオプションです.
+* `endnote_position=[headings/paragraph/{_<見出し名1>,_<見出し名2>,...}]`:後注の出力場所を指定します.`headings`は各見出しの直前(デフォルト),`paragraph`は改段落の際に出力します.また,`endnote_position={_chapter,_section}`とすると,`\chapter`と`\section`の直前に出力します.クラスオプションです.
 
 ### キャプション
 図表のキャプションを`\jlreqsetup`で変更できます.
@@ -112,6 +114,12 @@
 * `caption_font=<命令>`: キャプション自身のフォントを指定します.
 * `caption_label_font=<命令>`: キャプションのラベルのフォントを指定します.
 
+### 引用
+`quote / quotation / verse`環境の挙動をクラスオプションで指定できます.
+* `quote_indent=<寸法;zw,zh>`: 字下げを指定します.デフォルトは2zwです.一行の長さが文字サイズの整数倍になるように調整されます.
+* `quote_end_indent=<寸法;zw,zh>`: 字上げを指定します.デフォルトは0zwです.
+* `quote_beforeafter_space=<寸法>`: 前後の空きを指定します.`quote_beforeafter_space=1\baselineskip`とすると一行あきます.
+* `quote_fontsize=[normalsize/small/footnotesize/scriptsize/tiny]`: フォントサイズを指定します.
 
 ## 見出し
 見出しの設定は,`\Declare***Heading`という命令で行います(***には見出しの種類に応じた文字列が入る).書式はすべて
@@ -128,33 +136,49 @@
 * `type=[han/naka]`: `han`だと半扉見出しを,`naka`だと中扉見出しを作ります.
 * `pagestyle=<ページスタイル>`: 見出し箇所のページスタイルを指定します.
 * `label_format=<書式>`: ラベルを出力する命令を指定します.たとえば`label_format={第\thechapter 章}`のように指定します.
-* `format=<書式>`: 実際に出力する書式を指定します.`format={\null\vfill {\Huge\bfseries #1#2}}`のようにします.`#1`はラベルに,`#2`は見出し文字列に置き換えられます.
+* `format=<書式>`: 実際に出力する書式を指定します.`format={\null\vfil {\Huge\bfseries #1#2}}`のようにします.`#1`はラベルに,`#2`は見出し文字列に置き換えられます.
 
 ### 別行見出し
 `\DeclareBlockHeading`で作成します.`\<命令名>*[running head]{見出し文字列}[副題]`という書式の命令を作成します.設定は以下の通り.
 
+#### 書式関連
 * `font=<命令>`: 見出しのフォントを指定します.
-* `indent=<整数値>` 見出し全体の字下げ量を全角文字数で指定します.
 * `subtitle_font=<命令>`: 副題のフォントを指定します.
+* `label_format=<命令>`: ラベルのフォーマットを指定します.`label_format={第\thechapter 章}`などのようにします.
+* `subtitle_format=<命令>`: 副題のフォーマットを指定します.`subtitle_format={「#1」}`のようにします.`#1`が副題自身になります.
+
+#### インデント関連
+* `indent=<寸法/center>` 見出し全体の字下げ量を指定します.`indent=center`とすると見出しを中央寄せします.
+* `end_indent=<寸法/center>`: 見出し全体の字上げ量を指定します.`end_indent=center`とすると見出しを中央寄せします.
+* `after_label_space=<寸法>`: ラベル後,見出し文字列までの空きを指定します.
+* `second_heading_text_indent=<寸法/{寸法,寸法}>`: 見出し文字列の二行目以降のインデントを指定します.一行目の頭を起点として指定しますが,`second_heading_text_indent=*1\zw`のように先頭に`*`をつけるとラベルの頭を起点としての指定になります.(ラベルがない時は一行目の頭が起点.)また,`second_heading_text_indent={<ラベルがある時>,<ラベルがない時>}`という指定をすると,ラベルの有無に応じて値を変更することができます.`<ラベルがある時>`の指定ではやはり`*`を使うことができます.
+* `subtitle_indent=<寸法>`: 副題のインデント量を指定します.見出し文字列の一行目を起点として指定します.
+
+#### その他
+* `subtitle_break=<true/false>`: 見出し文字列と副題の間を改行するか指定します.
+* `allowbreak_if_evenpage=[true/false]`: 見出しが偶数ページにあった場合,その直後の改ページを許可します.
 * `pagebreak=[clearpage/cleardoublepage/clearcolumn/nariyuki]`: 見出し直前の改ページを指定します.それぞれ,改ページ,改丁,改段,なりゆきです.
+* `afterindent=[true/false]`: 見出し直後の段落の字下げを行うかを指定します.
 
-また,行取りの指定を行うことができます.次のいずれかの方法で行います.
+#### 行取り
+行取りの指定は以下のいずれかの方法で行うことができます.
 
-* 行数を指定し,その中央に配置する.`lines=<整数値>`により行数を指定します.`before_lines=<整数値>`や`after_lines=<整数値>`により,さらに前後に追加する行数を指定します.たとえば`lines=3,after_lines=1`とすれば,四行の中に配置され,前の空きよりも後ろの空きの方が一行分大きくなります.
-* 行数と,前後いずれかの空きを指定します.`lines=<整数値>`により行数を,`before_space=<寸法>`または`after_space=<寸法>`のいずれかの指定によりそれぞれ前またら後ろの空きを指定します.
+* 行数を指定し,その中央に配置する.`lines=<整数値>`により行数を指定します.`before_lines=<整数値>`や`after_lines=<整数値>`により,さらに前後に追加する行数を指定します.たとえば`lines=3,after_lines=1`とすれば,四行の中に配置され,前の空きよりも後ろの空きの方が一行分大きくなります.`before_lines`により指定された空きは,ページ頭には入りませんが,`before_lines=*1`というように`*`を先頭につけると常に入るようになります.
+* 行数と,前後いずれかの空きを指定します.`lines=<整数値>`により行数を,`before_space=<寸法>`または`after_space=<寸法>`のいずれかの指定によりそれぞれ前または後ろの空きを指定します.
 * 前後の空きを指定します.`before_space=<寸法>`および`after_space=<寸法>`を指定します.
 
 ### 同行見出し
-`\DeclareRuninHeading`で作成します.`\section`と同様の書式の命令が作成されます.設定は以下の通り.
+`\DeclareRuninHeading`で作成します.通常の文書クラスにおける`\section`と同様の,`\<命令名>*[running head]{見出し文字列}`という書式の命令が作成されます.設定は以下の通り.
 
 * `font=<命令>`: 見出しのフォントを指定します.
-* `indent=<整数値>` 見出し文字列全体の字下げ量を全角文字数で指定します.
+* `indent=<寸法>` 見出し文字列全体の字下げ量を指定します.
 
 ### 窓見出し
 `\DeclareCutinHeading`で作成します.`\<命令名>{見出し文字列}`という書式の命令を作成します.設定は以下の通り.
 
 * `font=<命令>`: 見出しのフォントを指定します.
-* `indent=<整数値>`: 見出し全体の字下げ量を全角文字数で指定します.
+* `indent=<寸法>`: 見出し全体の字下げ量を指定します.
+* `after_space=<寸法>`: 見出しと本文との間の空きを指定します.
 * `onelinemax=<寸法>`, `twolinemax=<寸法>`: 見出し文字列の長さが`onelinemax`以下ならば一行で,`twolinemax`以下ならば二行で窓見出しを出力します.それ以上の場合は三行です.デフォルトはそれぞれ6文字,20文字の長さ.
 
 ### `\ModifyHeading`
@@ -164,8 +188,17 @@
 ````
 とすると,`\section`のフォントなどの設定はそのままに,行取りのみが10行に変更されます.見出しの種類を変更することはできません.
 
+### `\SaveHeading`
+見出し命令の定義を待避します.
+````
+\SaveHeading{section}{\restoresection} % \sectionの中身を\restoresectionに待避.
+\RenewBlockHeading{section}{1}{font=……} % \sectionを新しく定義する.
+……
+\restoresection % \sectionの中身を元に戻す.
+````
+のように使います.
+
 ## ページスタイル
-
 ````
 \DeclarePageStyle{<ページスタイル名>}{<設定>}
 ````
@@ -191,3 +224,10 @@
     - クラスオプション/`\jlreqsetup`にいくつかのキーを追加/変更.
     - `abstract`環境を実装.
     - パッケージを読み込んでいるだけのはやめた.
+* 2017-03-14
+    - いくつかバグを修正.
+    - 和文ファミリを欧文ファミリに従属させるようにした.
+    - `\DeclareBlockHeading`にオプションをたくさん追加.
+    - quote環境などを調整するオプションを追加.
+
+

Modified: trunk/Master/texmf-dist/doc/latex/jlreq/README.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jlreq/README.html	2017-03-14 21:51:58 UTC (rev 43498)
+++ trunk/Master/texmf-dist/doc/latex/jlreq/README.html	2017-03-14 21:52:14 UTC (rev 43499)
@@ -1,14 +1,49 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
 <head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <meta http-equiv="Content-Style-Type" content="text/css" />
-  <meta name="generator" content="pandoc" />
+  <meta charset="utf-8">
+  <meta name="generator" content="pandoc">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
   <title></title>
   <style type="text/css">code{white-space: pre;}</style>
-  <link href="data:text/css;charset=utf-8,body%20%7B%0Afont%2Dfamily%3A%20Helvetica%2C%20arial%2C%20sans%2Dserif%3B%0Afont%2Dsize%3A%2014px%3B%0Aline%2Dheight%3A%201%2E6%3B%0Apadding%2Dtop%3A%2010px%3B%0Apadding%2Dbottom%3A%2010px%3B%0Abackground%2Dcolor%3A%20white%3B%0Apadding%3A%2030px%3B%20%7D%0Abody%20%3E%20%2A%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%20%21important%3B%20%7D%0Abody%20%3E%20%2A%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%20%21important%3B%20%7D%0Aa%20%7B%0Acolor%3A%20%234183C4%3B%20%7D%0Aa%2Eabsent%20%7B%0Acolor%3A%20%23cc0000%3B%20%7D%0Aa%2Eanchor%20%7B%0Adisplay%3A%20block%3B%0Apadding%2Dleft%3A%2030px%3B%0Amargin%2Dleft%3A%20%2D30px%3B%0Acursor%3A%20pointer%3B%0Aposition%3A%20absolute%3B%0Atop%3A%200%3B%0Aleft%3A%200%3B%0Abottom%3A%200%3B%20%7D%0Ah1%2C%20h2%2C%20h3%2C%20h4%2C%20h5%2C%20h6%20%7B%0Amargin%3A%2020px%200%2010px%3B%0Apadding%3A%200%3B%0Afont%2Dweight%3A%20bold%3B%0A%2Dwebkit%2Dfont%2Dsmoothing%3A%20antialiased%3B%0Acursor%3A%20text%3B%0Aposition%3A%20relative%3B%20%7D%0Ah1%3Ahover%20a%2Eanchor%2C%20h2%3Ahover%20a%2Eanchor%2C%20h3%3Ahover%20a%2Eanchor%2C%20h4%3Ahover%20a%2Eanchor%2C%20h5%3Ahover%20a%2Eanchor%2C%20h6%3Ahover%20a%2Eanchor%20%7B%0A%0Atext%2Ddecoration%3A%20none%3B%20%7D%0Ah1%20tt%2C%20h1%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah2%20tt%2C%20h2%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah3%20tt%2C%20h3%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah4%20tt%2C%20h4%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah5%20tt%2C%20h5%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah6%20tt%2C%20h6%20code%20%7B%0Afont%2Dsize%3A%20inherit%3B%20%7D%0Ah1%20%7B%0Afont%2Dsize%3A%2028px%3B%0Acolor%3A%20black%3B%20%7D%0Ah2%20%7B%0Afont%2Dsize%3A%2024px%3B%0Aborder%2Dbottom%3A%201px%20solid%20%23cccccc%3B%0Acolor%3A%20black%3B%20%7D%0Ah3%20%7B%0Afont%2Dsize%3A%2018px%3B%20%7D%0Ah4%20%7B%0Afont%2Dsize%3A%2016px%3B%20%7D%0Ah5%20%7B%0Afont%2Dsize%3A%2014px%3B%20%7D%0Ah6%20%7B%0Acolor%3A%20%23777777%3B%0Afont%2Dsize%3A%2014px%3B%20%7D%0Ap%2C%20b!
 lockquote%2C%20ul%2C%20ol%2C%20dl%2C%20li%2C%20table%2C%20pre%20%7B%0Amargin%3A%2015px%200%3B%20%7D%0Ahr%20%7B%0A%0Aborder%3A%200%20none%3B%0Acolor%3A%20%23cccccc%3B%0Aheight%3A%204px%3B%0Apadding%3A%200%3B%20%7D%0Abody%20%3E%20h2%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Abody%20%3E%20h1%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Abody%20%3E%20h1%3Afirst%2Dchild%20%2B%20h2%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Abody%20%3E%20h3%3Afirst%2Dchild%2C%20body%20%3E%20h4%3Afirst%2Dchild%2C%20body%20%3E%20h5%3Afirst%2Dchild%2C%20body%20%3E%20h6%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Aa%3Afirst%2Dchild%20h1%2C%20a%3Afirst%2Dchild%20h2%2C%20a%3Afirst%2Dchild%20h3%2C%20a%3Afirst%2Dchild%20h4%2C%20a%3Afirst%2Dchild%20h5%2C%20a%3Afirst%2Dchild%20h6%20%7B%0Amargin%2Dtop%3A%200%3B%0Apadding%2Dtop%3A%200%3B%20%7D%0Ah1%20p%2C%20h2%20p%2C%20h3%20p%2C%20h4%20p%2C%20h5%20p%2C%20h6%20p%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Ali%20p%2Efirst%20%7B%0Adisplay%3A%20inline%2Dblock%3B%20%7D%0Aul%2C%20ol%20%7B%0Apadding%2Dleft%3A%2030px%3B%20%7D%0Aul%20%3Afirst%2Dchild%2C%20ol%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Aul%20%3Alast%2Dchild%2C%20ol%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Adl%20%7B%0Apadding%3A%200%3B%20%7D%0Adl%20dt%20%7B%0Afont%2Dsize%3A%2014px%3B%0Afont%2Dweight%3A%20bold%3B%0Afont%2Dstyle%3A%20italic%3B%0Apadding%3A%200%3B%0Amargin%3A%2015px%200%205px%3B%20%7D%0Adl%20dt%3Afirst%2Dchild%20%7B%0Apadding%3A%200%3B%20%7D%0Adl%20dt%20%3E%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Adl%20dt%20%3E%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Adl%20dd%20%7B%0Amargin%3A%200%200%2015px%3B%0Apadding%3A%200%2015px%3B%20%7D%0Adl%20dd%20%3E%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Adl%20dd%20%3E%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Ablockquote%20%7B%0Aborder%2Dleft%3A%204px%20solid%20%23dddddd%3B%0Ap!
 adding%3A%200%2015px%3B%0Acolor%3A%20%23777777%3B%20%7D%0Ablockquote%20%3E%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Ablockquote%20%3E%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Atable%20%7B%0Apadding%3A%200%3B%20%7D%0Atable%20tr%20%7B%0Aborder%2Dtop%3A%201px%20solid%20%23cccccc%3B%0Abackground%2Dcolor%3A%20white%3B%0Amargin%3A%200%3B%0Apadding%3A%200%3B%20%7D%0Atable%20tr%3Anth%2Dchild%282n%29%20%7B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%20%7D%0Atable%20tr%20th%20%7B%0Afont%2Dweight%3A%20bold%3B%0Aborder%3A%201px%20solid%20%23cccccc%3B%0Atext%2Dalign%3A%20left%3B%0Amargin%3A%200%3B%0Apadding%3A%206px%2013px%3B%20%7D%0Atable%20tr%20td%20%7B%0Aborder%3A%201px%20solid%20%23cccccc%3B%0Atext%2Dalign%3A%20left%3B%0Amargin%3A%200%3B%0Apadding%3A%206px%2013px%3B%20%7D%0Atable%20tr%20th%20%3Afirst%2Dchild%2C%20table%20tr%20td%20%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%20%7D%0Atable%20tr%20th%20%3Alast%2Dchild%2C%20table%20tr%20td%20%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%20%7D%0Aimg%20%7B%0Amax%2Dwidth%3A%20100%25%3B%20%7D%0Aspan%2Eframe%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%20%7D%0Aspan%2Eframe%20%3E%20span%20%7B%0Aborder%3A%201px%20solid%20%23dddddd%3B%0Adisplay%3A%20block%3B%0Afloat%3A%20left%3B%0Aoverflow%3A%20hidden%3B%0Amargin%3A%2013px%200%200%3B%0Apadding%3A%207px%3B%0Awidth%3A%20auto%3B%20%7D%0Aspan%2Eframe%20span%20img%20%7B%0Adisplay%3A%20block%3B%0Afloat%3A%20left%3B%20%7D%0Aspan%2Eframe%20span%20span%20%7B%0Aclear%3A%20both%3B%0Acolor%3A%20%23333333%3B%0Adisplay%3A%20block%3B%0Apadding%3A%205px%200%200%3B%20%7D%0Aspan%2Ealign%2Dcenter%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%0Aclear%3A%20both%3B%20%7D%0Aspan%2Ealign%2Dcenter%20%3E%20span%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%0Amargin%3A%2013px%20auto%200%3B%0Atext%2Dalign%3A%20center%3B%20%7D%0Aspan%2Ealign%2Dcenter%20span%20img%20%7B%0Amargin%3A%200%20auto%3B%0Atext%2Dalign%3A%20center%3B%20%7D%0Aspan%2Ealign%2Dright%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3!
 A%20hidden%3B%0Aclear%3A%20both%3B%20%7D%0Aspan%2Ealign%2Dright%20%3E%20span%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%0Amargin%3A%2013px%200%200%3B%0Atext%2Dalign%3A%20right%3B%20%7D%0Aspan%2Ealign%2Dright%20span%20img%20%7B%0Amargin%3A%200%3B%0Atext%2Dalign%3A%20right%3B%20%7D%0Aspan%2Efloat%2Dleft%20%7B%0Adisplay%3A%20block%3B%0Amargin%2Dright%3A%2013px%3B%0Aoverflow%3A%20hidden%3B%0Afloat%3A%20left%3B%20%7D%0Aspan%2Efloat%2Dleft%20span%20%7B%0Amargin%3A%2013px%200%200%3B%20%7D%0Aspan%2Efloat%2Dright%20%7B%0Adisplay%3A%20block%3B%0Amargin%2Dleft%3A%2013px%3B%0Aoverflow%3A%20hidden%3B%0Afloat%3A%20right%3B%20%7D%0Aspan%2Efloat%2Dright%20%3E%20span%20%7B%0Adisplay%3A%20block%3B%0Aoverflow%3A%20hidden%3B%0Amargin%3A%2013px%20auto%200%3B%0Atext%2Dalign%3A%20right%3B%20%7D%0Acode%2C%20tt%20%7B%0Amargin%3A%200%202px%3B%0Apadding%3A%200%205px%3B%0Awhite%2Dspace%3A%20nowrap%3B%0Aborder%3A%201px%20solid%20%23eaeaea%3B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%0Aborder%2Dradius%3A%203px%3B%20%7D%0Apre%20code%20%7B%0Amargin%3A%200%3B%0Apadding%3A%200%3B%0Awhite%2Dspace%3A%20pre%3B%0Aborder%3A%20none%3B%0Abackground%3A%20transparent%3B%20%7D%0A%2Ehighlight%20pre%20%7B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%0Aborder%3A%201px%20solid%20%23cccccc%3B%0Afont%2Dsize%3A%2013px%3B%0Aline%2Dheight%3A%2019px%3B%0Aoverflow%3A%20auto%3B%0Apadding%3A%206px%2010px%3B%0Aborder%2Dradius%3A%203px%3B%20%7D%0Apre%20%7B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%0Aborder%3A%201px%20solid%20%23cccccc%3B%0Afont%2Dsize%3A%2013px%3B%0Aline%2Dheight%3A%2019px%3B%0Aoverflow%3A%20auto%3B%0Apadding%3A%206px%2010px%3B%0Aborder%2Dradius%3A%203px%3B%20%7D%0Apre%20code%2C%20pre%20tt%20%7B%0Abackground%2Dcolor%3A%20transparent%3B%0Aborder%3A%20none%3B%20%7D%0A" rel="stylesheet" type="text/css" />
+  <style>
+    .markdown-body {
+      padding-top: 10px;
+      padding-bottom: 10px;
+      background-color: white;
+      padding: 30px;
+    }
+  </style>
+  <!-- github-markdown.css 2.4.1 by Sindre Sorhus
+  https://github.com/sindresorhus/github-markdown-css
+  It is distributed under the MIT license:
+  Copyright (c) Sindre Sorhus <sindresorhus at gmail.com> (sindresorhus.com)
+
+  Permission is hereby granted, free of charge, to any person obtaining a copy
+  of this software and associated documentation files (the "Software"), to deal
+  in the Software without restriction, including without limitation the rights
+  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+  copies of the Software, and to permit persons to whom the Software is
+  furnished to do so, subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be included in
+  all copies or substantial portions of the Software.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+  THE SOFTWARE.
+  -->
+  <link href="data:text/css;charset=utf-8,%40font%2Dface%20%7B%0Afont%2Dfamily%3A%20octicons%2Dlink%3B%0A%7D%0A%2Emarkdown%2Dbody%20%7B%0A%2Dms%2Dtext%2Dsize%2Dadjust%3A%20100%25%3B%0A%2Dwebkit%2Dtext%2Dsize%2Dadjust%3A%20100%25%3B%0Aline%2Dheight%3A%201%2E5%3B%0Acolor%3A%20%23333%3B%0Afont%2Dfamily%3A%20%2Dapple%2Dsystem%2C%20BlinkMacSystemFont%2C%20%22Segoe%20UI%22%2C%20Roboto%2C%20Helvetica%2C%20Arial%2C%20sans%2Dserif%2C%20%22Apple%20Color%20Emoji%22%2C%20%22Segoe%20UI%20Emoji%22%2C%20%22Segoe%20UI%20Symbol%22%3B%0Afont%2Dsize%3A%2016px%3B%0Aline%2Dheight%3A%201%2E5%3B%0Aword%2Dwrap%3A%20break%2Dword%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dc%20%7B%0Acolor%3A%20%23969896%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dc1%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Ds%20%2Epl%2Dv%20%7B%0Acolor%3A%20%230086b3%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2De%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Den%20%7B%0Acolor%3A%20%23795da3%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dsmi%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Ds%20%2Epl%2Ds1%20%7B%0Acolor%3A%20%23333%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dent%20%7B%0Acolor%3A%20%2363a35c%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dk%20%7B%0Acolor%3A%20%23a71d5d%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Ds%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dpds%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Ds%20%2Epl%2Dpse%20%2Epl%2Ds1%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%20%2Epl%2Dcce%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%20%2Epl%2Dsre%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%20%2Epl%2Dsra%20%7B%0Acolor%3A%20%23183691%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dv%20%7B%0Acolor%3A%20%23ed6a43%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Did%20%7B%0Acolor%3A%20%23b52a1d%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dii%20%7B%0Acolor%3A%20%23f8f8f8%3B%0Abackground%2Dcolor%3A%20%23b52a1d%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dsr%20%2Epl%2Dcce%20%7B%0Afont%2Dweight%3A%20bold%3B%0Acolor%3A%20%2363a35c%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dml%20%7B%0Acolor%3A%20%23693a17%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmh%2C%0A%2Emarkdown%2!
 Dbody%20%2Epl%2Dmh%20%2Epl%2Den%2C%0A%2Emarkdown%2Dbody%20%2Epl%2Dms%20%7B%0Afont%2Dweight%3A%20bold%3B%0Acolor%3A%20%231d3e81%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmq%20%7B%0Acolor%3A%20%23008080%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmi%20%7B%0Afont%2Dstyle%3A%20italic%3B%0Acolor%3A%20%23333%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmb%20%7B%0Afont%2Dweight%3A%20bold%3B%0Acolor%3A%20%23333%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmd%20%7B%0Acolor%3A%20%23bd2c00%3B%0Abackground%2Dcolor%3A%20%23ffecec%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmi1%20%7B%0Acolor%3A%20%2355a532%3B%0Abackground%2Dcolor%3A%20%23eaffea%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmdr%20%7B%0Afont%2Dweight%3A%20bold%3B%0Acolor%3A%20%23795da3%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2Dmo%20%7B%0Acolor%3A%20%231d3e81%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Eocticon%20%7B%0Adisplay%3A%20inline%2Dblock%3B%0Avertical%2Dalign%3A%20text%2Dtop%3B%0Afill%3A%20currentColor%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%20%7B%0Abackground%2Dcolor%3A%20transparent%3B%0A%2Dwebkit%2Dtext%2Ddecoration%2Dskip%3A%20objects%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%3Aactive%2C%0A%2Emarkdown%2Dbody%20a%3Ahover%20%7B%0Aoutline%2Dwidth%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20strong%20%7B%0Afont%2Dweight%3A%20inherit%3B%0A%7D%0A%2Emarkdown%2Dbody%20strong%20%7B%0Afont%2Dweight%3A%20bolder%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%20%7B%0Afont%2Dsize%3A%202em%3B%0Amargin%3A%200%2E67em%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20img%20%7B%0Aborder%2Dstyle%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20svg%3Anot%28%3Aroot%29%20%7B%0Aoverflow%3A%20hidden%3B%0A%7D%0A%2Emarkdown%2Dbody%20code%2C%0A%2Emarkdown%2Dbody%20kbd%2C%0A%2Emarkdown%2Dbody%20pre%20%7B%0Afont%2Dfamily%3A%20monospace%2C%20monospace%3B%0Afont%2Dsize%3A%201em%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%20%7B%0Abox%2Dsizing%3A%20content%2Dbox%3B%0Aheight%3A%200%3B%0Aoverflow%3A%20visible%3B%0A%7D%0A%2Emarkdown%2Dbody%20input%20%7B%0Afont%3A%20inherit%3B%0Amargin%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20input%20%7B%0Aoverflow%3A%20visible%3B%0A%7D%0A%2Emarkdown%2D!
 body%20%5Btype%3D%22checkbox%22%5D%20%7B%0Abox%2Dsizing%3A%20border%2Dbox%3B%0Apadding%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2A%20%7B%0Abox%2Dsizing%3A%20border%2Dbox%3B%0A%7D%0A%2Emarkdown%2Dbody%20input%20%7B%0Afont%2Dfamily%3A%20inherit%3B%0Afont%2Dsize%3A%20inherit%3B%0Aline%2Dheight%3A%20inherit%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%20%7B%0Acolor%3A%20%234078c0%3B%0Atext%2Ddecoration%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%3Ahover%2C%0A%2Emarkdown%2Dbody%20a%3Aactive%20%7B%0Atext%2Ddecoration%3A%20underline%3B%0A%7D%0A%2Emarkdown%2Dbody%20strong%20%7B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%20%7B%0Aheight%3A%200%3B%0Amargin%3A%2015px%200%3B%0Aoverflow%3A%20hidden%3B%0Abackground%3A%20transparent%3B%0Aborder%3A%200%3B%0Aborder%2Dbottom%3A%201px%20solid%20%23ddd%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%3A%3Abefore%20%7B%0Adisplay%3A%20table%3B%0Acontent%3A%20%22%22%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%3A%3Aafter%20%7B%0Adisplay%3A%20table%3B%0Aclear%3A%20both%3B%0Acontent%3A%20%22%22%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20%7B%0Aborder%2Dspacing%3A%200%3B%0Aborder%2Dcollapse%3A%20collapse%3B%0A%7D%0A%2Emarkdown%2Dbody%20td%2C%0A%2Emarkdown%2Dbody%20th%20%7B%0Apadding%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%2C%0A%2Emarkdown%2Dbody%20h2%2C%0A%2Emarkdown%2Dbody%20h3%2C%0A%2Emarkdown%2Dbody%20h4%2C%0A%2Emarkdown%2Dbody%20h5%2C%0A%2Emarkdown%2Dbody%20h6%20%7B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%20%7B%0Afont%2Dsize%3A%2032px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h2%20%7B%0Afont%2Dsize%3A%2024px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h3%20%7B%0Afont%2Dsize%3A%2020px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h4%20%7B%0Afont%2Dsize%3A%2016px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h5%20%7B%0Afont%2Dsize%3A%2014px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20h6%20%7B%0Afont%2Dsize%3A%2012px%3B%0Afont%2Dweight%3A%20600%3B%0A%7D%0A%2Emarkdown%2Dbody%20p%20%7B%0Am!
 argin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%2010px%3B%0A%7D%0A%2Emarkdown%2Dbody%20blockquote%20%7B%0Amargin%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20ul%2C%0A%2Emarkdown%2Dbody%20ol%20%7B%0Apadding%2Dleft%3A%200%3B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20ol%20ol%2C%0A%2Emarkdown%2Dbody%20ul%20ol%20%7B%0Alist%2Dstyle%2Dtype%3A%20lower%2Droman%3B%0A%7D%0A%2Emarkdown%2Dbody%20ul%20ul%20ol%2C%0A%2Emarkdown%2Dbody%20ul%20ol%20ol%2C%0A%2Emarkdown%2Dbody%20ol%20ul%20ol%2C%0A%2Emarkdown%2Dbody%20ol%20ol%20ol%20%7B%0Alist%2Dstyle%2Dtype%3A%20lower%2Dalpha%3B%0A%7D%0A%2Emarkdown%2Dbody%20dd%20%7B%0Amargin%2Dleft%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20code%20%7B%0Afont%2Dfamily%3A%20Consolas%2C%20%22Liberation%20Mono%22%2C%20Menlo%2C%20Courier%2C%20monospace%3B%0Afont%2Dsize%3A%2012px%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%20%7B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%200%3B%0Afont%3A%2012px%20Consolas%2C%20%22Liberation%20Mono%22%2C%20Menlo%2C%20Courier%2C%20monospace%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Eocticon%20%7B%0Avertical%2Dalign%3A%20text%2Dbottom%3B%0A%7D%0A%2Emarkdown%2Dbody%20input%20%7B%0A%2Dwebkit%2Dfont%2Dfeature%2Dsettings%3A%20%22liga%22%200%3B%0Afont%2Dfeature%2Dsettings%3A%20%22liga%22%200%3B%0A%7D%0A%2Emarkdown%2Dbody%3A%3Abefore%20%7B%0Adisplay%3A%20table%3B%0Acontent%3A%20%22%22%3B%0A%7D%0A%2Emarkdown%2Dbody%3A%3Aafter%20%7B%0Adisplay%3A%20table%3B%0Aclear%3A%20both%3B%0Acontent%3A%20%22%22%3B%0A%7D%0A%2Emarkdown%2Dbody%3E%2A%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%3E%2A%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20a%3Anot%28%5Bhref%5D%29%20%7B%0Acolor%3A%20inherit%3B%0Atext%2Ddecoration%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Eanchor%20%7B%0Afloat%3A%20left%3B%0Apadding%2Dright%3A%204px%3B%0Amargin%2Dleft%3A%20%2D20px%3B%0Aline%2Dheight%3A%201%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Eanchor%3Afocus%20%7B%0Aoutline%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20p%2C%0A%2Ema!
 rkdown%2Dbody%20blockquote%2C%0A%2Emarkdown%2Dbody%20ul%2C%0A%2Emarkdown%2Dbody%20ol%2C%0A%2Emarkdown%2Dbody%20dl%2C%0A%2Emarkdown%2Dbody%20table%2C%0A%2Emarkdown%2Dbody%20pre%20%7B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%2016px%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%20%7B%0Aheight%3A%200%2E25em%3B%0Apadding%3A%200%3B%0Amargin%3A%2024px%200%3B%0Abackground%2Dcolor%3A%20%23e7e7e7%3B%0Aborder%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20blockquote%20%7B%0Apadding%3A%200%201em%3B%0Acolor%3A%20%23777%3B%0Aborder%2Dleft%3A%200%2E25em%20solid%20%23ddd%3B%0A%7D%0A%2Emarkdown%2Dbody%20blockquote%3E%3Afirst%2Dchild%20%7B%0Amargin%2Dtop%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20blockquote%3E%3Alast%2Dchild%20%7B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20kbd%20%7B%0Adisplay%3A%20inline%2Dblock%3B%0Apadding%3A%203px%205px%3B%0Afont%2Dsize%3A%2011px%3B%0Aline%2Dheight%3A%2010px%3B%0Acolor%3A%20%23555%3B%0Avertical%2Dalign%3A%20middle%3B%0Abackground%2Dcolor%3A%20%23fcfcfc%3B%0Aborder%3A%20solid%201px%20%23ccc%3B%0Aborder%2Dbottom%2Dcolor%3A%20%23bbb%3B%0Aborder%2Dradius%3A%203px%3B%0Abox%2Dshadow%3A%20inset%200%20%2D1px%200%20%23bbb%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%2C%0A%2Emarkdown%2Dbody%20h2%2C%0A%2Emarkdown%2Dbody%20h3%2C%0A%2Emarkdown%2Dbody%20h4%2C%0A%2Emarkdown%2Dbody%20h5%2C%0A%2Emarkdown%2Dbody%20h6%20%7B%0Amargin%2Dtop%3A%2024px%3B%0Amargin%2Dbottom%3A%2016px%3B%0Afont%2Dweight%3A%20600%3B%0Aline%2Dheight%3A%201%2E25%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h2%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h3%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h4%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h5%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h6%20%2Eocticon%2Dlink%20%7B%0Acolor%3A%20%23000%3B%0Avertical%2Dalign%3A%20middle%3B%0Avisibility%3A%20hidden%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%3Ahover%20%2Eanchor%2C%0A%2Emarkdown%2Dbody%20h2%3Ahover%20%2Eanchor%2C%0A%2Emarkdown%2Dbody%20h3%3Ahover%20%2Eanchor%2C%0A%2Emarkdown%2Dbody%20h4%3Ahover%20%2Eanchor%2C%0A%2Ema!
 rkdown%2Dbody%20h5%3Ahover%20%2Eanchor%2C%0A%2Emarkdown%2Dbody%20h6%3Ahover%20%2Eanchor%20%7B%0Atext%2Ddecoration%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h2%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h3%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h4%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h5%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%2C%0A%2Emarkdown%2Dbody%20h6%3Ahover%20%2Eanchor%20%2Eocticon%2Dlink%20%7B%0Avisibility%3A%20visible%3B%0A%7D%0A%2Emarkdown%2Dbody%20h1%20%7B%0Apadding%2Dbottom%3A%200%2E3em%3B%0Afont%2Dsize%3A%202em%3B%0Aborder%2Dbottom%3A%201px%20solid%20%23eee%3B%0A%7D%0A%2Emarkdown%2Dbody%20h2%20%7B%0Apadding%2Dbottom%3A%200%2E3em%3B%0Afont%2Dsize%3A%201%2E5em%3B%0Aborder%2Dbottom%3A%201px%20solid%20%23eee%3B%0A%7D%0A%2Emarkdown%2Dbody%20h3%20%7B%0Afont%2Dsize%3A%201%2E25em%3B%0A%7D%0A%2Emarkdown%2Dbody%20h4%20%7B%0Afont%2Dsize%3A%201em%3B%0A%7D%0A%2Emarkdown%2Dbody%20h5%20%7B%0Afont%2Dsize%3A%200%2E875em%3B%0A%7D%0A%2Emarkdown%2Dbody%20h6%20%7B%0Afont%2Dsize%3A%200%2E85em%3B%0Acolor%3A%20%23777%3B%0A%7D%0A%2Emarkdown%2Dbody%20ul%2C%0A%2Emarkdown%2Dbody%20ol%20%7B%0Apadding%2Dleft%3A%202em%3B%0A%7D%0A%2Emarkdown%2Dbody%20ul%20ul%2C%0A%2Emarkdown%2Dbody%20ul%20ol%2C%0A%2Emarkdown%2Dbody%20ol%20ol%2C%0A%2Emarkdown%2Dbody%20ol%20ul%20%7B%0Amargin%2Dtop%3A%200%3B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20li%3Ep%20%7B%0Amargin%2Dtop%3A%2016px%3B%0A%7D%0A%2Emarkdown%2Dbody%20li%2Bli%20%7B%0Amargin%2Dtop%3A%200%2E25em%3B%0A%7D%0A%2Emarkdown%2Dbody%20dl%20%7B%0Apadding%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20dl%20dt%20%7B%0Apadding%3A%200%3B%0Amargin%2Dtop%3A%2016px%3B%0Afont%2Dsize%3A%201em%3B%0Afont%2Dstyle%3A%20italic%3B%0Afont%2Dweight%3A%20bold%3B%0A%7D%0A%2Emarkdown%2Dbody%20dl%20dd%20%7B%0Apadding%3A%200%2016px%3B%0Amargin%2Dbottom%3A%2016px%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20%7B%0Adisplay%3A%20block%3B%0Awidth%3A%20100%25%3B%0Aoverflow%3A%2!
 0auto%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20th%20%7B%0Afont%2Dweight%3A%20bold%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20th%2C%0A%2Emarkdown%2Dbody%20table%20td%20%7B%0Apadding%3A%206px%2013px%3B%0Aborder%3A%201px%20solid%20%23ddd%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20tr%20%7B%0Abackground%2Dcolor%3A%20%23fff%3B%0Aborder%2Dtop%3A%201px%20solid%20%23ccc%3B%0A%7D%0A%2Emarkdown%2Dbody%20table%20tr%3Anth%2Dchild%282n%29%20%7B%0Abackground%2Dcolor%3A%20%23f8f8f8%3B%0A%7D%0A%2Emarkdown%2Dbody%20img%20%7B%0Amax%2Dwidth%3A%20100%25%3B%0Abox%2Dsizing%3A%20content%2Dbox%3B%0Abackground%2Dcolor%3A%20%23fff%3B%0A%7D%0A%2Emarkdown%2Dbody%20code%20%7B%0Apadding%3A%200%3B%0Apadding%2Dtop%3A%200%2E2em%3B%0Apadding%2Dbottom%3A%200%2E2em%3B%0Amargin%3A%200%3B%0Afont%2Dsize%3A%2085%25%3B%0Abackground%2Dcolor%3A%20rgba%280%2C0%2C0%2C0%2E04%29%3B%0Aborder%2Dradius%3A%203px%3B%0A%7D%0A%2Emarkdown%2Dbody%20code%3A%3Abefore%2C%0A%2Emarkdown%2Dbody%20code%3A%3Aafter%20%7B%0Aletter%2Dspacing%3A%20%2D0%2E2em%3B%0Acontent%3A%20%22%5C00a0%22%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%20%7B%0Aword%2Dwrap%3A%20normal%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%3Ecode%20%7B%0Apadding%3A%200%3B%0Amargin%3A%200%3B%0Afont%2Dsize%3A%20100%25%3B%0Aword%2Dbreak%3A%20normal%3B%0Awhite%2Dspace%3A%20pre%3B%0Abackground%3A%20transparent%3B%0Aborder%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Ehighlight%20%7B%0Amargin%2Dbottom%3A%2016px%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Ehighlight%20pre%20%7B%0Amargin%2Dbottom%3A%200%3B%0Aword%2Dbreak%3A%20normal%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Ehighlight%20pre%2C%0A%2Emarkdown%2Dbody%20pre%20%7B%0Apadding%3A%2016px%3B%0Aoverflow%3A%20auto%3B%0Afont%2Dsize%3A%2085%25%3B%0Aline%2Dheight%3A%201%2E45%3B%0Abackground%2Dcolor%3A%20%23f7f7f7%3B%0Aborder%2Dradius%3A%203px%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%20code%20%7B%0Adisplay%3A%20inline%3B%0Amax%2Dwidth%3A%20auto%3B%0Apadding%3A%200%3B%0Amargin%3A%200%3B%0Aoverflow%3A%20visible%3B%0Aline%2Dheight%3A%20inherit%3B%0Aword%2Dwrap%3A%20normal%3B%0Abackground%2Dcolor%3A%20transparent%3B%0Abor!
 der%3A%200%3B%0A%7D%0A%2Emarkdown%2Dbody%20pre%20code%3A%3Abefore%2C%0A%2Emarkdown%2Dbody%20pre%20code%3A%3Aafter%20%7B%0Acontent%3A%20normal%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D0%20%7B%0Apadding%2Dleft%3A%200%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D1%20%7B%0Apadding%2Dleft%3A%203px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D2%20%7B%0Apadding%2Dleft%3A%206px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D3%20%7B%0Apadding%2Dleft%3A%2012px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D4%20%7B%0Apadding%2Dleft%3A%2024px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D5%20%7B%0Apadding%2Dleft%3A%2036px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Epl%2D6%20%7B%0Apadding%2Dleft%3A%2048px%20%21important%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Efull%2Dcommit%20%2Ebtn%2Doutline%3Anot%28%3Adisabled%29%3Ahover%20%7B%0Acolor%3A%20%234078c0%3B%0Aborder%3A%201px%20solid%20%234078c0%3B%0A%7D%0A%2Emarkdown%2Dbody%20kbd%20%7B%0Adisplay%3A%20inline%2Dblock%3B%0Apadding%3A%203px%205px%3B%0Afont%3A%2011px%20Consolas%2C%20%22Liberation%20Mono%22%2C%20Menlo%2C%20Courier%2C%20monospace%3B%0Aline%2Dheight%3A%2010px%3B%0Acolor%3A%20%23555%3B%0Avertical%2Dalign%3A%20middle%3B%0Abackground%2Dcolor%3A%20%23fcfcfc%3B%0Aborder%3A%20solid%201px%20%23ccc%3B%0Aborder%2Dbottom%2Dcolor%3A%20%23bbb%3B%0Aborder%2Dradius%3A%203px%3B%0Abox%2Dshadow%3A%20inset%200%20%2D1px%200%20%23bbb%3B%0A%7D%0A%2Emarkdown%2Dbody%20%3Achecked%2B%2Eradio%2Dlabel%20%7B%0Aposition%3A%20relative%3B%0Az%2Dindex%3A%201%3B%0Aborder%2Dcolor%3A%20%234078c0%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Etask%2Dlist%2Ditem%20%7B%0Alist%2Dstyle%2Dtype%3A%20none%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Etask%2Dlist%2Ditem%2B%2Etask%2Dlist%2Ditem%20%7B%0Amargin%2Dtop%3A%203px%3B%0A%7D%0A%2Emarkdown%2Dbody%20%2Etask%2Dlist%2Ditem%20input%20%7B%0Amargin%3A%200%200%2E2em%200%2E25em%20%2D1%2E6em%3B%0Avertical%2Dalign%3A%20middle%3B%0A%7D%0A%2Emarkdown%2Dbody%20hr%20%7B%0Aborder%2Dbottom%2Dcolor%3A%20%23eee%3B%0A%7D%0A" rel="stylesheet">
+  <!--[if lt IE 9]>
+    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
+  <![endif]-->
 </head>
 <body>
+<article class="markdown-body">
 <h1 id="jlreq">jlreq</h1>
 <h2 id="what-is-this">What is this?</h2>
 <p>This package provides the class file and JFM (Japanese font metric) files for LuaTeX-ja / pLaTeX / upLaTeX. This aims to implement <a href="https://www.w3.org/TR/jlreq/">Requirements for Japanese Text Layout</a>.</p>
@@ -38,6 +73,14 @@
 <li>Change/Add some keys to class option/<code>\jlreqsetup</code></li>
 <li>Stop to load <code>pxrubirica</code>, <code>luatexja-ruby</code> and <code>nidanfloat</code>.</li>
 </ul></li>
+<li>2017-03-14
+<ul>
+<li>Fix bugs.</li>
+<li><code>\sffamily</code> etc. also change the Japanese font family.</li>
+<li>Add many options to <code>\DeclareBlockHeading</code>.</li>
+<li>Some options related to <code>quote</code> environment etc.</li>
+</ul></li>
 </ul>
+</article>
 </body>
 </html>

Modified: trunk/Master/texmf-dist/doc/latex/jlreq/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jlreq/README.md	2017-03-14 21:51:58 UTC (rev 43498)
+++ trunk/Master/texmf-dist/doc/latex/jlreq/README.md	2017-03-14 21:52:14 UTC (rev 43499)
@@ -27,3 +27,8 @@
     - Implement `abstract` environment.
     - Change/Add some keys to class option/`\jlreqsetup`
     - Stop to load `pxrubirica`, `luatexja-ruby` and `nidanfloat`.
+* 2017-03-14
+    - Fix bugs.
+    - `\sffamily` etc. also change the Japanese font family.
+    - Add many options to `\DeclareBlockHeading`.
+    - Some options related to `quote` environment etc.

Modified: trunk/Master/texmf-dist/tex/latex/jlreq/jlreq.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jlreq/jlreq.cls	2017-03-14 21:51:58 UTC (rev 43498)
+++ trunk/Master/texmf-dist/tex/latex/jlreq/jlreq.cls	2017-03-14 21:52:14 UTC (rev 43499)
@@ -3,9 +3,9 @@
 %% The package is distributed under the BSD 2-Clause License
 %%
 %%
-% (based on JLREQ 20120403 https://www.w3.org/TR/2012/NOTE-jlreq-20120403/ja/)
+% (based on JLReq 20120403 https://www.w3.org/TR/2012/NOTE-jlreq-20120403/ja/)
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jlreq}[2017/02/17 jlreq]
+\ProvidesClass{jlreq}[2017/03/14 jlreq]
 \RequirePackage{xkeyval,everyhook,filehook,etoolbox,ifthen}
 
 %. helper1
@@ -24,6 +24,7 @@
 % 計算結果を返すための変数
 \newdimen\jlreq at resultdimen
 \newbox\jlreq at resultbox
+\newif\ifjlreq at result
 
 \def\jlreq at uniqtoken{\jlreq at uniqtoken}
 \def\jlreq at endmark{\jlreq at endmark}
@@ -35,8 +36,12 @@
 \long\def\jlreq at getfirsttoken@#1#2\jlreq at endmark#3\jlreq at endmark{#1}
 % 与えられたトークン列が空か(展開はしないでチェック)
 \long\def\jlreq at ifempty#1{\expandafter\ifx\expandafter\relax\detokenize{#1}\relax\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi}
+% #1の先頭トークンが#2か
+\long\def\jlreq at iffirsttoken#1#2{%
+  \expandafter\expandafter\expandafter\ifx\jlreq at getfirsttoken#1\jlreq at uniqtoken{}\jlreq at endmark #2\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi
+}
 % #1が\jlreq at endmarkか
-\long\def\jlreq at ifendmark#1{\expandafter\expandafter\expandafter\ifx\jlreq at getfirsttoken#1{}\jlreq at uniqtoken\jlreq at endmark\jlreq at endmark\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi}
+\long\def\jlreq at ifendmark#1{\jlreq at iffirsttoken{#1}{\jlreq at endmark}}
 
 % @removeelementの括弧があっても動くかもしれない版
 % 次の変数を使う:\jlreq at tempa:消したいやつ,\jlreq at tempb:今処理している部分.
@@ -186,15 +191,15 @@
   \@tempa
 }
 \long\def\jlreq at helper@parsekeyval@@@choicekey#1#2[#3]#4{%
-  \define at choicekey{#1}{#2}{#3}{\appto\jlreq at do{#4}}%
+  \define at choicekey{#1}{#2}{#3}{\eappto\jlreq at do{\unexpanded{#4}}}%
   \jlreq at helper@parsekeyval@@@{#1}%
 }
 \long\def\jlreq at helper@parsekeyval@@@definekeywithdefault#1#2#3{%
-  \define at key{#1}{#2}[]{\appto\jlreq at do{#3}}%
+  \define at key{#1}{#2}[]{\eappto\jlreq at do{\unexpanded{#3}}}%
   \jlreq at helper@parsekeyval@@@{#1}%
 }
 \long\def\jlreq at helper@parsekeyval@@@definekey#1#2#3{%
-  \define at key{#1}{#2}{\appto\jlreq at do{#3}}%
+  \define at key{#1}{#2}{\eappto\jlreq at do{\unexpanded{#3}}}%
   \jlreq at helper@parsekeyval@@@{#1}%
 }
 
@@ -272,6 +277,19 @@
 \jlreq at preambletrue
 \AtBeginDocument{\jlreq at preamblefalse}
 
+\RequirePackage[savepos]{zref}
+\zref at newprop*{jlreq at page}[0]{\number\c at page}
+\zref at addprop{main}{jlreq at page}
+% 現在のページを得る
+\newcount\jlreq at zref@reference at count
+\jlreq at zref@reference at count=0
+\newcount\jlreq at currentpage
+\newcommand*{\jlreq at setcurrentpage}{%
+  \global\advance\jlreq at zref@reference at count by 1
+  \zref at labelbyprops{jlreq at rest@width.page.\the\jlreq at zref@reference at count}{jlreq at page}%
+  \global\jlreq at currentpage=\zref at extractdefault{jlreq at rest@width.page.\the\jlreq at zref@reference at count}{jlreq at page}{\c at page}%
+}
+
 %. オプションの定義
 % オプション処理の際にしか使わない変数(後でそれを元に別の変数を調整する)
 % ものは\jlreq at option@<key>に格納する.
@@ -342,28 +360,28 @@
 % 追加
 \jlreq at addpapersize[a0]{}{1189mm}{841mm}
 \jlreq at addpapersize[a1]{}{841mm}{594mm}
-\jlreq at addpapersize[a2]{}{420mm}{594mm}
-\jlreq at addpapersize[a7]{}{74mm}{105mm}
-\jlreq at addpapersize[a8]{}{52mm}{74mm}
-\jlreq at addpapersize[a9]{}{37mm}{52mm}
-\jlreq at addpapersize[a10]{}{26mm}{37mm}
+\jlreq at addpapersize[a2]{}{594mm}{420mm}
+\jlreq at addpapersize[a7]{}{105mm}{74mm}
+\jlreq at addpapersize[a8]{}{74mm}{52mm}
+\jlreq at addpapersize[a9]{}{52mm}{37mm}
+\jlreq at addpapersize[a10]{}{37mm}{26mm}
 
-\jlreq at addpapersize[b0]{}{1030mm}{1456mm}
-\jlreq at addpapersize[b1]{}{728mm}{1030mm}
-\jlreq at addpapersize[b2]{}{515mm}{728mm}
-\jlreq at addpapersize[b3]{}{364mm}{515mm}
-\jlreq at addpapersize[b7]{}{91mm}{128mm}
-\jlreq at addpapersize[b8]{}{64mm}{91mm}
-\jlreq at addpapersize[b9]{}{45mm}{64mm}
-\jlreq at addpapersize[b10]{}{32mm}{45mm}
+\jlreq at addpapersize[b0]{}{1456mm}{1030mm}
+\jlreq at addpapersize[b1]{}{1030mm}{728mm}
+\jlreq at addpapersize[b2]{}{728mm}{515mm}
+\jlreq at addpapersize[b3]{}{515mm}{364mm}
+\jlreq at addpapersize[b7]{}{128mm}{91mm}
+\jlreq at addpapersize[b8]{}{91mm}{64mm}
+\jlreq at addpapersize[b9]{}{64mm}{45mm}
+\jlreq at addpapersize[b10]{}{45mm}{32mm}
 
-\jlreq at addpapersize[c2]{}{458mm}{648mm}
-\jlreq at addpapersize[c3]{}{324mm}{458mm}
-\jlreq at addpapersize[c4]{}{229mm}{354mm}
-\jlreq at addpapersize[c5]{}{162mm}{229mm}
-\jlreq at addpapersize[c6]{}{114mm}{162mm}
-\jlreq at addpapersize[c7]{}{81mm}{114mm}
-\jlreq at addpapersize[c8]{}{57mm}{81mm}
+\jlreq at addpapersize[c2]{}{648mm}{458mm}
+\jlreq at addpapersize[c3]{}{458mm}{324mm}
+\jlreq at addpapersize[c4]{}{354mm}{229mm}
+\jlreq at addpapersize[c5]{}{229mm}{162mm}
+\jlreq at addpapersize[c6]{}{162mm}{114mm}
+\jlreq at addpapersize[c7]{}{114mm}{81mm}
+\jlreq at addpapersize[c8]{}{81mm}{57mm}
 
 %.. フォントサイズ,行長,1ページあたりの行数で基本版面のサイズを決める(2.4.1.a)
 \newcommand*{\jlreq at option@fontsize}{}
@@ -422,8 +440,8 @@
 % 脚注の字下げ,一行目を下げるならばone,二行目以降ならばtwo.ちょっと酷いので後で考える.
 \newcommand*{\jlreq at footnotetext@indent}{one}
 \define at choicekey{jlreq.cls}{footnotetext_indent}{one,two}{\renewcommand*{\jlreq at footnotetext@indent}{#1}}
-% 後注をどこに配置するか._headings(全ての見出し),_paragraph(段落後),_で始まらないやつ(その名前の見出し).カンマ区切り
-\newcommand*{\jlreq at endnote@position}{_headings}
+% 後注をどこに配置するか.headings(全ての見出し),paragraph(段落後),_で始まるやつ(その名前の見出し).カンマ区切り
+\newcommand*{\jlreq at endnote@position}{headings}
 \DeclareOptionX{endnote_position}{\renewcommand*{\jlreq at endnote@position}{#1}}
 % 傍注のタイプ
 \newcommand*{\jlreq at sidenote@type}{number}
@@ -431,6 +449,18 @@
 \newcommand*{\jlreq at option@sidenote at width}{}
 \DeclareOptionX{sidenote_width}{\renewcommand*{\jlreq at option@sidenote at width}{#1}}
 
+%.. 引用
+\def\jlreq at quote@indent{2zw}
+\DeclareOptionX{quote_indent}{\def\jlreq at quote@indent{#1}}
+\def\jlreq at quote@end at indent{0zw}
+\DeclareOptionX{quote_end_indent}{\def\jlreq at quote@end at indent{#1}}
+\def\jlreq at quote@fontsize{normalsize}
+\define at choicekey{jlreq.cls}{quote_fontsize}{normalsize,small,footnotesize,scriptsize,tiny}{\def\jlreq at quote@fontsize{#1}}
+\def\jlreq at quote@beforeafter at space{0pt}
+\DeclareOptionX{quote_beforeafter_space}{\def\jlreq at quote@beforeafter at space{#1}}
+
+
+%.. もろもろ
 \newif\if at restonecol \@restonecolfalse
 \newif\if at titlepage \@titlepagefalse
 \newif\ifjlreq at option@titlepage \jlreq at option@titlepagefalse % titlepageかnotitlepageかが指定された
@@ -445,9 +475,8 @@
   \tombowtrue \tombowdatefalse
   \setlength{\@tombowwidth}{\z@}%
   \maketombowbox}
-\jlreq at DeclareOption{tate}{\@tatetrue
-  \AtBeginDocument{\tate\message{\jlreq at tategumi@message}\adjustbaseline}%
-}
+\jlreq at DeclareOption{tate}{\@tatetrue}
+
 \newif\ifjlreq at option@twoside\jlreq at option@twosidefalse % onesideかtwosideが指定された
 \jlreq at DeclareOption{oneside}{\@twosidefalse\@mparswitchfalse\jlreq at option@twosidetrue}
 \jlreq at DeclareOption{twoside}{\@twosidetrue\@mparswitchtrue\jlreq at option@twosidetrue}
@@ -465,7 +494,7 @@
 \jlreq at DeclareOption{fleqn}{\input{fleqn.clo}}
 
 \newcommand*{\jlreq at warning}[1]{}
-\jlreq at DeclareOption{jlreq_warnings}{\renewcommand*{\jlreq at warning}[1]{\ClassWarningNoLine{jlreq}{(JLREQ warning) ##1}}}
+\jlreq at DeclareOption{jlreq_warnings}{\renewcommand*{\jlreq at warning}[1]{\ClassWarningNoLine{jlreq}{(JLReq warning) ##1}}}
 
 \ExecuteOptionsX{article_type=article,paper=a4,fontsize=10pt,open_bracket_pos=zenkaku_tentsuki,reference_mark=inline,footnotetext_indent=one,endnote_position=headings,onecolumn,final}
 % \@removeelementを一旦置き換えてから\ProcessOptionsXを実行する
@@ -524,7 +553,9 @@
   % http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1508&parent=8435
   \if at tate\AtEndPreamble{\par}\fi
 \fi
-\def\jlreq at tategumi@message{《縦組モード》}
+\if at tate
+  \AtBeginDocument{\tate\message{《縦組モード》}\adjustbaseline}
+\fi
 
 % \jlreq at gol(Gyo Okuri Length), \jlreq at mol (Moji Okuri Length)を定義
 \if at tate
@@ -560,15 +591,11 @@
 \fi
 
 % 現在行の残りを得る.
-\RequirePackage[savepos]{zref}
-\newcount\jlreq at rest@linewidth at count
-\jlreq at rest@linewidth at count=0
-
 \ifx l\jlreq at engine
   % 以下のコードはおかしい.
   \newcommand*{\jlreq at calc@current at linewidth}{%
-    \dimexpr\zposx{jlreq at rest@width.pos.\the\jlreq at rest@linewidth at count} sp - \@totalleftmargin -
-    \ifodd\zref at extractdefault{jlreq at rest@width.page.\the\jlreq at rest@linewidth at count}{page}{\c at page}%
+    \dimexpr\zposx{jlreq at rest@width.pos.\the\jlreq at zref@reference at count} sp - \@totalleftmargin -
+    \ifodd\jlreq at currentpage
       \oddsidemargin
     \else
       \evensidemargin
@@ -579,8 +606,8 @@
   \newcommand*{\jlreq at calc@current at linewidth}{%
     \dimexpr
       \jlreq at ifydir{%
-        \zposx{jlreq at rest@width.pos.\the\jlreq at rest@linewidth at count} sp - \hoffset
-        \ifodd\zref at extractdefault{jlreq at rest@width.page.\the\jlreq at rest@linewidth at count}{page}{\c at page}%
+        \zposx{jlreq at rest@width.pos.\the\jlreq at zref@reference at count} sp - \hoffset
+        \ifodd\jlreq at currentpage
           - \oddsidemargin
         \else
           - \evensidemargin
@@ -592,7 +619,7 @@
           \pdfpageheight
         \fi
         - \topmargin - \headheight - \headsep - \voffset
-        - \zposy{jlreq at rest@width.pos.\the\jlreq at rest@linewidth at count} sp
+        - \zposy{jlreq at rest@width.pos.\the\jlreq at zref@reference at count} sp
       }%
       - \@totalleftmargin - 1in
     \relax
@@ -604,13 +631,13 @@
 % この命令以降,次にこの命令を実行する前まで\jlreq at rest@linewidth/\jlreq at rest@linewidthで
 % この場所における残り長さが取得できる.
 \newcommand*{\jlreq at savepos@for at rest@linewidth}{%
-  \global\advance\jlreq at rest@linewidth at count by 1\relax
-  \zsavepos{jlreq at rest@width.pos.\the\jlreq at rest@linewidth at count}%
-  \zref at labelbyprops{jlreq at rest@width.page.\the\jlreq at rest@linewidth at count}{page}%
-  \jlreq at current@linewidth=\jlreq at calc@current at linewidth
-  \jlreq at rest@linewidth=\dimexpr\linewidth - \jlreq at current@linewidth\relax
+  \jlreq at setcurrentpage
+  \global\advance\jlreq at zref@reference at count by 1\relax
+  \zsavepos{jlreq at rest@width.pos.\the\jlreq at zref@reference at count}%
+  \global\jlreq at current@linewidth=\jlreq at calc@current at linewidth
+  \global\jlreq at rest@linewidth=\dimexpr\linewidth - \jlreq at current@linewidth\relax
+  \edef\jlreq at savepos@iflabelundefined{\noexpand\zref at ifrefundefined{jlreq at rest@width.pos.\the\jlreq at zref@reference at count}}%
 }
-\def\jlreq at savepos@iflabelundefined{\@ifundefined{\ZREF at RefPrefix @jlreq at rest@width.pos.\the\jlreq at rest@linewidth at count}}
 
 %. 基本設定
 % 和文文字,欧文文字の設定(とりあえずLuaTeX-jaのデフォルトのまま)
@@ -904,12 +931,11 @@
 %.. フォント関連
 \newdimen\jlreq at fontsize
 \ifx l\jlreq at engine
-  \jlreq at tempdima=0.25mm
   \setlength{\jlreq at fontsize}{%
     \dimexpr\directlua{
       local act = string.char(92)
       local s = [[\jlreq at option@fontsize]]
-      s = s:gsub("Q",act .. "jlreq at tempdima")
+      s = s:gsub("Q",act .. "dimexpr 0.25mm" .. act .. "relax")
       tex.print(s)
     }\relax
   }%
@@ -917,38 +943,6 @@
   \setlength{\jlreq at fontsize}{\dimexpr\jlreq at option@fontsize\relax}
 \fi
 
-% JFMに関連する設定
-\ifx l\jlreq at engine
-  % この値は後でjfm-jlreq内で読む
-  \directlua{jlreq.open_bracket_pos = [[\jlreq at open@bracket at pos]]}
-  \ifjlreq at burasage\directlua{jlreq.burasage = true}
-  \else\directlua{jlreq.burasage = false}\fi
-\else
-  % 非LuaTeXの場合はJFMの入れ替えと\everyparでの処理で対処.
-  \def\jlreq at jfmname@prefix{}
-  \def\jlreq at openbreackets@list{(〔[{〈《「『【}
-  \ifx u\jlreq at engine\edef\jlreq at openbreackets@list{\jlreq at openbreackets@list {⦅〘〖«〝‘“}}\fi
-  % \jlreq at jfmnameにJFMの名前を入れる
-  \ifjlreq at burasage\edef\jlreq at jfmname@prefix{b\jlreq at jfmname@prefix}\fi
-  \ifthenelse{\equal{\jlreq at open@bracket at pos}{zenkakunibu_nibu}}{\edef\jlreq at jfmname@prefix{\jlreq at jfmname@prefix z}}{}
-  \ifx u\jlreq at engine\edef\jlreq at jfmname@prefix{u\jlreq at jfmname@prefix}\fi
-  \edef\jlreq at jfmname{\jlreq at jfmname@prefix jlreq}
-  \edef\jlreq at jfmnameg{\jlreq at jfmname@prefix jlreqg}
-  % JFM glueの伸び縮みで行頭括弧が揃わないのを防ぐために常に\inhibitglueを入れる.
-  \ifthenelse{\equal{\jlreq at open@bracket at pos}{nibu_tentsuki}}{
-    \def\jlreq at openbracket@hook{\jlreq at ifintokenlist{\jlreq at nextchar}{\jlreq at openbreackets@list}{\hskip -.5\jlreq at mol\inhibitglue}{}}
-  }{% zenkakunibu_nibu,zenkaku_tentsuki
-    \def\jlreq at openbracket@hook{\jlreq at ifintokenlist{\jlreq at nextchar}{\jlreq at openbreackets@list}{\inhibitglue}{}}
-  }
-  \AtBeginDocument{\PushPostHook{par}{\futurelet\jlreq at nextchar\jlreq at openbracket@hook}}
-\fi
-% 開き括弧の幅が全角の場合は,ベタ組にするために補正が必要
-\ifthenelse{\equal{\jlreq at open@bracket at pos}{zenkakunibu_nibu}}{
-  \def\jlreq at open@bracket at before@space{\hskip -.5\jlreq at mol}
-}{
-  \def\jlreq at open@bracket at before@space{}
-}
-
 %. フォント
 \RequirePackage{lmodern}
 
@@ -989,7 +983,39 @@
 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
 
 %.. 和文
+% JFMに関連する設定
 \ifx l\jlreq at engine
+  % この値は後でjfm-jlreq内で読む
+  \directlua{jlreq.open_bracket_pos = [[\jlreq at open@bracket at pos]]}
+  \ifjlreq at burasage\directlua{jlreq.burasage = true}
+  \else\directlua{jlreq.burasage = false}\fi
+\else
+  % 非LuaTeXの場合はJFMの入れ替えと\everyparでの処理で対処.
+  \def\jlreq at jfmname@prefix{}
+  \def\jlreq at openbreackets@list{(〔[{〈《「『【}
+  \ifx u\jlreq at engine\edef\jlreq at openbreackets@list{\jlreq at openbreackets@list {⦅〘〖«〝‘“}}\fi
+  % \jlreq at jfmnameにJFMの名前を入れる
+  \ifjlreq at burasage\edef\jlreq at jfmname@prefix{b\jlreq at jfmname@prefix}\fi
+  \ifthenelse{\equal{\jlreq at open@bracket at pos}{zenkakunibu_nibu}}{\edef\jlreq at jfmname@prefix{\jlreq at jfmname@prefix z}}{}
+  \ifx u\jlreq at engine\edef\jlreq at jfmname@prefix{u\jlreq at jfmname@prefix}\fi
+  \edef\jlreq at jfmname{\jlreq at jfmname@prefix jlreq}
+  \edef\jlreq at jfmnameg{\jlreq at jfmname@prefix jlreqg}
+  % JFM glueの伸び縮みで行頭括弧が揃わないのを防ぐために常に\inhibitglueを入れる.
+  \ifthenelse{\equal{\jlreq at open@bracket at pos}{nibu_tentsuki}}{
+    \def\jlreq at openbracket@hook{\jlreq at ifintokenlist{\jlreq at nextchar}{\jlreq at openbreackets@list}{\hskip -.5\jlreq at mol\inhibitglue}{}}
+  }{% zenkakunibu_nibu,zenkaku_tentsuki
+    \def\jlreq at openbracket@hook{\jlreq at ifintokenlist{\jlreq at nextchar}{\jlreq at openbreackets@list}{\inhibitglue}{}}
+  }
+  \AtBeginDocument{\PushPostHook{par}{\futurelet\jlreq at nextchar\jlreq at openbracket@hook}}
+\fi
+% 開き括弧の幅が全角の場合は,ベタ組にするために補正が必要
+\ifthenelse{\equal{\jlreq at open@bracket at pos}{zenkakunibu_nibu}}{
+  \def\jlreq at open@bracket at before@space{\hskip -.5\jlreq at mol}
+}{
+  \def\jlreq at open@bracket at before@space{}
+}
+
+\ifx l\jlreq at engine
   \RequirePackage{luatexja-adjust}
   \ltjenableadjust[lineend=extended,priority=true]
   \ltjsetparameter{stretch_priority={kanjiskip=10,xkanjiskip=-30}}
@@ -996,14 +1022,14 @@
   \ltjsetparameter{shrink_priority={kanjiskip=0,xkanjiskip=0}}
 \fi
 
+\ifx p\jlreq at engine
+  \def\jlreq at yokokanjiencoding{JY1}
+  \def\jlreq at tatekanjiencoding{JT1}
+\fi
 \ifx u\jlreq at engine
   \def\jlreq at yokokanjiencoding{JY2}
   \def\jlreq at tatekanjiencoding{JT2}
 \fi
-\ifx p\jlreq at engine
-  \def\jlreq at yokokanjiencoding{JY1}
-  \def\jlreq at tatekanjiencoding{JT1}
-\fi
 \ifx l\jlreq at engine
   \def\jlreq at yokokanjiencoding{JY3}
   \def\jlreq at tatekanjiencoding{JT3}
@@ -1040,6 +1066,17 @@
 \DeclareFontShape{\jlreq at tatekanjiencoding}{mc}{bx}{it}{<->ssub*gt/m/n}{}
 \DeclareFontShape{\jlreq at tatekanjiencoding}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
 
+% 和文ファミリと欧文ファミリの連動
+\DeclareRobustCommand\rmfamily{%
+  \not at math@alphabet\rmfamily\mathrm
+  \romanfamily\rmdefault\kanjifamily\mcdefault\selectfont}
+\DeclareRobustCommand\sffamily{%
+  \not at math@alphabet\sffamily\mathsf
+  \romanfamily\sfdefault\kanjifamily\gtdefault\selectfont}
+\DeclareRobustCommand\ttfamily{%
+  \not at math@alphabet\ttfamily\mathtt
+  \romanfamily\ttdefault\kanjifamily\gtdefault\selectfont}
+
 % 数式フォント設定
 \ifx l\jlreq at engine\else
   \DeclareSymbolFont{mincho}{\jlreq at yokokanjiencoding}{mc}{m}{n}
@@ -1061,12 +1098,11 @@
   \setlength{\jlreq at baselineskip}{\dimexpr 17\jlreq at fontsize/10\relax}%
 \else
   \ifx l\jlreq at engine
-    \jlreq at tempdima=0.25mm
     \setlength{\jlreq at baselineskip}{%
       \dimexpr\directlua{
         local act = string.char(92)
         local s = [[\jlreq at option@baselineskip]]
-        s = s:gsub("Q",act .. "jlreq at tempdima"):gsub("zh",act .. "zh"):gsub("zw",act .. "zw")
+        s = s:gsub("Q",act .. "dimexpr 0.25mm" .. act .. "relax"):gsub("zh",act .. "zh"):gsub("zw",act .. "zw")
         tex.print(s)
       }\relax
     }%
@@ -1367,11 +1403,11 @@
       {label_format}{\def\jlreq at label@format{##1}}
       {format}{\def\jlreq at format####1####2{##1}}
       {pagestyle}{\def\jlreq at pagestyle{##1}}
-      {type}[han,naka]{
+      {type}[han,naka]{%
         \jlreq at switch{##1}{
           {han}{\def\jlreq at heading@clearpage{\clearpage}}
           {naka}{\def\jlreq at heading@clearpage{\cleardoublepage}}
-        }
+        }%
       }
     }{#3}%
     \ifx\jlreq at format\@undefined
@@ -1390,7 +1426,7 @@
       }%
     }{}%
     \edef\jlreq at do{%
-     \expandonce{\jlreq at addtodo}%
+      \expandonce{\jlreq at addtodo}%
       \noexpand\def\expandonce{\csname jlreq at TobiraHeading@start@#1\endcsname}[####1]####2{%
         \unexpanded{\ifnum#2>\c at secnumdepth\else}%
           \unexpanded{\refstepcounter{#1}}%
@@ -1432,12 +1468,12 @@
 }
 
 %.. 別行見出し
-% \jlreq at startBlockHeading{1 = 命令名}{2 = レベル}{3 = 字下げ}{4 = 前空き}{5 = 後ろ空き}{6 = トータル行数}{7 =  フォーマット関連}*{見出し}[副題]
+% \jlreq at startBlockHeading{1 = 命令名}{2 = レベル}{3 = スペース関連}{4 =  フォーマット関連}*{見出し}[副題]
 % 字下げはa:**だと追加する値(ページ行頭には入らない),s:**も追加だがページ行頭でも入る,
 % r:**だとその値に強制する.
-\newcommand{\jlreq at startBlockHeading}[7]{%
-  \edef\jlreq at startBlockHeading@format{\unexpanded{#7}}%
-  \jlreq at startBlockHeading@{#1}{#2}{{#3}{#4}{#5}{#6}}%
+\newcommand{\jlreq at startBlockHeading}[4]{%
+  \edef\jlreq at startBlockHeading@format{\unexpanded{#4}}%
+  \jlreq at startBlockHeading@{#1}{#2}{#3}%
 }
 % {1 = 命令}{2 = レベル}{3 = スペース関連}
 \newcommand{\jlreq at startBlockHeading@}[3]{%
@@ -1448,37 +1484,42 @@
   \@ifnextchar[{\jlreq at startBlockHeading@@@{#1}{#2}{#3}{#4}{#5}{#6}}{\jlreq at startBlockHeading@@@{#1}{#2}{#3}{#4}{#5}{#6}[]}%
 }
 
-% {1 = レベル}{2 = ラベルフォーマット}{3 = 本体フォーマット}{4 = 副題フォーマット}{5 = *}{6 = 見出し}{7 = 副題}
-\long\def\jlreq at startBlockHeading@setformat#1#2#3#4#5#6#7{%
+% {1 = ラベルフォーマット}{2 = 見出し文字列フォーマット}{3 = 見出し文字列フォーマット(ラベル無し)}{4 = 副題フォーマット}{5 = 副題フォーマット(ラベル無し)}{6 = 全体フォーマット}{7 = *}{8 = 見出し}{9 = 副題}
+\long\def\jlreq at startBlockHeading@setformat#1#2#3#4#5#6#7#8#9{%
   % \jlreq at tempaに{ラベル}{見出し}{副題}という形のものを入れる
-  \ifnum0\jlreq at ifempty{#5}{}{1}\ifnum #1>\c at secnumdepth 1\fi>0
-    \def\jlreq at tempa{{}{#6}}%
-  \else
-    \def\jlreq at tempa{{#2}{#6}}%
-  \fi
   \jlreq at ifempty{#7}{%
-    \appto\jlreq at tempa{{}}%
+    % ラベルあり
+    \def\jlreq at tempa{#1}%
+    \long\def\jlreq at tempb##1{#2}%
+    \jlreq at ifempty{#9}{\def\jlreq at tempc##1{}}{\long\def\jlreq at tempc##1{#4}}%
   }{%
-    \long\def\jlreq at tempb##1{#4}%
-    \expandafter\appto\expandafter\jlreq at tempa\expandafter{\expandafter{\jlreq at tempb{#7}}}%
+    \def\jlreq at tempa{}%
+    \long\def\jlreq at tempb##1{#3}%
+    \jlreq at ifempty{#9}{\def\jlreq at tempc##1{}}{\long\def\jlreq at tempc##1{#5}}%
   }%
-  \long\def\jlreq at tempb##1##2##3{#3}%
+  \edef\jlreq at tempa{{\expandonce{\jlreq at tempa}}{\expandonce{\jlreq at tempb{#8}}}{\expandonce{\jlreq at tempc{#9}}}}%
+  \long\def\jlreq at tempb##1##2##3{#6}%
   \edef\jlreq at tempa{\unexpanded{\expandafter\def\expandafter\jlreq at result\expandafter}{\noexpand\jlreq at tempb\expandonce{\jlreq at tempa}}}%
   \jlreq at tempa
 }
 % {1 = 命令}{2 = レベル}{3 = スペース関連}{4 = *}{5 = running head}{6 = 見出し}[7 = 副題]
 \def\jlreq at startBlockHeading@@@#1#2#3#4#5#6[#7]{%
-  \ifnum0\jlreq at ifempty{#4}{}{1}\ifnum #2>\c at secnumdepth 1\fi>0\else
+  \ifnum0\jlreq at ifempty{#4}{}{1}\ifnum #2>\c at secnumdepth 1\fi>0
+    \def\jlreq at tempb{*}%
+  \else
     \refstepcounter{#1}%
+    \def\jlreq at tempb{}%
   \fi
   % 後で呼び出す\jlreq at startBlockHeading@addtocontentslineを定義する
-  \long\def\jlreq at tempa##1##2##3{\def\jlreq at tempa{##1}}%
+  \long\def\jlreq at tempa##1##2##3##4##5##6##7{%
+    \def\jlreq at tempa{##1}% 素のラベルのフォーマットを取り出す
+    \edef\jlreq at tempb{\unexpanded{{##2}{##3}{##4}{##5}{##6}{##7}}{\expandonce{\jlreq at tempb}}}% 残り
+  }%
   \expandafter\jlreq at tempa\jlreq at startBlockHeading@format
   \edef\jlreq at startBlockHeading@addtocontentsline{%
     \expandonce{\csname jlreq at heading@maketoc@#1\endcsname}{\unexpanded{#4}}{\expandonce{\jlreq at tempa}}{\unexpanded{#5}}%
   }%
-  \def\jlreq at do{\jlreq at startBlockHeading@setformat{#2}}%
-  \expandafter\jlreq at do\jlreq at startBlockHeading@format{#4}{#6}{#7}%
+  \expandafter\jlreq at startBlockHeading@setformat\jlreq at tempb{#6}{#7}%
   \def\jlreq at do{\jlreq at startBlockHeading@@@@#3}%
   \expandafter\jlreq at do\expandafter{\jlreq at result}%
 }
@@ -1494,26 +1535,33 @@
   }%
 }
 
-% {1 = 字下げ}{2 = 前空き}{3 = 後ろ空き}{4 = トータル行数}{5 = 出力}
-\long\def\jlreq at startBlockHeading@@@@#1#2#3#4#5{%
+% {1 = 字下げ}{2 = 字上げ}{3 = 前空き}{4 = 後ろ空き}{5 = トータル行数}{6 = afterindent}{7 = 偶数ページ改ページ}{8 = 出力}
+\long\def\jlreq at startBlockHeading@@@@#1#2#3#4#5#6#7#8{%
   \if at noskipsec\leavevmode\fi
-  \setbox\jlreq at tempboxa=\vbox{%
-    \jlreq at ifempty{#1}{}{\hsize=\dimexpr\hsize - #1\relax}%
-    \noindent #5}%
   \par
-  \@afterindenttrue
+  \jlreq at ifempty{#7}{}{\jlreq at setcurrentpage}%
+  \setbox\jlreq at tempboxa=\vbox{\noindent
+    \jlreq at tempafalse % 中央寄せするか
+    \ifthenelse{\equal{#1}{center}}{\jlreq at tempatrue}{%
+      \jlreq at ifempty{#1}{}{\hsize=\dimexpr\hsize - #1\relax}%
+    }%
+    \ifthenelse{\equal{#2}{center}}{\jlreq at tempatrue}{%
+      \jlreq at ifempty{#2}{}{\hsize=\dimexpr\hsize - #2\relax}%
+    }%
+    \ifjlreq at tempa\hfil\fi
+    #8}%
   % \jlreq at tempskip(a/b)に前/後ろに入れるべき値を入れる
-  % #2がa:ならばその値は\jlreq at tempskipaには入れず\jlreq at tempskipcに入れておく
+  % #3がa:ならばその値は\jlreq at tempskipaには足さず\jlreq at tempskipcに入れておく
   \jlreq at tempskipc=0pt
-  \jlreq at startBlockHeading@analyzespace#2:\jlreq at endmark
+  \jlreq at startBlockHeading@analyzespace#3:\jlreq at endmark
   \setbox\jlreq at tempboxb=\vbox{ }%
-  \jlreq at ifempty{#4}{%
+  \jlreq at ifempty{#5}{%
     \ifx\jlreq at startBlockHeading@space\@empty\else
       \jlreq at tempskipa=\glueexpr\jlreq at startBlockHeading@space\relax
     \fi
     \jlreq at tempskipb=0pt\relax
   }{%
-    \jlreq at tempskipb=\glueexpr(\baselineskip*(#4 + 1) - \ht\jlreq at tempboxb - \dp\jlreq at tempboxb - \ht\jlreq at tempboxa - \dp\jlreq at tempboxa)/2\relax
+    \jlreq at tempskipb=\glueexpr(\baselineskip*(#5 + 1) - \ht\jlreq at tempboxb - \dp\jlreq at tempboxb - \ht\jlreq at tempboxa - \dp\jlreq at tempboxa)/2\relax
     \ifx\jlreq at startBlockHeading@space\@empty
       \jlreq at tempskipa=\jlreq at tempskipb
     \else
@@ -1526,7 +1574,7 @@
       \fi
       \ifx r\jlreq at startBlockHeading@spacetype
         \jlreq at tempskipa=\glueexpr\jlreq at startBlockHeading@space\relax%
-        \jlreq at tempskipb=\glueexpr(\baselineskip*(#4 + 1) - \ht\jlreq at tempboxb - \dp\jlreq at tempboxb - \ht\jlreq at tempboxa - \dp\jlreq at tempboxa) - \jlreq at startBlockHeading@space\relax
+        \jlreq at tempskipb=\glueexpr(\baselineskip*(#5 + 1) - \ht\jlreq at tempboxb - \dp\jlreq at tempboxb - \ht\jlreq at tempboxa - \dp\jlreq at tempboxa) - \jlreq at startBlockHeading@space\relax
       \fi
     \fi
   }%
@@ -1537,14 +1585,16 @@
   \setbox\jlreq at tempboxa=\vbox{%
     \ifdim\jlreq at tempskipa=0pt\else\vskip\jlreq at tempskipa\fi
     \noindent
-    \jlreq at ifempty{#1}{}{\hskip #1}%
-    \box\jlreq at tempboxa\nopagebreak}%
+    \ifthenelse{\equal{#1}{center}}{}{\jlreq at ifempty{#1}{}{\hskip #1}}%
+    \box\jlreq at tempboxa}%
   \dp\jlreq at tempboxa=\dimexpr\dp\jlreq at tempboxa + \ht\jlreq at tempboxa\relax
   \ht\jlreq at tempboxa=0pt
+%  \showbox\jlreq at tempboxa
   \box\jlreq at tempboxa
-  \par\nobreak
+  \par
+  \jlreq at ifempty{#7}{\ifodd\jlreq at currentpage\nobreak\fi}{\nobreak}%
   \prevdepth=0pt
-  \jlreq at startBlockHeading@analyzespace#3:\jlreq at endmark
+  \jlreq at startBlockHeading@analyzespace#4:\jlreq at endmark
   \jlreq at tempskipb=\glueexpr\jlreq at tempskipb + \ht\jlreq at tempboxb - \baselineskip\relax
   \ifx\jlreq at startBlockHeading@space\@empty\else
     \ifx a\jlreq at startBlockHeading@spacetype
@@ -1554,20 +1604,11 @@
     \fi
   \fi
   \ifdim\jlreq at tempskipb=0pt\else\vspace{\jlreq at tempskipb}\fi
+  #6%
   \@afterheading
 }
 
 % \DeclareBlockHeading{命令名}{レベル}{設定}
-% 行取り(4.1.6)
-% a: lines=<何行取りか>
-% b,d: before_lines, after_lines
-% c: before_space, after_space
-% f: beforeやafterを省略する
-% font=<見出しフォント>, labelfont=<ラベルフォント>, subtitle_font=<副題フォント>
-% indent=<全体のインデント>
-% pagebreak=clearpage/cleardoublepage/newcolumn/nariyuki
-% なお,これ以外に見出しの前後に記号を付ける,あるいは罫線を見出しの前後に配置する,罫線で見出しを囲むなどといったことも行われている.
-% 縦組の偶数ページの場合は,ページ末に見出しを配置する.
 \newcommand{\DeclareBlockHeading}[3]{%
   \appto{\jlreq at heading@allheadings}{,#1}%
   \expandafter\def\csname jlreq at heading@level@#1\endcsname{#2}%
@@ -1591,50 +1632,148 @@
     \def\jlreq at after@space{}%
     \def\jlreq at before@lines{}%
     \def\jlreq at after@lines{}%
-    \def\jlreq at font{\normalsize}%
-    \def\jlreq at subtitle@font{\normalsize}%
-    \def\jlreq at indent{0}%
-    \let\jlreq at format=\@undefined
+    \def\jlreq at font{}%
+    \def\jlreq at subtitle@font{}%
+    \def\jlreq at indent{0\jlreq at mol}%
+    \def\jlreq at end@indent{0\jlreq at mol}%
+    \edef\jlreq at format{\unexpanded{##1##2##3}}%
+    \edef\jlreq at heading@text at format{\unexpanded{##1}}%
     \def\jlreq at pagebreak{}%
-    \let\jlreq at label@format=\@undefined
-    \let\jlreq at subtitle@format=\@undefined
-    \def\jlreq at pagetop@space{a}%
+    \def\jlreq at label@format{\@seccntformat{#1}}%
+    \newif\ifjlreq at hang\jlreq at hangtrue
+    \def\jlreq at after@label at space{1\jlreq at mol}%
+    \def\jlreq at second@heading at text@indent at wlabel{0pt}%
+    \def\jlreq at second@heading at text@indent at wolabel{0pt}%
+    \edef\jlreq at subtitle@format{\unexpanded{---##1---}}%
+    \def\jlreq at subtitle@indent{1\jlreq at mol}%
+    \def\jlreq at afterindent{\@afterindenttrue}%
+    \def\jlreq at allowbreak@evenpage{*}% 偶数ページでも改ページを許可するならば空,そうでないなら*
+    \newif\ifjlreq at subtitle@break\jlreq at subtitle@breaktrue
+    \def\jlreq at subtitle@indent{1\jlreq at mol}%
+    % 先頭が*なら\jlreq at resultをtrueにする.*を除いた部分を\jlreq at resultに入れる.
+    \def\jlreq at ifstar##1{%
+      \jlreq at iffirsttoken{##1}{*}{%
+        \jlreq at resulttrue
+        \expandafter\def\expandafter\jlreq at result\expandafter{\@gobble##1}%
+      }{%
+        \jlreq at resultfalse
+        \def\jlreq at result{##1}%
+      }%
+    }%
+    % a,bみたいなのをaとbにわける.カンマがなければbは空.引数を{a}{b}として##2を呼び出す.
+    \def\jlreq at parsecomma##1##2{%
+      \def\jlreq at tempa####1####2{##2}%
+      \def\@tempa####1,####2\jlreq at endmark{%
+        \jlreq at ifempty{####2}{%
+          \def\@tempa{}%
+        }{%
+          \def\@tempa########1,\jlreq at endmark{\def\@tempa{########1}}%
+          \@tempa####2\jlreq at endmark
+        }%
+        \edef\@tempa{\unexpanded{\jlreq at tempa{####1}}{\expandonce{\@tempa}}}%
+        \edef\jlreq at do{\expandafter\expandafter\expandafter\unexpanded\expandafter\expandafter\expandafter{\@tempa}}%
+      }%
+      \@tempa##1,\jlreq at endmark
+      \jlreq at do
+    }%
     \jlreq at parsekeyval[BlockHeading]{
       {lines}{\def\jlreq at lines{##1}}
       {before_space}{\def\jlreq at before@space{##1}}
       {after_space}{\def\jlreq at after@space{##1}}
-      {before_lines}{\def\jlreq at before@lines{##1}}
+      {before_lines}{%
+        \jlreq at ifstar{##1}%
+        \edef\jlreq at before@lines{%
+          \ifjlreq at result s:\else a:\fi
+          \expandonce{\jlreq at result}%
+        }%
+      }
       {after_lines}{\def\jlreq at after@lines{##1}}
       {font}{\def\jlreq at font{##1}}
       {subtitle_font}{\def\jlreq at subtitle@font{##1}}
       {indent}{\def\jlreq at indent{##1}}
+      {end_indent}{\def\jlreq at end@indent{##1}}
       {format}{\edef\jlreq at format{\unexpanded{##1}}}
+      {after_label_space}{\def\jlreq at after@label at space{##1}}
+      {second_heading_text_indent}{%
+        \jlreq at parsecomma{##1}{%
+          \jlreq at ifstar{####1}%
+          \ifjlreq at result\jlreq at hangfalse\else\jlreq at hangtrue\fi
+          \let\jlreq at second@heading at text@indent at wlabel=\jlreq at result
+          \jlreq at ifempty{####2}{%
+            \let\jlreq at second@heading at text@indent at wolabel=\jlreq at second@heading at text@indent at wlabel
+          }{%
+            \def\jlreq at second@heading at text@indent at wolabel{####2}%
+          }%
+        }%
+      }
       {label_format}{\edef\jlreq at label@format{\unexpanded{##1}}}
       {subtitle_format}{\edef\jlreq at subtitle@format{\unexpanded{##1}}}
-      *{pagetop_space}{\def\jlreq at pagetop@space{s}}% ページ頭でもスペースを入れる
-      {pagebreak}[clearpage,cleardoublepage,clearcolumn,nariyuki]{
+      {subtitle_indent}{\def\jlreq at subtitle@indent{##1}}
+      {subtitle_break}[true,false]{\csname jlreq at subtitle@break##1\endcsname}
+      {afterindent}[true,false]{\edef\jlreq at afterindent{\expandonce{\csname @afterindent##1\endcsname}}}
+      {allowbreak_if_evenpage}[true,false]{%
         \jlreq at switch{##1}{
+          {true}{\def\jlreq at allowbreak@evenpage{}}
+          {false}{\def\jlreq at allowbreak@evenpage{*}}
+        }%
+      }
+      {pagebreak}[clearpage,cleardoublepage,clearcolumn,nariyuki]{%
+        \jlreq at switch{##1}{
           {clearpage}{\def\jlreq at pagebreak{\clearpage}}
           {cleardoublepage}{\def\jlreq at pagebreak{\cleardoublepage}}
           {clearcolumn}{\if at twocolumn\def\jlreq at pagebreak{\newpage}\else\def\jlreq at pagebreak{}\fi}
           {nariyuki}{\def\jlreq at pagebreak{}}
-        }
+        }%
       }
     }{#3}%
-    \ifx\jlreq at format\@undefined
+    \ifx\jlreq at font\@empty\else
       \edef\jlreq at format{%
-        \expandonce{\jlreq at font}\unexpanded{##1}\unexpanded{##2}%
-        \unexpanded{##3}%
+        \expandonce{\jlreq at font}\expandonce{\jlreq at format}%
       }%
     \fi
-    \ifx\jlreq at label@format\@undefined
-      \def\jlreq at label@format{\@seccntformat{#1}}%
-    \fi
-    \ifx\jlreq at subtitle@format\@undefined
-      \edef\jlreq at subtitle@format{{\unexpanded{\nobreak\par\hspace*{4\jlreq at mol}}\expandonce{\jlreq at subtitle@font}---\unexpanded{##1}---}}%
-    \fi
+    \edef\jlreq at label@format at modified{%
+      \noexpand\noindent
+      \unexpanded{\setbox\jlreq at tempboxa=\hbox}{\expandonce{\jlreq at label@format}}%
+      \unexpanded{\hangindent=}%
+      \ifjlreq at hang
+        \wd\jlreq at tempboxa
+      \else
+        0pt
+        \unexpanded{\edef\jlreq at startBlockHeading@labellength{\the\wd\jlreq at tempboxa}}%
+      \fi
+      \unexpanded{\hangindent=\dimexpr\hangindent + }(\expandonce{\jlreq at after@label at space}) + (\expandonce{\jlreq at second@heading at text@indent at wlabel})\noexpand\relax
+      \box\jlreq at tempboxa
+      \hskip0pt\relax
+    }%
+    \edef\jlreq at heading@text at format@wlabel{%
+      \ifdim\jlreq at after@label at space=0pt\else
+        \noexpand\hspace*{\noexpand\dimexpr\expandonce{\jlreq at after@label at space}\noexpand\relax}%
+      \fi
+      \expandonce{\jlreq at heading@text at format}%
+    }%
+    \edef\jlreq at heading@text at format@wolabel{%
+      \ifdim\dimexpr\jlreq at second@heading at text@indent at wolabel\relax=0pt\else
+        \noexpand\hangindent=\noexpand\dimexpr\expandonce{\jlreq at second@heading at text@indent at wolabel}\noexpand\relax
+      \fi
+      \expandonce{\jlreq at heading@text at format}%
+    }%
+    \def\jlreq at make@subtitle at format##1##2{%
+      \edef##1{%
+        \ifjlreq at subtitle@break\unexpanded{{\par}\nobreak\noindent\global\hangafter=0}\fi
+        \unexpanded{\global\hangindent=\dimexpr\hangindent + }(\expandonce{\jlreq at subtitle@indent}) ##2\noexpand\relax
+        \ifdim\jlreq at subtitle@indent=0pt\else
+          \ifjlreq at subtitle@break\else\unexpanded{\hspace*}{\expandonce{\jlreq at subtitle@indent}}\fi
+        \fi
+        {\ifx\jlreq at subtitle@font\@empty\else\expandonce{\jlreq at subtitle@font}\fi\expandonce{\jlreq at subtitle@format}}%
+      }%
+    }%
+    \jlreq at make@subtitle at format\jlreq at subtitle@format at wlabel{%
+      - (\expandonce{\jlreq at second@heading at text@indent at wlabel})%
+      \ifjlreq at hang\else + (\noexpand\jlreq at startBlockHeading@labellength)\fi
+    }%
+    \jlreq at make@subtitle at format\jlreq at subtitle@format at wolabel{- (\expandonce{\jlreq at second@heading at text@indent at wolabel})}%
     \def\jlreq at addtodo{}%
-    \@ifundefined{l@#1}{
+    \@ifundefined{l@#1}{%
       % 長さは適当に計測する
       \begingroup
         % ちょっと大きめで計測しておく
@@ -1651,17 +1790,23 @@
     }{}%
     % before/after_lines優先
     \ifx\jlreq at before@space\@empty\else\edef\jlreq at before@space{r:\expandonce{\jlreq at before@space}}\fi
-    \ifx\jlreq at before@lines\@empty\else\edef\jlreq at before@space{\expandonce{\jlreq at pagetop@space}:\expandonce{\jlreq at before@lines}\baselineskip}\fi
+    \ifx\jlreq at before@lines\@empty\else\edef\jlreq at before@space{\expandonce{\jlreq at before@lines}\baselineskip}\fi
     \ifx\jlreq at after@space\@empty\else\edef\jlreq at after@space{r:\expandonce{\jlreq at after@space}}\fi
     \ifx\jlreq at after@lines\@empty\else\edef\jlreq at after@space{a:\expandonce{\jlreq at after@lines}\baselineskip}\fi
-    \ifx\jlreq at indent\@empty\else\edef\jlreq at indent{\expandonce{\jlreq at indent}\jlreq at mol}\fi
     \edef\jlreq at do{%
       \expandonce{\jlreq at addtodo}%
       \noexpand\edef\expandonce{\csname #1\endcsname}{\noexpand\unexpanded{%
         \noexpand\jlreq at hook@beforeheadings{#1}%
         \expandonce{\jlreq at pagebreak}%
-        \unexpanded{\jlreq at startBlockHeading{#1}{#2}}{\expandonce{\jlreq at indent}}{\expandonce{\jlreq at before@space}}{\expandonce{\jlreq at after@space}}{\expandonce{\jlreq at lines}}{{\expandonce{\jlreq at label@format}}{\expandonce{\jlreq at format}}{\expandonce{\jlreq at subtitle@format}}%
-      }}}%
+        \unexpanded{\jlreq at startBlockHeading{#1}{#2}}%
+        {{\expandonce{\jlreq at indent}}{\expandonce{\jlreq at end@indent}}{\expandonce{\jlreq at before@space}}{\expandonce{\jlreq at after@space}}{\expandonce{\jlreq at lines}}{\expandonce{\jlreq at afterindent}}{\expandonce{\jlreq at allowbreak@evenpage}}}%
+        {%
+          {\expandonce{\jlreq at label@format}}{\expandonce{\jlreq at label@format at modified}}%
+          {\expandonce{\jlreq at heading@text at format@wlabel}}{\expandonce{\jlreq at heading@text at format@wolabel}}%
+          {\expandonce{\jlreq at subtitle@format at wlabel}}{\expandonce{\jlreq at subtitle@format at wolabel}}%
+          {\expandonce{\jlreq at format}}%
+        }%
+      }}%
     }%
   \expandafter\endgroup
   \jlreq at do
@@ -1689,21 +1834,27 @@
   \@ifundefined{l@#1}{\expandafter\def\csname l@#1\endcsname{\@dottedtocline{#2}{0\jlreq at mol}{2\jlreq at gol}}}{}%
   \begingroup
     \def\jlreq at font{\normalfont\normalsize}%
-    \def\jlreq at indent{0}%
+    \def\jlreq at indent{0\jlreq at mol}%
     \def\jlreq at mark{}%
+    \def\jlreq at label@font{}%
+    \def\jlreq at after@space{1\jlreq at mol}%
     \jlreq at parsekeyval[RuninHeading]{%
       {font}{\def\jlreq at font{##1}}
       {indent}{\def\jlreq at indent{##1}}
       {mark}{\def\jlreq at mark{##1}}
+      {after_space}{%
+        \ifdim##1<0pt\ClassWarning{jlreq}{after_space in Runin Heading #1 should be positive}\fi
+        \def\jlreq at after@space{##1}%
+      }
     }{#3}%
-    % \@startsection{#1}{#2}{<indent>*fontsize}{0pt}{-fontsize}{font}
+    % \@startsection{#1}{#2}{indent}{0pt}{-after_space}{font}
     \edef\jlreq at do{%
       \noexpand\def\expandonce{\csname #1\endcsname}{%
         \unexpanded{\jlreq at hook@beforeheadings{#1}}%
         \expandafter\jlreq at ifempty\expandafter{\jlreq at mark}{%
-          \noexpand\@startsection{\unexpanded{#1}}{\unexpanded{#2}}{\expandonce{\jlreq at indent}\noexpand\jlreq at mol}{0pt}{-1\jlreq at fontsize}{\expandonce{\jlreq at font}}%
+          \noexpand\@startsection{\unexpanded{#1}}{\unexpanded{#2}}{\expandonce{\jlreq at indent}}{0pt}{-\expandonce{\jlreq at after@space}}{\expandonce{\jlreq at font}}%
         }{%
-          \noexpand\@startsection{\unexpanded{#1}}{\unexpanded{#2}}{\expandonce{\jlreq at indent}\noexpand\jlreq at mol}{0pt}{-1\jlreq at fontsize}{\noexpand\kern\expandonce{\jlreq at indent}\noexpand\jlreq at mol\expandonce{\jlreq at mark}\noexpand\kern-\expandonce{\jlreq at indent}\noexpand\jlreq at mol\expandonce{\jlreq at font}}%
+          \noexpand\@startsection{\unexpanded{#1}}{\unexpanded{#2}}{\expandonce{\jlreq at indent}}{0pt}{-\expandonce{\jlreq at after@space}}{\noexpand\kern\expandonce{\jlreq at indent}\expandonce{\jlreq at mark}\noexpand\kern-\expandonce{\jlreq at indent}\expandonce{\jlreq at font}}%
         }%
       }%
     }%
@@ -1742,7 +1893,7 @@
   \else\def\jlreq at CutinHeading@linecount{1}\fi\fi
   % \@tempdimaが実際の一行の長さに近い
   \divide\@tempdima by \jlreq at CutinHeading@linecount
-  % \jlreq at resultboxに見出し部分を,\jlreq at CutinHeading@linecountに何行使うかを入れる
+  % \jlreq at resultboxに見出し部分を,\jlreq at CutinHeading@linecountに見出し自身に何行使うかを入れる
   \ifnum\jlreq at CutinHeading@linecount=1\relax
     \setbox\jlreq at resultbox=\vbox{\parindent=0pt\rightskip=0pt\leftskip=0pt\hbox{#1#6}}%
     \def\jlreq at CutinHeading@linecount{2}%
@@ -1757,10 +1908,10 @@
   \dp\@tempboxa=\dp\jlreq at tempboxa
   \@tempdima=\wd\@tempboxa
   % \hang****を設定
-  \hangindent=\dimexpr#2\jlreq at mol + \@tempdima + #3\relax\hangafter=-\jlreq at CutinHeading@linecount
+  \hangindent=\dimexpr#2 + \@tempdima + #3\relax\hangafter=-\jlreq at CutinHeading@linecount
   \jlreq at hangindent=\hangindent\jlreq at wraplinecount=\hangafter
-  \hspace*{#2\jlreq at mol}%
-  \kern-\dimexpr\@tempdima + #3 + \parindent\relax
+  \hspace*{#2}%
+  \kern-\dimexpr\hangindent + \parindent\relax
   \box\@tempboxa
   \hspace*{#3}%
   % 改段落が起こっても\hang****をキープするように\parを書き換えておく(終わったら元に戻す).
@@ -1791,18 +1942,21 @@
     \def\jlreq at fontcommand{\headfont}%
     \def\jlreq at onelinemax{6\jlreq at fontsize}%
     \def\jlreq at twolinemax{20\jlreq at fontsize}%
-    \def\jlreq at indent{0}%
-    \def\jlreq at afterindent{1\jlreq at mol}%
+    \def\jlreq at indent{0\jlreq at mol}%
+    \def\jlreq at after@space{1\jlreq at mol}%
     \jlreq at parsekeyval[CutinHeading]{
       {font}{\def\jlreq at fontcommand{##1}}
       {onelinemax}{\def\jlreq at onelinemax{##1}}
       {twolinemax}{\def\jlreq at twolinemax{##1}}
       {indent}{\def\jlreq at indent{##1}}
-      {afterindent}{\def\jlreq at afterindent{##1}}
+      {after_space}{\def\jlreq at after@space{##1}}
     }{#3}%
+    \ifthenelse{\lengthtest{\jlreq at after@space < 0.99\jlreq at mol} \OR \lengthtest{\jlreq at after@space > 2.01\jlreq at mol}}{%
+      \jlreq at warning{窓見出しと本文との空き量は,基本版面の文字サイズの全角以上,2倍未満とする(4.1.10.c)}%&
+    }{}%
     \edef\jlreq at do{%
       \noexpand\def\expandonce{\csname #1\endcsname}{%
-        \noexpand\jlreq at CutinHeading@start{#1}{\expandonce{\jlreq at fontcommand}}{\expandonce{\jlreq at indent}}{\expandonce{\jlreq at afterindent}}{\expandonce{\jlreq at onelinemax}}{\expandonce{\jlreq at twolinemax}}%
+        \noexpand\jlreq at CutinHeading@start{#1}{\expandonce{\jlreq at fontcommand}}{\expandonce{\jlreq at indent}}{\expandonce{\jlreq at after@space}}{\expandonce{\jlreq at onelinemax}}{\expandonce{\jlreq at twolinemax}}%
       }%
     }%
   \expandafter\endgroup
@@ -1830,7 +1984,7 @@
 }
 % 見出し#1をマクロ#2に保存する
 \newcommand{\SaveHeading}[2]{%
-  \@ifundefined{jlreq at heading@setting@#1}{\ClassError{jlreq}{Unknown heading: #1}{\@ehc}}%
+  \@ifundefined{jlreq at heading@setting@#1}{\ClassError{jlreq}{Unknown heading: #1}{\@ehc}}{}%
   \begingroup
     \edef\jlreq at do{%
       \unexpanded{\edef#2}{%
@@ -1852,20 +2006,6 @@
   \jlreq at do
 }
 
-\setcounter{secnumdepth}{3}
-\newcounter{part}
-\jlreq at switch{\jlreq at article@type}{
-  {article}{\newcounter{section}}
-  {\newcounter{chapter}\newcounter{section}[chapter]}% book, report
-}
-\newcounter{subsection}[section]
-\newcounter{subsubsection}[subsection]
-\newcounter{paragraph}[subsubsection]
-\newcounter{subparagraph}[paragraph]
-\renewcommand*{\@seccntformat}[1]{\csname the#1\endcsname\hspace{1\jlreq at mol}}
-\newcommand*{\headfont}{\gtfamily\sffamily}
-
-
 \newcommand*\jlreq at HeadingType[1]{%
   \expandafter\ifx\csname jlreq at heading@type@#1\endcsname\relax UndefinedHeading
   \else
@@ -1880,7 +2020,47 @@
   \expandafter\expandafter\expandafter\ifx\csname jlreq at heading@type@#1\endcsname#2\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi
 }
 
+% 全ての見出しにマクロ#1を適用する.
+\def\jlreq at heading@execmacro at toallheadings#1{%
+  \begingroup
+    \def\jlreq at do{}%
+    \ifx\jlreq at heading@allheadings\@undefined
+      \jlreq at heading@execmacro at toallheadings@{#1}{chapter,part,section,subsection,subsubsection,paragraph,subparagraph}%
+    \else
+      \def\@tempa{\jlreq at heading@execmacro at toallheadings@{#1}}%
+      \expandafter\@tempa\expandafter{\jlreq at heading@allheadings}%
+    \fi
+  \expandafter\endgroup
+  \jlreq at do
+}
+
+\def\jlreq at heading@execmacro at toallheadings@#1#2{
+  \@for\jlreq at tempa:=#2\do{%
+    \@ifundefined{\jlreq at tempa}{}{%
+      \eappto\jlreq at do{\noexpand#1{\expandonce{\jlreq at tempa}}}%
+    }%
+  }%
+}
+\def\jlreq at clearheadingmarks#1{%
+  \@ifundefined{#1mark}{}{%
+    \expandafter\let\csname#1mark\endcsname=\@gobble
+  }%
+}
+
 %.. 各種定義
+\setcounter{secnumdepth}{3}
+\newcounter{part}
+\jlreq at switch{\jlreq at article@type}{
+  {article}{\newcounter{section}}
+  {\newcounter{chapter}\newcounter{section}[chapter]}% book, report
+}
+\newcounter{subsection}[section]
+\newcounter{subsubsection}[subsection]
+\newcounter{paragraph}[subsubsection]
+\newcounter{subparagraph}[paragraph]
+\renewcommand*{\@seccntformat}[1]{\csname the#1\endcsname}
+\newcommand*{\headfont}{\sffamily\bfseries}
+
 \if at tate
   \renewcommand{\thepart}{\Kanji{part}}
   \ifthenelse{\equal{\jlreq at article@type}{article}}{}{\renewcommand{\thechapter}{\Kanji{chapter}}}
@@ -1894,18 +2074,23 @@
     (\rensuji{\@arabic\c at subparagraph})}
 
   \ifthenelse{\equal{\jlreq at article@type}{article}}{
-    \NewBlockHeading{part}{0}{font={\jlreq at keepbaselineskip{\LARGE\headfont}},indent=4,lines=4}
+    \NewBlockHeading{part}{0}{font={\jlreq at keepbaselineskip{\LARGE\headfont}},indent=4\zh,lines=4,after_label_space=1\zh,second_heading_text_indent={-1\zh,1\zh},subtitle_font={\jlreq at keepbaselineskip{\large}}}
+    \if at twoside\ModifyHeading{part}{allowbreak_if_evenpage=true}\fi
   }
   {% book, report
     \NewTobiraHeading{part}{-1}{label_format={第\thepart 部\hspace*{1\jlreq at mol}},format={\null\vfill {\Huge\headfont \hspace*{2\jlreq at mol}#1#2}\vspace*{2\jlreq at gol}}}
-    \NewBlockHeading{chapter}{0}{indent=2,lines=6,label_format={第\thechapter 章\hspace*{1\jlreq at gol}},font={\huge\headfont}}
+    \NewBlockHeading{chapter}{0}{indent=2\zh,lines=6,label_format={第\thechapter 章},font={\huge\headfont},after_label_space=1\zh,second_heading_text_indent={-1\zh,1\zh},subtitle_font={\jlreq at keepbaselineskip{\Large}}}
+    \if at twoside\ModifyHeading{chapter}{allowbreak_if_evenpage=true}\fi
     \renewcommand{\thechapter}{\Kanji{chapter}}
   }
-  \NewBlockHeading{section}{1}{font={\jlreq at keepbaselineskip{\Large\headfont}},indent=6,lines=3}
-  \NewBlockHeading{subsection}{2}{font={\jlreq at keepbaselineskip{\large\headfont}},indent=8,lines=2}
-  \NewBlockHeading{subsubsection}{3}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},indent=10,lines=1,before_lines=1}
+  \NewBlockHeading{section}{1}{font={\jlreq at keepbaselineskip{\Large\headfont}},indent=6\zh,lines=3,after_label_space=1\zh,second_heading_text_indent={-1\zh,1\zh},subtitle_font={\jlreq at keepbaselineskip{\normalsize}}}
+  \if at twoside\ModifyHeading{section}{allowbreak_if_evenpage=true}\fi
+  \NewBlockHeading{subsection}{2}{font={\jlreq at keepbaselineskip{\large\headfont}},indent=8\zh,lines=2,after_label_space=1\zh,second_heading_text_indent={-1\zh,1\zh},subtitle_font={\jlreq at keepbaselineskip{\small}}}
+  \if at twoside\ModifyHeading{subsection}{allowbreak_if_evenpage=true}\fi
+  \NewBlockHeading{subsubsection}{3}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},indent=10\zh,lines=1,before_lines=1,subtitle_break=false,after_label_space=1\zh,second_heading_text_indent={-1\zh,1\zh},,subtitle_font={\jlreq at keepbaselineskip{\scriptsize}}}
+  \if at twoside\ModifyHeading{subsubsection}{allowbreak_if_evenpage=true}\fi
   \NewRuninHeading{paragraph}{4}{font={\jlreq at keepbaselineskip{\normalsize\headfont}}}
-  \NewRuninHeading{subparagraph}{5}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},indent=1}
+  \NewRuninHeading{subparagraph}{5}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},indent=1\zh}
 \else
   \renewcommand{\thepart}{\Roman{part}}
   \renewcommand{\thesubsection}{\thesection .\arabic{subsection}}
@@ -1913,7 +2098,7 @@
   \renewcommand{\theparagraph}{\thesubsubsection .\arabic{paragraph}}
   \renewcommand{\thesubparagraph}{\theparagraph .\arabic{subparagraph}}
   \ifthenelse{\equal{\jlreq at article@type}{article}}{
-    \NewBlockHeading{part}{0}{font={\jlreq at keepbaselineskip{\LARGE\headfont}},label_format={第\thepart 部\hspace{1\jlreq at mol}},lines=4}
+    \NewBlockHeading{part}{0}{font={\jlreq at keepbaselineskip{\LARGE\headfont}},label_format={第\thepart 部},lines=4,after_label_space=1\zw,second_heading_text_indent={-1\zw,1\zw},subtitle_font={\jlreq at keepbaselineskip{\large}}}
     \renewcommand{\thesection}{\arabic{section}}
   }
   {% book, report
@@ -1921,7 +2106,8 @@
     \NewBlockHeading{chapter}{0}{%
       format={{\jlreq at keepbaselineskip{\huge\headfont} #1#2}#3},
       label_format={第\thechapter 章\quad},
-      lines=5}
+      lines=5,after_label_space=1\zw,second_heading_text_indent={-1\zw,1\zw},
+      subtitle_font={\jlreq at keepbaselineskip{\Large}}}
     \renewcommand{\thechapter}{\arabic{chapter}}
     \renewcommand{\thesection}{\thechapter.\arabic{section}}
     \ifthenelse{\equal{\jlreq at article@type}{book}}{
@@ -1930,11 +2116,11 @@
       \ModifyHeading{chapter}{pagebreak=clearpage}
     }
   }
-  \NewBlockHeading{section}{1}{font={\jlreq at keepbaselineskip{\Large\headfont}},lines=3}
-  \NewBlockHeading{subsection}{2}{font={\jlreq at keepbaselineskip{\large\headfont}},lines=2}
-  \NewBlockHeading{subsubsection}{3}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},lines=1,before_lines=1}
-  \NewRuninHeading{paragraph}{4}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},indent=1}
-  \NewRuninHeading{subparagraph}{5}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},indent=2}
+  \NewBlockHeading{section}{1}{font={\jlreq at keepbaselineskip{\Large\headfont}},lines=3,after_label_space=1\zw,second_heading_text_indent={-1\zw,1\zw},subtitle_font={\jlreq at keepbaselineskip{\normalsize}}}
+  \NewBlockHeading{subsection}{2}{font={\jlreq at keepbaselineskip{\large\headfont}},lines=2,after_label_space=1\zw,second_heading_text_indent={-1\zw,1\zw},subtitle_font={\jlreq at keepbaselineskip{\small}}}
+  \NewBlockHeading{subsubsection}{3}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},lines=1,before_lines=1,subtitle_break=false,after_label_space=1\zw,second_heading_text_indent={-1\zw,1\zw},subtitle_font={\jlreq at keepbaselineskip{\scriptsize}}}
+  \NewRuninHeading{paragraph}{4}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},indent=1\zw}
+  \NewRuninHeading{subparagraph}{5}{font={\jlreq at keepbaselineskip{\normalsize\headfont}},indent=2\zw}
 \fi
 
 \ifthenelse{\equal{\jlreq at article@type}{article}}{}{% book, report
@@ -2174,7 +2360,7 @@
         \expandafter\@tempa\jlreq at tempa\jlreq at endmark
         \edef\jlreq at tempc{\jlreq at tempc,\jlreq at result}
       \else
-        \ClassError{jlreq}{invalid value \jlreq at tempa\space in endnote_position}{\@ehc}
+        \ClassError{jlreq}{Invalid value \jlreq at tempa\space in endnote_position}{\@ehc}
       \fi
     }
   }
@@ -2206,9 +2392,26 @@
 \setlength{\marginparsep}{2\jlreq at mol} % フォントサイズ×2(4.2.7:特に問題に~e)
 {%
   \footnotesize
-  \setlength{\jlreq at tempdima}{\dimexpr \paperwidth - \textwidth - 1in - \oddsidemargin - \marginparsep\relax}
+  % \jlreq at tempdimaにマージン最小値を入れる
+  \if at tate
+    \setlength{\jlreq at tempdima}{\dimexpr\paperheight - \topmargin - \headheight - \headsep - \voffset - 1in - \textwidth\relax}
+    \if at twocolumn
+      \ifdim\jlreq at tempdima>\dimexpr\paperheight - \jlreq at tempdima - \textwidth\relax
+        \setlength{\jlreq at tempdima}{\dimexpr\paperheight - \jlreq at tempdima - \textwidth\relax}
+      \fi
+    \fi
+  \else
+    \setlength{\jlreq at tempdima}{\dimexpr \paperwidth - \textwidth - 1in - \oddsidemargin - \marginparsep\relax}
+    \ifdim\jlreq at tempdima>\dimexpr\oddsidemargin + 1in\relax
+      \setlength{\jlreq at tempdima}{\dimexpr\oddsidemargin + 1in\relax}
+    \fi
+  \fi
   \ifx\jlreq at option@sidenote at width\@empty
-    \setlength{\marginparwidth}{\dimexpr\jlreq at tempdima-2\jlreq at fontsize\relax}
+    \setlength{\marginparwidth}{\dimexpr\jlreq at tempdima - 2\jlreq at fontsize - \marginparsep\relax}
+    % 4.7.2.b: 並列中の行長は15文から20字程度
+    \ifdim\marginparwidth>20\jlreq at mol
+      \global\marginparwidth=20\jlreq at mol
+    \fi
   \else
     \setlength{\marginparwidth}{\jlreq at speciallength{\jlreq at option@sidenote at width}}
     \ifnum\marginparwidth>\jlreq at tempdima
@@ -2215,13 +2418,9 @@
       \ClassWarningNoLine{jlreq}{sidenote_width is greater than the width of the margin}
     \fi
   \fi
-  \ifdim\marginparwidth>18\jlreq at mol
-    \global\marginparwidth=18\jlreq at mol
-  \else
-    \@tempdima=1\zw% 1\jlreq at mol
-    \global\divide\marginparwidth\@tempdima
-    \global\multiply\marginparwidth\@tempdima
-  \fi
+  \@tempdima=1\zw% 1\jlreq at mol
+  \global\divide\marginparwidth\@tempdima
+  \global\multiply\marginparwidth\@tempdima
   \global\setlength{\marginparpush}{.5\@tempdima} % 同上:g
 }
 
@@ -2620,7 +2819,7 @@
       {mark_format}{\edef\jlreq at mark@format{\unexpanded{##1}}}
       {command}{\edef\jlreq at command{\unexpanded{##1}}}
       {gap}{\def\jlreq at gap{##1}}
-      *{no_clear_mark}{\jlreq at clearmarkfalse}
+      {clear_mark}[true,false]{\csname jlreq at clearmark##1\endcsname}
     }{#2}%
     \ifthenelse{\(
       \boolean{@tate} \AND \(
@@ -2747,7 +2946,7 @@
         {left}{\def\jlreq at tempe{right}}
       }%
       \edef##1{{\expandafter\@firstoftwo##1}{\jlreq at tempe}}%
-    }
+    }%
     \getoppositeposition\jlreq at nombre@position
     \getoppositeposition\jlreq at running@head at position
     % 上と同じことをする
@@ -2783,33 +2982,6 @@
   \jlreq at do
 }
 
-% 全ての見出しにマクロ#1を適用する.
-\def\jlreq at heading@execmacro at toallheadings#1{%
-  \begingroup
-    \def\jlreq at do{}%
-    \ifx\jlreq at heading@allheadings\@undefined
-      \jlreq at heading@execmacro at toallheadings@{#1}{chapter,part,section,subsection,subsubsection,paragraph,subparagraph}%
-    \else
-      \def\@tempa{\jlreq at heading@execmacro at toallheadings@{#1}}%
-      \expandafter\@tempa\expandafter{\jlreq at heading@allheadings}%
-    \fi
-  \expandafter\endgroup
-  \jlreq at do
-}
-
-\def\jlreq at heading@execmacro at toallheadings@#1#2{
-  \@for\jlreq at tempa:=#2\do{%
-    \@ifundefined{\jlreq at tempa}{}{%
-      \eappto\jlreq at do{\noexpand#1{\expandonce{\jlreq at tempa}}}%
-    }%
-  }%
-}
-\def\jlreq at clearheadingmarks#1{%
-  \@ifundefined{#1mark}{}{%
-    \expandafter\let\csname#1mark\endcsname=\@gobble
-  }%
-}
-  
 \newcommand*{\NewPageStyle}[2]{%
   \expandafter\@ifdefinable\csname ps@#1\endcsname{\DeclarePageStyle{#1}{#2}}%
 }
@@ -2845,8 +3017,8 @@
   \ModifyPageStyle{headings}{mark_format={_chapter={第\thechapter 章\quad #1}}}
 }
 \if at tate
-  \RenewPageStyle{plain}{nombre=\thepage,odd_running_head={},even_running_head={},no_clear_mark}
-  \NewPageStyle{myheadings}{nombre=\thepage,odd_running_head=\rightmark,even_running_head=\leftmark,no_clear_mark}
+  \RenewPageStyle{plain}{nombre=\thepage,odd_running_head={},even_running_head={},clear_mark=false}
+  \NewPageStyle{myheadings}{nombre=\thepage,odd_running_head=\rightmark,even_running_head=\leftmark,clear_mark=false}
   \if at twoside
     \ModifyPageStyle{plain}{nombre_position={top-left}}
     \ModifyPageStyle{headings}{nombre=\thepage,nombre_position=bottom-left,running_head_position=top-left}
@@ -2857,9 +3029,9 @@
     \ModifyPageStyle{myheadings}{nombre_position=bottom-center,running_head_position=top-center}
   \fi
 \else% yoko
-  \RenewPageStyle{plain}{nombre=\thepage,odd_running_head={},even_running_head={},nombre_position={bottom-center},no_clear_mark}
+  \RenewPageStyle{plain}{nombre=\thepage,odd_running_head={},even_running_head={},nombre_position={bottom-center},clear_mark=false}
   \ModifyPageStyle{headings}{nombre=\thepage,nombre_position=bottom-center,running_head_position=top-center}
-  \NewPageStyle{myheadings}{nombre=\thepage,nombre_position=bottom-center,running_head_position=top-center,odd_running_head=\rightmark,even_running_head=\leftmark,no_clear_mark}
+  \NewPageStyle{myheadings}{nombre=\thepage,nombre_position=bottom-center,running_head_position=top-center,odd_running_head=\rightmark,even_running_head=\leftmark,clear_mark=false}
 \fi
 
 %. フロート関連
@@ -3081,7 +3253,7 @@
       \null\vfil
       \@beginparpenalty\@lowpenalty
       \begin{center}%
-        {\bfseries\gtfamily\abstractname}%
+        {\sffamily\bfseries\abstractname}%
         \@endparpenalty\@M
       \end{center}%
       \par
@@ -3109,15 +3281,31 @@
         \small
         \parindent=1\jlreq at mol
         \begin{center}%
-          {\bfseries\abstractname}%
+          {\sffamily\bfseries\abstractname}%
         \end{center}%
-        \quotation
+        \list{}{%
+          \listparindent\parindent
+          \itemindent\listparindent
+          \labelwidth\z@
+          \labelsep\z@
+          \leftmargin=2\jlreq at mol
+          \rightmargin\leftmargin
+          \@tempdima=1\zw
+          \@tempdimb=\dimexpr\linewidth - \@totalleftmargin - \leftmargin - \rightmargin\relax
+          \@tempdimc=\@tempdimb
+          \divide\@tempdimb by \@tempdima\multiply\@tempdimb by \@tempdima
+          \ifdim\@tempdimb=\@tempdimc\else\@tempdimb=\dimexpr\@tempdimb - 1\jlreq at mol\relax\fi
+          \leftmargin=\dimexpr\leftmargin + (\@tempdimc - \@tempdimb)/2\relax
+          \rightmargin=\dimexpr\rightmargin + (\@tempdimc - \@tempdimb)/2\relax
+          \parsep\z@ \@plus.1\jlreq at gol
+        }%
+        \item\relax
       \else
         \section*{\abstractname}%
       \fi
     }{%
       \ifnum0\if at twocolumn\else1\fi\ifjlreq at preamble1\fi>0
-        \endquotation
+        \endlist
         \egroup
         \vspace{\baselineskip}%
         \if at twocolumn
@@ -3199,7 +3387,7 @@
   \renewcommand{\theenumi}{\Kanji{enumi}}
   \renewcommand{\theenumii}{\rensuji{\@arabic\c at enumii}}
   \renewcommand{\theenumiii}{\rensuji{\@arabic\c at enumiii}}
-  \renewcommand{\theenumiv}{\rensuji{\@arabc\c at enumiv}}
+  \renewcommand{\theenumiv}{\rensuji{\@arabic\c at enumiv}}
 \fi
 \newcommand{\labelenumi}{\theenumi}
 \newcommand{\labelenumii}{\theenumii}
@@ -3227,23 +3415,47 @@
     \listparindent\itemindent
     \labelwidth\z@
     \labelsep\z@
-    \leftmargin=2\jlreq at mol
-    \rightmargin\leftmargin \advance\leftmargin 2\jlreq at mol}%
+    \leftmargin=\jlreq at speciallength{\jlreq at quote@indent}%
+    \addtolength{\leftmargin}{2\jlreq at mol}%
+    \rightmargin=\jlreq at speciallength{\jlreq at quote@end at indent}%
+    \csname\jlreq at quote@fontsize\endcsname
+    \@tempdima=1\zw
+    \@tempdimb=\dimexpr\linewidth - \@totalleftmargin - \leftmargin - \rightmargin\relax
+    \@tempdimc=\@tempdimb
+    \divide\@tempdimb by \@tempdima\multiply\@tempdimb by \@tempdima
+    \topsep=\jlreq at speciallength{\jlreq at quote@beforeafter at space}%
+    \leftmargin=\dimexpr\leftmargin + \@tempdimc - \@tempdimb\relax}%
     \item\relax}{\endlist}
 \newenvironment{quotation}
-  {\list{}{\listparindent\parindent
+  {\list{}{%
+    \leftmargin=\jlreq at speciallength{\jlreq at quote@indent}%
+    \rightmargin=\jlreq at speciallength{\jlreq at quote@end at indent}%
+    \csname\jlreq at quote@fontsize\endcsname
+    \@tempdima=1\zw
+    \@tempdimb=\dimexpr\linewidth - \@totalleftmargin - \leftmargin - \rightmargin\relax
+    \@tempdimc=\@tempdimb
+    \divide\@tempdimb by \@tempdima\multiply\@tempdimb by \@tempdima
+    \leftmargin=\dimexpr\leftmargin + \@tempdimc - \@tempdimb\relax
+    \listparindent\parindent
     \itemindent\listparindent
     \labelwidth\z@
     \labelsep\z@
-    \leftmargin=2\jlreq at mol
-    \rightmargin\leftmargin
+    \topsep=\jlreq at speciallength{\jlreq at quote@beforeafter at space}%
     \parsep\z@ \@plus.1\jlreq at gol}%
     \item\relax}{\endlist}
 \newenvironment{quote}
   {\list{}{%
-    \rightmargin\leftmargin
+    \leftmargin=\jlreq at speciallength{\jlreq at quote@indent}%
+    \rightmargin=\jlreq at speciallength{\jlreq at quote@end at indent}%
+    \csname\jlreq at quote@fontsize\endcsname
+    \@tempdima=1\zw
+    \@tempdimb=\dimexpr\linewidth - \@totalleftmargin - \leftmargin - \rightmargin\relax
+    \@tempdimc=\@tempdimb
+    \divide\@tempdimb by \@tempdima\multiply\@tempdimb by \@tempdima
+    \leftmargin=\dimexpr\leftmargin + \@tempdimc - \@tempdimb\relax
     \labelwidth\z@
-    \leftmargin=2\jlreq at mol
+    \itemindent\z@
+    \topsep=\jlreq at speciallength{\jlreq at quote@beforeafter at space}%
     \listparindent\z@}%
     \item\relax}{\endlist}
 
@@ -3429,7 +3641,7 @@
 \ifthenelse{\equal{\jlreq at article@type}{book}}{
   \newif\if at mainmatter
   \@mainmattertrue
-  \newcommand*\frontmatter{%
+  \newcommand*{\frontmatter}{%
     \if at openright
       \cleardoublepage
     \else
@@ -3437,13 +3649,11 @@
     \fi
     \@mainmatterfalse
     \let\jlreq at pagestyle@atmain\jlreq at current@pagestyle
-    \ifthenelse{\equal{\jlreq at article@type}{article}}{}{%book, report
-      \SaveHeading{chapter}{\jlreq at heading@chapter at atmain}%
-      \ModifyHeading{chapter}{label_format={}}%
-    }%
+    \SaveHeading{chapter}{\jlreq at heading@chapter at atmain}%
+    \ModifyHeading{chapter}{label_format={}}%
     \pagestyle{plain}%
     \pagenumbering{roman}}
-  \newcommand*\mainmatter{%
+  \newcommand*{\mainmatter}{%
     \cleardoublepage
     \@mainmattertrue
     \@ifundefined{jlreq at pagestyle@atmain}{}{%
@@ -3452,7 +3662,7 @@
     \@ifundefined{jlreq at heading@chapter at atmain}{}{\jlreq at heading@chapter at atmain}%
     \setcounter{chapter}{0}%
     \pagenumbering{arabic}}
-  \newcommand*\backmatter{%
+  \newcommand*{\backmatter}{%
     \if at openright
       \cleardoublepage
     \else
@@ -3466,7 +3676,7 @@
     \@mainmatterfalse
     \setcounter{chapter}{0}}
 }{}
-\newcommand*\appendix{\par
+\newcommand*{\appendix}{\par
   \setcounter{section}{0}%
 }
 
@@ -3530,9 +3740,11 @@
 
 %. 定理環境
 \def\jlreq at theorem@abovebelowspace{1\baselineskip}%とりあえず前後に一行分のアキ
+\let\jlreq at original@@begintheorem=\@begintheorem
 \def\@begintheorem#1#2{\topsep=\jlreq at theorem@abovebelowspace
   \trivlist\labelsep=1\jlreq at mol
    \item[\hskip \labelsep{\headfont #1\ #2}]}
+\let\jlreq at original@@opargbegintheorem=\@opargbegintheorem
 \def\@opargbegintheorem#1#2#3{\topsep=\jlreq at theorem@abovebelowspace
   \trivlist\labelsep=1\jlreq at mol
   \item[\hskip \labelsep{\headfont #1\ #2(#3)}]}



More information about the tex-live-commits mailing list