From 4e7e356ce33bb13545c2e2d9a90dc982470f694e Mon Sep 17 00:00:00 2001 From: lrks Date: Sun, 20 Oct 2019 20:02:29 +0900 Subject: [PATCH 1/3] release --- docker/extensions/author.rb | 1 + docker/extensions/five-white.pdf | Bin 1035 -> 0 bytes docker/extensions/five-yryrblack.pdf | Bin 1038 -> 0 bytes docker/extensions/five.pdf | Bin 1035 -> 1038 bytes docker/extensions/four-white.pdf | Bin 1024 -> 0 bytes docker/extensions/four-yryrblack.pdf | Bin 1027 -> 0 bytes docker/extensions/four.pdf | Bin 1024 -> 1027 bytes docker/extensions/one-white.pdf | Bin 950 -> 0 bytes docker/extensions/one-yryrblack.pdf | Bin 958 -> 0 bytes docker/extensions/one.pdf | Bin 950 -> 958 bytes docker/extensions/three-white.pdf | Bin 1005 -> 0 bytes docker/extensions/three-yryrblack.pdf | Bin 1010 -> 0 bytes docker/extensions/three.pdf | Bin 1006 -> 1010 bytes docker/extensions/two-white.pdf | Bin 983 -> 0 bytes docker/extensions/two-yryrblack.pdf | Bin 989 -> 0 bytes docker/extensions/two.pdf | Bin 983 -> 989 bytes template/src/articles/desk/desk.re | 2 +- template/src/articles/intro/intro.re | 7 +-- template/src/articles/review/review.re | 2 +- template/src/articles/sample/sample.re | 15 ++--- template/src/config.yml | 4 +- template/src/layouts/layout.tex.erb | 3 +- template/src/layouts/sigcoww.sty | 83 +++++++++++-------------- 23 files changed, 52 insertions(+), 65 deletions(-) delete mode 100644 docker/extensions/five-white.pdf delete mode 100644 docker/extensions/five-yryrblack.pdf delete mode 100644 docker/extensions/four-white.pdf delete mode 100644 docker/extensions/four-yryrblack.pdf delete mode 100644 docker/extensions/one-white.pdf delete mode 100644 docker/extensions/one-yryrblack.pdf delete mode 100644 docker/extensions/three-white.pdf delete mode 100644 docker/extensions/three-yryrblack.pdf delete mode 100644 docker/extensions/two-white.pdf delete mode 100644 docker/extensions/two-yryrblack.pdf diff --git a/docker/extensions/author.rb b/docker/extensions/author.rb index 1677c95..84f6e51 100644 --- a/docker/extensions/author.rb +++ b/docker/extensions/author.rb @@ -30,6 +30,7 @@ def headline_prefix(level) puts macro('renewcommand', '\\authorname', author) puts macro('renewcommand', '\\katagakiname', katagaki) end + puts macro('renewcommand', '\\authorenable', (level != 1 or @author.nil?) ? '0' : '1') super end end diff --git a/docker/extensions/five-white.pdf b/docker/extensions/five-white.pdf deleted file mode 100644 index decd338aa3d0491edaa2e124687029717f286b63..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1035 zcma)5O=uHA6oy(nY{4J&RFu9d!S>MoOEzgssI+MlYZYTsL@XZ0%`{y}cf#x>Bpxc_ z!GoYh=*^${3yONPdhS(GtG(2Vh}4T1OYx*2zS%Tsh#nl4otbauz4v|Zy$K|T<2{BN zQUcGuJ^iHwK?io`tP+iac7(cFF$E!nQVIZQaVIAz$2ms?9i}$RP-S31@dT%2S}9$h zeml0UrE|x~Qu)c96KjvRf21#34=h|P&Q}f|KlHx+gZ^o@?co}%F5GOpr7pg_99kS- znZLh&Bl2ip{PSE7eA%*h(xX%lxK@qPtFuuc23)Yd#AEjD&g}>bFY7F-CZ8+RH&QTAcZR_M{1BWsxX4R@?7rB zx>#S{NJ%8p0;NGTDghiC(QyM>Y!D34Y=VCjj0gC~Z^MsO_XFB^IZr`Lk}UOoCJCpm zK(ks7kJ5}ohFA$E5YoX6tKmL5zznLr5nM#zv~L+>u0T@{WJ#*|PjFVqH;}8w^3fXK zG&11C_3|>VU9Q2SAb7!NBt^yW)-WwPHccglEk!+6;5PL@W+v63Q1Y*}#il~f zCpzY2JX9l-kg9VpNYM=r!VL~$*e-%`=(35!85pWzsU~zy36byDFv$pJImu5swx=?l z?e6x&Bst3zY;3>(H`}aGq#=Bje~bu{W7(=}td_S?qfMIF|7(YZ%j|B4&QD7g)fEgzMbdR$B&}t%OBV5(eeO=IGs~N|vfHhb z;vtBFI&_F25JbVq4oPHTb%;QrLx~X`>Sh-YK}z<$S$7@s(#P=r{NDS%_xpX{H=#^V z??Vmo7~E^uNg@GiKXY;-4^f0n0sv~ST@Z}pT%dyWFw4y{(%DHo!5JMT z&*sw_{iDqrcaamCO?0eo1M9R;(QkyxLYYJ{Q1;L z_1%G%H;d+X<#^vx{>kM2rNm0h=I?J)3txUMPONQAY>hWRetPuKolC1%^`Vzv*FN66 z9C|g}F>&z6@Ue%L<@M&dKmFw5v-u`-CVlJY*w&-zGYiIeW2%!dC%eN7S5lFbA!ih# zMKyUYcY0l~uP{{>=|O?&Ad!#&no7gC0X5kL8mJb<5jEohj`;1wiPhtPI#ek#P%|{g z{FoWanIq7xmc{{=wQ09ohGB%lpvRSXhcwV5O1psz1FraVd3EwFGJImWly# z)wg`K#&-}IaO!wP`L0!|!F?cj$!8=*CGl1d8?!BDrn}{pswUNBo?GG;^FU_C3@DWR zYn`#H(DR9&v$Gzmkx4M?+)Gk)AV542Ac-9#Tn?=kwYdwLqQw*)TJu5_Ppg<@1aq7g z^S0$FF3+{K`Ojpyn=M(`f&cHeTOlLxe3gHa3R-Y;)zDZiZ>L7PK4s2ENEq5lxNZ=S z#Ue2nff|Ne@K3?1V|olzAuWJ~wY``g+3Oq8k?B9aajkt1W<&$=1gCa^asRg+v~Mt^ kEURp~t^g^#+B|*Ehzqg|eqB95x$qSl9R>-7QWtv3U*V!E6aWAK diff --git a/docker/extensions/five.pdf b/docker/extensions/five.pdf index 123034b279d608000804d625248e9b8c1368a910..309bd3d003b1a9b4f147697a992189000e7ed857 100644 GIT binary patch delta 254 zcmeC?=;N5+SAUxKkb!{f#l5R%aLIi>_TNaOkvCCL%;CS#jV|V{n`bw!TRTzS&oR|^ zN@ay!(XJIb`o}qxj~)nmsweGvBx6$->k*ra%D;a-T(SG^_X8bwK6m_Sms`3;f@gBn zt$3r5{rB%&nI5BhFxs+%^I5dig31eT6buwVw1R?yp^4$fFFs6+#*-bHg&9pJhcc^+8Y>upfI^-E k7nosSU~FVQc_Op0s0D_MxryoIoy=Yw=3J_(uKsRZ01wMx-2eap delta 253 zcmeC<=;oN8H8otCZXxPt{d;#w>gDb^GFX%icF?7M)lAByZ)FX=oyI<S${-b8Ixdcvg(qk^uBjy^%tkIpZmflu+~v-;&nMD zV~dU7eV9ZI6bwK>Ay0t|%rG!8GBuhU!K`kJDPwG8f}z^X&=f<=+{9?|9%e5N6E0O% ISARDy0I$7SkpKVy diff --git a/docker/extensions/four-white.pdf b/docker/extensions/four-white.pdf deleted file mode 100644 index f46cf8b0fc08c1db272f5ac6c357f4a0a311766a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcma)5J!lj`6c$P2qOq`uh2Tr#K?1tJx!XjKNOG48@duBMR!KOQSc9RIkpy z9%_G~?`(ViB=@PKbZ_qM^6L7IXW918+kWRRF5F+-{=-|In%_Ts``4scx}<8IdvAW} z8Tr1J&c8e3Ej{fx`0`d;_wHlX<%Qx}m-FX(_ojGwp50x3wZ~lTJo0F9<>P^_jT`%j zf9-wl+eGH^&*Gb-A66zec3rq)Glly3IuqPU4U)KAk-A~p@?M_IrovFuNL7rE3)BP2 zqy%tiM8^YYsUa{xa|zC<5-)JZukI(_^aI-I`7#A9OA0jfnI)Y10?itUJ4y2%8D>?O zKu8BOp(Y080Mk(sMBjjqaLbSnm92s!p2W1)8oo~Qn zAb2HYBt@n0RhrIuE_FtS<&&Bw&7lFSaF+%kGvh=QO8$*rXekUrqQ|{_fNEqCoF?~* z6diGph&V`Lj|j%0$0Z(TV5ml1HKAuli1J|#lZ;@2lk$w`1}fu)-rg`wma}}t#h&|r zvsQ)dNcbB66cMDv3N_bQt)O0`mQ9t@X+?*AMQ;vB#N$>RrlEnwtpNyc!Ea(_A7)FA z2&NmDo-LSZ{A+6&SnVzE5;}J87RuQkt@Kg~dv VA*^d42p6G3yWdh`v5`|5#O zr9>W8mbVlWG+Sb~ly6VG z={dA|_TZk4FN;6+&mNtA`toawHPd$F*`LVA`NLlF`-#_Uzvg%CdpvyR*xSL8g*)$u zTGIEs$3Hw-Zo9s@WLd3y4?O66zSc_Zxtmj;+MMo<3oDh%yYMx6d zQGt>mk&plmm1uYXHF*wnP+fvE3dIYY@!R%e*ZqKcak5B3&5%3|eP#%!zCg2D?#|P! zNBUS9E+M3W5sSvULk2PW+%K zUPwC_Aw!fr&UZcf_YAgW1bsC8P9iggkdtA zWlJu$-T#~IR4CpMzREvI1Szn5)iqWt*sjrzO_|f2qCuCU)d$3E+q5AEHO#g!Q*wY` z#|#U*tqId~OivSL82{RuIwq>=T}(svO<3G)h#@%f3Y3Tc>ZmtGk+Q6^!iS&=8mA^D?BfS6s diff --git a/docker/extensions/four.pdf b/docker/extensions/four.pdf index e9f1c295b7dcbe2a5d8840a59c42b8d2262532d8..9f9b50d64147fa9a53d9fbf915d31393bcbae9d0 100644 GIT binary patch delta 247 zcmZqRXy%yUS8vUC$bpCD!oB4mINM~a_aA@2VbY=`a^SD(jR^vo&d=4)p7=b0fo+?Q zt=xG}|LF@Zdvmz0vdp@=d!16(%QYq@@~qq&wGW<0Ix&+bc|eEw7%sc@Lx7bn70jiKk?lj14xv^kxz> zF;Xx90fjsTE-=Huz{td8vKO&O3h1|ctMKE$b91)ZzeHg zO9cZEP{>o@0y7K@j7$tC`!cK98DdHq8yaIMH#0E75HmM6oV=0Qi^G^pRn^tsjSB#_ CqFL$y diff --git a/docker/extensions/one-white.pdf b/docker/extensions/one-white.pdf deleted file mode 100644 index abf8c38d0fbb50eac1e00fc80cfe535f48ce7980..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 950 zcma)5&2G~`5Uzy6VSDTgj1)y`h48>2Ga`Qg5ZLpk diff --git a/docker/extensions/one-yryrblack.pdf b/docker/extensions/one-yryrblack.pdf deleted file mode 100644 index c6c2c3b49f6bd1ba830b3c11678181a43daec0b0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 958 zcma)5%We}f6omyFFIZI~>FRDG(niet5l~c#CQVcUBARpoLM+UTlMD*uU^|fVCyiLP zTUM~=6Zi-g0mK&|B(7)j7^NGmk!O7Dd+#~-cxwGl_nvKdr1s_ar$5963;3(oq}2lR zG0R433?4!e0RXd`P81XPo>0X)EanL#M@K{|!RQ+@|JeBMd~-ePv*(_DP4=!D%e(va z%R93Av%07pR;s_AKdV?bTq=`o+f3xq6i0wcJu2RN?L4Dlm`mw9BHX9`0l=q?s5>j^%amdF*g za&*mifD8o9C@hsP__wK|6Fw?Zqg!(2(Kco-*pOJzB-Um?;QOu*Ls(;8 zi0{+1D}K$4j|$&he1x4(7YfYgiDJ@+m>n2^0BmHb_4(q^w-{N^+KjmW1T%$OsLInJ;F}(taWJ zQgW82$WpB(g{(!441W#y$|p9+GMO1|obSyfW^Sxt00Ihm3S3}@fq|j9=_F<~J5v)3 g86y*O3^7w<3k)$cGtH`hzQcVuvh~smaFW-b`XhHz{01QJYB>(^b diff --git a/docker/extensions/three-white.pdf b/docker/extensions/three-white.pdf deleted file mode 100644 index 3a43ec77b5b2bf5ef5fd16455865c37e5c2fe309..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1005 zcma)5O=uHA6h8O^?x9o!6{-3V11)OyC*Ax=DB7e6rIo})^iYb7n@O?~cf#yM(-x}G zlU_V|D0-*`J*X8_0v@X9sn&yncv29=L%kHed(bz#`6InJEITvb%zN+q-g^_sCQ~Q$ z;II;CY(D*?gg^s!>9P`!gE~o_k|@J4LOBHh)RbKjl;d0>f+nfO3RD>xQCz_(xuVqX z(GPmx!m0jkZ{{z4-?xAD+T(@N@9hVcZX8+v``~B)u21(@QqLRni`ieVmha9zIlSl2 zj?BQ$ftN@3uJy&%KHvJb@n~t{`WJe0x4F4^_R!>Ud-dze#|!6wyj`AqcYEXg!KoLs z&(>cz9v;gm)G0K>;z|;hEai+mbuB8-<<4l!@dS+3MLI8#JjCM?z@ZWiH=rg?gAS@i z@Q;%40RQ+k{g`b(pq`tlQc$y`L_MEb!l@(Btd*rRv|y7_R);BsG%&)!a7+#`LcwSR z7ZI5DEECKTXzGGYx}V`RXSHePZ!oj9`hAYT35jAmgQ>AumjpvqH_n2K#@rPK6>};eGxIB1nam zeAielw^^f(O`X%CqCr&A+5^I-88V>=EzC5qh;o3_#tZ|q*Mn&~rl$up&}s`7!%pqF zXGXW$M)a;2f)l$!x%Vpb_AEupvdTHe1W4h2^Nc%12C@uZU0p%A@DxVE___mQnUwMm DqYW6L diff --git a/docker/extensions/three-yryrblack.pdf b/docker/extensions/three-yryrblack.pdf deleted file mode 100644 index 650515003aaf86a154f1dd69d8ac70d449076815..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1010 zcma)5&1(}u6c@zH3gXS1eF%{jalewyhr~jgG@({8ZqkEDh3RIJtfV_(cDAG*Jotfl zD}pHEMNb}zf^AVOh}1)G{sDpq4;Bx3N;baMDl{ zN^Jf6vt1<)IOf>W}fv>(y; z6NfhS!~5UvzS-3DU&m)2)_>l-JbIh&`>Q>!+&c4Rq4;9`+Qlb#Kg^~_ejK=;A-^9y zJ=We%e7Z9?AFM2|e!j3%d3{~|<8H(XJ8MS@r;XL^#kC@PzOr>=c58X$<-HR}-+kTq z`0b$cN^2_At9D}JPO_F%<%(ntBQEdd$?RzgRZO)-u`EylWU~^$p%EPqpyejO0L>vd zqb|I_8NZGntLF!_%2JDhRw8v8`YaJnJ%MK3RGp($mrSxYTtY|(GpQysa)23E(<$7f zU@o-GF;AeW4>I#nnv0wTtpRdTtPt(;Eh7U?JijI5I!j%68UznQMp9G`U*+kd>rlHm zDW61|G@JS?;12acX2u>+DEW7*-&g2|L}%Qpk7{HR>>l?(iXL!~9B`1st`LmFs6$-N zz)%fKHDRNk*{FNvq*HzRGxgY%B~@;;b4t*k%83)~`@%Abi9>M+9lIdgL0b z<#%e-w`p@)Q*=lxdT&6|vf>uhpo>{1%9aDX9%h;tZ3xqiJ>KbiVAu%5wpIokWyoL3 y7>FS_ahsHfzh>FJN|Caxvdx$PDLiVPX|KjWmLaUGF9;W*!c;P ~wD3(7yLv>bH+ diff --git a/docker/extensions/three.pdf b/docker/extensions/three.pdf index 9d01fe1721ba06e9eb6fad23d1ef872d1f1debb5..650515003aaf86a154f1dd69d8ac70d449076815 100644 GIT binary patch delta 245 zcmaFI{)v5pU%eyWAp-&C1Hbnj(l_|1<~=L@Lra`SdlADw{e>Z|UN3XqH*KwpTr}xc zsD=D{*6EgsKWD5^s(5DduroHPbj^g#PXoV%>}t~co4H%n?aLN%H(SHa&&syA=dWLL zygBsv1o`b#wdD@K+I{y8ck&MX9In*7l;V=2)Wlp6D?cfVYvM^BCPU+m*L|2oO%)74 wKp{_o3(PPuFfuZqY{9Hk delta 223 zcmeyw{*HZuU#2(LVFLl?3xDT0sRyjx$gY0;gy5#kT^{1O@A;1^$`{PI%G`PJxX`Uy zahqo?PtzB5J(zj8!Mv>V>PDw?hTj)0za&!fa>?6i5*IJUNqjwaX4di5cdM&Yb>-IV zYLmGWwyvUd^?b9N@|#t(eJ1XfV=}PZc-x0b)KI|y1QhZVxWEhp10y5j$u`XDwpe5= dO)*rPT9{#onHw5UUcl_dValbd>gw;t1pvlNPmKTo diff --git a/docker/extensions/two-white.pdf b/docker/extensions/two-white.pdf deleted file mode 100644 index 7ae461360ac9bdcf4f4d116de21805276cd32e77..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 983 zcma)5zl#$=6h7`qGiN7=CxTBTkVD+vY_i!zash91$sH<&B#n52bGwtxYTOC46Uo`< z4-hLwEo{U_un@fR{0Ac1SXhabU}qk3g zrv6mdM!ya;XUjS1q%OEy>+7TaRA$^5f89M_KmNEo{&f2JE8n}b`t8Y&jg2!Oj`od8 z`|YFGFG{DhFHg^oPUP=>e!qIO^7!VtHNrw~ngLgen>F`jZYXqvjlU~*ZAM_LCCb?pC#9Jqgv5aqlM275%j@)wT_1@-^{ diff --git a/docker/extensions/two-yryrblack.pdf b/docker/extensions/two-yryrblack.pdf deleted file mode 100644 index 38e52120abc51a1b33536e52f096aea16c546e0e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 989 zcma)5ON$dh5C&OLS_EALJxPHCvj;PeWHQMT0&ZR`Du#&%Wf5#AoykZt9eX;GT`voJ zSiFgN^q>b9R1gGn^5jW82qOLg5d;t7f+t-Rt7r0JbFmou@pV_#_f_>I>gDQLBb6bE z;rADNBn>+78#hUz0NMo>c(M%{gd73@TGj7JCUEXh$;!;-O-71E5=y~nmkb_u-@iVx zsUO|?{C8(};q9;cyC=7fwGUO2n|~4u2gswJXRiJ}VLW;H{O*q{>1S{5*^kY|Q?I(l zm&M_&;~$2H`O~$+gHP|a#oqFrk6*XFo$DK{_Kh7Z=1&7*L35M`SBjycrDi0SPpf0K zF(>pR!j*xnH6)USLO}s&8r5+FTIn1Zpt%%Blz;~~;x~$8P2zxddA-L#t5c6fG3!*Y zK%(2YDi>MPrz?B_YY6FJW>eX`GBDGroQ(?`u0@_D9!PWzK@~Z!Xie~bZ-!i)D?-P7 z8^}P=And8U?)n&B1u6OwBPFVYx616c?=q*hqOQc6G>3(}FI*Oas*E$EQ1Kr(da5vt zh@SVGA*xYDa3`Z_XJ^;xDBwgwY4o1qbQYIwZQudZLEHZ+gpuM*5hAA$* zrKKoMUGQe##Rv8OZqp9gGwEagB`Rr$dvR#&RygX>)Mp@Ai|CLe`oth>S!oMeFvct$ zAC@u*CYY(C*nOC8V0rdoMs6N6?cCfwE1RFgviX@DQc%CcMD!On{0)YbRhJ#kB`D$X b<5>+_98?>kzJ`(t87Z_gIg&_JE>+1t@+c0Z diff --git a/docker/extensions/two.pdf b/docker/extensions/two.pdf index 8081861cd1b092210cb4035f61c3eb653ea18832..38e52120abc51a1b33536e52f096aea16c546e0e 100644 GIT binary patch delta 198 zcmcc4ewTfMPjv3t-MkG30?iNqE&IT7{O6<(63v1c9IhG-e^ptSxE6d?kNhQWxOC&{ z&i4_uUuYyGwB|zTQr%ysvfEiI zD@SlO;;`USRdw}u;{pKKI6^M~ delta 206 zcmcc1ew}@SPpI}2qX343i%MAkx-hqXNz!w+bryDJRZh0$=5CE))i@t;{*H&D`@sty z=PyajU7ntj!1QS5D@jSILpx&(>_Rq9TshBDOz*}lnN}W??8`ftb}~$yBF`{!xh#`~ z`Nm^jOyVY%777L+ppd7)1!fo+7#SE$R%ceTGq=Q)GB?5yGc_~D5HqthnB2|m#bLyy Ks_N?R#svV2FFZv6 diff --git a/template/src/articles/desk/desk.re b/template/src/articles/desk/desk.re index b62f062..04b4f94 100644 --- a/template/src/articles/desk/desk.re +++ b/template/src/articles/desk/desk.re @@ -1,4 +1,4 @@ -= desk += deskですくデスクですくですくですくですく @{机上 次郎} //lead{ deskを使う上で役立ちそうな情報を載せます。 diff --git a/template/src/articles/intro/intro.re b/template/src/articles/intro/intro.re index cdf3a15..90820d9 100644 --- a/template/src/articles/intro/intro.re +++ b/template/src/articles/intro/intro.re @@ -1,7 +1,2 @@ = はじめに -何とは言わんが - -: Kyash - ID「lrks」@{kyash://qr/u/7714590359441332391} -: MONA - @{P9Na6gkKpFnVc9ytDtXex3KtAaetZUAH8r} +あのイーハトーヴォのすきとおった風、夏でも底に冷たさをもつ青いそら、うつくしい森で飾られたモリーオ市、郊外のぎらぎらひかる草の波。 diff --git a/template/src/articles/review/review.re b/template/src/articles/review/review.re index 5aafffa..d1ac4e2 100644 --- a/template/src/articles/review/review.re +++ b/template/src/articles/review/review.re @@ -1,5 +1,5 @@ = Re:VIEW(with desk)文法集 -@{Re:VIEW (, desk) の文法なら任せろー, 分峰 太郎;twitter:hoge} +@{Re:VIEW (, desk) の文法なら任せろー, hogetaro;twitter:hoge} //lead{ Re:VIEWの文法、およびlrks/deskで拡張した文法を基本編と応用編に分けて紹介します。 また、開発に役立つ情報も載せます。 diff --git a/template/src/articles/sample/sample.re b/template/src/articles/sample/sample.re index 1482187..39a441d 100644 --- a/template/src/articles/sample/sample.re +++ b/template/src/articles/sample/sample.re @@ -63,15 +63,16 @@ ucharな三点リーダー@{2026} == コードブロック === TIPS TIPSのテストをする -//tip[キャプション]{ -これは正式な文章の代わりに入れて使うダミーテキストです。 +//tip[ここにキャプションが入りますキャプションキャプションキャプション]{ +■■■■■■■■■■■■■■■■■■■■■■■■■■■ -これは正式な文章の代わりに入れて使うダミーテキストです。 -これは正式な文章の代わりに入れて使うダミーテキストです。 -これは正式な文章の代わりに入れて使うダミーテキストです。 +■■■■■■■■■■■■■■■■■■■■■■■■■■■ +■■■■■■■■■■■■■■■■■■■■■■■■■■■ +■■■■■■■■■■■■■■■■■■■■■■■■■■■ -これは正式な文章の代わりに入れて使うダミーテキストです。 -これは正式な文章の代わりに入れて使うダミーテキストです。 +■■■■■■■■■■■■■■■■■■■■■■■■■■■ +■■■■■■■■■■■■■■■■■■■■■■■■■■■ +■■■■■■■■■■■■■■■■■■■■■■■■■■■ //} TIPSのテストをしたはずだ。 diff --git a/template/src/config.yml b/template/src/config.yml index 7755b4d..e904801 100644 --- a/template/src/config.yml +++ b/template/src/config.yml @@ -11,10 +11,10 @@ edt: "sigcoww@sigcoww.org" # 連絡先 省略可 feedback: "https://example.com/" # 連絡フォーム 省略可 msg: "https://sigcoww.org/ で既刊紹介中" # メッセージ 省略可 -container_version: "jewelpet" # desk のバージョン 省略可 +container_version: "kancolle" # desk のバージョン 省略可 layout_hash: "6fd9409306cd76f85ff807b2dad53af5" # layout.tex.erb のMD5ハッシュ 省略可 sty_hash: "68f40bfda6ec9ddc19ff9b4331f83656" # sigcoww.sty のMD5ハッシュ 省略可 -titlelatex: '\sigcowwtitle' # 扉ページ 省略可 +titlelatex: '\sigcowwpage' # 扉ページ 省略可 download: "https://example.sigcoww.org/?key=%s" # ダウンロードコード用文字列 省略可 tallymark: false # ページ数を正の字で表現する 省略可 diff --git a/template/src/layouts/layout.tex.erb b/template/src/layouts/layout.tex.erb index 64b47cb..e36196b 100644 --- a/template/src/layouts/layout.tex.erb +++ b/template/src/layouts/layout.tex.erb @@ -59,6 +59,7 @@ \usepackage{colortbl} \usepackage{indentfirst} \usepackage{qrcode} +\usepackage{refcount} \advance \paperwidth 10truemm \advance \paperheight 10truemm @@ -271,7 +272,7 @@ <%- if @config["tallymark"] -%> \newcommand{\enabletallymark}{} <%- end -%> - +\newcommand{\sigcowwtitle}{<%= escape_latex(@config.name_of("booktitle")) %>} <%- if @config["texstyle"] -%> <%- [@config["texstyle"]].flatten.each do |x| -%> \usepackage{<%= x %>} diff --git a/template/src/layouts/sigcoww.sty b/template/src/layouts/sigcoww.sty index ee55f4f..7bb68f0 100644 --- a/template/src/layouts/sigcoww.sty +++ b/template/src/layouts/sigcoww.sty @@ -55,10 +55,11 @@ \newlength{\headinsep}\setlength{\headinsep}{1.75truemm} \setlength{\textheight}{64\baselineskip} \setlength{\headheight}{10truemm} -\newlength{\chapterheight}\setlength{\chapterheight}{60truemm} +\newlength{\chapterheight}\setlength{\chapterheight}{50truemm} \setlength{\marginposadjustment}{2pt} \definecolor{yryrblack}{gray}{0.1} \definecolor{yryrwhite}{gray}{0.9} +\definecolor{tumeblack}{gray}{0.25} %\flushbottom% ... marginparと相性が悪い \addtolength{\oddsidemargin}{-1truein} \addtolength{\oddsidemargin}{\marginparwidth} @@ -93,13 +94,13 @@ \ifdefined\enabletallymark \count@\value{page}% \loop\ifnum\count@>4 - \includegraphics[height=\fontcharht\font`2]{../layouts/five-white.pdf} + \includegraphics[height=\fontcharht\font`2]{../layouts/five.pdf} \advance\count@ by -5 \repeat - \ifnum\count@=1{\includegraphics[height=\fontcharht\font`2]{../layouts/one-white.pdf}}\fi - \ifnum\count@=2{\includegraphics[height=\fontcharht\font`2]{../layouts/two-white.pdf}}\fi - \ifnum\count@=3{\includegraphics[height=\fontcharht\font`2]{../layouts/three-white.pdf}}\fi - \ifnum\count@=4{\includegraphics[height=\fontcharht\font`2]{../layouts/four-white.pdf}}\fi + \ifnum\count@=1{\includegraphics[height=\fontcharht\font`2]{../layouts/one.pdf}}\fi + \ifnum\count@=2{\includegraphics[height=\fontcharht\font`2]{../layouts/two.pdf}}\fi + \ifnum\count@=3{\includegraphics[height=\fontcharht\font`2]{../layouts/three.pdf}}\fi + \ifnum\count@=4{\includegraphics[height=\fontcharht\font`2]{../layouts/four.pdf}}\fi \else\thepage\fi} \pagestyle{fancy} @@ -113,7 +114,7 @@ \end{scope}\end{tikzpicture}\raisebox{-2\baselineskip}{\textcolor{#2}{#3}}} \newcommand{\chaphashira}[1]{\begin{tikzpicture}[remember picture, overlay]% \begin{scope}[shift={(current page.north west)}]% - \fill[#1] (-100pt, 100pt) rectangle (\paperwidth, -\chapterheight-16pt); + \fill[#1] (-100pt, 100pt) rectangle (\paperwidth, -\chapterheight-10pt); \end{scope}\end{tikzpicture}} \newcommand{\tume}{\if@mainmatter\if@twoside% \checkoddpage\ifoddpage% @@ -121,10 +122,10 @@ \else% \def\tumewidth@{5mm+5mm}\def\tumeorigin@{west}% \fi% - \count@\value{chapter}%\advance\count@ by -1% + \count@\value{chapter}% \begin{tikzpicture}[remember picture, overlay]\begin{scope}[shift={($% - (current page.north \tumeorigin@)+(-6pt,-\chapterheight-16pt)+\count@*(0,-10mm)$)}]% - \fill[yryrblack] (0, 0) rectangle (\tumewidth@, -10mm);% + (current page.north \tumeorigin@)+(-6pt,-\chapterheight-10pt)+\count@*(0,-10mm)$)}]% + \fill[tumeblack] (0, 0) rectangle (\tumewidth@, 10mm);% \end{scope}% \end{tikzpicture}\fi\fi} @@ -138,17 +139,17 @@ \fancyhead[LO]{\hashira{yryrwhite}{yryrblack}{\sffamily\leftmark}} \fi \fancyfoot{} -\fancyfoot[LE]{\nombre{yryrblack}{yryrwhite}{\sffamily\noukin}\tume} -\fancyfoot[RO]{\nombre{yryrblack}{yryrwhite}{\sffamily\noukin}\tume} +\fancyfoot[LE]{\nombre{yryrwhite}{yryrblack}{\sffamily\noukin}\tume} +\fancyfoot[RO]{\nombre{yryrwhite}{yryrblack}{\sffamily\noukin}\tume} \renewcommand{\footrulewidth}{0pt} \renewcommand{\headrulewidth}{0pt} % chapterあり \fancypagestyle{plainhead}{% -\fancyhead{\chaphashira{yryrblack}} +\fancyhead{\chaphashira{yryrwhite}} \fancyfoot{} -\fancyfoot[LE]{\nombre{yryrblack}{yryrwhite}{\sffamily\noukin}\tume} -\fancyfoot[RO]{\nombre{yryrblack}{yryrwhite}{\sffamily\noukin}\tume} +\fancyfoot[LE]{\nombre{yryrwhite}{yryrblack}{\sffamily\noukin}\tume} +\fancyfoot[RO]{\nombre{yryrwhite}{yryrblack}{\sffamily\noukin}\tume} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt}} @@ -156,8 +157,8 @@ \fancypagestyle{fancytitle}{% \fancyhead{} \fancyfoot{} -\fancyfoot[LE]{\nombre{yryrblack}{yryrwhite}{\sffamily\noukin}} -\fancyfoot[RO]{\nombre{yryrblack}{yryrwhite}{\sffamily\noukin}} +\fancyfoot[LE]{\nombre{yryrwhite}{yryrblack}{\sffamily\noukin}} +\fancyfoot[RO]{\nombre{yryrwhite}{yryrblack}{\sffamily\noukin}} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt}} % @@ -170,16 +171,16 @@ \def\@makechapterhead#1{\begin{widepage}% {\parindent \z@ \raggedright \normalfont \vspace*{-\headsep}\vspace*{-\headheight}\vbox to\chapterheight{\vfill% - \ifnum \c@secnumdepth >\m@ne + \interlinepenalty\@M + \parbox[c]{\textwidth}{\Huge\headfont\textcolor{yryrblack}{#1}}\par\nobreak + \ifnum\authorenable=0\else\ifnum \c@secnumdepth >\m@ne \if@mainmatter - \LARGE\headfont\textcolor{white}{\@chapapp\thechapter\@chappos}\par% - \textcolor{white}{\katagakiname\authorname}% - \par\nobreak - \vskip \Cvs + \vskip 0.75\Cvs + \colorbox{yryrblack}{\textcolor{white}{ + \LARGE\headfont\,\katagakiname\authorname\, + }}\par\nobreak \fi - \fi - \interlinepenalty\@M - \parbox[c]{\textwidth}{\Huge\headfont\textcolor{white}{#1}}\par\nobreak\vfill}% + \fi\fi\vfill}% \vspace*{2\Cvs}}% \end{widepage}} @@ -188,7 +189,7 @@ \parindent \z@ \raggedright\normalfont \begin{widepage*}\vbox to\chapterheight{\vfill% \interlinepenalty\@M - \Huge\headfont\textcolor{white}{#1}\par\nobreak\vfill}\end{widepage*}% + \Huge\headfont\textcolor{yryrblack}{#1}\par\nobreak\vfill}\end{widepage*}% \vskip 2\Cvs}} % toc @@ -228,9 +229,6 @@ \nobreak\hb@xt@\@pnumwidth{\hfil\sffamily#5}\hspace*{9.25pt}\end{widepage}% \par\vskip1.5\baselineskip}\fi} - - - % \section{} \def\@startsection#1#2#3#4#5#6{% \if@noskipsec \leavevmode \fi @@ -269,16 +267,6 @@ \useasboundingbox (0,0) rectangle (0,0); \fill[yryrblack] (0,-3pt) rectangle (1.5pt,11pt); \end{tikzpicture}\hspace{0.9zw}}} - -% \subsubsection{} -\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}% - {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% - {\z@}% - {\normalfont\normalsize\headfont - \begin{tikzpicture} - \useasboundingbox (0,0) rectangle (0,0); - \fill[yryrwhite] (0,-2pt) rectangle (1.5pt,9pt); - \end{tikzpicture}\hspace{1.1zw}}} % % % @@ -336,12 +324,12 @@ \ifnum\count@=3{\padding@}\fi% \fi} % -\newcommand{\sigcowwtitle}{\begin{eyecatch}{0}SIGCOWW\end{eyecatch}} +\newcommand{\sigcowwpage}{\begin{eyecatch}{0}\sigcowwtitle\end{eyecatch}} \newcommand{\@aftereyecatch}{} \newenvironment{eyecatch}[1]{% \clearpage \renewcommand{\@aftereyecatch}{} - \ifnum#1=0\pagecolor{yryrblack}\color{white}\renewcommand{\@aftereyecatch}{\vfill}\fi + \ifnum#1=0\pagecolor{yryrwhite}\color{yryrblack}\renewcommand{\@aftereyecatch}{\vfill}\fi \ifnum#1=1\pagecolor{yryrwhite}\renewcommand{\@aftereyecatch}{\vfill}\fi \ifnum#1=2\pagecolor{yryrwhite}\fi \thispagestyle{fancytitle}\ifnum#1=3\else\vspace*{\fill}\fi\begin{widepage} @@ -350,13 +338,14 @@ } % //lead{...//} -\newenvironment{leadw}{\begin{widepage}\begin{abstract}}{\end{abstract}\end{widepage}} +\newenvironment{leadw}{\begin{widepage}\begin{abstract}}{\end{abstract}\end{widepage}\vspace{-0.75\baselineskip}} % @{...} \newcommand{\authorname}{} -\newcommand{\authorsub}[1]{\LARGE#1{\large\hspace{0.5em}著}} +\newcommand{\authorsub}[1]{\large#1} \newcommand{\katagakiname}{} -\newcommand{\katagakisub}[1]{\large#1\hspace{0.75em}} +\newcommand{\katagakisub}[1]{\large#1\hspace{1zw}} +\newcommand{\authorenable}{0} % //image , //imagew \renewenvironment{reviewimage}% @@ -454,8 +443,8 @@ \newenvironment{tips}[1]% {\begin{figure}[!bt]\begin{widepage*}\begin{tcolorbox}[% colframe=yryrwhite,colback=yryrwhite,colbacktitle=yryrwhite,coltitle=black,fonttitle=\headfont\large,% - title={\vspace{1zw}Tips: #1},boxrule=1pt,top=0pt,left=1zw,bottom=1zw,right=1zw]% - \setlength{\columnsep}{0.9zw}\begin{multicols}{2}\setlength{\parindent}{1zw}}% + title={\vspace{1zw}\raisebox{0.7pt}{\colorbox{yryrblack}{\textcolor{white}{\small{TIPS}}}}~#1},boxrule=1pt,top=0pt,left=1zw,bottom=1zw,right=1zw]% + \setlength{\columnsep}{1.5zw}\setlength{\columnseprule}{0.4pt}\begin{multicols}{2}\setlength{\parindent}{1zw}}% {\end{multicols}\end{tcolorbox}\end{widepage*}\end{figure}} % 便利 @@ -486,7 +475,7 @@ % QRコード \newcommand{\reviewqr}[1]{\vspace{0.5\baselineskip}\\{% \setlength\lineskiplimit{0pt}\setlength\normallineskiplimit{0pt}% - \qrcode[tight,height=\marginparwidth]{#1}}\vspace{0.5\baselineskip}\\} + \hfill\qrcode[tight,height=0.5\marginparwidth]{#1}}\hfill\vspace{0.5\baselineskip}\\} \renewcommand{\copyright}{\textcopyright} From dee268f324a63f4c2368368dd910262b8a6f687f Mon Sep 17 00:00:00 2001 From: lrks Date: Tue, 22 Oct 2019 19:04:48 +0900 Subject: [PATCH 2/3] ok --- docker/extensions/author.rb | 1 + template/src/layouts/sigcoww.sty | 32 +++++++++++++++++++------------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/docker/extensions/author.rb b/docker/extensions/author.rb index 84f6e51..7da78c9 100644 --- a/docker/extensions/author.rb +++ b/docker/extensions/author.rb @@ -31,6 +31,7 @@ def headline_prefix(level) puts macro('renewcommand', '\\katagakiname', katagaki) end puts macro('renewcommand', '\\authorenable', (level != 1 or @author.nil?) ? '0' : '1') + puts macro('renewcommand', '\\katagakienable', @katagaki.nil? ? '0' : '1') super end end diff --git a/template/src/layouts/sigcoww.sty b/template/src/layouts/sigcoww.sty index 7bb68f0..53f36a0 100644 --- a/template/src/layouts/sigcoww.sty +++ b/template/src/layouts/sigcoww.sty @@ -59,7 +59,7 @@ \setlength{\marginposadjustment}{2pt} \definecolor{yryrblack}{gray}{0.1} \definecolor{yryrwhite}{gray}{0.9} -\definecolor{tumeblack}{gray}{0.25} +\definecolor{yryrblackblack}{gray}{0.15} %\flushbottom% ... marginparと相性が悪い \addtolength{\oddsidemargin}{-1truein} \addtolength{\oddsidemargin}{\marginparwidth} @@ -125,7 +125,7 @@ \count@\value{chapter}% \begin{tikzpicture}[remember picture, overlay]\begin{scope}[shift={($% (current page.north \tumeorigin@)+(-6pt,-\chapterheight-10pt)+\count@*(0,-10mm)$)}]% - \fill[tumeblack] (0, 0) rectangle (\tumewidth@, 10mm);% + \fill[yryrblackblack] (0, 0) rectangle (\tumewidth@, 10mm);% \end{scope}% \end{tikzpicture}\fi\fi} @@ -168,19 +168,24 @@ % % 見出し % 通常版 \chapter{} +\newlength{\@chapterauthorh} +\newlength{\@chapterkatagakih} \def\@makechapterhead#1{\begin{widepage}% {\parindent \z@ \raggedright \normalfont \vspace*{-\headsep}\vspace*{-\headheight}\vbox to\chapterheight{\vfill% \interlinepenalty\@M \parbox[c]{\textwidth}{\Huge\headfont\textcolor{yryrblack}{#1}}\par\nobreak - \ifnum\authorenable=0\else\ifnum \c@secnumdepth >\m@ne - \if@mainmatter - \vskip 0.75\Cvs - \colorbox{yryrblack}{\textcolor{white}{ - \LARGE\headfont\,\katagakiname\authorname\, - }}\par\nobreak - \fi - \fi\fi\vfill}% + \ifnum\authorenable=0\else\ifnum \c@secnumdepth >\m@ne\if@mainmatter + \settoheight{\@chapterauthorh}{\hbox{\authorname}} + \ifnum\katagakienable=1% + \settoheight{\@chapterkatagakih}{\hbox{\katagakiname}}% + \ifdim\@chapterkatagakih>\@chapterauthorh\setlength{\@chapterauthorh}{\@chapterkatagakih}\fi% + \fi\vskip 0.75\Cvs + \hfill\ifnum\katagakienable=1% + \colorbox{white}{\textcolor{yryrblack}{\mathstrut\rule{0pt}{\@chapterauthorh}\katagakiname}}% + \fi\colorbox{yryrblack}{\textcolor{white}{\mathstrut\rule{0pt}{\@chapterauthorh}\authorname}}% + \par\nobreak + \fi\fi\fi\vfill}% \vspace*{2\Cvs}}% \end{widepage}} @@ -342,10 +347,11 @@ % @{...} \newcommand{\authorname}{} -\newcommand{\authorsub}[1]{\large#1} +\newcommand{\authorsub}[1]{\headfont\,{\large#1}\,} \newcommand{\katagakiname}{} -\newcommand{\katagakisub}[1]{\large#1\hspace{1zw}} +\newcommand{\katagakisub}[1]{\headfont\,{\large#1}\,} \newcommand{\authorenable}{0} +\newcommand{\katagakienable}{0} % //image , //imagew \renewenvironment{reviewimage}% @@ -417,7 +423,7 @@ \renewenvironment{shaded}{% \begin{tcolorbox}[colback=yryrwhite,colframe=yryrwhite,boxrule=1pt,top=.5zw,left=.5zw,bottom=.5zw,right=.5zw]}{\end{tcolorbox}} \renewenvironment{shadedb}{% - \begin{tcolorbox}[colback=yryrblack,colframe=yryrblack,colupper=white,boxrule=1pt,top=.5zw,left=.5zw,bottom=.5zw,right=.5zw]}{\end{tcolorbox}} + \begin{tcolorbox}[colback=yryrblackblack,colframe=yryrblackblack,colupper=white,boxrule=1pt,top=.5zw,left=.5zw,bottom=.5zw,right=.5zw]}{\end{tcolorbox}} \renewenvironment{reviewemlist}{% \medskip\begin{shaded}\small\setlength{\baselineskip}{1.2zw}\begin{alltt}}{% From 5de92bba11c7ec66218bf9e5807c1a1f2b570372 Mon Sep 17 00:00:00 2001 From: lrks Date: Sun, 10 Nov 2019 22:45:26 +0900 Subject: [PATCH 3/3] release kancolle --- Dockerfile.yml | 4 +- docker/Dockerfile | 202 +++++++++++++------------------ template/src/config.yml | 4 +- template/src/layouts/sigcoww.sty | 2 +- 4 files changed, 89 insertions(+), 123 deletions(-) diff --git a/Dockerfile.yml b/Dockerfile.yml index b6fc5f7..2bc689a 100644 --- a/Dockerfile.yml +++ b/Dockerfile.yml @@ -91,7 +91,7 @@ - dev: 'ruby-dev' - dev: 'imagemagick6-dev' - run: "find /usr/bin/ -name '*-6' | xargs -L1 -I{} sh -c 'mv {} $(echo {} | sed s/-6//)'" -- run: 'gem install cuterb -v 0.2.1 -N' +- run: 'gem install cuterb -v 0.2.2 -N' # Phonto - apk: 'zstd' @@ -183,7 +183,7 @@ - name: 'Makefile' - name: '*jlreq*' - name: '*.pl' -- run: "find / -name '*.pdf' -type f | grep -v BXcoloremoji | xargs rm -rf" +- run: "find / -mindepth 2 -name '*.pdf' -type f | grep -v BXcoloremoji | xargs rm -rf" - rmrf: - '/usr/local/texlive/' - name: '*.ps' diff --git a/docker/Dockerfile b/docker/Dockerfile index 1b33030..443c54b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,119 +1,85 @@ FROM alpine:3.9 -RUN apk --update stats -ENV LANG=ja_JP.UTF-8 -ENV PATH=$PATH:/usr/local/texlive/2019/bin/x86_64-linuxmusl -RUN apk add git -RUN apk add perl -RUN apk add wget -RUN apk add xz -RUN apk add ca-certificates -RUN apk add coreutils -RUN apk add fontconfig -RUN apk add ghostscript -RUN apk add imagemagick6 -RUN apk add poppler-utils -RUN apk add binutils -RUN apk add findutils -RUN apk add libc6-compat -RUN wget -q http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz -RUN tar zxf install-tl-unx.tar.gz -COPY texlive.profile / -RUN ./install-tl-*/install-tl -profile texlive.profile -COPY jumoline.sty / -RUN mv jumoline.sty $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/local/ -RUN mkdir -p $(kpsewhich -var-value TEXMFLOCAL)/fonts/opentype -RUN wget -q "https://github.com/adobe-fonts/source-han-sans/blob/release/SubsetOTF/JP/SourceHanSansJP-Medium.otf?raw=true" -O SourceHanSans-Medium.otf -RUN wget -q "https://github.com/adobe-fonts/source-han-sans/blob/release/SubsetOTF/JP/SourceHanSansJP-Bold.otf?raw=true" -O SourceHanSans-Bold.otf -RUN wget -q "https://github.com/adobe-fonts/source-han-sans/raw/master/LICENSE.txt" -O SourceHanSans-LICENSE.txt -RUN wget -q "https://github.com/adobe-fonts/source-han-serif/blob/release/SubsetOTF/JP/SourceHanSerifJP-Regular.otf?raw=true" -O SourceHanSerif-Regular.otf -RUN wget -q "https://github.com/adobe-fonts/source-han-serif/raw/master/LICENSE.txt" -O SourceHanSerif-LICENSE.txt -RUN mv SourceHan*.otf SourceHan*.txt $(kpsewhich -var-value TEXMFLOCAL)/fonts/opentype/ -RUN mkdir -p $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx -COPY otf-up-source.map / -RUN mv otf-up-source.map $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx/ -RUN ln -s $(kpsewhich ptex-ipaex.map) $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx/ptex-source.map -RUN ln -s $(kpsewhich uptex-ipaex.map) $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx/uptex-source.map -RUN ln -s $(kpsewhich otf-ipaex.map) $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx/otf-source.map -RUN mktexlsr -RUN kanji-config-updmap-sys source -RUN sed -i "s/^\( \/\(Courier\|Helvetica\|Times-Roman\|Symbol\) \/.*\)/%\1/" /usr/share/ghostscript/*/Resource/Init/gs_pdfwr.ps -RUN mkdir -p /usr/share/fonts -RUN ln -s $(kpsewhich -var-value TEXMFLOCAL)/fonts/truetype/public/ipaex/ipaexg.ttf /usr/share/fonts/ipaexg.ttf -RUN fc-cache -fv -RUN apk add ruby -RUN apk add zip -RUN apk add ruby-json -RUN gem install review -v 2.5.0 -N -RUN apk add nodejs -RUN apk add nodejs-npm -RUN npm install -g tabooular -RUN npm install -g prh -RUN tlmgr update --self -RUN tlmgr install seqsplit caption bigfoot xcolor framed multirow cases pgf ifoddpage jknapltx rsfs pxpgfmark subfig marginfix tcolorbox mathtools calrsfs calligra cancel mathcomp doublestroke lm anyfontsize etoolbox kastrup ec ucs environ trimspaces palatino helvetic mathpazo pdfpages titlesec qrcode xkeyval -RUN mkdir -p $(kpsewhich -var-value TEXMFSYSVAR)/web2c/euptex && mktexfmt uplatex && mv $(kpsewhich -var-value TEXMFVAR)/web2c/euptex/uplatex.fmt $(kpsewhich -var-value TEXMFSYSVAR)/web2c/euptex/ -RUN wget -q https://github.com/zr-tex8r/BXcoloremoji/archive/v0.7.zip -O BXcoloremoji.zip -RUN unzip -q BXcoloremoji.zip -RUN mkdir -p $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/BXcoloremoji -RUN mv BXcoloremoji*/*.sty $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/BXcoloremoji -RUN mv BXcoloremoji*/LICENSE $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/BXcoloremoji -RUN mv BXcoloremoji*/emoji_images $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/BXcoloremoji -RUN mktexlsr -RUN wget -q https://github.com/prh/rules/archive/master.zip -O rules.zip && unzip -q rules.zip -RUN mv rules-master/ rules && rm -rf rules.zip -COPY rule.yml / -RUN mv rule.yml rules/languages/ja/ && sed -ie "s/^\(imports:\)\s*$/\1\n - ..\/languages\/ja\/rule.yml/" /rules/media/techbooster.yml -RUN gem install diff-lcs -N -RUN apk add make -RUN apk add g++ -RUN wget -q https://github.com/faelys/libsoldout/archive/trunk.zip && unzip trunk.zip -RUN cd libsoldout-trunk/ && make mkd2latex mkd2html && mv libsoldout.so* /usr/lib/ && mv mkd2html mkd2latex /usr/bin/ -RUN strip `which mkd2html` && strip `which mkd2latex` -RUN apk add pngquant -RUN apk add jpegoptim -RUN apk add openssh-client -RUN gem install gemoji -N -RUN apk add ruby-dev -RUN apk add imagemagick6-dev -RUN find /usr/bin/ -name '*-6' | xargs -L1 -I{} sh -c 'mv {} $(echo {} | sed s/-6//)' -RUN gem install cuterb -v 0.2.1 -N -RUN apk add zstd -RUN apk add curl -RUN wget -q https://github.com/lrks/phonto/releases/download/v0.0.3/phonto -O /usr/bin/phonto -RUN chmod +x /usr/bin/phonto -RUN apk add vim -RUN apk add file -RUN rm -rf $(kpsewhich -var-value TEXMFLOCAL)/install-tl* /install-tl* /texlive.profile /root/.texlive*/ /usr/local/texlive/20*/tlpkg/ /usr/local/texlive/20*/install-tl /usr/local/texlive/20*/release-texlive.txt /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/baekmuk/ /usr/local/texlive/20*/texmf-dist/scripts/tlcockpit /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ipagp.ttf /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ipamp.ttf /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ipam.ttf /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ipag.ttf -RUN cd /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ && rm -f ipaexm.ttf && ln -s ipaexg.ttf ipaexm.ttf && cd / -RUN cd /usr/share/ghostscript/*/Resource/CIDFSubst/ && rm -f DroidSansFallback.ttf && ln -s /usr/share/fonts/ipaexg.ttf DroidSansFallback.ttf && cd / -RUN rm -rf /usr/local/texlive/20*/texmf-dist/fonts/afm /usr/local/texlive/20*/texmf-dist/fonts/misc /usr/local/texlive/20*/texmf-dist/fonts/opentype trunk.zip libsoldout-trunk/ BXcoloremoji* /usr/local/texlive/20*/texmf-dist/fonts/map/dvips /usr/local/texlive/20*/texmf-dist/fonts/pk/ljfour/public/cm /usr/local/texlive/20*/texmf-dist/fonts/source /usr/local/texlive/20*/texmf-dist/dvips/ /usr/local/texlive/20*/texmf-dist/fonts/tfm/ptex-fonts/standard/ -RUN find /usr/local/texlive/20*/texmf-dist/ -iname "*korea*" -o -iname "*chinese*" | grep -v '/proc/' | xargs rm -rf -RUN find /usr/local/texlive/20*/texmf-dist/fonts/ -iname "times" -o -iname "cm-super" -o -iname "courier" -o -iname "ncntrsbk" -o -iname "avantgar" -o -iname "bookman" -o -iname "zapfchan" -o -iname "tex-gyre" -o -iname "charter" -o -iname "utopia" | grep -v '/proc/' | xargs rm -rf -RUN rm -rf /usr/share/gtk-doc/ /usr/lib/ruby/gems/*/cache/ /usr/share/X11 /usr/share/alsa -RUN find / -iname "*.log" -o -iname "*.html" -o -iname "*.md" -o -iname "*.ini" -o -iname "*.example" -o -iname "*.lua" -o -iname "*.c" -o -iname "*.h" -o -iname "*.ins" -o -iname "*.gif" -o -iname "*.jpg" -o -iname "*.ico" -o -iname "*.zip" -o -iname "*.exe" -o -iname "*.*gz" -o -iname "*README*" -o -iname "*hiramin*" -o -iname "*hirakaku*" -o -iname "*hiramaru*" -o -iname "*.svg" -o -iname "doc" -o -iname "*sample*" -o -iname "*example*" -o -iname "*manual*" -o -iname "*beamer*" -o -iname "demo" -o -iname "tests" -o -iname "debian" -o -iname "lua*tex" -o -iname "ptex" -o -iname "uptex" -o -iname "xe*tex" -o -iname "images" -o -iname "VLGothic" -o -iname "*.png" -o -iname "*.lock" -o -iname "*.git" -o -iname "test.js" -o -iname "test" -o -iname "Makefile" -o -iname "*jlreq*" -o -iname "*.pl" | grep -v '/proc/' | xargs rm -rf -RUN find / -name '*.pdf' -type f | grep -v BXcoloremoji | xargs rm -rf -RUN find /usr/local/texlive/ -iname "*.ps" -o -iname "*.eps" | grep -v '/proc/' | xargs rm -rf -RUN find / -name '*.cls' -type f | grep -v jsbook | grep -v jsarticle | xargs rm -rf -RUN find /usr/ -empty -type d | xargs rm -rf -RUN find / -executable -type f | xargs file | grep "not stripped" | cut -d":" -f1 | xargs strip -RUN rm -rf /root/.ash_history /root/.config /root/.gem /root/.node-gyp /root/.npm /root/.wget-hsts /usr/bin/npm /usr/lib/node_modules/npm -RUN cd /usr/local/texlive/*/bin/x86_64-linuxmusl/ && rm -rf *mpost pdf*tex teckit_compile xdvi-xaw luatex53 makeindex *mendex && cd / -RUN cd /usr/local/texlive/*/texmf-dist/ && rm -rf fonts/truetype/public/arphic-ttf/ fonts/map/pdftex/ scripts/ makeindex/ && cd / -RUN find / -executable -type f | xargs -L1 -I{} ldd {} 2>&1 1>/dev/null | grep "symbol not found" | cut -d":" -f1 | cut -d" " -f3 | uniq | xargs rm -rf -RUN find / -xtype l | grep -v "/proc/" | xargs rm -rf -RUN rm -rf /usr/libexec/ /usr/x86_64-alpine-linux-musl/ /usr/local/texlive/texmf-local/fonts/source /usr/share/fonts/Type1 -RUN apk add python -RUN apk add py-pip -RUN pip install fonttools -RUN find / -name '*.ttf' -type f -o -name '*.otf' -type f | xargs -L1 -I{} sh -c 'pyftsubset {} --unicodes=U+0000-04FF,U+1E00-243F,U+2460-27BF,U+2900-29FF,U+2B00-2BFF,U+2E80-2FDF,U+3000-30FF,U+3190-319F,U+31F0-4DBF,U+4E00-9FFF,U+E000-FB4F,U+FE10-FE1F,U+FE30-FE4F,U+FF00-FFEF,U+1F100-1F2FF,U+20000-2A6DF,U+2A700-2B81F,U+2F800-2FA1F --layout-features-='valt','vert','vkrn','vpal','vrt2','frac','numr','dnom','ljmo','vjmo','tjmo','abvs','blws','abvm','blwm','nukt','akhn','rphf','rkrf','pref','blwf','half','abvf','pstf','cfar','vatu','cjct','init','pres','abvs','blws','psts','haln','dist','abvm','blwm','init','medi','fina','isol','med2','fin2','fin3','cswh','mset','stch' --output-file=/tmp/$(basename {}); mv /tmp/$(basename {}) {}' -RUN rm -rf /root/.cache/ /usr/lib/python2.7 /usr/bin/pyft* /usr/bin/fonttools -RUN ls -1d /usr/local/texlive/*/texmf-dist/fonts/map/dvipdfmx/ptex-fontmaps/* | grep -v ipa | xargs rm -rf -RUN rm -rf /usr/local/texlive/*/texmf-dist/fonts/map/dvipdfmx/morisawa /usr/local/texlive/*/texmf-dist/fonts/tfm/public/morisawa /usr/local/texlive/*/texmf-dist/fonts/vf/public/morisawa /usr/local/texlive/*/texmf-dist/tex/latex/morisawa -RUN echo lrks/desk:kancolle > /etc/desk-release -RUN mkdir -p /usr/local/bin -COPY *.rb / -COPY pdfcrop.sh / -RUN mv build.rb pdfcrop.sh /usr/local/bin/ -RUN mkdir -p /extensions -COPY extensions/*.* / -COPY locale.yml / -RUN mv *.rb *.pdf locale.yml /extensions +ENV LANG=ja_JP.UTF-8 \ + PATH=$PATH:/usr/local/texlive/2019/bin/x86_64-linuxmusl +COPY texlive.profile jumoline.sty otf-up-source.map rule.yml *.rb pdfcrop.sh extensions/*.* locale.yml / +RUN apk add --update git fontconfig ghostscript imagemagick6 poppler-utils libc6-compat ruby zip ruby-json nodejs pngquant jpegoptim openssh-client zstd curl \ + && apk add --virtual build-builddeps perl wget xz ca-certificates coreutils binutils findutils nodejs-npm make g++ ruby-dev imagemagick6-dev vim file python py-pip \ + && wget -q http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \ + && tar zxf install-tl-unx.tar.gz \ + && ./install-tl-*/install-tl -profile texlive.profile \ + && mv jumoline.sty $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/local/ \ + && mkdir -p $(kpsewhich -var-value TEXMFLOCAL)/fonts/opentype \ + && wget -q "https://github.com/adobe-fonts/source-han-sans/blob/release/SubsetOTF/JP/SourceHanSansJP-Medium.otf?raw=true" -O SourceHanSans-Medium.otf \ + && wget -q "https://github.com/adobe-fonts/source-han-sans/blob/release/SubsetOTF/JP/SourceHanSansJP-Bold.otf?raw=true" -O SourceHanSans-Bold.otf \ + && wget -q "https://github.com/adobe-fonts/source-han-sans/raw/master/LICENSE.txt" -O SourceHanSans-LICENSE.txt \ + && wget -q "https://github.com/adobe-fonts/source-han-serif/blob/release/SubsetOTF/JP/SourceHanSerifJP-Regular.otf?raw=true" -O SourceHanSerif-Regular.otf \ + && wget -q "https://github.com/adobe-fonts/source-han-serif/raw/master/LICENSE.txt" -O SourceHanSerif-LICENSE.txt \ + && mv SourceHan*.otf SourceHan*.txt $(kpsewhich -var-value TEXMFLOCAL)/fonts/opentype/ \ + && mkdir -p $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx \ + && mv otf-up-source.map $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx/ \ + && ln -s $(kpsewhich ptex-ipaex.map) $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx/ptex-source.map \ + && ln -s $(kpsewhich uptex-ipaex.map) $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx/uptex-source.map \ + && ln -s $(kpsewhich otf-ipaex.map) $(kpsewhich -var-value TEXMFLOCAL)/fonts/map/dvipdfmx/otf-source.map \ + && mktexlsr \ + && kanji-config-updmap-sys source \ + && sed -i "s/^\( \/\(Courier\|Helvetica\|Times-Roman\|Symbol\) \/.*\)/%\1/" /usr/share/ghostscript/*/Resource/Init/gs_pdfwr.ps \ + && mkdir -p /usr/share/fonts \ + && ln -s $(kpsewhich -var-value TEXMFLOCAL)/fonts/truetype/public/ipaex/ipaexg.ttf /usr/share/fonts/ipaexg.ttf \ + && fc-cache -fv \ + && gem install review -v 2.5.0 -N \ + && npm install -g tabooular \ + && npm install -g prh \ + && tlmgr update --self \ + && tlmgr install seqsplit caption bigfoot xcolor framed multirow cases pgf ifoddpage jknapltx rsfs pxpgfmark subfig marginfix tcolorbox mathtools calrsfs calligra cancel mathcomp doublestroke lm anyfontsize etoolbox kastrup ec ucs environ trimspaces palatino helvetic mathpazo pdfpages titlesec qrcode xkeyval \ + && mkdir -p $(kpsewhich -var-value TEXMFSYSVAR)/web2c/euptex && mktexfmt uplatex && mv $(kpsewhich -var-value TEXMFVAR)/web2c/euptex/uplatex.fmt $(kpsewhich -var-value TEXMFSYSVAR)/web2c/euptex/ \ + && wget -q https://github.com/zr-tex8r/BXcoloremoji/archive/v0.7.zip -O BXcoloremoji.zip \ + && unzip -q BXcoloremoji.zip \ + && mkdir -p $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/BXcoloremoji \ + && mv BXcoloremoji*/*.sty $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/BXcoloremoji \ + && mv BXcoloremoji*/LICENSE $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/BXcoloremoji \ + && mv BXcoloremoji*/emoji_images $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/BXcoloremoji \ + && mktexlsr \ + && wget -q https://github.com/prh/rules/archive/master.zip -O rules.zip && unzip -q rules.zip \ + && mv rules-master/ rules && rm -rf rules.zip \ + && mv rule.yml rules/languages/ja/ && sed -ie "s/^\(imports:\)\s*$/\1\n - ..\/languages\/ja\/rule.yml/" /rules/media/techbooster.yml \ + && gem install diff-lcs -N \ + && wget -q https://github.com/faelys/libsoldout/archive/trunk.zip && unzip trunk.zip \ + && cd libsoldout-trunk/ && make mkd2latex mkd2html && mv libsoldout.so* /usr/lib/ && mv mkd2html mkd2latex /usr/bin/ \ + && strip `which mkd2html` && strip `which mkd2latex` \ + && gem install gemoji -N \ + && find /usr/bin/ -name '*-6' | xargs -L1 -I{} sh -c 'mv {} $(echo {} | sed s/-6//)' \ + && gem install cuterb -v 0.2.2 -N \ + && wget -q https://github.com/lrks/phonto/releases/download/v0.0.3/phonto -O /usr/bin/phonto \ + && chmod +x /usr/bin/phonto \ + && rm -rf $(kpsewhich -var-value TEXMFLOCAL)/install-tl* /install-tl* /texlive.profile /root/.texlive*/ /usr/local/texlive/20*/tlpkg/ /usr/local/texlive/20*/install-tl /usr/local/texlive/20*/release-texlive.txt /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/baekmuk/ /usr/local/texlive/20*/texmf-dist/scripts/tlcockpit /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ipagp.ttf /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ipamp.ttf /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ipam.ttf /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ipag.ttf \ + && cd /usr/local/texlive/20*/texmf-dist/fonts/truetype/public/ipaex/ && rm -f ipaexm.ttf && ln -s ipaexg.ttf ipaexm.ttf && cd / \ + && cd /usr/share/ghostscript/*/Resource/CIDFSubst/ && rm -f DroidSansFallback.ttf && ln -s /usr/share/fonts/ipaexg.ttf DroidSansFallback.ttf && cd / \ + && rm -rf /usr/local/texlive/20*/texmf-dist/fonts/afm /usr/local/texlive/20*/texmf-dist/fonts/misc /usr/local/texlive/20*/texmf-dist/fonts/opentype trunk.zip libsoldout-trunk/ BXcoloremoji* /usr/local/texlive/20*/texmf-dist/fonts/map/dvips /usr/local/texlive/20*/texmf-dist/fonts/pk/ljfour/public/cm /usr/local/texlive/20*/texmf-dist/fonts/source /usr/local/texlive/20*/texmf-dist/dvips/ /usr/local/texlive/20*/texmf-dist/fonts/tfm/ptex-fonts/standard/ \ + && find /usr/local/texlive/20*/texmf-dist/ -iname "*korea*" -o -iname "*chinese*" | grep -v '/proc/' | xargs rm -rf \ + && find /usr/local/texlive/20*/texmf-dist/fonts/ -iname "times" -o -iname "cm-super" -o -iname "courier" -o -iname "ncntrsbk" -o -iname "avantgar" -o -iname "bookman" -o -iname "zapfchan" -o -iname "tex-gyre" -o -iname "charter" -o -iname "utopia" | grep -v '/proc/' | xargs rm -rf \ + && rm -rf /usr/share/gtk-doc/ /usr/lib/ruby/gems/*/cache/ /usr/share/X11 /usr/share/alsa \ + && find / -iname "*.log" -o -iname "*.html" -o -iname "*.md" -o -iname "*.ini" -o -iname "*.example" -o -iname "*.lua" -o -iname "*.c" -o -iname "*.h" -o -iname "*.ins" -o -iname "*.gif" -o -iname "*.jpg" -o -iname "*.ico" -o -iname "*.zip" -o -iname "*.exe" -o -iname "*.*gz" -o -iname "*README*" -o -iname "*hiramin*" -o -iname "*hirakaku*" -o -iname "*hiramaru*" -o -iname "*.svg" -o -iname "doc" -o -iname "*sample*" -o -iname "*example*" -o -iname "*manual*" -o -iname "*beamer*" -o -iname "demo" -o -iname "tests" -o -iname "debian" -o -iname "lua*tex" -o -iname "ptex" -o -iname "uptex" -o -iname "xe*tex" -o -iname "images" -o -iname "VLGothic" -o -iname "*.png" -o -iname "*.lock" -o -iname "*.git" -o -iname "test.js" -o -iname "test" -o -iname "Makefile" -o -iname "*jlreq*" -o -iname "*.pl" | grep -v '/proc/' | xargs rm -rf \ + && find / -mindepth 2 -name '*.pdf' -type f | grep -v BXcoloremoji | xargs rm -rf \ + && find /usr/local/texlive/ -iname "*.ps" -o -iname "*.eps" | grep -v '/proc/' | xargs rm -rf \ + && find / -name '*.cls' -type f | grep -v jsbook | grep -v jsarticle | xargs rm -rf \ + && find /usr/ -empty -type d | xargs rm -rf \ + && find / -executable -type f | xargs file | grep "not stripped" | cut -d":" -f1 | xargs strip \ + && rm -rf /root/.ash_history /root/.config /root/.gem /root/.node-gyp /root/.npm /root/.wget-hsts /usr/bin/npm /usr/lib/node_modules/npm \ + && cd /usr/local/texlive/*/bin/x86_64-linuxmusl/ && rm -rf *mpost pdf*tex teckit_compile xdvi-xaw luatex53 makeindex *mendex && cd / \ + && cd /usr/local/texlive/*/texmf-dist/ && rm -rf fonts/truetype/public/arphic-ttf/ fonts/map/pdftex/ scripts/ makeindex/ && cd / \ + && find / -executable -type f | xargs -L1 -I{} ldd {} 2>&1 1>/dev/null | grep "symbol not found" | cut -d":" -f1 | cut -d" " -f3 | uniq | xargs rm -rf \ + && find / -xtype l | grep -v "/proc/" | xargs rm -rf \ + && rm -rf /usr/libexec/ /usr/x86_64-alpine-linux-musl/ /usr/local/texlive/texmf-local/fonts/source /usr/share/fonts/Type1 \ + && pip install fonttools \ + && find / -name '*.ttf' -type f -o -name '*.otf' -type f | xargs -L1 -I{} sh -c 'pyftsubset {} --unicodes=U+0000-04FF,U+1E00-243F,U+2460-27BF,U+2900-29FF,U+2B00-2BFF,U+2E80-2FDF,U+3000-30FF,U+3190-319F,U+31F0-4DBF,U+4E00-9FFF,U+E000-FB4F,U+FE10-FE1F,U+FE30-FE4F,U+FF00-FFEF,U+1F100-1F2FF,U+20000-2A6DF,U+2A700-2B81F,U+2F800-2FA1F --layout-features-='valt','vert','vkrn','vpal','vrt2','frac','numr','dnom','ljmo','vjmo','tjmo','abvs','blws','abvm','blwm','nukt','akhn','rphf','rkrf','pref','blwf','half','abvf','pstf','cfar','vatu','cjct','init','pres','abvs','blws','psts','haln','dist','abvm','blwm','init','medi','fina','isol','med2','fin2','fin3','cswh','mset','stch' --output-file=/tmp/$(basename {}); mv /tmp/$(basename {}) {}' \ + && rm -rf /root/.cache/ /usr/lib/python2.7 /usr/bin/pyft* /usr/bin/fonttools \ + && ls -1d /usr/local/texlive/*/texmf-dist/fonts/map/dvipdfmx/ptex-fontmaps/* | grep -v ipa | xargs rm -rf \ + && rm -rf /usr/local/texlive/*/texmf-dist/fonts/map/dvipdfmx/morisawa /usr/local/texlive/*/texmf-dist/fonts/tfm/public/morisawa /usr/local/texlive/*/texmf-dist/fonts/vf/public/morisawa /usr/local/texlive/*/texmf-dist/tex/latex/morisawa \ + && echo lrks/desk:kancolle > /etc/desk-release \ + && mkdir -p /usr/local/bin \ + && mv build.rb pdfcrop.sh /usr/local/bin/ \ + && mkdir -p /extensions \ + && mv *.rb *.pdf locale.yml /extensions \ + && apk del --purge build-builddeps \ + && find / -name apk | xargs rm -rf \ + && rm -rf /tmp/* diff --git a/template/src/config.yml b/template/src/config.yml index e904801..236a5e3 100644 --- a/template/src/config.yml +++ b/template/src/config.yml @@ -12,8 +12,8 @@ feedback: "https://example.com/" # 連絡フォーム 省略可 msg: "https://sigcoww.org/ で既刊紹介中" # メッセージ 省略可 container_version: "kancolle" # desk のバージョン 省略可 -layout_hash: "6fd9409306cd76f85ff807b2dad53af5" # layout.tex.erb のMD5ハッシュ 省略可 -sty_hash: "68f40bfda6ec9ddc19ff9b4331f83656" # sigcoww.sty のMD5ハッシュ 省略可 +layout_hash: "29c145e8f139ac90a42b623f8c52f37f" # layout.tex.erb のMD5ハッシュ 省略可 +sty_hash: "c202f8f4271d4302373d63acabe651b2" # sigcoww.sty のMD5ハッシュ 省略可 titlelatex: '\sigcowwpage' # 扉ページ 省略可 download: "https://example.sigcoww.org/?key=%s" # ダウンロードコード用文字列 省略可 tallymark: false # ページ数を正の字で表現する 省略可 diff --git a/template/src/layouts/sigcoww.sty b/template/src/layouts/sigcoww.sty index 53f36a0..d63b5a2 100644 --- a/template/src/layouts/sigcoww.sty +++ b/template/src/layouts/sigcoww.sty @@ -53,7 +53,7 @@ \setlength{\marginparpush}{\baselineskip} \setlength{\headsep}{11.25truemm} \newlength{\headinsep}\setlength{\headinsep}{1.75truemm} -\setlength{\textheight}{64\baselineskip} +\setlength{\textheight}{40\baselineskip} \setlength{\headheight}{10truemm} \newlength{\chapterheight}\setlength{\chapterheight}{50truemm} \setlength{\marginposadjustment}{2pt}