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:
5ee9868
)
ltj-adjust.lua: support situations like \hfil\hfilneg
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Sat, 23 Aug 2014 04:19:38 +0000
(13:19 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Sat, 23 Aug 2014 04:19:38 +0000
(13:19 +0900)
src/ltj-adjust.lua
patch
|
blob
|
history
diff --git
a/src/ltj-adjust.lua
b/src/ltj-adjust.lua
index
1a89408
..
63f6fe6
100644
(file)
--- a/
src/ltj-adjust.lua
+++ b/
src/ltj-adjust.lua
@@
-85,10
+85,12
@@
local function get_stretched(q, go, gs)
if gs == 1 then -- stretching
if getfield(qs, 'stretch_order') == go then
return getfield(qs, 'stretch')
+ else return 0
end
else -- shrinking
if getfield(qs, 'shrink_order') == go then
return getfield(qs, 'shrink')
+ else return 0
end
end
end