[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cgreek:00017] Re: Patch for Smith's TLG utilities
Dear Kawazoe-San,
> New utilities for TLG don't work well on Meadow.
> As I compiled tlgcites2emacs.exe, I found some warnings like this;
I guess the problem occurs from the following line in the function
tlg-open-single-work
if it concerns to the string problem as you have written.
(defun tlg-open-single-work (w)
"Open a single work from a TLG .txt file in a buffer. Citation
information is processed as text properties, author and title
information are stored in buffer-local variables, and tlg-mode
is turned on. The single argument must be an alist of the form
produced from tlgidt2emacs."
(interactive )
(let ((buf (generate-new-buffer (cdr (assoc 'title w)))))
(set-buffer buf)
(toggle-enable-multibyte-characters)
(let ((coding-system-for-read 'no-conversion))
(shell-command
(format "%s -f %s -b %s -o %s -A \"%s\" -B \"%s\"" ; <==== !!!!!!!
cgreek-tlg-cites-converter-program
(concat tlg-tlgpath (cdr (assoc 'file w)))
(cdr (assoc 'work w))
(cdr (assoc 'start w))
(cdr (assoc 'author w))
(cdr (assoc 'title w)))
t))
Could you check whether my guess is correct, Takahash-San ?
------------------------------------------
Prof.Kenji Mizuochi
Meijigakuin University
E-Mail: mizuochi@xxxxxxxxxxxxxxxxxxxxx
knj_miz@xxxxxxxxxxxxx
------------------------------------------