ソースコードの管理場所
Revisão | 90c32366679a9b2ad61e20040821127db6c3e63e (tree) |
---|---|
Hora | 2016-02-04 06:08:59 |
Autor | Hironori Kitagawa <h_kitagawa2001@yaho...> |
Commiter | Hironori Kitagawa |
ltj_jfmglue: local_par is no longer whatsit
@@ -1101,6 +1101,7 @@ end | ||
1101 | 1101 | -- return value: (the initial cursor lp), (last node) |
1102 | 1102 | local init_var |
1103 | 1103 | do |
1104 | + local id_local = node.id('local_par') | |
1104 | 1105 | local KANJI_SKIP = luatexja.icflag_table.KANJI_SKIP |
1105 | 1106 | local XKANJI_SKIP = luatexja.icflag_table.XKANJI_SKIP |
1106 | 1107 | local KSK = luatexja.stack_table_index.KSK |
@@ -1151,8 +1152,10 @@ do | ||
1151 | 1152 | -- the current list is to be line-breaked: |
1152 | 1153 | -- hbox from \parindent is skipped. |
1153 | 1154 | local lp, par_indented, lpi, lps = head, 'boxbdd', getid(head), getsubtype(head) |
1154 | - while lp and ((lpi==id_whatsit and lps~=sid_user) | |
1155 | - or ((lpi==id_hlist) and (lps==3))) do | |
1155 | + while lp and | |
1156 | + ((lpi==id_whatsit and lps~=sid_user) | |
1157 | + or ((lpi==id_hlist) and (lps==3)) | |
1158 | + or (lpi==id_local)) do | |
1156 | 1159 | if (lpi==id_hlist) and (lps==3) then |
1157 | 1160 | Np.char, par_indented = 'parbdd', 'parbdd' |
1158 | 1161 | Np.width = getfield(lp, 'width') |
@@ -38,7 +38,7 @@ | ||
38 | 38 | %% Right brace \} Tilde \~} |
39 | 39 | \NeedsTeXFormat{LaTeX2e} |
40 | 40 | \ProvidesClass{ltjsarticle} |
41 | - [2016/01/31 ] | |
41 | + [2015/10/18 ] | |
42 | 42 | \RequirePackage{luatexja} |
43 | 43 | \newif\if@restonecol |
44 | 44 | \newif\if@titlepage |
@@ -295,18 +295,16 @@ | ||
295 | 295 | \fi |
296 | 296 | \setlength\paperwidth{\inv@mag\paperwidth}% |
297 | 297 | \setlength\paperheight{\inv@mag\paperheight}% |
298 | +\setlength{\@tempdima}{\paperwidth} | |
299 | +\setlength{\@tempdimb}{\paperheight} | |
300 | +\iftombow | |
301 | + \advance \@tempdima 2in | |
302 | + \advance \@tempdimb 2in | |
303 | +\fi | |
298 | 304 | \ifdefined\pdfpagewidth |
299 | - \iftombow | |
300 | - \advance \@tempdima 2in | |
301 | - \advance \@tempdimb 2in | |
302 | - \fi | |
303 | 305 | \setlength{\pdfpagewidth}{\@tempdima} |
304 | 306 | \setlength{\pdfpageheight}{\@tempdimb} |
305 | 307 | \else |
306 | - \iftombow | |
307 | - \advance \@tempdima 2in | |
308 | - \advance \@tempdimb 2in | |
309 | - \fi | |
310 | 308 | \setlength{\pagewidth}{\@tempdima} |
311 | 309 | \setlength{\pageheight}{\@tempdimb} |
312 | 310 | \fi |
@@ -38,7 +38,7 @@ | ||
38 | 38 | %% Right brace \} Tilde \~} |
39 | 39 | \NeedsTeXFormat{LaTeX2e} |
40 | 40 | \ProvidesClass{ltjsbook} |
41 | - [2016/01/31 ] | |
41 | + [2015/10/18 ] | |
42 | 42 | \RequirePackage{luatexja} |
43 | 43 | \newif\if@restonecol |
44 | 44 | \newif\if@titlepage |
@@ -302,18 +302,16 @@ | ||
302 | 302 | \fi |
303 | 303 | \setlength\paperwidth{\inv@mag\paperwidth}% |
304 | 304 | \setlength\paperheight{\inv@mag\paperheight}% |
305 | +\setlength{\@tempdima}{\paperwidth} | |
306 | +\setlength{\@tempdimb}{\paperheight} | |
307 | +\iftombow | |
308 | + \advance \@tempdima 2in | |
309 | + \advance \@tempdimb 2in | |
310 | +\fi | |
305 | 311 | \ifdefined\pdfpagewidth |
306 | - \iftombow | |
307 | - \advance \@tempdima 2in | |
308 | - \advance \@tempdimb 2in | |
309 | - \fi | |
310 | 312 | \setlength{\pdfpagewidth}{\@tempdima} |
311 | 313 | \setlength{\pdfpageheight}{\@tempdimb} |
312 | 314 | \else |
313 | - \iftombow | |
314 | - \advance \@tempdima 2in | |
315 | - \advance \@tempdimb 2in | |
316 | - \fi | |
317 | 315 | \setlength{\pagewidth}{\@tempdima} |
318 | 316 | \setlength{\pageheight}{\@tempdimb} |
319 | 317 | \fi |
@@ -50,7 +50,7 @@ | ||
50 | 50 | %<*driver> |
51 | 51 | \ProvidesFile{ltjsclasses.dtx} |
52 | 52 | %</driver> |
53 | - [2016/01/31 ] | |
53 | + [2015/10/18 ] | |
54 | 54 | %<*driver> |
55 | 55 | \documentclass{ltjsarticle} |
56 | 56 | \usepackage{doc} |
@@ -720,21 +720,17 @@ | ||
720 | 720 | % |
721 | 721 | % [2015-10-18 LTJ] Lua\TeX\ 0.81.0ではプリミティブの名称変更がされたので, |
722 | 722 | % それに合わせておきます. |
723 | -% | |
724 | -% [2016-01-31 LTJ] [2015-10-18]の処理は不完全でした. | |
725 | 723 | % \begin{macrocode} |
724 | +\setlength{\@tempdima}{\paperwidth} | |
725 | +\setlength{\@tempdimb}{\paperheight} | |
726 | +\iftombow | |
727 | + \advance \@tempdima 2in | |
728 | + \advance \@tempdimb 2in | |
729 | +\fi | |
726 | 730 | \ifdefined\pdfpagewidth |
727 | - \iftombow | |
728 | - \advance \@tempdima 2in | |
729 | - \advance \@tempdimb 2in | |
730 | - \fi | |
731 | 731 | \setlength{\pdfpagewidth}{\@tempdima} |
732 | 732 | \setlength{\pdfpageheight}{\@tempdimb} |
733 | 733 | \else |
734 | - \iftombow | |
735 | - \advance \@tempdima 2in | |
736 | - \advance \@tempdimb 2in | |
737 | - \fi | |
738 | 734 | \setlength{\pagewidth}{\@tempdima} |
739 | 735 | \setlength{\pageheight}{\@tempdimb} |
740 | 736 | \fi |
@@ -38,7 +38,7 @@ | ||
38 | 38 | %% Right brace \} Tilde \~} |
39 | 39 | \NeedsTeXFormat{LaTeX2e} |
40 | 40 | \ProvidesClass{ltjskiyou} |
41 | - [2016/01/31 ] | |
41 | + [2015/10/18 ] | |
42 | 42 | \RequirePackage{luatexja} |
43 | 43 | \newif\if@restonecol |
44 | 44 | \newif\if@titlepage |
@@ -297,18 +297,16 @@ | ||
297 | 297 | \def\inv@mag{1.02354} |
298 | 298 | \setlength\paperwidth{\inv@mag\paperwidth}% |
299 | 299 | \setlength\paperheight{\inv@mag\paperheight}% |
300 | +\setlength{\@tempdima}{\paperwidth} | |
301 | +\setlength{\@tempdimb}{\paperheight} | |
302 | +\iftombow | |
303 | + \advance \@tempdima 2in | |
304 | + \advance \@tempdimb 2in | |
305 | +\fi | |
300 | 306 | \ifdefined\pdfpagewidth |
301 | - \iftombow | |
302 | - \advance \@tempdima 2in | |
303 | - \advance \@tempdimb 2in | |
304 | - \fi | |
305 | 307 | \setlength{\pdfpagewidth}{\@tempdima} |
306 | 308 | \setlength{\pdfpageheight}{\@tempdimb} |
307 | 309 | \else |
308 | - \iftombow | |
309 | - \advance \@tempdima 2in | |
310 | - \advance \@tempdimb 2in | |
311 | - \fi | |
312 | 310 | \setlength{\pagewidth}{\@tempdima} |
313 | 311 | \setlength{\pageheight}{\@tempdimb} |
314 | 312 | \fi |
@@ -38,7 +38,7 @@ | ||
38 | 38 | %% Right brace \} Tilde \~} |
39 | 39 | \NeedsTeXFormat{LaTeX2e} |
40 | 40 | \ProvidesClass{ltjspf} |
41 | - [2016/01/31 ] | |
41 | + [2015/10/18 ] | |
42 | 42 | \RequirePackage{luatexja} |
43 | 43 | \newif\if@restonecol |
44 | 44 | \newif\if@titlepage |
@@ -295,18 +295,16 @@ | ||
295 | 295 | \fi |
296 | 296 | \setlength\paperwidth{\inv@mag\paperwidth}% |
297 | 297 | \setlength\paperheight{\inv@mag\paperheight}% |
298 | +\setlength{\@tempdima}{\paperwidth} | |
299 | +\setlength{\@tempdimb}{\paperheight} | |
300 | +\iftombow | |
301 | + \advance \@tempdima 2in | |
302 | + \advance \@tempdimb 2in | |
303 | +\fi | |
298 | 304 | \ifdefined\pdfpagewidth |
299 | - \iftombow | |
300 | - \advance \@tempdima 2in | |
301 | - \advance \@tempdimb 2in | |
302 | - \fi | |
303 | 305 | \setlength{\pdfpagewidth}{\@tempdima} |
304 | 306 | \setlength{\pdfpageheight}{\@tempdimb} |
305 | 307 | \else |
306 | - \iftombow | |
307 | - \advance \@tempdima 2in | |
308 | - \advance \@tempdimb 2in | |
309 | - \fi | |
310 | 308 | \setlength{\pagewidth}{\@tempdima} |
311 | 309 | \setlength{\pageheight}{\@tempdimb} |
312 | 310 | \fi |