2014-05-06  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch: reset inhibit_glue_flag in several places
	where it was missing.

2014-05-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptrip/ptrip.diffs: Updated for TL14.

2014-01-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptftopl.ch: Slightly simplified.  Fixed some typos.

2014-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptrip/ptrip.diffs: Updated for pTeX 3.14159265.

2014-01-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	TeX tuneup of 2014.
	* ptex-base.ch: Adapt to TeX Version 3.14159265.
	* ppltotf.ch: Adapt to PLtoTF Version 3.6.
	* ptftopl.ch: Adapt to TFtoPL Version 3.3.

2014-01-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptrip.test (removed): Renamed ...
	* ptriptest (new): ... into this.
	* am/ptex.am: Adapted.

2013-12-31  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptftopl.ch, tests/min10.pl, tests/min10.pl: Don't write
	SEVENBITSAFEFLAG for JFM (yoko or tate) fonts.

2013-12-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tests/min10.pl, tests/tmin10.pl: Converted to 7-bit ASCII.
	* yokotate.test: Simplified.

2013-12-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ppltotf.ch: Drop one unused change set (is in ../pltotf.ch).
	Print DIRECTION value with print_ln() instead of err_print().

2013-11-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Simplify a few change sets.

2013-08-12  TANAKA Takuji <KXD02663@nifty.ne.jp>

	* kanji.h, ptex-base.ch, ptex.defines: Allow file names with 0x5c in
	(e)pTeX on Windows.

2013-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am: Move PTEXENC_RULE to ../Makefile.am.

2013-06-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* kanji.h: Avoid redefinition of KANJI.

2013-05-05  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch: Fix a bug that KANJI info of the last char in \hbox
	was lost.

2013-04-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptrip/ptrip.diffs: Update for TL 2013.

2013-04-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: 3.3 ---> 3.4 for TL 2013.

2013-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am: Better rule for ptex_version.h.

2013-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid spurious failures of parallel tests.
	* am/ptex.am, nissya.test, pbibtex.test, pdvitype.test,
	ppltotf.test, ptftopl.test, sample.test, yokotate.test:
	Change directory for temporary files from tests to ptests.
	* pbibtex-longline-test.pl: Use plongline.aux as input together
	with longline.bib from source tree.

	* pbibtex-openout-test.pl: Fix the input file location.

2013-01-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am, pbibtex-mem.test, ptrip.test:
	Enable parallel-tests.

2013-01-04  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch: \xkanjiskip around math_node etc.

2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am (ptex_version.h): Enable silent rules.

2012-11-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Remove native buffer printing code.

2012-11-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch (cs_error): Remove "endmubyte" code.

2012-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ppltotf.ch: Remove putc kludge, convert knows (u)ppltotf.

	* kanji.c (init_default_kanji): Set defaults before testing
	PTEX_KANJI_ENC from the environment.
	* kanji.c: WIN32 defaults differ, except for pBibTeX.

2012-07-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am: Distribute ptex_version.h.

2012-07-17  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch: fix a bug in
	@<Scan an alphabetic character code into |cur_val|@>

2012-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch, pdvitype.ch, ppltotf.ch, ptftopl.ch:
	Adapt to the use my_name.

2012-07-15  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexextra.c: Must #define DLLPROC before reading ptexd.h.

2012-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexextra.c [W32TeX]: #define DLLPROC for ptex.dll.

2012-05-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdvitype.test, sample.test: Cope with spaces in paths returned
	by kpsewhich.

2012-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Restore the 'unnecessary and seemingly wrong'
	changes; they are required to show the error context.
	* ptrip/ptrip.diffs: Adapted.

2012-05-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch (pTeX_version_string): Version 3.3.
	* ptrip/ptrip.diffs: Adapted.

2012-03-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptex-base.ch: remove unnecessary and seemingly wrong changes

2012-03-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptex-base.ch: fix a long-remained bug in show_context.

2012-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid 'differ in signedness' warnings.
	* pbibtex.ch, ppltotf.ch: Use ustringcast(buffer).
	* ptex-base.ch: Use ustringcast for buffer and str_pool.

