OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c11ff
)
lltjcore.sty: add patch for \@gnewline
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Mon, 7 Nov 2016 02:01:02 +0000
(11:01 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Mon, 7 Nov 2016 02:01:02 +0000
(11:01 +0900)
src/patches/lltjcore.sty
patch
|
blob
|
history
diff --git
a/src/patches/lltjcore.sty
b/src/patches/lltjcore.sty
index
a075947
..
f06d1fe
100644
(file)
--- a/
src/patches/lltjcore.sty
+++ b/
src/patches/lltjcore.sty
@@
-231,6
+231,19
@@
\ifmmode\@@underline{#1}%
\else \leavevmode\null$\@@underline{\hbox{#1}}\m@th$\null\relax\fi}
+\def\@gnewline #1{%
+ \ifvmode
+ \@nolnerr
+ \else
+ \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null
+ % pLaTeX のように \break \break としても,行頭禁則由来のペナルティは
+ % 2つのペナリティとも増加されるだけである.
+ % LuaTeX でのハイフネーション方法は TeX82 と異なるので,
+ % \null のままにしても不都合は生じない.
+ \ignorespaces
+ \fi}
+
+
%%% AtBeginDvi
\def \AtBeginDvi #1{%
\global \setbox \@begindvibox