読者です 読者をやめる 読者になる 読者になる

new rpms for my VineSeed

Vine Linux TeX

tetex 関連を一気に更新しました.

yatex-1.73-6vl5.{noarch,src}.rpm

 - updated vine-default-yatex.el
   - (setq tex-command "platex -kanji=utf8 -src-specials") [VineSeed:17572]

IIIMECF-0.75-3vl5.{noarch,src}.rpm

 - updated vine-default-IIIMECF.el

tetex-macros-3.0-6vl5.{noarch,src}.rpm

 - dropped epsbox.sty, eclepsf.sty 
   (bacause there style files for platex209 are obsolete)
3.0-5
 - added jlisting v0.2
 - defined list_macros
   - used %%{list_macros} in %%description and %%description -l ja
3.0-4
 - dropped convert-euc.txt
3.0-3
 - updated prosper
   - added some contrib themes from CTAN
   - added prosper.cls v1.6 from CVS HEAD
   - added a perl script: convert-euc.txt
 - added powerdot v1.3
   - added xkeyval v2.5d
 - added beamer v3.07
   - added pgf v2.00
 - added pict2e v0.2w

prosper, powerdot 用に PDF ブックマークの文字化けを修正するための perl スクリプト http://www.rmatsumoto.org/tex-ps-pdf/convert-euc.txt を同梱したかったのですが,配布に関するライセンスが明記されていなかったので,保留しています.

例えば,convert-euc を用いると,以下のようなスクリプトを prosper などの適当な名前で保存してしまい,

#!/bin/bash

BASENAME=$(basename $1 .tex)

platex $BASENAME
platex $BASENAME
platex $BASENAME
dvips -Ppdf -t a4 -z $BASENAME
convert-euc euc < $BASENAME.ps > $BASENAME.uni
ps2pdf14 -sPAPERSIZE=a4 $BASENAME.uni $BASENAME.pdf
$ prosper hoge.tex

を実行すると,望んだ pdf へ変換できます.

texmacro-otf-1.2.9-3vl5.{noarch,src}.rpm

 - added otf-ps-morisawax{-noEmbed}.map

task-tetex-3.0-4vl5.{noarch,src}.rpm

 - added Requires: 
   - tetex-macros
   - texmacro-otf
 - added Packager tag
 - fixed some typo in %%description and %%description -l ja

tetex-bakoma-cmex789-3.0-2vl5.{noarch,src}.rpm (non-free)

 - added Conflicts: tetex-tt2001-fmex789
 - moved %%preun to %%postun
3.0-1
 - applied tetex-updmap-use_bakoma_cmex789.patch
   - added bakoma/cmex{7,8,9}.pfb and pdftexenc/cmex.enc

updmap の post ライクな感じで,map に吐き出す直前で bakoma/cmex{7,8,9}.pfb へ書き換えをしています.

--- updmap.bakoma	2009-05-09 12:39:34.000000000 +0900
+++ updmap	2009-05-09 13:09:24.000000000 +0900
@@ -1121,6 +1121,28 @@ cidx2dvips()
 
 
 ###############################################################################
+# use_bakoma_cmex789_dvips()
+# use_bakoma_cmex789_dvipdfm()
+#   reads from stdin, writes to stdout. It transforms fmex{7,8,9}.pfb into
+#   bakoma/cmex{7,8,9}.pfb with cmex.enc (pdftexenc)
+# 
+# * bakoma/cmex{7,8,9}.pfb: 
+#   http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/pfb/
+# * cmex.enc: 
+#   http://www.ctan.org/tex-archive/obsolete/support/pdftexenc/
+###############################################################################
+use_bakoma_cmex789_dvips()
+{
+  sed -e 's/^cmex\([7-9]\) TeX-cmex[7-9] <fmex[7-9].pfb/cmex\1 cmex\1 \"TeXMathExtensionEncoding ReEncodeFont\" <cmex\1.pfb <cmex.enc/g'
+}
+
+use_bakoma_cmex789_dvipdfm()
+{
+  sed -e 's/^cmex\([7-9]\) default fmex[7-9]/cmex\1 cmex cmex\1.pfb/g'
+}
+
+
+###############################################################################
 # mkMaps()
 #   the main task of this script: create the output files
 ###############################################################################
@@ -1236,7 +1258,7 @@ eof
     dftdvips=$dvips35
   fi
   { transLW35 "$dftdvips"; cat $tmp1 $tmp2 $tmpkanji2; } \
-    | normalizeLines >> "$dvipsoutputdir/psfonts_t1.map"
+    | normalizeLines | use_bakoma_cmex789_dvips >> "$dvipsoutputdir/psfonts_t1.map"
   { transLW35 "$dftdvips"; cat $tmp2 $tmpkanji2; } \
     | normalizeLines >> "$dvipsoutputdir/psfonts_pk.map"
 
@@ -1255,8 +1277,8 @@ eof
   <$tmp7 normalizeLines >> "$pdftexoutputdir/pdftex_dl14.map"
 
   verboseMsg "$progname: Generating output for dvipdfm..."
-  <$tmp7 normalizeLines | dvips2dvipdfm | normalizeLines >> "$dvipdfmoutputdir/dvipdfm_dl14.map"
-  <$tmp6 normalizeLines | dvips2dvipdfm | normalizeLines >> "$dvipdfmoutputdir/dvipdfm_ndl14.map"
+  <$tmp7 normalizeLines | dvips2dvipdfm | normalizeLines | use_bakoma_cmex789_dvipdfm >> "$dvipdfmoutputdir/dvipdfm_dl14.map"
+  <$tmp6 normalizeLines | dvips2dvipdfm | normalizeLines | use_bakoma_cmex789_dvipdfm >> "$dvipdfmoutputdir/dvipdfm_ndl14.map"
   verboseMsg "$progname: All output generated!"
   verboseMsg
 

