$Id: Changelog,v 1.4 2005/02/02 02:44:55 zlb Exp $

0.1.0
	. First release.

0.1.1
	. Stage 2  switch .

	. ɨ \verbatiminput, \verbatiminput* .

	.  .idx ļ (ڵĻ).

	. ޸ '-clean', '-quiet' ѡĴ.

0.1.2
	. Core dump if main input file does not exist fixed.

	.  'cwd/ctextemp.dir:cwd:' ڱ TEXINPUTS ǰ,
	  (MikTeX ѡ "-include-directory=...")

	. ȥ log ļ "There were undefined references." ж.

	. еļӦļпո
	  (UNIX º,  latex).

0.1.3
	. common.h: `Boolean' ʹ `char' ĳ `short'.

	. ӶVC֧(-DWIN32, nsiiṩ). VCļ
	  ctex.dsp  ctex.dsw

	. WIN32/GO32 (DJGPP)  _findfirst()/_findnext()  glob().

	. rename() ǰ unlink() (WIN32 ¿Ҫ).

0.1.4
	. Use '\\' in pathnames for system() calls and pipes under WIN32

	. More accurate progressing messages.

	. Replace _popen/_pclose with temp file under Windows.

	. Suppress use of pipes and I/O redirections ubder WIN32.

0.1.5
	. Fix a bug in processing optional arguments in ctexscan.c

	. Add more graphics commands to the scan list.

	. 'make prefix=xxxx install_root=xxxx install' for Linux

0.1.6
	. Never run patchdvi explicitly under UNIX/Linux, instead use
	  'dvipsc' to generate .ps files (otherwise the temp PK fonts
	  won't be removed).

	. ִܾ dvipdfmx  dvi ļ CCT ʽ.

0.1.7
	. ctexscan.c: change '\\' to '/' in pathnames when writing to
	  TeX files.

	. add 'USE_TEMPDIR' macro and use 'ctextemp_' prefix instead of
	  'ctextemp.dir/' by default.

	. change searching order of the main input file to:

		"file.ctx", "file.tex", "file"

	  the last one is skipped under MIKTEX if "file" does not have
	  an extension

	. ȥ˶ \usepackage, \documentclass  (ûԶ
	  package, ӦԼеӢļ༰ַд).

	. add '-force-tilde' option

	. skip processing the include commands within \verb, \verb*, and
	  the verbatim/verbatim* environments

	. ȥ ctexscan() ж '\endinput', '\bye' Ĵ, Ϊ
	  ܵ¶Դļɨ '\def\abc{\endinput}' ĵطֹͣ

	. Ӷ .idx ļĴ, ȥ "move ctextemp_xxx.idx xxx.idx" 
	  롣

	.  \Provides[File|Class|Package] ,  LaTeX ľ
	  Ϣ.

	. Add '-s' (silent) switch to hooklee's gbk2uni.

0.1.8
	. ctexscan() иı˰жļ, ȥ
	  λͬһϵ.

	. \usepackage, \RequirePackage, \LoadClass жļ֧.

	. \includeonly ֻļʱű任ļ.

	.  bibtex .

	. Ƚ .aux, .out, .idx ļʱ估 LaTeX ǰ checksum 
	  ǷҪ bibtex, gbk2uni  makeindex, ԼǷһ
	  LaTeX.

	. TeX/LaTeX ʱж ctex Ĵ, ظ (pdf)latex,
	  нϢ TeX/LaTeX ķ.

	. һ (pdf)latex ʱڱ仯, һϢ.

	. Add '-makeindex_opts', '-bibtex_opts', '-gbk2uni_opts',
	  '-dvips_opts', and '-dvipdfmx_opts' options.

	. Add '-bibtex' option.

0.1.9
	. Add -DUSE_KPSE to allow searching files using Kpathsea library.
	  add '-kpse' option.

	. ctexscan.c: add \InputIfFileExists command

	. Add -xref option.

	. Add `patchchk' to the default make target. (patchchk.c modified
	  to be compiled with '-DTEST').

	. move_file(): use '/bin/cp -f' instead of rename(), such that
	  the new file has the same inode number.

	. Add MingW32 (gcc-2.8.1 based) compiler support (predefined macros
	  used: -DWIN32 -D__MINGW32__).

	  Note: `cpp' in this version of MingW32 compiler segfaults with
	  the `#error' and the `#warning' pragmas.

	. Always do patchdvi under DOS/Windows, in order to strip the
	  'ctextemp_' prefix in src specials.

	. Makefile: add compiler options for IRIX 5.3/gcc

0.2.0
	. Restore filenames in .log file

0.2.1
	. Call 'setvbuf' after fopen() to improve I/O efficiency.

	. Call patch_dvi_file() to restore filenames in src specials in 
	  the dvi file.

0.2.2
	. WIN32: use _spawnvp() instead of system(), the latter seems to
	  cause trouble under WIN98 (the DOS window hangs if the user
	  tries close the window while the child process is running).

0.2.3
	. Always look for .ctx file if an input file can't be found

0.2.4
	. Honor the '%& -no-cctspace' option on the FIRST line of
	  each input file.

0.2.4a
	. Fix a bug for non-Windows platforms: the '-t' flag is missing
	  when executing cctspace when the '-force-tilde' option is used.

0.2.4b
	. Don't call patch_dvi_file() etc. when running pdf*tex.

0.2.4c	(20040305)
	. Add '-no-patchdvi' flag for win32/dos.

	. Fix a bug in do_cmd() (forgot '* sizeof(*args)' in realloc).

0.2.5	(20040715)
	. Add a new option '-patchdvi_opts' (defaults to '-b')

0.2.6	(20041003)
	. Fix bug in reading '%&' lines (trailing '\n' not removed).
	. Read up to first non-comment line for '%&' commands.
	. Allow use of single quote for quoting arguments of options.
	. Run makeindex if .idx exists but .ind file does not, regardless
	  of MD5SUM changes.
	. Use cctmkind by default, add '-makeindex_prog' option for using
	  other makeindex programs.
	. Process glossary file if it exists, and add '-glossary_opts' option
	  for specifying options when making .gls file.
	. When processing .ctx files: (uncct .idx) => (makeindex) => (cct .ind)
	. Append makeindex cmdline to the end of the file to force rerunning
	  makeindex when options change.

0.2.7	(20041011)
	. ctexscan.c: add everbatim[*], \everb[*] to the list of skipped env.
	. ctex.c: test (opts[i] == NULL) when forming makeindex cmdline.

0.2.8	(20041110)
	. ctex.c: open the files in binary mode, and replace 'fgets' by
	  an explicit loop under DOS/WIN32 when converting .log file (it
	  seems fgets always stops at '^^Z' under win32/dos)

0.2.9	(20050202)
	. ctexscan.c: revert to the behaviour of 0.2.2 in check_file(), i.e.,
	  only check for .ctx file if current file does not exist and has
	  extension .tex or no extension, and ctx_flag is true.

	  The new code has a problem when, e.g., the main file is called
	  book.ctx which invokes book.cls, then ctextemp_book.cls is generated
	  from book.ctx.
