OSDN Git Service
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 [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 [Fri, 7 Feb 2014 09:39:09 +0000 (18:39 +0900)]
Sync with jsclasses 2014-02-07.
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.
Hironori Kitagawa [Mon, 30 Dec 2013 07:40:47 +0000 (16:40 +0900)]
test/mfonttest.tex: reconstruction:
* \ltjsetaltfont<base_font_cs><alt_font_cs>{100-200,3000-,5000,...}
* \ltjclearaltfont<font_cs>
---
Also, I corrected typo in ltj-charrange.lua.
Hironori Kitagawa [Sun, 29 Dec 2013 10:38:03 +0000 (19:38 +0900)]
Included mfonttest-131229-1.{tex,pdf} as mfonttest.{tex,pdf}.
Hironori Kitagawa [Thu, 26 Dec 2013 07:28:18 +0000 (16:28 +0900)]
Updated test19-ivs.{tex,pdf}.
Hironori Kitagawa [Wed, 25 Dec 2013 11:34:16 +0000 (20:34 +0900)]
ltj-base.lua: stopped to use module().
Hironori Kitagawa [Mon, 23 Dec 2013 10:14:15 +0000 (19:14 +0900)]
Commit
2f7b22e is somehow reverted.
Hironori Kitagawa [Sun, 22 Dec 2013 08:33:16 +0000 (17:33 +0900)]
ltj-base.lua: use precompiled cache (.luc, .lub) if possible, as luaotfload
I tested with the manual of LuaTeX-ja:
.luc .lua
(Japanese manual) 10.446s 10.624s
(English manual) 8.565s 8.723s
Used LuaTeX:
> This is LuaTeX, Version beta-0.76.0-
2013061708 (TeX Live 2013) (rev 4627)
Hironori Kitagawa [Sat, 21 Dec 2013 13:32:05 +0000 (22:32 +0900)]
moved cache managementcode into ltj-base.lua.
Hironori Kitagawa [Sat, 21 Dec 2013 03:58:54 +0000 (12:58 +0900)]
Updated luatexja.dtx.
Hironori Kitagawa [Fri, 20 Dec 2013 22:33:30 +0000 (07:33 +0900)]
Merge branch 'kitagawa_catcode' into kitagawa_test
Hironori Kitagawa [Fri, 20 Dec 2013 08:44:58 +0000 (17:44 +0900)]
Fix: replacement by IVS was overwritten by that by font features.
Hironori Kitagawa [Thu, 19 Dec 2013 11:43:57 +0000 (20:43 +0900)]
ltj-otf.lua: IVS now works with OTF (similar way as ivslist.tex)
Hironori Kitagawa [Thu, 19 Dec 2013 02:22:12 +0000 (11:22 +0900)]
tool/ivslist.tex: now works with an OpenType font
Hironori Kitagawa [Wed, 18 Dec 2013 00:58:51 +0000 (09:58 +0900)]
Merged test/ivs.lua into ltj-otf.lua
However, IVS-related code are not enabled if luatexja-otf.sty is only loaded.
To eneble it, one need to execute
\directlua{luatexja.otf.enable_ivs()}
in the document.
I found that current IVS code does not work for OpenType fonts
(e.g., Kozuka Mincho and Hanazono Mincho OT).
Hironori Kitagawa [Tue, 17 Dec 2013 10:18:42 +0000 (19:18 +0900)]
test19-ivs.tex, ivs.lua: test of variation selectors
* Test with IPA MJ Mincho (ipamjm.ttf, version 002.02).
It seems that IVS for U+2B7EA does not work. Why?
* Perhaps ivs.lua works fine even if LuaTeX-ja is not loaded.
Hironori Kitagawa [Fri, 13 Dec 2013 01:17:08 +0000 (10:17 +0900)]
luatexja-preset.sty: \defaultjfontfeatures -> \addjfontfeature, to prevent override.
Hironori Kitagawa [Wed, 11 Dec 2013 12:28:00 +0000 (21:28 +0900)]
Use "CJKShape=NLC" for 'hiragino-pron" preset, instead of "CJKShape=JIS2004" (untested!)
Hironori Kitagawa [Sat, 7 Dec 2013 07:43:25 +0000 (16:43 +0900)]
Bug fix: baseline shift of a rule in math formula.
Hironori Kitagawa [Fri, 6 Dec 2013 10:27:38 +0000 (19:27 +0900)]
Merge branch 'kitagawa_test' into kitagawa_catcode
Hironori Kitagawa [Fri, 6 Dec 2013 06:14:37 +0000 (15:14 +0900)]
Use KozGoPr6N-Regular.otf for "Japanese part" of \ttfamily.
Hironori Kitagawa [Thu, 5 Dec 2013 22:59:54 +0000 (07:59 +0900)]
Another fix of #32527.
- ALchar in math (`a' in `$a$') is shifted by yalbaselineshift
- JAchar in math (`あ' in `$あ$') is shifted by yjabaselineshift
- explicit \vrule in math mode is shifted by yalbaselineshift
- explicit \hbox (or \vbox) in math mode is not shifted,
because its contents were already appropreately shifted in hpack/vpack.
Hironori Kitagawa [Thu, 5 Dec 2013 11:07:56 +0000 (20:07 +0900)]
Fix ticket #32527.
Hironori Kitagawa [Thu, 5 Dec 2013 07:16:02 +0000 (16:16 +0900)]
Updated test06-offset.{tex,pdf}.
Hironori Kitagawa [Sun, 10 Nov 2013 12:06:48 +0000 (21:06 +0900)]
luatexja.dtx: catcode value in LuaTeX-ja (Japanese only)
Hironori Kitagawa [Fri, 1 Nov 2013 22:44:18 +0000 (07:44 +0900)]
Revert previous two commits, and updated manuals.
Hironori Kitagawa [Fri, 1 Nov 2013 10:21:20 +0000 (19:21 +0900)]
Another fix of ltj-unicode-ccfix.tex: \catcode of characters in 'CJK Symbols and Punctuation' = 11.
Hironori Kitagawa [Fri, 1 Nov 2013 05:39:19 +0000 (14:39 +0900)]
Changed catcode of 'Halfwidth and Fullwidth forms'
U+3000: 11 -> 12 (Ideographic spc)
U+FF00--U+FFF0: 12
U+FF10--U+FF19: 11 (fullwidth numeral)
U+FF21--U+FF3A: 11 (fullwidth alph, uppercase)
U+FF41--U+FF5A: 11 (fullwidth alph, lowercase)
Hironori Kitagawa [Wed, 30 Oct 2013 12:33:44 +0000 (21:33 +0900)]
luatexja-preset.sty: divided 'yu' option into 'yu-win' and 'yu-osx'
Hironori Kitagawa [Sun, 27 Oct 2013 23:23:27 +0000 (08:23 +0900)]
luatexja-preset.sty: using 'fontname' instead of filename
* Removed obsolete option ('kozuka4' etc.)
* Used fontname for Kozuka fonts (Pro, Pr6, Pr6N) and Yu fonts.
- See TEXMFVAR/luatex-cache/generic/names/luaotfload-names.lua
- Test needed: Kozuka (Pr6) and Yu (OSX)
- If you have Hiragino fonts or Morisawa fonts,
please edit luatexja-preset.sty to use 'fontname' of them.
Hironori Kitagawa [Sat, 26 Oct 2013 06:44:05 +0000 (15:44 +0900)]
luatexja-preset.sty: add settings for Yu Mincho and Yu Gothic (bundled with Win8.1).
maqiyuan [Thu, 12 Sep 2013 14:21:59 +0000 (22:21 +0800)]
updated Chinese doc, switched default fonts to Fandol fonts.
Hironori Kitagawa [Mon, 9 Sep 2013 22:46:30 +0000 (07:46 +0900)]
Changed line-breaking code (CR*LF -> LF).
Hironori Kitagawa [Mon, 9 Sep 2013 07:27:13 +0000 (16:27 +0900)]
Hironori Kitagawa [Mon, 9 Sep 2013 07:26:30 +0000 (16:26 +0900)]
Regenerated documentation PDFs.
Hironori Kitagawa [Sat, 7 Sep 2013 05:59:06 +0000 (14:59 +0900)]
luatexja-preset: add \textmg and \textgteb.
Kazuki Maeda [Sat, 17 Aug 2013 12:52:36 +0000 (21:52 +0900)]
luatexja-fontspec: \defaultjfontfeatures accepts an optional argument, which is a new feature in fontspec v2.3.
Hironori Kitagawa [Thu, 11 Jul 2013 02:40:43 +0000 (11:40 +0900)]
Fix typo in src/ltj-plain.sty and src/patches/lltjdefs.sty
Hironori Kitagawa [Wed, 10 Jul 2013 23:55:31 +0000 (08:55 +0900)]
Moved ltj-unicode-ccfix.tex from src/patches/ to src/