[53401] trunk/dports/tex/pTeX

takanori at macports.org takanori at macports.org
Sat Jul 4 16:58:19 PDT 2009


Revision: 53401
          http://trac.macports.org/changeset/53401
Author:   takanori at macports.org
Date:     2009-07-04 16:58:18 -0700 (Sat, 04 Jul 2009)
Log Message:
-----------
pTeX:
- Fixed a minor issue about glue calculation.
- From this version, the math baseline shift can be changed by \(y|t)baselineskip command.

see also:
http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/53287.html
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=327
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=29

Modified Paths:
--------------
    trunk/dports/tex/pTeX/Portfile
    trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff
    trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff

Added Paths:
-----------
    trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum327.patch

Modified: trunk/dports/tex/pTeX/Portfile
===================================================================
--- trunk/dports/tex/pTeX/Portfile	2009-07-04 23:53:02 UTC (rev 53400)
+++ trunk/dports/tex/pTeX/Portfile	2009-07-04 23:58:18 UTC (rev 53401)
@@ -3,8 +3,7 @@
 PortSystem      1.0
 
 name            pTeX
-version         20090510
-revision        1
+version         20090703
 epoch           ${version}
 set ver_ptetex3     20080616
 set ver_dvipdfmx    20090506

Added: trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum327.patch
===================================================================
--- trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum327.patch	                        (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum327.patch	2009-07-04 23:58:18 UTC (rev 53401)
@@ -0,0 +1,40 @@
+--- ptex-base.ch.orig	Tue Jul 18 17:03:33 2006
++++ ptex-base.ch	Sat Jun 27 10:08:58 2009
+@@ -3847,7 +3847,7 @@
+ var a:integer; {address of lig/kern instruction}
+ @!gp,@!gq,@!p,@!r:pointer; {temporary registers for list manipulation}
+ @!rr:halfword;
+-begin r:=min_halfword; restart:@t@>@;@/
++begin restart:@t@>@;@/
+ if (math_type(subscr(q))=empty)and(math_type(supscr(q))=empty)and@|
+ ((math_type(nucleus(q))=math_char)or(math_type(nucleus(q))=math_jchar)) then
+   begin p:=link(q);
+@@ -3887,7 +3887,7 @@
+          if op_byte(cur_i)<kern_flag then
+            begin gp:=font_glue[cur_f]; rr:=rem_byte(cur_i);
+            if gp<>null then begin
+-             while((type(gp)<>r)and(link(gp)<>null)) do begin gp:=link(gp);
++             while((type(gp)<>rr)and(link(gp)<>null)) do begin gp:=link(gp);
+                end;
+              gq:=glue_ptr(gp);
+              end
+@@ -3895,7 +3895,7 @@
+              font_glue[cur_f]:=gp; gq:=null;
+              end;
+            if gq=null then
+-             begin type(gp):=r; gq:=new_spec(zero_glue); glue_ptr(gp):=gq;
++             begin type(gp):=rr; gq:=new_spec(zero_glue); glue_ptr(gp):=gq;
+              a:=exten_base[cur_f]+qi((qo(rr))*3); width(gq):=font_info[a].sc;
+              stretch(gq):=font_info[a+1].sc; shrink(gq):=font_info[a+2].sc;
+              add_glue_ref(gq); link(gp):=get_node(small_node_size);
+@@ -5757,7 +5757,8 @@
+ space_factor:=1000; unsave;
+ end
+ @y
+-begin if direction=dir_tate then disp:=axis_height(text_size) else disp:=0;
++begin if direction=dir_tate then disp:=t_baseline_shift
++      else disp:=y_baseline_shift;
+ @<Append |disp_node| at begin of displace area@>;
+ tail_append(new_math(math_surround,before));
+ cur_mlist:=p; cur_style:=text_style; mlist_penalties:=(mode>0); mlist_to_hlist;
+

Modified: trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff
===================================================================
--- trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff	2009-07-04 23:53:02 UTC (rev 53400)
+++ trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff	2009-07-04 23:58:18 UTC (rev 53401)
@@ -1,5 +1,5 @@
---- ./2extract-src.sh.orig	2009-05-10 23:06:28.000000000 +0900
-+++ ./2extract-src.sh	2009-05-10 23:07:12.000000000 +0900
+--- ./2extract-src.sh.orig	2008-06-16 13:50:47.000000000 +0900
++++ ./2extract-src.sh	2009-07-03 07:09:18.000000000 +0900
 @@ -14,7 +14,6 @@
  fi
  
@@ -20,7 +20,15 @@
  # add --nostop option: don't stop even if a map file is not found
  cpatch archive/updmap-nostop.patch     0 $SRC/texk/tetex
  # ebb patch (+ArtBox)
-@@ -133,12 +127,10 @@
+@@ -99,6 +93,7 @@
+ tarx archive/ptex-src-3.1.10.tar.gz $SRC/texk/web2c
+ mv $SRC/texk/web2c/ptex-src-* $SRC/texk/web2c/ptex || exit
+ cpatch $PTEXENC/ptex-src-3.1.10-ptexenc.patch     1 $SRC/texk/web2c/ptex
++cpatch archive/ptex-src-3.1.10-forum327.patch     0 $SRC/texk/web2c/ptex
+ # comment out TEXINPUTS.platex (not to be erased by mkconf)
+ perlprint 's/^(TEXINPUTS.platex)/% \1/g' $SRC/texk/kpathsea/texmf.in
+ # rewrite 'platex2e_inputs' macro
+@@ -133,12 +128,10 @@
  cpatch $PTEXENC/makejvf-1.1a-ptexenc.patch 1 $SRC/texk/makejvf
  
  ## for dvipdfmx
@@ -36,7 +44,7 @@
  perlnoprint "print unless /cid-x/" $SRC/texk/dvipdfmx/data/Makefile.in
  
  
-@@ -152,8 +144,8 @@
+@@ -152,8 +145,8 @@
  #tarx archive/dvipsk-jpatch-p1.7a.tar.gz          $SRC/texk/${P}dvipsk
  #cpatch $SRC/texk/${P}dvipsk/dvipsk-p1.7a.patch 1 $SRC/texk/${P}dvipsk
  $CP $SRC/texk/${P}dvipsk/Makefile.in $SRC/texk/${P}dvipsk/Makefile.in.tetex
@@ -47,7 +55,7 @@
  ## disable installing 'config.ps'
  $CP $SRC/texk/${P}dvipsk/Makefile.in       $SRC/texk/${P}dvipsk/Makefile.in.jp
  $CP $SRC/texk/${P}dvipsk/Makefile.in.tetex $SRC/texk/${P}dvipsk/Makefile.in
-@@ -263,7 +255,11 @@
+@@ -263,7 +256,11 @@
  
  
  ## check

Modified: trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff
===================================================================
--- trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff	2009-07-04 23:53:02 UTC (rev 53400)
+++ trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff	2009-07-04 23:58:18 UTC (rev 53401)
@@ -1,5 +1,5 @@
 --- md5sum/texsrc.traditional.orig	2008-06-16 15:02:58.000000000 +0900
-+++ md5sum/texsrc.traditional	2009-05-10 21:53:24.000000000 +0900
++++ md5sum/texsrc.traditional	2009-07-03 07:12:07.000000000 +0900
 @@ -72,29 +72,29 @@
  aa8bcb252fdfab1e6164e338b6a791ce  ./texk/dvipdfm/ebb.c
  c98e0303e74020945a281afd04b09182  ./texk/dvipdfm/pdfdoc.c
@@ -69,3 +69,12 @@
  ebc6b3bdfb294b144444a826cd044442  ./texk/tetex/fmtutil
  5641fcc891193155d3c256de05207f73  ./texk/tetex/texconfig
  c87a7653e7ff3d98faa26d5f6995c6f0  ./texk/tetex/texlinks
+@@ -310,7 +310,7 @@
+ cc8193b92f3f22160f9f75552c936eb1  ./texk/web2c/ptex/openclose.c
+ e94844efdc6621352d2edc5bd43a3463  ./texk/web2c/ptex/pdvitype.ch
+ d10b99da547b186872b27486bddc5b3f  ./texk/web2c/ptex/pltotf.ch
+-ed3a607a2f6ba2f7dd090a101b3e1a94  ./texk/web2c/ptex/ptex-base.ch
++e0cad70ed49648eadfbedc86c4e9768b  ./texk/web2c/ptex/ptex-base.ch
+ 934d273b67c7b66ecc189622e37dfd51  ./texk/web2c/ptex/ptexextra.c
+ 48f171abad15ab1ef90346f3ad767045  ./texk/web2c/ptex/ptexextra.h
+ 26e0bef478ed32ea9bc178a82f868a3a  ./texk/web2c/ptex/ptexhelp.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090704/300aed16/attachment.html>


More information about the macports-changes mailing list