diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-07-03 22:17:21 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-07-03 22:17:21 +0800 |
commit | 83ee022ce3c3060285ddafc661736508a9e44b25 (patch) | |
tree | 92cb779a8fa3c463575b10654a7c94f9c1dff8f7 /japanese | |
parent | 8e44749bb5e0e94e734bd6c3db22e2484b5ecdb5 (diff) | |
download | freebsd-ports-gnome-83ee022ce3c3060285ddafc661736508a9e44b25.tar.gz freebsd-ports-gnome-83ee022ce3c3060285ddafc661736508a9e44b25.tar.zst freebsd-ports-gnome-83ee022ce3c3060285ddafc661736508a9e44b25.zip |
Add jadetex-ptex 3.13,
a pTeX backend for Jade, for typesetting SGML documents.
PR: ports/53880
Submitted by: Hiroki Sato <hrs@FreeBSD.org>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/jadetex-ptex/Makefile | 41 | ||||
-rw-r--r-- | japanese/jadetex-ptex/distinfo | 1 | ||||
-rw-r--r-- | japanese/jadetex-ptex/files/patch-Makefile | 98 | ||||
-rw-r--r-- | japanese/jadetex-ptex/files/patch-README.jadetex-ptex | 107 | ||||
-rw-r--r-- | japanese/jadetex-ptex/files/patch-jadetex.dtx | 48 | ||||
-rw-r--r-- | japanese/jadetex-ptex/files/patch-mlnames.sty | 131 | ||||
-rw-r--r-- | japanese/jadetex-ptex/files/texmf.cnf | 4 | ||||
-rw-r--r-- | japanese/jadetex-ptex/pkg-descr | 11 | ||||
-rw-r--r-- | japanese/jadetex-ptex/pkg-message | 16 | ||||
-rw-r--r-- | japanese/jadetex-ptex/pkg-plist | 11 |
11 files changed, 469 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 68f4a077cd3f..54311900cb22 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -103,6 +103,7 @@ SUBDIR += ipadic SUBDIR += ircII SUBDIR += iv + SUBDIR += jadetex-ptex SUBDIR += japaneseAFM SUBDIR += jargon-fpw SUBDIR += jcode.pl diff --git a/japanese/jadetex-ptex/Makefile b/japanese/jadetex-ptex/Makefile new file mode 100644 index 000000000000..d058e0942f08 --- /dev/null +++ b/japanese/jadetex-ptex/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: jadetex-ptex +# Date created: 11 June 2003 +# Whom: Hiroki Sato <hrs@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= jadetex +PORTVERSION= 3.13 +CATEGORIES= japanese print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= jadetex +PKGNAMESUFFIX= -ptex +DISTNAME= jadetex-${PORTVERSION} + +MAINTAINER= hrs@FreeBSD.org +COMMENT= A pTeX backend for Jade, for typesetting SGML documents + +BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png +RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex + +MESSAGE= ${PKGDIR}/pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +pre-patch: + @${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${MESSAGE} > ${PKGMESSAGE} + +post-install: rebuild-tex-database display-message +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX} + ${INSTALL_MAN} ${WRKSRC}/README.jadetex-ptex ${DOCSDIR}${PKGNAMESUFFIX} +.endif + +rebuild-tex-database: + ${LOCALBASE}/bin/mktexlsr + +display-message: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/japanese/jadetex-ptex/distinfo b/japanese/jadetex-ptex/distinfo new file mode 100644 index 000000000000..e587c7b4cb69 --- /dev/null +++ b/japanese/jadetex-ptex/distinfo @@ -0,0 +1 @@ +MD5 (jadetex-3.13.tar.gz) = 634dfc172fbf66a6976e2c2c60e2d198 diff --git a/japanese/jadetex-ptex/files/patch-Makefile b/japanese/jadetex-ptex/files/patch-Makefile new file mode 100644 index 000000000000..56506030b2eb --- /dev/null +++ b/japanese/jadetex-ptex/files/patch-Makefile @@ -0,0 +1,98 @@ +Index: Makefile +=================================================================== +RCS file: /home/cvs/private/hrs/jadetex-ptex/Makefile,v +retrieving revision 1.1.1.1 +retrieving revision 1.6 +diff -d -u -I\$FreeBSD: /tmp/pcvs/ports/japanese/jadetex-ptex/files/patch-Makefile,v 1.1 2003-07-03 14:17:20 kuriyama Exp $ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.1.1.1 -r1.6 +--- Makefile 10 Jun 2003 15:24:06 -0000 1.1.1.1 ++++ Makefile 3 Jul 2003 13:48:35 -0000 1.6 +@@ -1,27 +1,67 @@ +-default: basic ++# $hrs: jadetex-ptex/Makefile,v 1.6 2003/07/03 13:48:35 hrs Exp $ + +-basic: jadetex.ltx +- tex jadetex.ins ++PREFIX?= /usr/local + +-jadetex.fmt: basic +- tex -ini -progname=jadetex "&latex" jadetex.ini ++TEX?= ptex ++TEX_BIN?= ${PREFIX}/bin/${TEX} + +-pdfjadetex.fmt: basic +- pdftex -ini -progname=pdfjadetex "&pdflatex" pdfjadetex.ini ++PDFTEX?= pdftex ++PDFTEX_BIN?= ${PREFIX}/bin/${PDFTEX} + +-install: jadetex.fmt pdfjadetex.fmt +- (TT=$$DESTDIR/`kpsewhich -expand-var '$$TEXMFMAIN'`; \ +- mkdir -p $$TT/web2c; \ +- cp pdfjadetex.fmt $$TT/web2c; \ +- cp jadetex.fmt $$TT/web2c; \ +- mkdir -p $$TT/tex/jadetex ; \ +- cp dsssl.def jadetex.ltx $$TT/tex/jadetex) ++PROGNAME_JADETEX?= jadetex-ptex ++PROGNAME_JADETEX_BIN?= ${PREFIX}/bin/${PROGNAME_JADETEX} ++ ++PROGNAME_PDFJADETEX?= pdfjadetex-ptex ++PROGNAME_PDFJADETEX?= ${PREFIX}/bin/${PROGNAME_PDFJADETEX} ++ ++LATEX?= platex ++PDFLATEX?= pdflatex ++ ++default: ${PROGNAME_JADETEX}.fmt ++all: default ++ ++${PROGNAME_JADETEX}.ins: jadetex.ins ++ sed -e "s@[Jj][Aa][Dd][Ee][Tt][Ee][Xx]\.\([a-zA-Z]*\)@jadetex-ptex.\1@g;s@dsssl.def@dsssl-ptex.def@;s@\\[dsssl\\]@[dsssl-ptex]@" < $? > $@ ++${PROGNAME_JADETEX}.dtx: jadetex.dtx ++ sed -e "s@[Jj][Aa][Dd][Ee][Tt][Ee][Xx]\.\([a-zA-Z]*\)@jadetex-ptex.\1@g;s@dsssl.def@dsssl-ptex.def@;s@\\[dsssl\\]@[dsssl-ptex]@" < $? > $@ ++${PROGNAME_JADETEX}.ini: jadetex.ini ++ sed -e "s@[Jj][Aa][Dd][Ee][Tt][Ee][Xx]\.\([a-zA-Z]*\)@jadetex-ptex.\1@g;s@dsssl.def@dsssl-ptex.def@;s@\\[dsssl\\]@[dsssl-ptex]@" < $? > $@ ++ ++${PROGNAME_JADETEX}.ltx: ${PROGNAME_JADETEX}.ins ${PROGNAME_JADETEX}.dtx ++ ${TEX_BIN} ${PROGNAME_JADETEX}.ins ++ ++${PROGNAME_JADETEX}.fmt: ${PROGNAME_JADETEX}.ini ${PROGNAME_JADETEX}.ltx ++ ${TEX_BIN} -ini -progname=${PROGNAME_JADETEX} "&${LATEX}" ${PROGNAME_JADETEX}.ini ++ ++#${PROGNAME_PDFJADETEX}.fmt: ${PROGNAME_PDFJADETEX}.ini ${PROGNAME_PDFJADETEX}.ltx ++# ${PDFTEX_BIN} -ini -progname=${PROGNAME_PDFJADETEX} "&${PDFLATEX}" ${PROGNAME_PDFJADETEX}.ini ++ ++TTDEST?= ${TTDIR} ++TTDIR!= kpsewhich -expand-var '$$TEXMFMAIN' ++ ++install: ${PROGNAME_JADETEX}.ltx dsssl-ptex.def ++ ${MAKE} ${.MAKEFLAGS} jadetex-install ++ mkdir -p ${TTDEST}/tex/jadetex ++ cp ${PROGNAME_JADETEX}.ltx dsssl-ptex.def ${TTDEST}/tex/jadetex ++ ++jadetex-install: ${PROGNAME_JADETEX}.fmt ++ mkdir -p ${TTDEST}/web2c ++ cp ${PROGNAME_JADETEX}.fmt ${TTDEST}/web2c ++ ln -s -f ${TEX_BIN} ${PROGNAME_JADETEX_BIN} ++ ++#pdfjadetex-install: ${PROGNAME_PDFJADETEX}.fmt ++# mkdir -p ${TTDEST}/web2c ++# cp ${PROGNAME_PDFJADETEX}.fmt ${TT}/web2c ++# ln -s -f ${PDFTEX_BIN} ${PROGNAME_PDFJADETEX_BIN} + + realclean: clean +- -rm jadetex.fmt pdfjadetex.fmt dsssl.def jadetex.ltx ++ -rm -f ${PROGNAME_JADETEX}.fmt ${PROGNAME_PDFJADETEX}.fmt ++ -rm -f ${PROGNAME_JADETEX}.ltx ${PROGNAME_JADETEX}.dtx ++ -rm -f ${PROGNAME_JADETEX}.ini ${PROGNAME_JADETEX}.ins ++ -rm -f dsssl-ptex.def + + clean: +- -rm *.log *.aux *.idx *.pdf *.toc *.dvi *.out ++ -rm -f *-ptex.* *.log *.aux *.idx *.pdf *.toc *.dvi *.out + + test: + openjade -t tex -d ../docbook/print/docbook.dsl test-tables.sgm +@@ -31,5 +71,4 @@ + jadetex/index.* jadetex/doc/install.pdf \ + jadetex/Makefile jadetex/ChangeLog jadetex/*ini) + +-jadetex.ltx: jadetex.dtx + diff --git a/japanese/jadetex-ptex/files/patch-README.jadetex-ptex b/japanese/jadetex-ptex/files/patch-README.jadetex-ptex new file mode 100644 index 000000000000..b550a88d1b4e --- /dev/null +++ b/japanese/jadetex-ptex/files/patch-README.jadetex-ptex @@ -0,0 +1,107 @@ +Index: README.jadetex-ptex +=================================================================== +RCS file: README.jadetex-ptex +diff -N README.jadetex-ptex +--- /dev/null 1 Jan 1970 00:00:00 -0000 ++++ README.jadetex-ptex 28 Jun 2003 15:45:46 -0000 1.2 +@@ -0,0 +1,100 @@ ++$hrs: jadetex-ptex/README.jadetex-ptex,v 1.2 2003/06/28 15:45:46 hrs Exp $ ++ ++ pTeX+JadeTeX (JadeTeX-pTeX) $B%Q%C%A$K$D$$$F(B ++ ++ $B:4F#(B $B9-@8(B <hrs@allbsd.org> ++ ++ ++0. $B2~D{MzNr(B ++ ++ 2003.06.10 $B=iHG8x3+(B ++ 2003.06.29 $BL>A0$r(B pjadetex $B$+$i(B jadetex-ptex $B$KJQ99!#(B ++ ++ ++1. $B$O$8$a$K(B ++ ++ $B$3$N%Q%C%A$O(B JadeTeX 3.13 $B$r(B pTeX $B$GMxMQ$G$-$k$h$&$K$9$k$?$a$N(B ++ $B$b$N$G$9!#%i%$%;%s%9$K$D$$$F$OJ8Kv$r$4Mw$/$@$5$$!#(B ++ ++ ++2. $BF0:n4D6-(B ++ ++ $BF0:n$r3NG'$7$?4D6-$O$D$.$N$H$*$j$G$9!#(B3.1 $B0JA0$N(B pTeX $B$O!"(B ++ $BFbIt%^%/%mMQ$N%a%b%jNN0h$,>/$J$$$?$a@5>o$KF0$-$^$;$s!#(B ++ $BI,$:(B 3.1 $B0J9_$rMxMQ$7$F$/$@$5$$!#(B ++ ++ FreeBSD 4.8-RELEASE ++ pTeX Version 3.14159-p3.1.2 (euc) (Web2C 7.4.5) ++ ++ ++3. $B;H$$J}(B ++ ++ JadeTeX 3.13 $B$N%=!<%9$r%@%&%s%m!<%I$7!"%Q%C%A$r(B ++ $BE,MQ$7$F$/$@$5$$!#(BMakefile $B$r$4Mw$K$J$k$HJ,$+$k$H;W$$$^$9$,!"(B ++ make install $B$G%$%s%9%H!<%k$5$l$k$N$O(B ++ ++ ${PREFIX}/bin/jadetex-ptex (${PREFIX}/bin/ptex $B$X$N(B symlink) ++ ${TEXMFMAIN}/web2c/jadetex-ptex.fmt ++ ${TEXMFMAIN}/tex/jadetex-ptex.ltx ++ ${TEXMFMAIN}/tex/dsssl-ptex.def ++ ++ $B$N(B 4 $B8D$N%U%!%$%k$G$9!#4D6-$K$h$C$F$O!"%$%s%9%H!<%k8e$K(B ++ mktexlsr $B$r<B9T$9$kI,MW$,$"$k$+$b$7$l$^$;$s!#(B ++ $B%?%$%W%;%C%H$K$O(B jadetex-ptex $B$r<B9T$7$F$/$@$5$$!#(B ++ ++ ++4. $B5;=Q>pJs(B ++ ++ $B$3$N%Q%C%A$G$O!"(B ++ ++ 1) $B%U%!%$%kL>$r(B jadetex-ptex $B$KJQ99(B ++ 2) hyphenation $B5!G=$r@)8B(B ++ 3) $BF|K\8l%U%)%s%H$NBP1~$rDI2C(B ++ ++ $B$NE@$K<j$rF~$l$F$"$j$^$9!#(B ++ ++ 1) $B$O!"(BJadeTeX $B$H$N6&B8$r2DG=$K$9$k$?$a$N=hCV$G$9!#(Bdsssl.def ++ -> dsssl-ptex.def $B$N$h$&$K!"%U%!%$%kL>$NKvHx$K(B -ptex $B$,DI2C$7$F$"$j$^$9!#(B ++ ++ 2) $B$O!"(BpTeX $B$,9=B$E*$K(B babel package $B$KBP1~$G$-$J$$(B ($B;H$($k$3$H$O(B ++ $B;H$($^$9$,(B) $B$3$H$KBP$9$k=$@5$G$9!#(B ++ JadeTeX $B$,(B pTeX $B$G=hM}$G$-$J$$0lHVBg$-$JLdBjE@$,$3$NItJ,$G$7$?!#(B ++ ++ 3) $B$O!"(BJade $B$N(B TeX backend $B$d(B JadeTeX $B$,F|K\8l%U%)%s%H$K4X$7$F$^$C$?$/(B ++ $B%1%"$7$F$$$J$$$?$a!"$9$Y$FL@D+BN(B (mc $B%U%!%_%j(B) $B$G=PNO$5$l$F$7$^$&LdBj$r(B ++ $B=$@5$7$?$b$N$G$9!#2$J8%U%)%s%H$K1~$8$FOBJ8%U%)%s%H$r@Z$jBX$($k$?$a$N(B ++ $B%^%C%T%s%0%F!<%V%k$r(B mlnames.sty $B$KDI2C$7$F$"$j$^$9!#(B ++ $B$A$g$C$HE,Ev$K(B mc $B$H(B gt $B$r3d$j?6$C$?$@$1$J$N$G!"2~A10F$,$"$j$^$7$?$i(B ++ $B$*CN$i$;$$$?$@$1$k$H$"$j$,$?$$$G$9!#(B ++ ++ ++5. $B:n<T$NO"Mm@h(B ++ ++ $B$3$N%Q%C%A$K4X$9$k<ALd$dDs0F$O!":4F#(B <hrs@allbsd.org> $B$^$G$*4j$$$7$^$9!#(B ++ ++ ++6. $B%i%$%;%s%9(B ++ ++ Copyright 2003 Hiroki Sato <hrs@allbsd.org>, ++ All rights reserved. ++ ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions ++ are met: ++ 1. Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ 2. Redistributions in binary form must reproduce the above copyright ++ notice, this list of conditions and the following disclaimer in the ++ documentation and/or other materials provided with the distribution. ++ ++ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ++ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE ++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ++ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ++ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT ++ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY ++ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ++ SUCH DAMAGE. diff --git a/japanese/jadetex-ptex/files/patch-jadetex.dtx b/japanese/jadetex-ptex/files/patch-jadetex.dtx new file mode 100644 index 000000000000..f1423ff88ac4 --- /dev/null +++ b/japanese/jadetex-ptex/files/patch-jadetex.dtx @@ -0,0 +1,48 @@ +Index: jadetex.dtx +=================================================================== +RCS file: /home/cvs/private/hrs/jadetex-ptex/jadetex.dtx,v +retrieving revision 1.1.1.1 +retrieving revision 1.3 +diff -d -u -I\$FreeBSD: /tmp/pcvs/ports/japanese/jadetex-ptex/files/patch-jadetex.dtx,v 1.1 2003-07-03 14:17:20 kuriyama Exp $ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.1.1.1 -r1.3 +--- jadetex.dtx 10 Jun 2003 15:24:06 -0000 1.1.1.1 ++++ jadetex.dtx 10 Jun 2003 18:20:49 -0000 1.3 +@@ -2232,6 +2233,7 @@ + \let\current@f@series\f@series + \let\current@f@shape\f@shape + \let\current@f@family\f@family ++\let\current@k@family\k@family + \let\current@f@size\f@size + \edef\LaTeXshape{\csname Width@\fProportionateWidth\endcsname + \csname Weight@\fWeight\endcsname}% +@@ -2246,10 +2248,20 @@ + \else + \csname Family@\fFamName\endcsname + \fi}}% ++% -- pjadetex -- ++% XXX: check jt1<family>.fd? ++ \edef\k@family{% ++ \expandafter\ifx\csname KanjiFamily@\fFamName\endcsname\relax ++ \csname KanjiFamily@\DefaultfFamName\endcsname ++ \else ++ \csname KanjiFamily@\fFamName\endcsname ++ \fi} ++% -- end -- + \set@fontsize\baselinestretch{\fSize}{\LineSpacing}% + %\NeedsSelecttrue + %\ifx\f@size\current@f@size\relax\NeedsSelectfalse\fi + %\ifx\f@family\current@f@family\relax\NeedsSelectfalse\fi ++%\ifx\k@family\current@k@family\relax\NeedsSelectfalse\fi + %\ifx\f@shape\current@f@shape\relax\NeedsSelectfalse\fi + %\ifx\f@series\current@f@series\relax\NeedsSelectfalse\fi + %\ifNeedsSelect +@@ -2405,6 +2417,10 @@ + \fancyhf{}% + \def\familydefault{ptm}% + \fontfamily{\familydefault}\selectfont ++ % -- pjadetex -- ++ \def\kanjifamilydefault{\mcdefault}% ++ \kanjifamily{\kanjifamilydefault}\selectfont ++ % -- end -- + \pagenumbering{arabic}% + \nonstopmode + \Mathcount0 diff --git a/japanese/jadetex-ptex/files/patch-mlnames.sty b/japanese/jadetex-ptex/files/patch-mlnames.sty new file mode 100644 index 000000000000..82912c348803 --- /dev/null +++ b/japanese/jadetex-ptex/files/patch-mlnames.sty @@ -0,0 +1,131 @@ +Index: mlnames.sty +=================================================================== +RCS file: /home/cvs/private/hrs/jadetex-ptex/mlnames.sty,v +retrieving revision 1.1.1.1 +retrieving revision 1.4 +diff -d -u -I\$FreeBSD: /tmp/pcvs/ports/japanese/jadetex-ptex/files/patch-mlnames.sty,v 1.1 2003-07-03 14:17:20 kuriyama Exp $ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.1.1.1 -r1.4 +--- mlnames.sty 10 Jun 2003 15:24:06 -0000 1.1.1.1 ++++ mlnames.sty 10 Jun 2003 18:20:49 -0000 1.4 +@@ -5,7 +6,24 @@ + %% Either version 1.0 or, at your option, any later version. + %% + \ProvidesPackage{mlnames}[2001/01/10, some XSL and Unicode support material, Sebastian Rahtz] +-% ++% -- pjadetex -- ++\DeclareFontShape{JY1}{mc}{m}{n}{<-> min10}{} ++\DeclareFontShape{JY1}{gt}{m}{n}{<-> goth10}{} ++\DeclareFontShape{JY1}{mc}{m}{it}{<-> min10}{} ++\DeclareFontShape{JY1}{gt}{m}{it}{<-> goth10}{} ++\DeclareFontShape{JT1}{mc}{m}{it}{<-> min10}{} ++\DeclareFontShape{JT1}{gt}{m}{it}{<-> goth10}{} ++\DeclareFontShape{JY1}{mc}{bx}{n}{<-> min10}{} ++\DeclareFontShape{JY1}{gt}{bx}{n}{<-> goth10}{} ++\DeclareFontShape{JT1}{mc}{bx}{n}{<-> min10}{} ++\DeclareFontShape{JT1}{gt}{bx}{n}{<-> goth10}{} ++% -- workaround for T2A encoding ++\DeclareFontEncoding{T2A}{}{} ++\DeclareFontFamily{T2A}{mc}{} ++\DeclareFontFamily{T2A}{gt}{} ++\DeclareFontShape{T2A}{mc}{m}{n}{<-> min10}{} ++\DeclareFontShape{T2A}{gt}{m}{n}{<-> goth10}{} ++% -- end -- + \DeclareFontFamily{T1}{pzd}{} + \DeclareFontShape{T1}{pzd}{m}{n}{<->pzdr}{} + \def\Family@monospace{pcr} +@@ -18,7 +36,7 @@ + \DeclareFontShape{T1}{uzc}{mb}{it}{<-> uzcmi8t}{} + \DeclareFontShape{T1}{uzc}{m}{it}{<->ssub * uzc/mb/it}{} + \DeclareFontShape{T1}{uzc}{m}{n}{<->ssub * uzc/mb/it}{} +-\def\Family@unknown{<unknown>} ++\def\Family@unknown{<unknown>} + \def\Family@Arial{phv} + \def\Family@Helvetica{phv} + \def\Family@Palatino{ppl} +@@ -64,6 +82,54 @@ + \expandafter\def\csname Family@OCRB10PitchBT\endcsname{bob} + \expandafter\def\csname Family@OCR-A\endcsname{boa} + \expandafter\def\csname Family@OCR-B-10PitchBT\endcsname{bob} ++% -- pjadetex -- ++\def\KanjiFamily@unknown{<unknown>} ++\def\KanjiFamily@Arial{gt} ++\def\KanjiFamily@Helvetica{gt} ++\def\KanjiFamily@Palatino{gt} ++\def\KanjiFamily@Bookman{mc} ++\def\KanjiFamily@BaskervilleMT{gt} ++\def\KanjiFamily@Courier{mc} ++\def\KanjiFamily@Symbol{mc} ++\def\KanjiFamily@Wingdings{mc} ++\def\KanjiFamily@WingDings{mc} ++\def\KanjiFamily@LucidaSans{mc} ++\def\KanjiFamily@LucidaBright{mc} ++\def\KanjiFamily@LucidaTypewriter{mc} ++\def\KanjiFamily@Savoy{mc} ++\def\KanjiFamily@ACaslon{mc} ++\def\KanjiFamily@Caslon{mc} ++\def\KanjiFamily@Formata{mc} ++\def\KanjiFamily@FranklinGothic{mc} ++\def\KanjiFamily@OCRAbyBT{mc} ++\def\KanjiFamily@AGaramond{mc} ++\expandafter\def\csname KanjiFamily@Avant-Garde\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Courier New\endcsname{mc} ++\expandafter\def\csname KanjiFamily@New-Century-Schoolbook\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Times-Roman\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Trade-Gothic\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Times-New-Roman\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Times New Roman\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Times Roman\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Times-NR-MT\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Courier-New\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Zapf-Dingbats\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Gill-Sans\endcsname{mc} ++\expandafter\def\csname KanjiFamily@iso-serif\endcsname{mc} ++\expandafter\def\csname KanjiFamily@sans-serif\endcsname{mc} ++\expandafter\def\csname KanjiFamily@iso-sanserif\endcsname{mc} ++\expandafter\def\csname KanjiFamily@iso-monospace\endcsname{mc} ++\expandafter\def\csname KanjiFamily@LetterGothic12PitchBT\endcsname{mc} ++\expandafter\def\csname KanjiFamily@NewsGothic\endcsname{mc} ++\expandafter\def\csname KanjiFamily@NewsGothicBT\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Humanist521\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Humanist521BT\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Monospace821\endcsname{mc} ++\expandafter\def\csname KanjiFamily@Monospace821BT\endcsname{mc} ++\expandafter\def\csname KanjiFamily@OCRB10PitchBT\endcsname{mc} ++\expandafter\def\csname KanjiFamily@OCR-A\endcsname{mc} ++\expandafter\def\csname KanjiFamily@OCR-B-10PitchBT\endcsname{mc} ++% -- end -- + % \end{macrocode} + % Matthias Clasen asked for the special code to be able + % to access Computer Modern caps and small caps as a font family. +@@ -205,19 +271,19 @@ + \ifeof1 + \message{I couldn't find the file language.dat. No hyphenation!!!} + \else +- \last@language\m@ne +- \loop +- \endlinechar\m@ne +- \read1 to \fo@line +- \endlinechar`\^^M +- \ifx\fo@line\@empty +- \else +- \edef\fo@line{\fo@line\space/}% +- \expandafter\process@line\fo@line +- \fi +- \iftrue \csname fi\endcsname +- \csname if\ifeof1 false\else true\fi\endcsname +- \repeat ++% \last@language\m@ne ++% \loop ++% \endlinechar\m@ne ++% \read1 to \fo@line ++% \endlinechar`\^^M ++% \ifx\fo@line\@empty ++% \else ++% \edef\fo@line{\fo@line\space/}% ++% \expandafter\process@line\fo@line ++% \fi ++% \iftrue \csname fi\endcsname ++% \csname if\ifeof1 false\else true\fi\endcsname ++% \repeat + \language=0 + \fi + \closein1 diff --git a/japanese/jadetex-ptex/files/texmf.cnf b/japanese/jadetex-ptex/files/texmf.cnf new file mode 100644 index 000000000000..b23d29d33824 --- /dev/null +++ b/japanese/jadetex-ptex/files/texmf.cnf @@ -0,0 +1,4 @@ + hash_extra = 60000 + pool_size = 1000000 + max_strings = 70000 + save_size = 10000 diff --git a/japanese/jadetex-ptex/pkg-descr b/japanese/jadetex-ptex/pkg-descr new file mode 100644 index 000000000000..429e6a0f13d9 --- /dev/null +++ b/japanese/jadetex-ptex/pkg-descr @@ -0,0 +1,11 @@ +This is pJadeTeX, a localized TeX backend for Jade. + +JadeTeX enables you to produce formatted output of documents written +with the Standard Generalized Markup Language (SGML). JadeTeX uses +tex to produce Device Independent (DVI) output; from there, you can +produce high quality hardcopy. JadeTeX also uses pdftex to produce +Adobe Portable Document Format (PDF) versions of your documents, +complete with hyperlinks, and suitable for distribution on the World +Wide Web and other media. + +pJadeTeX is for pTeX, a Japanese specific TeX variant. diff --git a/japanese/jadetex-ptex/pkg-message b/japanese/jadetex-ptex/pkg-message new file mode 100644 index 000000000000..9300f8617768 --- /dev/null +++ b/japanese/jadetex-ptex/pkg-message @@ -0,0 +1,16 @@ +JadeTeX uses quite a lot of TeX's resources. You may find it +necessary to increase the size of some of TeX's resource pools by +editing the file %%LOCALBASE%%/share/texmf/web2c/texmf.cnf with any text +editor. + +For example, to typeset the FreeBSD Handbook with JadeTeX, change the +following settings to the listed values: + + hash_extra = 60000 + pool_size = 1000000 + max_strings = 70000 + save_size = 10000 + +If you change %%LOCALBASE%%/share/texmf/web2c/texmf.cnf, delete the word +"original" on line 1 of the file. This will prevent future +installations of TeX from overwriting changes you've made. diff --git a/japanese/jadetex-ptex/pkg-plist b/japanese/jadetex-ptex/pkg-plist new file mode 100644 index 000000000000..e0af92e1c2d3 --- /dev/null +++ b/japanese/jadetex-ptex/pkg-plist @@ -0,0 +1,11 @@ +@comment $FreeBSD$ +@exec ln -s -f %D/bin/ptex %D/bin/jadetex-ptex +@unexec rm -f %D/bin/jadetex-ptex +share/texmf/tex/jadetex/dsssl-ptex.def +share/texmf/tex/jadetex/jadetex-ptex.ltx +share/texmf/web2c/jadetex-ptex.fmt +%%PORTDOCS%%share/doc/jadetex-ptex/README.jadetex-ptex +%%PORTDOCS%%@dirrm share/doc/jadetex-ptex +@exec %D/bin/mktexlsr +@unexec %D/bin/mktexlsr +@unexec rmdir %D/share/texmf/tex/jadetex 2> /dev/null || true |