diff -u whizzytex-1.1/debian/changelog whizzytex-1.1/debian/changelog --- whizzytex-1.1/debian/changelog +++ whizzytex-1.1/debian/changelog @@ -1,3 +1,9 @@ +whizzytex (1.1-2.2) unstable; urgency=low + + * add BIBTEX switching support, to allow use of jbibtex. + + -- Junichi Uekawa Sat, 21 Dec 2002 15:09:46 +0900 + whizzytex (1.1-2.1) unstable; urgency=low * support -display option for whizzytex. diff -u whizzytex-1.1/doc/manual.tex whizzytex-1.1/doc/manual.tex --- whizzytex-1.1/doc/manual.tex +++ whizzytex-1.1/doc/manual.tex @@ -646,6 +646,7 @@ \opt{\texttt{-initex} \arg{initex}} \opt{\texttt{-latex} \arg{latex}} \opt{\texttt{-fmt} \arg{format}}\\ +\opt{\texttt{-bibtex} \arg{bibtex}} \opt{\texttt{-watch}} \opt{\texttt{-duplex}} \opt{\texttt{-trace}} @@ -695,6 +696,10 @@ uses \arg{latex} for the latex command instead of the value assign to LATEX in \lst"Makefile.config" (or \lst"whizzytex") +\item[{\bf {\tt -bibtex \arg{bibtex}}}]\indent + +uses \arg{bibtex} for the bibtex command instead of bibtex. + \item[{\bf {\tt -fmt \arg{format}}}]\indent uses \arg{format} for the latex format instead @@ -742,10 +747,12 @@ A more evolved configuration line is: \begin{verbatim} %; whizzy -mkslice make -initex iniptex -latex platex -fmt platex + -bibtex jbibtex \end{verbatim} It tells {\whizzy} to use \lst"iniptex" and \lst"platex" comands instead of \lst"initex" and \lst"latex" and to use the format file \lst"platex.fmt" -instead of \lst"latex.fmt". Moreover, it should use \lst"make" to preprocess +instead of \lst"latex.fmt" and \lst"jbibtex" for bibtex. + Moreover, it should use \lst"make" to preprocess the slice. \item[whizzy-paragraph] \texttt{regexp}\\ diff -u whizzytex-1.1/src/whizzytex.el whizzytex-1.1/src/whizzytex.el --- whizzytex-1.1/src/whizzytex.el +++ whizzytex-1.1/src/whizzytex.el @@ -1628,6 +1628,7 @@ ("-mkslice" . t) ("-mkfile" . t) ("-makeindex" . t) ("-initex" . t) ("-latex" . t) ("-format" . t) ("-fmt" . t) ("-display" . t) + ("-bibtex" . t) ("-duplex") ("-trace"))) (option) (argp) (tmp)) (if (string-match "^[^-]" string start) diff -u whizzytex-1.1/src/whizzytex whizzytex-1.1/src/whizzytex --- whizzytex-1.1/src/whizzytex +++ whizzytex-1.1/src/whizzytex @@ -40,6 +40,7 @@ LATEX=latex FORMAT=latex FMT=fmt +BIBTEX=bibtex ### Configuration (manual only) @@ -107,6 +108,7 @@ -latex) LATEX="$2"; shift;; -format) FORMAT="$2"; shift;; -fmt) FMT="$2"; shift;; + -bibtex) BIBTEX="$2"; shift;; -watch) NEWFILES=newfiles;; -dvi) VIEW=wdvi; @@ -151,6 +153,7 @@ -latex -format -fmt + -bibtex -marks -pre -advi @@ -274,7 +277,7 @@ # BEGIN sections makebibtex () { - bibtex $NAME 1>$OUTPUT/bibtex + $BIBTEX $NAME 1>$OUTPUT/bibtex [ -f $NAME.bbl ] && cp $NAME.bbl $WHIZZY.bbl true }