Skip to content

Commit

Permalink
ukinsoku.dtx: fix penalties (texjporg/ptex-base#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Aug 4, 2017
1 parent dd30f2f commit 9e5f689
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
15 changes: 10 additions & 5 deletions ukinsoku.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@
% \changes{v1.0-u00}{2011/05/07}{p\LaTeX{}用からup\LaTeX{}用に修正。}
% \changes{v1.0-u01}{2017/08/02}{U+00B7 (MIDDLE DOT; JIS X 0213)の
% 前禁則ペナルティをU+30FBと同じ値に設定、注意点を明文化}
% \changes{v1.0b}{2017/08/05}{%、&、\%、\&の禁則ペナルティが
% 誤っていたのを修正(post $\rightarrow$ pre)}
% \changes{v1.0b-u01}{2017/08/05}{p\LaTeX{}の変更に追随}
% \fi
%
% \iffalse
%<*driver>
\NeedsTeXFormat{pLaTeX2e}
% \fi
\ProvidesFile{ukinsoku.dtx}[2017/08/02 v1.0-u01 upLaTeX Kernel]
\ProvidesFile{ukinsoku.dtx}[2017/08/05 v1.0b-u01 upLaTeX Kernel]
% \iffalse
\documentclass{jltxdoc}
\GetFileInfo{ukinsoku.dtx}
Expand Down Expand Up @@ -63,6 +66,8 @@
%
% \subsection{半角文字に対する禁則}
% ここでは、半角文字に対する禁則の設定を行なっています。
% \changes{v1.0b}{2017/08/05}{%、&、\%、\&の禁則ペナルティが
% 誤っていたのを修正(post $\rightarrow$ pre)}
%
% \begin{macrocode}
%%
Expand All @@ -73,8 +78,8 @@
\prebreakpenalty`"=10000
\postbreakpenalty`\#=500
\postbreakpenalty`\$=500
\postbreakpenalty`\%=500
\postbreakpenalty`\&=500
\prebreakpenalty`\%=500
\prebreakpenalty`\&=500
\postbreakpenalty`\`=10000
\prebreakpenalty`'=10000
\prebreakpenalty`)=10000
Expand Down Expand Up @@ -167,8 +172,8 @@
\prebreakpenalty`==200
\postbreakpenalty`#=200
\postbreakpenalty`$=200
\postbreakpenalty`%=200
\postbreakpenalty`&=200
\prebreakpenalty`%=200
\prebreakpenalty`&=200
\prebreakpenalty`ぁ=150
\prebreakpenalty`ぃ=150
\prebreakpenalty`ぅ=150
Expand Down
8 changes: 4 additions & 4 deletions ukinsoku.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
\prebreakpenalty`"=10000
\postbreakpenalty`\#=500
\postbreakpenalty`\$=500
\postbreakpenalty`\%=500
\postbreakpenalty`\&=500
\prebreakpenalty`\%=500
\prebreakpenalty`\&=500
\postbreakpenalty`\`=10000
\prebreakpenalty`'=10000
\prebreakpenalty`)=10000
Expand Down Expand Up @@ -87,8 +87,8 @@
\prebreakpenalty`==200
\postbreakpenalty`#=200
\postbreakpenalty`$=200
\postbreakpenalty`%=200
\postbreakpenalty`&=200
\prebreakpenalty`%=200
\prebreakpenalty`&=200
\prebreakpenalty`ぁ=150
\prebreakpenalty`ぃ=150
\prebreakpenalty`ぅ=150
Expand Down

0 comments on commit 9e5f689

Please sign in to comment.