2012-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptftopl.ch: Adapt to missing space added in ../tftopl.ch.

2012-01-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdvitype.ch: Remove an unnecessary change in previous.

2012-01-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* kanji.h, pdvitype.ch: enable -kanji option in pdvitype.
	(patch from TANAKA Takuji-san).

2011-12-19  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch, ptex.defines, kanji.[ch]: Avoid Segmentation
	fault for japanese \catcode or \kcatcode.

2011-12-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Ensure that `hi(#)==#'.

2011-11-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am (pdvitype_CPPFLAGS): Replace '-DDHEX_CHAR_CODE' by
	'-DHEX_CHAR_CODE'.

2011-10-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am (DISTCLEANFILES): Preserve distributed files.

2011-08-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch: Use nil, not 0 as arg of set_enc_string().

2011-08-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch, pdvitype.ch, ppltotf.ch, ptftopl.ch, ptex.defines:
	Change init_default_kanji => init_kanji.
	* kanji.[ch]: Map initdefaultkanji (for pTeX and e-pTeX) and
	initkanji (for pBibTeX, pDVItype, pPLtoTF, and pTFtoPL) to
	init_default_kanji() with two encoding string arguments.

2011-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch, pdvitype.ch, ppltotf.ch, ptftopl.ch: Change error
	message text 'kanjicode encoding' => 'kanji encoding'.
	* am/ptex.am (*_DEPENDENCIES): Define proper dependencies.

2011-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch, ppltotf.ch, ptftopl.ch: Stop parsing arguments at
	"-version" and immediately call print_version_and_exit().

2011-08-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch, pdvitype.ch, ppltotf.ch, ptftopl.ch: Add WIN32
	option "sjis-terminal" and init_default_kanji().
	* ptex.defines: Add sjisterminal and initdefaultkanji.
	* kanji.[ch]: Add support for WIN32 option "sjis-terminal".
	(check_kanji): Change return type boolean => int (for -1, 0, +1).
	(initdefaultkanji): New function from W32TeX kanjiextra.c.
	* am/ptex.am (*_LDADD): Use libkanji.a for all binaries.

	* pdvitype.ch: Change banner 'PDVItype' => 'pDVItype'.
	* ppltotf.ch: Change banner 'Nihongo PLtoTF' => 'pPLtoTF'.
	More fix usage ('progname').  Simplify kanji encoding output.
	* ptftopl.ch: Change banner 'Nihongo TFtoPL' => 'pTFtoPL'.
	More fix usage ('progname').  Simplify kanji encoding output.
	* pbibtex.ch: Simplify kanji encoding output.

2011-08-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ppltotf.ch, ptftopl.ch: fix usage ('progname').

2011-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch, pdvitype.ch, ppltotf.ch, ptftopl.ch: Add WIN32
	option "sjis-terminal" and init_default_kanji().
	* ptex.defines: Add sjisterminal and initdefaultkanji.
	* kanji.[ch]: Add support for WIN32 option "sjis-terminal".
	(check_kanji): Change return type boolean => int (for -1, 0, +1).
	(initdefaultkanji): New function from W32TeX kanjiextra.c.
	* am/ptex.am (*_LDADD): Use libkanji.a for all binaries.

2011-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	pTeX update tlsvn23478-uptex-1108111825 [ptex:00267]
	from Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch: Merged with ptex-20110723-nullfont.ch (bug fix).

2011-08-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Slightly reformulate to simplify e-upTeX.

	* kanji.h [MP]: Remove TEXMFPOOLNAME and TEXMFENGINENAME.

2011-07-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am (pweb_tests): New variable for tests of pTeX
	related Web programs (split off ptex_tests).

	* ptrip/texmf.cnf (main_memory): Increase for SyncTeX.

2011-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am (ptex_ch_srcs): SyncTeX infrastructure.
	* ptex-base.ch: Slightly reformulate to simplify SyncTeX.

2011-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid 'differ in signedness' warnings.
	* ptex-base.ch: Cast buffer and str_pool to string when used as
	arg of multistrlen() or fromBUFF().
	(pack_buffered_name): Drop change already done in ../tex.ch.

	* pbibtex.ch: Cast buffer to string when used as a arg of
	input_line2().

	* ppltotf.ch: Cast buffer to string when used as a arg of
	input_line2() or multistrlen().

2011-04-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Add \ifdbox and \ifddir,
	(pTeX_version_string) Version p3.2.

2011-03-31  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch: TeX formatting.

2011-03-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Handle disp_node from discretionary.

2011-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Redefine box_dir to also work for
	min_quarterword<0.

2011-03-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am: Use AM_CFLAGS instead of {libkanji_a,ptex}_CFLAGS.

2011-03-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Reformulate @<Fetch an item in the current
	node...@>, begin_box, and delete_last to fix a bug in
	\lastpenalty & Co; further reduce e-pTeX interferences.

2011-03-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Fix a bug in begin_box introduced on 2011-03-24,
        mail from Hironori Kitagawa, Sat, 26 Mar 2011 21:42:49.

2011-03-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Reformulate begin_box and delete_last to reduce
	interferences between e-TeX and pTeX.

2011-03-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Reformulate @<Fetch an item in the current
	node...@> to reduce interferences between e-TeX and pTeX.

2011-03-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	e-pTeX update eptex-110315_tlsvn110318.diff [ptex:00248]
	from Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch: Define and use the Web macro set_box_dir
	to reduce interferences between e-TeX and pTeX.
	Fixed a bug around \radical with Japanese character.
	Fixed a bug in setting/reading a dimension of a box register in
	"different" directions.

2011-01-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Let \lastkern etc act through disp node.
	Define dir_yoko as 4 and not qi(4); dir_field and adj_dir_field
	are -dir_yoko..dir_yoko and not -dir_dtou..dir_dtou.
	Shorten change sets. Remove trailing blanks.

2011-01-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: banner_k==banner for pTeX.

	* am/ptex.am (ptrip.diffs): Use $(triptrap_diffs).

2011-01-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am (ptrip-clean): Use TRIPTRAP_CLEAN.

2011-01-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Reformulate if_*_code definitions, for e-pTeX.

2011-01-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Somewhat rearrange to simplify building e-pTeX:

	* ptex-base.ch: @d pTeX_version_string, use it for pTeX_banner
	but keep definition of TeX_banner.
	* am/ptex.am (ptex_version.h): Adapted.

	* ptex-base.ch: Rename cur_dir => cur_dir_hv to avoid conflict
	with cur_dir from e-TeX.
	Shorten or split the individual change sets to avoid conflicts.

2011-01-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am: Build libkanji.c from kanji.c, for pTeX and e-pTeX.

	* kanji.h (epTeX): #define getintone(w) and setintone(w,a),
	and #include <ptexenc/unicode.h>,

2011-01-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch: Adapt to removal of encTeX changes from tex.ch.

2011-01-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexextra.in: Renamed ...
	* ptexextra.h: ... into this; #include ptex_version.h
	for PTEX_VERSION.

	* ptexextra.c (new): #include <ptexd.h> and <lib/texmfmp.c>.

	* am/ptex.am: ptexextra.[ch] are now distributed;
	create ptex_version.h instead of ptex.version. 

2010-12-31  Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>

	* ptex-base.ch: Bug fix and accent Kanji.

2010-12-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch: Adapt to latest bibtex.web.

2010-11-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptex-base.ch (get_jfm_pos): Avoid accessing non-existent array
	elements that could cause segmentation faults.

2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am (ptex_cppflags): Add $(AM_CPPFLAGS).

2010-05-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Files, pbibtex.defines, ptex.mk, ptex-base.ch.orig,
	ptex-include.ch, ptexhelp.h, reautoconf (removed): Unused files.
	* am/ptex.am (EXTRA_DIST): Adjust.

2010-05-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am (EXTRA_DIST): Remove tmf-pool.h.

2010-05-23  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptex-base.ch: Bug fix from
	Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>.

2010-05-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am: Fix the lib/libp.a rebuild rule.

2010-05-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* nissya.test (new): Shell script for pBibTeX test using kanji.
	* tests/nissya_bib.aux, tests/nissya.bst, tests/sample.bib
	(new): Test data for nissya.test from Akira.
	* am/ptex.am: Add the new test.

2010-05-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdvitype.ch: Treat kanji chars for put[1-4] as for set[1-4].

2010-05-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* yokotate.test: Use ptftopl with '-charcode-format octal'.
	* ptftopl.ch: Correctly check glue indices.
	Use Web macros to access |char_type| table entries.
	Reformat CHARSINTYPE lists with shorter lines.

2010-04-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdvitype.test: Use installed cm fonts.
	* sample.test, yokotate.test (new): Shell scripts to test
	pDVItype and pPLtoTF/pTFtoPL with yoko and tate fonts.
	* tests/goth10.tfm tests/sample.dvi (new): Data for sample.test.
	* tests/{min10,tmin10}.{pl,tfm} (new): Data for yokotate.test.
	* am/ptex.am: Add the new tests.

2010-04-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch: Remove unused code 'Check if |max_print_line|...'.
	Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 24 Apr 2010 12:10:13.

2010-04-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch, kanji.h: Use input_line2() with five arguments
	for correct handling of buffer_overflow.

	* pbibtex-longline-test.pl, pbibtex-openout-test.pl,
	pbibtex-mem.test, pbibtex.test: New tests.
	* am/ptex.am: Add them.

2010-04-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdvitype.ch: Remove unnecessary change.
	* ppltotf.ch: Adapt to bug fix now done in ../pltotf.ch,
	originally by Ken Nakano <nakano@nextsolution.co.jp>.
	* kanji.h (inputline2): Moved from ../../ptexenc/ptexenc.h to here.

	* pbibtex.ch: Correct handling of buffer_overflow.  From Akira.
	* ptex.defines (inputline3): Removed.

	* am/ptex.am: No synctex.  No reason to create ptexdir/lib/.

2010-04-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdvitype.test, ppltotf.test, ptftopl.test (new): Shell scripts
	for basic 'make check' tests.
	* am/ptex.am: Add these tests.

	* pbibtex.ch: Adapt to change (bug fix) in ../bibtex.ch.
	Remove kanji fix of workaround from ../bibtex.ch for breaking
	long lines in module 324; all that is gone with bibtex-0.99d.

2010-04-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ppltotf.ch: Rename PTEX_PLTOTF_HELP => PPLTOTF_HELP.
	* ptftopl.ch: Rename PTEX_TFTOPL_HELP => PTFTOPL_HELP.
	* ptexhelp.h (removed): Help text now in ../help.h.
	* kanji.h: Remove #include "ptexhelp.h" and redefinition of
	TEXMFPOOLNAME and TEXMFENGINENAME.

	* ptexextra.in (PTEXHELP): Moved to ../texmfmp-help.h from here.

	* ptex.defines (inputline3): Moved from pbibtex.defines to here.
	(PTEXTFTOPLHELP, PTEXPLTOTFHELP, PDVITYPEHELP): Removed.
	* pbibtex.defines (removed): Using ptex.defines.
	* ptex-include.ch (removed): Now done in ../texmfmp.h.

	* am/ptex.am: Adjust and replace lib/lib.a by ../lib/libp.a.

2010-04-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdvitype.ch: New version, used on top of dvitype.ch.
	* ptftopl.ch, ptex-base.ch: Remove trailing whitespace.

	Avoid compiler warnings.
	* ptftopl.ch (organize): Slightly reformulate (uninitialized).
	* ppltotf.ch: Handle Pascal Web's char as in ../pltotf.ch.
	(todig): Change param type to byte. Don't return uninitialized.

2010-04-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch, ptex-base.ch, ptftopl.ch: Use conststringcast, not
	stringcast to cast the get_enc_string() value which is now const.
	* ptexhelp.h (PDVITYPEHELP): Fixed a typo in help message.

2010-04-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pbibtex.ch: New version from Akira, used on top of bibtex.ch.
	Keep hack0 -- initialization of jump buffer.
	* am/ptex.am: Reworked.
	* ptexextra.in, ptexhelp.h: Declare based_prog_name as const.
	* ppltotf.ch: Fixed a typo.

2010-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/ptex.am: Fix for 'make dist' and 'make distcheck'.
	* ptrip.test: Simplify.
	* ptrip.diffs: Expected results from TRIP test for pTeX.
