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

[plamo:28350] Re: Plamo のEmacs-22.1 とYatex



From: KOJIMA Mitsuhiro <kojima@xxxxxxxxxxx>
Subject: [plamo:28249] Re: Plamo の Emacs-22.1 と Yatex
Date: Fri, 29 Jun 2007 23:45:52 +0900 (JST)

> > > (setq tex-command "platex")
> > > (setq dviprint-from-format "-p %b")
> > > (setq dviprint-to-format "-l %e")
> > > (setq dviprint-command-format "dvips %f %t -f %s | lpr")
> > > 
> > > なんて記述を追加しておくと,dvi2ps ではなく dvips が使えるようになる模様.
> > 
> > このあたりをユーザーが設定しないですむパッチを作って当てて
> > いたのですが....
> 
> あれ, Yatex モードで ctrl + t + l (dvi をプリンタに出力) で dvi2ps が
> 起動されるのは 1.72 では直ってなかったような気がしたのだけど?

yatex-1.72-noarch-P2.tgz では /usr/share/doc/yatex-1.72/files
以下に含めているパッチ (patch-yatex.el) で

*** yatex1.72/yatex.el.orig	2006-09-18 14:18:33.000000000 +0900
--- yatex1.72/yatex.el	2006-09-18 14:19:41.000000000 +0900

***************
*** 67,73 ****
  
  (defvar dviprint-command-format
    (if YaTeX-dos "dviprt %s %f%t"
!       "dvi2ps %f %t %s | lpr")
    "*Command line string to print out current file.
  Format string %s will be replaced by the filename.  Do not forget to
  specify the `from usage' and `to usage' with their option by format string
--- 67,73 ----
  
  (defvar dviprint-command-format
    (if YaTeX-dos "dviprt %s %f%t"
!       "dvips %f %t %s.dvi -o - | lpr")
    "*Command line string to print out current file.
  Format string %s will be replaced by the filename.  Do not forget to
  specify the `from usage' and `to usage' with their option by format string

なものが当たっているので dvips が呼ばれているはずですが....

yatex-1.72 で当てていたパッチを当てる形で yatex-1.73 を再構築して
差し替えました.

-----
松木 俊寿 (Toshihisa Matsuki):
mailto:matsuki@xxxxxxxxxxxxx


[検索ページ] [メール一覧]
Plamo ML 公開システム