tetex-3.0-11vl5.{i386,x86_64,src}.rpm, tetex-doc-3.0-11vl5.{i386,x86_64}.rpm, tetex-extra-3.0-11vl5.{i386,x86_64}.rpm, tetex-tt2001-fmex789-3.0-11vl5.{i386,x86_64}.rpm, libkpathsea-devel-3.0-11vl5.{i386,x86_64}.rpm, libkpathsea-3.0-11vl5.{i386,x86_64}.rpm

 - proveided tetex-tt2001-fmex789 subpackage
   - added BuildRequires: t1utils
3.0-10
 - added "PTEX_IN_FILTER = /usr/bin/nkf -w" 
   in /usr/share/texmf/web2c/texmf.cnf [VineSeed:17572]
   - added Requires: nkf
3.0-9
 - added ps-morisawa{-noEmbed}.map
3.0-8
 - removed xkeyval, pgf, beamer, pict2e packages from /use/share/texmf-dist tree
   - these packages is provided from tetex-macros
 - added /usr/bin/makejvf (applied makejvf-1.1a-ptexenc.patch)
   - obsoletes makejvf <= 1.1a
 - dropped tetex-updmap-use_bakoma_cmex789.patch, 
   removed bakoma/cmex{7,8,9}.pfb and pdftexenc/cmex.enc
   (provided tetex-bakoma-cmex789 package)

asymptote-1.70-2vl5.{i386,x86_64,src}.rpm, asymptote-gui-1.70-2vl5.{i386,x86_64}.rpm, asy-mode-1.70-2vl5.{i386,x86_64}.rpm

 - separated Xasy to gui subpackage
1.70-1
 - initial build based on Fedora Development (fc11) package
 - applied asymptote-1.70-settings-vine.patch

Fedora Development ベースとは言っても,ほとんど spec を書き換えてしまいました.

Vine の場合は,何も設定しなくても,デフォルトで platex を使うパッチを作成しまして,それを当てています.

diff -up asymptote-1.63/settings.cc.orig asymptote-1.63/settings.cc
--- asymptote-1.63/settings.cc.orig	2009-02-17 21:55:36.000000000 -0500
+++ asymptote-1.63/settings.cc	2009-02-18 10:16:17.000000000 -0500
@@ -80,11 +80,11 @@ const bool haveglut=false;
 bool msdos=false;
 const char *HOME="HOME";
 const char pathSeparator=':';
-string defaultPSViewer="gv";
+string defaultPSViewer="evince";
 #ifdef __APPLE__
 string defaultPDFViewer="open";
 #else  
-string defaultPDFViewer="acroread";
+string defaultPDFViewer="evince";
 #endif  
 string defaultGhostscript="gs";
 string defaultPython;
diff -up asymptote-1.70/settings.cc\~ asymptote-1.70/settings.cc
--- asymptote-1.70/settings.cc~	2009-05-14 02:59:12.000000000 +0900
+++ asymptote-1.70/settings.cc	2009-05-14 03:11:54.000000000 +0900
@@ -984,8 +984,8 @@ void initSettings() {
   addOption(new boolSetting("keepaux", 0,
                             "Keep intermediate LaTeX .aux files"));
   addOption(new stringSetting("tex", 0,"engine",
-                              "latex|pdflatex|xelatex|tex|pdftex|none",
-                              "latex"));
+                              "platex|latex|pdflatex|xelatex|tex|pdftex|none",
+                              "platex"));
   addOption(new boolSetting("twice", 0,
                             "Run LaTeX twice (to resolve references)"));
   addOption(new boolSetting("inlinetex", 0, "Generate inline TeX code"));
@@ -1194,7 +1194,7 @@ bool pdf(const string& texengine) {
 }
 
 bool latex(const string& texengine) {
-  return texengine == "latex" || texengine == "pdflatex" || xelatex(texengine);
+  return texengine == "platex" || texengine == "latex" || texengine == "pdflatex" || xelatex(texengine);
 }
 
 string nativeformat() {
@@ -1287,7 +1287,7 @@ string texcommand(bool ps)
   if(ps) {
     command=getSetting<string>("texdvicommand");
     if(command == "")
-      command=latex(getSetting<string>("tex")) ? "latex" : "tex";
+      command=latex(getSetting<string>("tex")) ? "platex" : "tex";
   } else
     command=getSetting<string>("texcommand");
   return command.empty() ? getSetting<string>("tex") : command;

self-build-ffmpeg-0.5-4vl5.{noarch,src}.rpm

 - added BuildArch: noarch
 - added ffmpeg-0.5-disable-texi2html.patch
   - dropped PreReq: texi2html

self-build-ffmpeg-mh-0.33-9vl5.{noarch,src}.rpm

 - added BuildArch: noarch
 - added ffmpeg-mh-0.33-disable-texi2html.patch
   - dropped PreReq: texi2html

self-build-gstreamer-plugins-ugly-0.10.11-2vl5.{noarch,src}.rpm

 - added BuildArch: noarch
 - dropped PreReq: gtk-doc >= 1.3

self-build-gpac-0.4.5-4vl5.{noarch,src}.rpm

 - changed from http://prdownloads.sourceforge.net to http://dl.sourceforge.net
   in sourceurl0
 - added BuildArch: noarch