[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgreek:00205] Re: cgreek w/ windows xp



William Furley wrote:

> (create-fontset-from-fontset-spec
> "-*-fixed-medium-r-normal-*-16-*-*-*-c-*-fontset-bdf,
> cgreek:-mizuochi-fixed-medium-r-normal--16-160-72-72-c-80-mulecgreek-1")

I think, we have to create fontset-bdf14, fontset-bdf16 and fontset-bdf24,
so
that all 3 font files could be used.

It could be good idea also to add some information about using cgreek
with ttf or type1 WinGreek fonts. There are many Windows users
familiar with WinGreek fonts, which, however, know nothing about
Emacs. These users should know that the cgreek font encoding not differs
from standard WinGreek.

Also, your recommendations don't include any information about printing
Greek texts from Emacs.

>
> (setq w32-use-w32-font-dialog nil)
> (set-default-font "fontset-bdf")
>
>   ************************
>
> Note: make sure all the paths are complete
> (e.g. `c:/progs/emacs/site-lisp...') and correct (i.e. match your
> installation).
>
> 3. Test the installation by restarting emacs.
>
> 4. Read the CGreek instruction manual.
>
> 5. The two conversion programmes needed to read the TLG may be
> downloaded from www.rzuser.uni-heidelberg.de/~q67/Info

Unfortunately, this installation will not work for the tlg conversion
utilities, since,
according to the file cgreek-emacs.el, they should be in
~/cgreek-emacs20/tlg/ .
This means that we have either to change some settings or to put the cgreek
directory
to our home path. Under win32 this means "c:\\" unless the "home"
environment
variable is specified.

To TN:

Can you change the path settings as follows:

(defvar cgreek-tlg2emacs-program
  (expand-file-name "tlg2emacs" tlg-bin-dir)
  "*Program name for invoking a TLG-to-CGreek converter.")

instead of

(defvar cgreek-tlg2emacs-program
  (expand-file-name
   (if (featurep 'meadow)
       "~/cgreek-meadow/tlg/tlg2emacs"
     "~/cgreek-emacs20/tlg/tlg2emacs"))
  "*Program name for invoking a TLG-to-CGreek converter.")

and

(defvar cgreek-tlg2citation-program
  (expand-file-name "tlg2cit" tlg-bin-dir)
  "*Program name to extract citation information from tlg txt file.")

instead of

(defvar cgreek-tlg2citation-program
  (expand-file-name
   (if (featurep 'meadow)
       "~/cgreek-meadow/tlg/tlg2cit"
     "~/cgreek-emacs20/tlg/tlg2cit"))
  "*Program name to extract citation information from tlg txt file.")

Put a definition for tlg-bin-dir somewhere in dotemacs.el. For example:

(if (featurep 'meadow)
       (defvar tlg-bin-dir "~/cgreek-meadow/tlg")
       (defvar tlg-bin-dir "~/cgreek-emacs20/tlg"))

So a user can easily change the tlg-bin-dir value in his/her installation,
for example, to "c:/progs/emacs/site-lisp/cgreek-emacs20/tlg").