hns - 日記自動生成システム - Version 2.19.9

先月 2002年12月 来月
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2002年12月05日(木) 旧暦 [n年日記]

#1 [Namazu] msword.pl

cvs annotate filters/msword.pl の wvWare の辺り
1.33         (baba     23-Sep-02):     # Check version of word document (greater than word8 or else).
1.33         (baba     23-Sep-02):     if (util::islang("ja")) {
1.33         (baba     23-Sep-02):      my $docversion = "unknown";
1.33         (baba     23-Sep-02):      my $supported = 0;
1.33         (baba     23-Sep-02):      my @cmd = ($wvversionpath, $tmpfile);
1.33         (baba     23-Sep-02):      my ($status, $fh_out, $fh_err) = util::systemcmd(@cmd);
1.33         (baba     23-Sep-02):      my $result = util::readfile($fh_out);
1.35         (knok     12-Nov-02):      if ($result =~ /^Version: (word\d+)(?:,| )/i) {
1.33         (baba     23-Sep-02):          $docversion = $1;
1.33         (baba     23-Sep-02):          # Only word8 format is supported for Japanese.
1.33         (baba     23-Sep-02):          $supported = 1 if ($docversion =~ /^word8$/);
1.33         (baba     23-Sep-02):      }
1.33         (baba     23-Sep-02):      unless ($supported) {
1.33         (baba     23-Sep-02):          return _("Unsupported format: ") .  $docversion;
1.33         (baba     23-Sep-02):      }
1.30         (knok     10-Jan-02):     }
1.30         (knok     10-Jan-02):
1.33         (baba     23-Sep-02):     # Check version of wvWare (greater than 0.7 or else).
1.33         (baba     23-Sep-02):     my $tmpfile2 = util::tmpnam('NMZ.word2');
1.33         (baba     23-Sep-02):     my ($ofile, $tpath) = ("", "");
1.33         (baba     23-Sep-02):     {
1.33         (baba     23-Sep-02):      my @cmd = ($wordconvpath, "--version");
1.33         (baba     23-Sep-02):      my ($status, $fh_out, $fh_err) = util::systemcmd(@cmd);
1.33         (baba     23-Sep-02):      my $result = util::readfile($fh_out);
1.33         (baba     23-Sep-02):      if ($result ne "" and $result !~ /usage/i and $result ge "0.7") {
1.33         (baba     23-Sep-02):             ($ofile, $tpath) = fileparse($tmpfile2);
1.33         (baba     23-Sep-02):             @wordconvopts = ("--targetdir=$tpath");
1.33         (baba     23-Sep-02):      } else {
1.33         (baba     23-Sep-02):          $ofile = $tmpfile2;
1.33         (baba     23-Sep-02):          @wordconvopts = ();
1.16         (satoru   26-Feb-00):      }
1.16         (satoru   26-Feb-00):     }

pkgsrc/textproc/namazu2-wv:

とかあってもいい訳だな。他にも付加えるものがあるはず。 excel pdf dvi postscript

wv-0.7.4 を入れて見た:

wv-0.7.4 requires installed package ImageMagick-5.5.1.6nb1
wv-0.7.4 requires installed package freetype2-2.0.5
wv-0.7.4 requires installed package glib-1.2.10nb1
wv-0.7.4 requires installed package jasper-1.600.0nb1
wv-0.7.4 requires installed package jpeg-6b
wv-0.7.4 requires installed package libiconv-1.8
wv-0.7.4 requires installed package libwmf-0.2.7
wv-0.7.4 requires installed package libxml2-2.4.25
wv-0.7.4 requires installed package mpeg2codec-1.2
wv-0.7.4 requires installed package png-1.2.4
wv-0.7.4 requires installed package pth-1.4.1nb5
wv-0.7.4 requires installed package tiff-3.5.5

misc/lv も入れる:

===> Registering installation for lv-4.49.4

color annotate とかあると面白そう:




最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)