OSDN Git Service
Hironori Kitagawa [Thu, 8 May 2014 00:07:57 +0000 (09:07 +0900)]
Merge branch 'kmaeda_tarticle' into kitagawa_tfont
Hironori Kitagawa [Thu, 8 May 2014 00:07:32 +0000 (09:07 +0900)]
\{h,v}align should work now (nore test needed)
Kazuki Maeda [Wed, 7 May 2014 12:29:43 +0000 (21:29 +0900)]
Add ltjtarticle, etc.
Hironori Kitagawa [Wed, 7 May 2014 11:14:17 +0000 (20:14 +0900)]
ltj-rmlgbm.lua: support vertical form.
Hironori Kitagawa [Tue, 6 May 2014 12:34:52 +0000 (21:34 +0900)]
implement \tfont. (Alignment does not work)
Hironori Kitagawa [Mon, 5 May 2014 06:47:26 +0000 (15:47 +0900)]
Implement \yoko and \tate. (font rotation: not yet)
Hironori Kitagawa [Sat, 3 May 2014 21:31:45 +0000 (06:31 +0900)]
Hironori Kitagawa [Sat, 3 May 2014 11:28:39 +0000 (20:28 +0900)]
Forgot to update doc/luatexja-ruby.tex
luatexja-ruby.pdf is generated from this new file;
so to regenerate is not needed.
Hironori Kitagawa [Thu, 1 May 2014 11:17:22 +0000 (20:17 +0900)]
Updated luatexja.dtx and regenerated pdfs.
Hironori Kitagawa [Tue, 15 Apr 2014 23:42:38 +0000 (08:42 +0900)]
Added warning messages for AltFont.
Hironori Kitagawa [Fri, 11 Apr 2014 01:53:33 +0000 (10:53 +0900)]
Updated manuals.
Hironori Kitagawa [Thu, 10 Apr 2014 13:09:55 +0000 (22:09 +0900)]
luatexja-fontspec.sty: Changed syntax of AltFont
Example:
\jfontspec [
AltFont = {
{ Range = {"4E00-"67FF,{-2}-{-2}}, Color=007F00, Font=KozGoPr6N-Regular.otf, },
{ Range = {"6800-"9FFF}, Color=0000FF},
{ Range = {"3040-"305F}, Font=KozGoPr6N-Medium.otf},
}
] {KozMinPr6N-Regular}
Hironori Kitagawa [Thu, 10 Apr 2014 09:00:27 +0000 (18:00 +0900)]
luatexja-fontspec.sty: Changed syntax of AltFont, AltFontFeatures and AltFontRange
Example:
\jfontspec[
AltFont={JJSYuMin5goKn-R,DejaVuSans },
AltFontFeatures={,{Color=0000FF,JFM=prop }},
AltFontRange={"3000-"30FF,{"21B3,"21B5 }}%"
]{JJSYuMinchoPr6N-R}
TODO: update documents
Hironori Kitagawa [Wed, 2 Apr 2014 12:09:48 +0000 (21:09 +0900)]
Merge 'kitagawa_test' and renamed several parameters.
Hironori Kitagawa [Wed, 2 Apr 2014 04:06:12 +0000 (13:06 +0900)]
Fix bug #33621.
Hironori Kitagawa [Thu, 27 Mar 2014 13:12:28 +0000 (22:12 +0900)]
Fix luatexja.base.to_skip (#33582)
Hironori Kitagawa [Thu, 27 Mar 2014 02:03:00 +0000 (11:03 +0900)]
Merge branch 'kitagawa_test' into kitagawa_ruby2
Hironori Kitagawa [Thu, 27 Mar 2014 01:32:14 +0000 (10:32 +0900)]
Updated manuals.
Hironori Kitagawa [Wed, 26 Mar 2014 12:22:12 +0000 (21:22 +0900)]
luatexja-fontspec.sty: Added AltFont, AltFontFeatures, AltFontRange keys.
Hironori Kitagawa [Tue, 25 Mar 2014 03:48:30 +0000 (12:48 +0900)]
luatexja-fontspec.sty: add \setmonojfont (defined if "match" is specified)
Hironori Kitagawa [Mon, 24 Mar 2014 00:20:06 +0000 (09:20 +0900)]
Hironori Kitagawa [Sun, 23 Mar 2014 22:33:00 +0000 (07:33 +0900)]
Regenerated PDFs
Hironori Kitagawa [Sun, 23 Mar 2014 08:46:39 +0000 (17:46 +0900)]
Updated manual.
Hironori Kitagawa [Sat, 22 Mar 2014 08:52:23 +0000 (17:52 +0900)]
Changed jfm-ujis.tfm (glue after '?' and '!')
「upnmlminr-h.tfm を元にしている」とドキュメントにありつつも,
「?」「!」と通常の和文文字が続く場合にグルーが入るべきはずが入っていなかったので修正.
Hironori Kitagawa [Sat, 22 Mar 2014 01:14:32 +0000 (10:14 +0900)]
Regenerated manual pdfs.
Hironori Kitagawa [Sat, 22 Mar 2014 01:06:26 +0000 (10:06 +0900)]
Fix the message in searching .fd
Hironori Kitagawa [Thu, 20 Mar 2014 07:22:51 +0000 (16:22 +0900)]
Updated the document of luatexja-ruby.sty
Hironori Kitagawa [Wed, 19 Mar 2014 03:22:27 +0000 (12:22 +0900)]
luatexja-ruby.sty: added/renamed several keys.
Hironori Kitagawa [Wed, 19 Mar 2014 03:19:48 +0000 (12:19 +0900)]
Merge branch 'kitagawa_test' into kitagawa_ruby2
Hironori Kitagawa [Wed, 19 Mar 2014 03:19:29 +0000 (12:19 +0900)]
Updated test04-jfm.{tex,pdf}
Hironori Kitagawa [Sun, 16 Mar 2014 09:57:16 +0000 (18:57 +0900)]
Updated manuals.
Hironori Kitagawa [Sun, 16 Mar 2014 07:40:48 +0000 (16:40 +0900)]
luatexja-preset.sty: sync with jfontmaps.
Hironori Kitagawa [Sat, 15 Mar 2014 09:47:32 +0000 (18:47 +0900)]
\ltj@icflag of kern from luaotfload is changed from 0 to 1
This means that kern from luaotfload is treated as same as
italic corrections.
(フォント由来のカーニングと kanjiskip, JFM グルーなどは共存する)
Hironori Kitagawa [Sat, 1 Mar 2014 21:24:07 +0000 (06:24 +0900)]
Typo
Hironori Kitagawa [Sat, 1 Mar 2014 21:24:07 +0000 (06:24 +0900)]
Typo
Hironori Kitagawa [Tue, 25 Feb 2014 08:03:07 +0000 (17:03 +0900)]
Bugfix: JFM glue whose priority is not zero didn't stretched in \ltjruby.
Hironori Kitagawa [Wed, 12 Feb 2014 11:12:39 +0000 (20:12 +0900)]
Updated test14-ruby.tex (test and the manual of luatexja-ruby.sty)
Hironori Kitagawa [Wed, 12 Feb 2014 11:09:41 +0000 (20:09 +0900)]
Merge branch 'kitagawa_test' into kitagawa_ruby2
Hironori Kitagawa [Mon, 10 Feb 2014 08:17:25 +0000 (17:17 +0900)]
Similar bug exists in luatexja-fontspec.sty.
Hironori Kitagawa [Mon, 10 Feb 2014 07:01:38 +0000 (16:01 +0900)]
Fix typos in lltjfont.sty
Hironori Kitagawa [Sun, 9 Feb 2014 14:08:16 +0000 (23:08 +0900)]
Merge branch 'kitagawa_test' into kitagawa_ruby2
Hironori Kitagawa [Sun, 9 Feb 2014 14:07:55 +0000 (23:07 +0900)]
Ruby: use the aux file to record the width of overhang
Hironori Kitagawa [Fri, 7 Feb 2014 17:18:24 +0000 (02:18 +0900)]
Now works again as old
Hironori Kitagawa [Fri, 7 Feb 2014 09:39:09 +0000 (18:39 +0900)]
Sync with jsclasses 2014-02-07.
Hironori Kitagawa [Thu, 6 Feb 2014 05:33:52 +0000 (14:33 +0900)]
Import from old kitagawa_ruby branch (may not work now)
Hironori Kitagawa [Mon, 3 Feb 2014 23:12:20 +0000 (08:12 +0900)]
Hironori Kitagawa [Mon, 3 Feb 2014 10:20:49 +0000 (19:20 +0900)]
Regenerated pdfs.
Hironori Kitagawa [Mon, 3 Feb 2014 06:42:04 +0000 (15:42 +0900)]
Fixed another bug in ltj-math.lua.
Hironori Kitagawa [Mon, 3 Feb 2014 01:51:52 +0000 (10:51 +0900)]
Fix a bug introduced by
c1f148d3.
Hironori Kitagawa [Mon, 3 Feb 2014 01:00:02 +0000 (10:00 +0900)]
updated manual.
Hironori Kitagawa [Sun, 2 Feb 2014 05:29:33 +0000 (14:29 +0900)]
Fix ticket #33061.
Hironori Kitagawa [Sun, 2 Feb 2014 04:29:35 +0000 (13:29 +0900)]
ltj-charrange.lua: definition of jcr_cjk and jcr_noncjk was too late.
Hironori Kitagawa [Sun, 2 Feb 2014 00:37:37 +0000 (09:37 +0900)]
Fix lltjp-unicode-math.sty.
Hironori Kitagawa [Sat, 1 Feb 2014 23:45:13 +0000 (08:45 +0900)]
Merge branch 'kitagawa_direct' into kitagawa_test
Conflicts:
doc/luatexja.dtx
src/ltj-adjust.lua
src/ltj-jfont.lua
Hironori Kitagawa [Sat, 1 Feb 2014 23:06:22 +0000 (08:06 +0900)]
Compatibility with LuaTeX 0.76.0
Hironori Kitagawa [Sat, 1 Feb 2014 13:16:49 +0000 (22:16 +0900)]
typo
Hironori Kitagawa [Sat, 1 Feb 2014 13:10:21 +0000 (22:10 +0900)]
Added luatexja.node_remove and luatexja.Dnode_remove ("safe node.remove")
Hironori Kitagawa [Sun, 26 Jan 2014 21:11:36 +0000 (06:11 +0900)]
Changed the stack table indeices of kanjiskip and xkanjiskip into integers.
Hironori Kitagawa [Sun, 26 Jan 2014 10:37:37 +0000 (19:37 +0900)]
Forgot to free glue_spec object defined by \ltj@safe@glue
Note: in present implementation of LuaTeX-ja,
a skip will be stored in the stack table as a table, not a glue_spec.
Hironori Kitagawa [Sun, 26 Jan 2014 06:50:08 +0000 (15:50 +0900)]
a [x]kanjiskip glue whose spec is from JFM has distinguished attr_icflag value
icflag_table.KANJI_SKIP = 9
icflag_table.KANJI_SKIP_JFM = 10 -- NEW
icflag_table.XKANJI_SKIP = 11 -- old: 10
icflag_table.XKANJI_SKIP_JFM = 12 -- NEW
icflag_table.PROCESSED = 13 -- old: 11
icflag_table.IC_PROCESSED = 14 -- old: 12
icflag_table.PROCESSED_BEGIN_FLAG = 128 -- old: 32
Memory leak which is caused by luatexja-adjust (ltj-adjust.lua) is now
resolved in this commit, but perhaps there is better solution.
Hironori Kitagawa [Sat, 25 Jan 2014 01:55:41 +0000 (10:55 +0900)]
ltj-stack.lua: renamed function names.
Hironori Kitagawa [Thu, 23 Jan 2014 13:35:26 +0000 (22:35 +0900)]
typo in ltj-jfmglue.lua
Hironori Kitagawa [Thu, 23 Jan 2014 02:48:32 +0000 (11:48 +0900)]
backport
c1f148d and
27609d5.
Hironori Kitagawa [Thu, 23 Jan 2014 02:48:32 +0000 (11:48 +0900)]
Use Lua (ltj-jfont.lua) to manage Kanji encodings.
Hironori Kitagawa [Wed, 22 Jan 2014 14:52:53 +0000 (23:52 +0900)]
ltj-adjust.lua was broken
Hironori Kitagawa [Wed, 22 Jan 2014 14:05:38 +0000 (23:05 +0900)]
lltjfont.sty: append garbage to argument of \jfont only if alternate fonts is set for current Japanese font family
processing time of luatexja-ja.tex
this commit previous commit 13/12/30
LuaTeX 10.005 16.955 10.290
LuaJITTeX 8.636 33.199 8.048
(Note that alternate font is not supported in the source at 13/12/30.)
processing time of test05-speed.tex (\count300=30)
prev commit 13/12/30
LuaTeX 22.593 29.045
LuaJITTeX 16.609 22.982
Hironori Kitagawa [Wed, 22 Jan 2014 04:10:25 +0000 (13:10 +0900)]
Updated manuals.
Hironori Kitagawa [Wed, 22 Jan 2014 02:39:17 +0000 (11:39 +0900)]
... and more
Hironori Kitagawa [Tue, 21 Jan 2014 15:13:39 +0000 (00:13 +0900)]
more direct node sccess model
Hironori Kitagawa [Tue, 21 Jan 2014 04:11:25 +0000 (13:11 +0900)]
Use direct node sccess model in ltj-math.lua and ltj-setwidth.lua.
Hironori Kitagawa [Sun, 19 Jan 2014 01:31:40 +0000 (10:31 +0900)]
updated manuals.
Hironori Kitagawa [Sat, 18 Jan 2014 22:57:25 +0000 (07:57 +0900)]
Updated manuals.
Hironori Kitagawa [Sat, 18 Jan 2014 08:31:04 +0000 (17:31 +0900)]
Implement \ltjgetparameter{kansujichar}{<num>}, and updated tests
Hironori Kitagawa [Sat, 18 Jan 2014 06:52:42 +0000 (15:52 +0900)]
mapped internal charrange number 0 to external charrange number 217
Now \ltjgetparameter{chartorange}{"CFFFF} returns 217, instead of 0.
-- index : internal 0, 1, 2, ..., 216
-- external 217 1 2 216
Hironori Kitagawa [Sat, 18 Jan 2014 06:51:01 +0000 (15:51 +0900)]
renamed luatexja.is_global to global_flag, to avoid confusion
Hironori Kitagawa [Sat, 18 Jan 2014 06:20:32 +0000 (15:20 +0900)]
ltj-otf.lua: stopped to use fontloader.to_table(), to reduce reduce max RSS
Hironori Kitagawa [Sat, 18 Jan 2014 06:18:49 +0000 (15:18 +0900)]
Merge branch 'master' into kitagawa_test
Hironori Kitagawa [Thu, 16 Jan 2014 04:13:11 +0000 (13:13 +0900)]
ltj-base.lua: W32TeX don't use $TEXMFVAR and $TEXMFSYSVAR (thanks Akira)
Hironori Kitagawa [Wed, 15 Jan 2014 11:30:10 +0000 (20:30 +0900)]
Bugfix: "the address of a table" does not begin with "ox" on Windows.
Hironori Kitagawa [Tue, 14 Jan 2014 04:26:33 +0000 (13:26 +0900)]
Cleanup.
Hironori Kitagawa [Tue, 14 Jan 2014 02:00:24 +0000 (11:00 +0900)]
Merge branch 'master' into kitagawa_test
Hironori Kitagawa [Tue, 14 Jan 2014 00:24:43 +0000 (09:24 +0900)]
Hironori Kitagawa [Mon, 13 Jan 2014 09:45:15 +0000 (18:45 +0900)]
Updated ltjsclasses (based on jsclasses 2014-01-02)
Hironori Kitagawa [Mon, 13 Jan 2014 08:16:34 +0000 (17:16 +0900)]
Regenerated pdf of the manual, ltjclasses, and ltjltxdoc.
Hironori Kitagawa [Sun, 12 Jan 2014 23:29:14 +0000 (08:29 +0900)]
Speed up: reduced set_attr(..., attr_jchar_class) call
Hironori Kitagawa [Fri, 10 Jan 2014 12:38:15 +0000 (21:38 +0900)]
ltj-otf.lua: now VS is also supported with alphabetic fonts
Hironori Kitagawa [Thu, 9 Jan 2014 08:52:34 +0000 (17:52 +0900)]
Updated lltjp-listing.sty
* Fix a bug that unnecessary empty line is printed
if there are more than one Japanese characters
before ``the first line'' of \lstinputlisting.
* Changed treatment of variation selector
I only considered VS17--VS255 (U+E0100--UE01EF) now,
but it is easy to extend to VS1--VS16.
* Introduced two new keys: vsraw or vscmd
to control how VS is printed
* Moved Variation Selectros Supplement (VS17--VS255)
to the character range 6. Hence they are treated as JAchars.
Hironori Kitagawa [Tue, 7 Jan 2014 01:57:57 +0000 (10:57 +0900)]
lltjp-listings.sty: support IVS (ugly hack)
Hironori Kitagawa [Mon, 6 Jan 2014 07:33:10 +0000 (16:33 +0900)]
ltj-jfont.lua: removed unnecessary print() and fixed print_aftl_address().
Hironori Kitagawa [Sun, 5 Jan 2014 02:33:15 +0000 (11:33 +0900)]
Manual: updated notes for MiKTeX users.
Hironori Kitagawa [Sat, 4 Jan 2014 09:02:11 +0000 (18:02 +0900)]
Updated the manual.
Hironori Kitagawa [Sat, 4 Jan 2014 02:05:50 +0000 (11:05 +0900)]
Manual: stopped using IPAmjMincho for examples of IVS, to reduce filesize of PDFs
Hironori Kitagawa [Fri, 3 Jan 2014 10:33:22 +0000 (19:33 +0900)]
Manual: added implementation of luatexja-adjust.sty (Japanese only)
Hironori Kitagawa [Thu, 2 Jan 2014 05:46:00 +0000 (14:46 +0900)]
Updated manuals, and removed unnecessary print() which is used for debug.
Hironori Kitagawa [Thu, 2 Jan 2014 05:04:11 +0000 (14:04 +0900)]
small bugfix
- first call of \adjustbaseline is moved to lltjfont.sty
- If Japanese font \ALT does not have a character <c>, then
\ltjdeclarealtfont \BASE \ALT {<c>}
does not replace <c> in \BASE to <c> in \ALT.
Hironori Kitagawa [Wed, 1 Jan 2014 12:28:49 +0000 (21:28 +0900)]
lltjfont.sty, ltj-jfont.lua: different font number from different 4-tuple (enc, fam, series, shape).
Hironori Kitagawa [Tue, 31 Dec 2013 07:35:13 +0000 (16:35 +0900)]
Extended \ltjdeclarealtfont etc.
範囲を表す最後の引数に {-1}-{-2} のように指定すると,
基底フォントの文字クラス 1, 2 に属する文字全部を指定したことになる.
Hironori Kitagawa [Tue, 31 Dec 2013 00:34:46 +0000 (09:34 +0900)]
test20-mfont.tex: renamed from mfonttest.tex
Added notes and examples to test20-mfont.tex.
Hironori Kitagawa [Mon, 30 Dec 2013 13:28:46 +0000 (22:28 +0900)]
Moved Lua and TeX codes in mfonttest.tex into the core of LuaTeX-ja.
Hironori Kitagawa [Mon, 30 Dec 2013 11:49:46 +0000 (20:49 +0900)]
Updated test/mfonttest.tex
* Renamed \ltjsetaltfont to \ltjdeclarealtfont
* Added \DeclareAlternateKanjiFont (for NFSS2):
\DeclareAlternateKanjiFont
<Benc><Bfam><Bser><Bshape><Aenc><Afam><Aser><Ashape><range>
\ltjdeclarealtfont, \ltjclearaltfont and \DeclareAlternateKanjiFont
are always global.