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

[debian-devel:15165] Re: Bug#149093: yatex does not work with xemacs21-nomule; always sets YaTeX-japan; uses "platex" by default



At Sat, 8 Jun 2002 23:41:11 +0900,
Taketoshi Sano wrote:

> Debian BTS 経由㧠yatex ã«ã¤ã„ã¦ã® Bug report ã‚’
> もらã£ãŸã®ã§ã™ãŒã€è§£æ±ºç­–ã«ã¤ã„ã¦ã®ãƒ’ントãªã©ã‚ã‚Œã°
> よã‚ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚

ヒントã ã‘…

>  on "Wed, 05 Jun 2002 02:43:37 -0500",
>  with "Bug#149093: yatex does not work with xemacs21-nomule; always sets YaTeX-japan; uses "platex" by default":
> 
> k> Package: yatex
> k> Version: 1.69.2-4
> k> Severity: normal
> k> 
> k> Three somewhat related problems are listed in this bug report:
> k> 
> k>    1) yatex does not work with xemacs21-nomule.  When the command
> k> 
> k>          yatex-mode
> k> 
> k>    is run, it returns the error
> k> 
> k>          "Cannot open load file: mule"
> k> 
> k>    It seems to work (mostly) fine for all other versions of xemacs21 and
> k>    emacs21.
> k> 
> k> 
> k> 
> k>    Easy solution(?): make it depend on all versions of (x)emacs but this
> k>    one.
> k> 
> k>    Better solution: fix the problem (not sure how :-(  )
> k> 
> k>    Note: this is probably the same problem specified by bug #92120

ã–ã£ã¨ã¿ãŸã¨ã“ã‚ nomule ã˜ã‚ƒå‹•ããã†ã«ãªã„よã†ãªâ€¦
# Japanese 以外ã§å‹•ãã‹ã©ã†ã‹ã‚‚?
bytecompile ã™ã‚‹æ™‚ã« mule機能ãŒå¿…è¦ã ã¨åˆ¤æ–­ã—㦠mule ã‚’ loadã™ã‚‹ã‚ˆã†ã«
ã—ã¦ã‚‹ã‘ã© nomule ã§ã¯ãªã„ã®ã§ã‚¨ãƒ©ãƒ¼ã¨ã„ã†ã‹ã‚“ã˜?

> k>    ----------
> k> 
> k>    2) In yatexlib.el, line 24, the variable YaTeX-japan is always set for
> k>    versions of (x)emacs greater than 20.  This means that the modeline
> k>    is always in Japanese and many of the strings and command choices are
> k>    Japanese specific.  This severely limits the usefulness for
> k>    non-Japanese users.
> k> 
> k> 
> k> 
> k>    Easy solution: change line 24 from 
> k> 
> k>       (defvar YaTeX-japan (or (boundp 'NEMACS) (boundp 'MULE) YaTeX-emacs-20)
> k> 
> k>    to
> k> 
> k>       (defvar YaTeX-japan (or (boundp 'NEMACS) (boundp 'MULE))
> k> 
> k>    This will probably break the mode for Japanese users. :-(
> k> 
> k>    Better solution: find a more robust way to determine if the current
> k>    system is running Japanese.  (Is this possible?)

current-language-environment ãŒä½¿ãˆã‚‹ã®ã§ã¯?

> k>    ----------
> k> 
> k>    3) In yatex.el, line 66, yatex defaults to using "platex", which is
> k>    not included in the main Debian distribution (and is also Japanese
> k>    specific, I believe).  Is this command included in the Japanese
> k>    Debian distribution?  Either way, since it is not in the main
> k>    distribution it would be nice if the default command was something 
> k>    more general, like "latex".  (Yes, I know this is changable in a
> k>    user's .emacs file.  Consider this a wishlist bug.)
> k> 
> k> 
> k> 
> k>    Easy solution: comment out line 66
> k> 
> k>    Better solution: ???

(executable-find "platex") ã¨ã‹ã§åˆ¤æ–­ã™ã‚‹?

-- 
鵜飼文æ•