pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/tex-ptex Fix problem when processing simple file as
details: https://anonhg.NetBSD.org/pkgsrc/rev/30e6bca383b5
branches: trunk
changeset: 360161:30e6bca383b5
user: mef <mef%pkgsrc.org@localhost>
date: Sat Mar 25 13:51:50 2017 +0000
description:
Fix problem when processing simple file as
I can't find the format file `platex.fmt'!
This change is proposed as
http://mail-index.netbsd.org/pkgsrc-users/2017/03/25/msg024627.html
The interim fix is picking the files up from previous texlive release
and put them in files directory. And copy them after extract.
PKGREVISION++.
Tks gdt@ for OK, and tks bsh@ for finding out the problem.
diffstat:
print/tex-ptex/Makefile | 8 +-
print/tex-ptex/PLIST | 45 +-
print/tex-ptex/files/README | 9 +
print/tex-ptex/files/texmf-dist/tex/platex/base/ascmac.sty | 1 +
print/tex-ptex/files/texmf-dist/tex/platex/base/jarticle.cls | 807 +++++++
print/tex-ptex/files/texmf-dist/tex/platex/base/jarticle.sty | 45 +
print/tex-ptex/files/texmf-dist/tex/platex/base/jbk10.clo | 315 ++
print/tex-ptex/files/texmf-dist/tex/platex/base/jbk11.clo | 315 ++
print/tex-ptex/files/texmf-dist/tex/platex/base/jbk12.clo | 315 ++
print/tex-ptex/files/texmf-dist/tex/platex/base/jbook.cls | 897 ++++++++
print/tex-ptex/files/texmf-dist/tex/platex/base/jbook.sty | 45 +
print/tex-ptex/files/texmf-dist/tex/platex/base/jltxdoc.cls | 91 +
print/tex-ptex/files/texmf-dist/tex/platex/base/jreport.cls | 895 ++++++++
print/tex-ptex/files/texmf-dist/tex/platex/base/jreport.sty | 45 +
print/tex-ptex/files/texmf-dist/tex/platex/base/jsize10.clo | 320 +++
print/tex-ptex/files/texmf-dist/tex/platex/base/jsize11.clo | 320 +++
print/tex-ptex/files/texmf-dist/tex/platex/base/jsize12.clo | 320 +++
print/tex-ptex/files/texmf-dist/tex/platex/base/jt1gt.fd | 51 +
print/tex-ptex/files/texmf-dist/tex/platex/base/jt1mc.fd | 52 +
print/tex-ptex/files/texmf-dist/tex/platex/base/jy1gt.fd | 51 +
print/tex-ptex/files/texmf-dist/tex/platex/base/jy1mc.fd | 52 +
print/tex-ptex/files/texmf-dist/tex/platex/base/kinsoku.tex | 177 +
print/tex-ptex/files/texmf-dist/tex/platex/base/nidanfloat.sty | 655 ++++++
print/tex-ptex/files/texmf-dist/tex/platex/base/oldpfont.sty | 78 +
print/tex-ptex/files/texmf-dist/tex/platex/base/pl209.def | 106 +
print/tex-ptex/files/texmf-dist/tex/platex/base/platex.ltx | 57 +
print/tex-ptex/files/texmf-dist/tex/platex/base/plcore.ltx | 1060 ++++++++++
print/tex-ptex/files/texmf-dist/tex/platex/base/pldefs.ltx | 106 +
print/tex-ptex/files/texmf-dist/tex/platex/base/plext.sty | 566 +++++
print/tex-ptex/files/texmf-dist/tex/platex/base/plnews.cls | 100 +
print/tex-ptex/files/texmf-dist/tex/platex/base/ptrace.sty | 154 +
print/tex-ptex/files/texmf-dist/tex/platex/base/tarticle.cls | 808 +++++++
print/tex-ptex/files/texmf-dist/tex/platex/base/tarticle.sty | 45 +
print/tex-ptex/files/texmf-dist/tex/platex/base/tascmac.sty | 171 +
print/tex-ptex/files/texmf-dist/tex/platex/base/tbk10.clo | 323 +++
print/tex-ptex/files/texmf-dist/tex/platex/base/tbk11.clo | 323 +++
print/tex-ptex/files/texmf-dist/tex/platex/base/tbk12.clo | 323 +++
print/tex-ptex/files/texmf-dist/tex/platex/base/tbook.cls | 898 ++++++++
print/tex-ptex/files/texmf-dist/tex/platex/base/tbook.sty | 45 +
print/tex-ptex/files/texmf-dist/tex/platex/base/treport.cls | 896 ++++++++
print/tex-ptex/files/texmf-dist/tex/platex/base/treport.sty | 45 +
print/tex-ptex/files/texmf-dist/tex/platex/base/tsize10.clo | 323 +++
print/tex-ptex/files/texmf-dist/tex/platex/base/tsize11.clo | 323 +++
print/tex-ptex/files/texmf-dist/tex/platex/base/tsize12.clo | 323 +++
print/tex-ptex/files/texmf-dist/tex/platex/config/hyphen.cfg | 244 ++
print/tex-ptex/files/texmf-dist/tex/platex/config/platex.ini | 31 +
46 files changed, 13177 insertions(+), 2 deletions(-)
diffs (truncated from 13385 to 300 lines):
diff -r 2c2cda1c7c46 -r 30e6bca383b5 print/tex-ptex/Makefile
--- a/print/tex-ptex/Makefile Sat Mar 25 10:53:59 2017 +0000
+++ b/print/tex-ptex/Makefile Sat Mar 25 13:51:50 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2016/06/16 04:06:15 markd Exp $
+# $NetBSD: Makefile,v 1.6 2017/03/25 13:51:50 mef Exp $
DISTNAME= ptex
PKGNAME= tex-${DISTNAME}-3.2pl41220
+PKGREVISION= 1
TEXLIVE_REV= 41220
MAINTAINER= minskim%NetBSD.org@localhost
@@ -19,6 +20,8 @@
DEPENDS+= tex-ptex-base-[0-9]*:../../print/tex-ptex-base
DEPENDS+= tex-ptex-fonts-[0-9]*:../../fonts/tex-ptex-fonts
DEPENDS+= tex-tex-[0-9]*:../../print/tex-tex
+# switch.def
+DEPENDS+= tex-babel-[0-9]*:../../print/tex-babel
DEPENDS+= web2c>=2010nb5:../../print/web2c
#PKG_SYSCONFSUBDIR= texmf
@@ -32,6 +35,9 @@
.include "../../print/texlive/package.mk"
+post-extract:
+ ${CP} -pr ${FILESDIR}/texmf-dist ${WRKSRC}
+
post-install:
${LN} -sf eptex ${DESTDIR}${PREFIX}/bin/platex
diff -r 2c2cda1c7c46 -r 30e6bca383b5 print/tex-ptex/PLIST
--- a/print/tex-ptex/PLIST Sat Mar 25 10:53:59 2017 +0000
+++ b/print/tex-ptex/PLIST Sat Mar 25 13:51:50 2017 +0000
@@ -1,3 +1,46 @@
-@comment $NetBSD: PLIST,v 1.5 2016/06/16 04:06:15 markd Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/03/25 13:51:50 mef Exp $
bin/platex
share/texmf-dist/fonts/map/dvipdfmx/ptex/morisawa.map
+share/texmf-dist/tex/platex/base/ascmac.sty
+share/texmf-dist/tex/platex/base/jarticle.cls
+share/texmf-dist/tex/platex/base/jarticle.sty
+share/texmf-dist/tex/platex/base/jbk10.clo
+share/texmf-dist/tex/platex/base/jbk11.clo
+share/texmf-dist/tex/platex/base/jbk12.clo
+share/texmf-dist/tex/platex/base/jbook.cls
+share/texmf-dist/tex/platex/base/jbook.sty
+share/texmf-dist/tex/platex/base/jltxdoc.cls
+share/texmf-dist/tex/platex/base/jreport.cls
+share/texmf-dist/tex/platex/base/jreport.sty
+share/texmf-dist/tex/platex/base/jsize10.clo
+share/texmf-dist/tex/platex/base/jsize11.clo
+share/texmf-dist/tex/platex/base/jsize12.clo
+share/texmf-dist/tex/platex/base/jt1gt.fd
+share/texmf-dist/tex/platex/base/jt1mc.fd
+share/texmf-dist/tex/platex/base/jy1gt.fd
+share/texmf-dist/tex/platex/base/jy1mc.fd
+share/texmf-dist/tex/platex/base/kinsoku.tex
+share/texmf-dist/tex/platex/base/nidanfloat.sty
+share/texmf-dist/tex/platex/base/oldpfont.sty
+share/texmf-dist/tex/platex/base/pl209.def
+share/texmf-dist/tex/platex/base/platex.ltx
+share/texmf-dist/tex/platex/base/plcore.ltx
+share/texmf-dist/tex/platex/base/pldefs.ltx
+share/texmf-dist/tex/platex/base/plext.sty
+share/texmf-dist/tex/platex/base/plnews.cls
+share/texmf-dist/tex/platex/base/ptrace.sty
+share/texmf-dist/tex/platex/base/tarticle.cls
+share/texmf-dist/tex/platex/base/tarticle.sty
+share/texmf-dist/tex/platex/base/tascmac.sty
+share/texmf-dist/tex/platex/base/tbk10.clo
+share/texmf-dist/tex/platex/base/tbk11.clo
+share/texmf-dist/tex/platex/base/tbk12.clo
+share/texmf-dist/tex/platex/base/tbook.cls
+share/texmf-dist/tex/platex/base/tbook.sty
+share/texmf-dist/tex/platex/base/treport.cls
+share/texmf-dist/tex/platex/base/treport.sty
+share/texmf-dist/tex/platex/base/tsize10.clo
+share/texmf-dist/tex/platex/base/tsize11.clo
+share/texmf-dist/tex/platex/base/tsize12.clo
+share/texmf-dist/tex/platex/config/hyphen.cfg
+share/texmf-dist/tex/platex/config/platex.ini
diff -r 2c2cda1c7c46 -r 30e6bca383b5 print/tex-ptex/files/README
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-ptex/files/README Sat Mar 25 13:51:50 2017 +0000
@@ -0,0 +1,9 @@
+Missing files fetched from old texlive,
+tex-ptex-36135/ptex.tar.xz
+is located here.
+And actual necessary files can be retrieved by
+
+tar zvtf ptex.tar.xz texmf-dist/tex/platex/{base,config} |wc
+ 44 404 4019
+
+tar zxf ptex.tar.xz texmf-dist/tex/platex/{base,config}
diff -r 2c2cda1c7c46 -r 30e6bca383b5 print/tex-ptex/files/texmf-dist/tex/platex/base/ascmac.sty
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-ptex/files/texmf-dist/tex/platex/base/ascmac.sty Sat Mar 25 13:51:50 2017 +0000
@@ -0,0 +1,1 @@
+\input{tascmac.sty}
diff -r 2c2cda1c7c46 -r 30e6bca383b5 print/tex-ptex/files/texmf-dist/tex/platex/base/jarticle.cls
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-ptex/files/texmf-dist/tex/platex/base/jarticle.cls Sat Mar 25 13:51:50 2017 +0000
@@ -0,0 +1,807 @@
+%%
+%% This is file `jarticle.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% jclasses.dtx (with options: `article,yoko')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from jarticle.cls.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file jclasses.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%% File: jclasses.dtx
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesClass{jarticle}
+ [2006/06/27 v1.6
+ Standard pLaTeX class]
+\newcounter{@paper}
+\newif\if@landscape \@landscapefalse
+\newcommand{\@ptsize}{}
+\newif\if@restonecol
+\newif\if@titlepage
+\@titlepagefalse
+\hour\time \divide\hour by 60\relax
+\@tempcnta\hour \multiply\@tempcnta 60\relax
+\minute\time \advance\minute-\@tempcnta
+\newif\if@stysize \@stysizefalse
+\newif\if@enablejfam \@enablejfamtrue
+\newif\if@mathrmmc \@mathrmmcfalse
+\DeclareOption{a4paper}{\setcounter{@paper}{1}%
+ \setlength\paperheight {297mm}%
+ \setlength\paperwidth {210mm}}
+\DeclareOption{a5paper}{\setcounter{@paper}{2}%
+ \setlength\paperheight {210mm}
+ \setlength\paperwidth {148mm}}
+\DeclareOption{b4paper}{\setcounter{@paper}{3}%
+ \setlength\paperheight {364mm}
+ \setlength\paperwidth {257mm}}
+\DeclareOption{b5paper}{\setcounter{@paper}{4}%
+ \setlength\paperheight {257mm}
+ \setlength\paperwidth {182mm}}
+\DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
+ \setlength\paperheight {297mm}%
+ \setlength\paperwidth {210mm}}
+\DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
+ \setlength\paperheight {210mm}
+ \setlength\paperwidth {148mm}}
+\DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
+ \setlength\paperheight {364mm}
+ \setlength\paperwidth {257mm}}
+\DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
+ \setlength\paperheight {257mm}
+ \setlength\paperwidth {182mm}}
+\DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
+ \setlength\paperheight {297mm}%
+ \setlength\paperwidth {210mm}}
+\DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
+ \setlength\paperheight {210mm}
+ \setlength\paperwidth {148mm}}
+\DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
+ \setlength\paperheight {364mm}
+ \setlength\paperwidth {257mm}}
+\DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
+ \setlength\paperheight {257mm}
+ \setlength\paperwidth {182mm}}
+\if@compatibility
+ \renewcommand{\@ptsize}{0}
+\else
+ \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
+\fi
+\DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
+\DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
+\DeclareOption{landscape}{\@landscapetrue
+ \setlength\@tempdima{\paperheight}%
+ \setlength\paperheight{\paperwidth}%
+ \setlength\paperwidth{\@tempdima}}
+\DeclareOption{tombow}{%
+ \tombowtrue \tombowdatetrue
+ \setlength{\@tombowwidth}{.1\p@}%
+ \@bannertoken{%
+ \jobname\space:\space\number\year/\number\month/\number\day
+ (\number\hour:\number\minute)}
+ \maketombowbox}
+\DeclareOption{tombo}{%
+ \tombowtrue \tombowdatefalse
+ \setlength{\@tombowwidth}{.1\p@}%
+ \maketombowbox}
+\DeclareOption{mentuke}{%
+ \tombowtrue \tombowdatefalse
+ \setlength{\@tombowwidth}{\z@}%
+ \maketombowbox}
+\DeclareOption{tate}{%
+ \AtBeginDocument{\tate\message{$B!T=DAH%b!<%I!U(B}%
+ \adjustbaseline}%
+}
+\DeclareOption{oneside}{\@twosidefalse}
+\DeclareOption{twoside}{\@twosidetrue}
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\DeclareOption{twocolumn}{\@twocolumntrue}
+\DeclareOption{titlepage}{\@titlepagetrue}
+\DeclareOption{notitlepage}{\@titlepagefalse}
+\DeclareOption{leqno}{\input{leqno.clo}}
+\DeclareOption{fleqn}{\input{fleqn.clo}}
+\DeclareOption{openbib}{%
+ \AtEndOfPackage{%
+ \renewcommand\@openbib@code{%
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ }%
+ \renewcommand\newblock{\par}}}
+\if@compatibility
+ \@mathrmmctrue
+\else
+ \DeclareOption{disablejfam}{\@enablejfamfalse}
+ \DeclareOption{mathrmmc}{\@mathrmmctrue}
+\fi
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final}
+\ProcessOptions\relax
+\input{jsize1\@ptsize.clo}
+\if@stysize
+ \setlength\columnsep{2\Cwd}
+\else
+ \setlength\columnsep{10\p@}
+\fi
+\setlength\columnseprule{0\p@}
+\setlength\lineskip{1\p@}
+\setlength\normallineskip{1\p@}
+\renewcommand{\baselinestretch}{}
+\setlength\parskip{0\p@ \@plus \p@}
+\setlength\parindent{1\Cwd}
+\@lowpenalty 51
+\@medpenalty 151
+\@highpenalty 301
+\setcounter{topnumber}{2}
+\setcounter{bottomnumber}{1}
+\setcounter{totalnumber}{3}
+\setcounter{dbltopnumber}{2}
+\renewcommand{\topfraction}{.7}
+\renewcommand{\bottomfraction}{.3}
+\renewcommand{\textfraction}{.2}
+\renewcommand{\floatpagefraction}{.5}
+\renewcommand{\dbltopfraction}{.7}
+\renewcommand{\dblfloatpagefraction}{.5}
+\def\ps@plain{\let\@mkboth\@gobbletwo
+ \let\ps@jpl@in\ps@plain
+ \let\@oddhead\@empty
+ \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
+ \let\@evenhead\@empty
+ \let\@evenfoot\@oddfoot}
+\let\ps@jpl@in\ps@plain
+\def\ps@headnombre{\let\@mkboth\@gobbletwo
+ \let\ps@jpl@in\ps@headnombre
+ \def\@evenhead{\thepage\hfil}%
+ \def\@oddhead{\hfil\thepage}%
+ \let\@oddfoot\@empty\let\@evenfoot\@empty}
+\def\ps@footnombre{\let\@mkboth\@gobbletwo
+ \let\ps@jpl@in\ps@footnombre
+ \def\@evenfoot{\thepage\hfil}%
+ \def\@oddfoot{\hfil\thepage}%
+ \let\@oddhead\@empty\let\@evenhead\@empty}
+\if@twoside
+ \def\ps@headings{\let\ps@jpl@in\ps@headnombre
+ \let\@oddfoot\@empty\let\@evenfoot\@empty
+ \def\@evenhead{\thepage\hfil\leftmark}%
+ \def\@oddhead{{\rightmark}\hfil\thepage}%
Home |
Main Index |
Thread Index |
Old Index