summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-18 21:42:25 +0000
committerKarl Berry <karl@freefriends.org>2017-05-18 21:42:25 +0000
commit87c2d6a46902b860addfaf01e8177c933f0f3b0e (patch)
treedde57ab7602dae25b45544a69e5b03db5c0d6a73
parentd633c2d1792e8990aaaef8cdd2543a561c63407f (diff)
pstricks (18may17)
git-svn-id: svn://tug.org/texlive/trunk@44408 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/Makefile95
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-docfull.pdfbin565330 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news17.pdfbin48282 -> 51567 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news17.tex41
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-quickref.pdfbin30070 -> 0 bytes
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pst-fp.tex21
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks.tex15
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-doc.cls4
8 files changed, 57 insertions, 119 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/Makefile b/Master/texmf-dist/doc/generic/pstricks/Makefile
deleted file mode 100644
index 0b4f5519d33..00000000000
--- a/Master/texmf-dist/doc/generic/pstricks/Makefile
+++ /dev/null
@@ -1,95 +0,0 @@
-# `Makefile' for `pst-news.pdf', hv, 2007/03/17
-
-.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
-
-PACKAGE = pst-news$(shell date +%y)
-
-MAIN = $(PACKAGE)
-
-BASE = pstricks-base
-
-TDSBASE = pstricks
-
-LATEX = latex
-
-TDS = ~/PSTricks/PSTricks-TDS
-
-ARCHNAME = $(MAIN)-$(shell date +%y%m%d)
-
-ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(MAIN).tex README Changes Makefile
-
-all : doc clean
-doc: $(MAIN).pdf
-
-$(MAIN).pdf : $(MAIN).ps
- GS_OPTIONS=-dAutoRotatePages=/None ps2pdf $<
-
-$(MAIN).ps : $(MAIN).dvi
- dvips $<
-
-$(MAIN).dvi : $(MAIN).tex
- $(LATEX) $<
- $(LATEX) $<
- if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi
- if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi
- makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls \
- $(basename $<).glo
- makeindex -t $(basename $<).ilg -o $(basename $<).ind \
- $(basename $<).idx
- biber $(basename $<)
- $(LATEX) $<
- $(LATEX) $<
-
-clean :
- $(RM) $(addprefix $(MAIN), .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .Roessler .bbl )
- $(RM) $(addprefix $(MAIN), .dvi .ps .bcf .run.xml)
-
-veryclean : clean
- $(RM) $(addprefix $(MAIN), .pdf .bbl .blg)
-
-arch :
- zip $(ARCHNAME).zip $(ARCHFILES)
-
-tds:
-#################### base #########################
- cp -u ../config/* ../.base/$(BASE)/config/
-#
- cp -u ../Changes ../.base/$(BASE)/
- cp -u pst-doc.* ../.base/$(BASE)/doc/
- cp -u PSTricks.bib* ../.base/$(BASE)/doc/
- cp -u pst-news* ../.base/$(BASE)/doc/
- cp -u pst-user* ../.base/$(BASE)/doc/
- cp -u *.sty ../.base/$(BASE)/doc/
- cp -u pstricks-* ../.base/$(BASE)/doc/
- cp -u test* ../.base/$(BASE)/doc/
- cp -u images/* ../.base/$(BASE)/doc/images/
-#
- cp -u ../dvips/* ../.base/$(BASE)/dvips/
- cp -u ../generic/* ../.base/$(BASE)/generic/
- cp -u ../latex/* ../.base/$(BASE)/latex/
- cp -u ../README ../.base/$(BASE)/
-#
-#################### TDS #########################
- cp -u ../Changes $(TDS)/doc/generic/$(TDSBASE)/
-# cp -u README $(TDS)/doc/generic/$(TDSBASE)/
- cp -u $(MAIN).pdf $(TDS)/doc/generic/$(TDSBASE)/
-#
-# cp -u ../latex/Changes $(TDS)/tex/latex/$(TDSBASE)/
- cp -u ../latex/* $(TDS)/tex/latex/$(TDSBASE)/
-#
-# cp -u ../generic/Changes $(TDS)/tex/generic/$(TDSBASE)/
- cp -u ../generic/* $(TDS)/tex/generic/$(TDSBASE)/
-#
-# cp -u ../dvips/Changes $(TDS)/dvips/$(TDSBASE)/
-# cp -u ../dvips/$(BASE).pro $(TDS)/dvips/$(TDSBASE)/
-# cp -u ../dvips/$(BASE)97.pro $(TDS)/dvips/$(TDSBASE)/
- cp -u ../dvips/*.pro $(TDS)/dvips/$(TDSBASE)/
-#
-# cp -u Changes $(TDS)/source/$(TDSBASE)/
- cp -u $(MAIN).tex $(TDS)/source/$(TDSBASE)/
-# cp -u $(MAIN).bib $(TDS)/source/$(TDSBASE)/
- cp -u Makefile $(TDS)/source/$(TDSBASE)/
-
- cp -u ../dvips/*.pro ~/Links/dvips-local/
-
-# EOF
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-docfull.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-docfull.pdf
deleted file mode 100644
index 6666f0a0244..00000000000
--- a/Master/texmf-dist/doc/generic/pstricks/pst-docfull.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news17.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news17.pdf
index 3dcc22bb7ca..e6a6a4331c0 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news17.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news17.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex
index 563c5943ec8..41ea4a686f4 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex
@@ -1,12 +1,9 @@
-%% $Id: pst-news17.tex 444 2017-04-19 10:55:35Z herbert $
+%% $Id: pst-news17.tex 461 2017-05-18 10:17:06Z herbert $
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,twoside]{pst-doc}
\listfiles
\let\Lfile\LFile
\usepackage[utf8]{inputenc}
-\usepackage{pstricks}
-\let\pstricksFV\fileversion
-\let\pstricksFD\filedate
\usepackage{pst-node}
\let\pstnodeFV\fileversion
\let\pstnodeFD\filedate
@@ -55,8 +52,37 @@ Internally \Lprog{lualatex} starts \Lprog{xelatex} for creating the environments
\fi
%--------------------------------------------------------------------------------------
-\section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)}
+\section{\texttt{pstricks.tex} (v. 2.73 -- 2017/05/18)}
%--------------------------------------------------------------------------------------
+\subsection{Error message}
+
+Using PSTricks with \Lprog{pdflatex} will work only when using package
+\LPack{auto-pst-pdf} and running the \TeX-file with
+
+\begin{verbatim}
+pdflatex -shell-escape <file>
+\end{verbatim}
+
+otherwise you'll get an error message which was misleading in the past:
+
+\begin{verbatim}
+[...]
+! Undefined control sequence.
+<recently read> \c@lor@to@ps
+\end{verbatim}
+
+This changes now to
+
+
+\begin{verbatim}
+[...]
+! Undefined control sequence.
+\c@lor@to@ps ->\PSTricks
+ _Not_Configured_For_This_Format
+\end{verbatim}
+
+
+
\subsection{refangle}
This version fixes a bug with \verb|pst@refangle| which is used inside PostScript.
@@ -89,12 +115,12 @@ area of the \Lenv{pspicture} coordinates is seen by a rectangle (only for \LaTe
\end{LTXexample}
-\subsection{\Lcs{newpsstyle}}
+\subsection{\nxLcs{newpsstyle}}
The command \Lcs{newpsstyle} has a new syntax:
\begin{BDef}
-\Lcs{newpssytle}\OptArg{package name}\Largb{name}\Largb{definitions}
+\Lcs{newpsstyle}\OptArg{package name}\Largb{name}\Largb{definitions}
\end{BDef}
For example
@@ -114,4 +140,3 @@ For example
\end{document}
-
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-quickref.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-quickref.pdf
deleted file mode 100644
index 24d8d07b21e..00000000000
--- a/Master/texmf-dist/doc/generic/pstricks/pst-quickref.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/tex/generic/pstricks/pst-fp.tex b/Master/texmf-dist/tex/generic/pstricks/pst-fp.tex
index 2ea9cf11f4f..97e189f99f9 100644
--- a/Master/texmf-dist/tex/generic/pstricks/pst-fp.tex
+++ b/Master/texmf-dist/tex/generic/pstricks/pst-fp.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-fp.tex 446 2017-04-19 11:40:55Z herbert $
+%% $Id: pst-fp.tex 451 2017-05-11 12:32:06Z herbert $
%%
%%
%% This is file `pst-fp.tex',
@@ -121,12 +121,12 @@
\def\pstFP@swallow#1\relax{}
%
\def\ifpstFP@zero#1{%
- \ifnum%
- \expandafter\ifnum\csname pstFP@#1ia\endcsname=0 0\else1\fi%
- \expandafter\ifnum\csname pstFP@#1ib\endcsname=0 0\else1\fi%
- \expandafter\ifnum\csname pstFP@#1fa\endcsname=0 0\else1\fi%
+ \ifnum
+ \expandafter\ifnum\csname pstFP@#1ia\endcsname=0 0\else1\fi
+ \expandafter\ifnum\csname pstFP@#1ib\endcsname=0 0\else1\fi
+ \expandafter\ifnum\csname pstFP@#1fa\endcsname=0 0\else1\fi
\expandafter\ifnum\csname pstFP@#1fb\endcsname=0 0\else1\fi%
- =0\relax%
+ =0\relax
}
%
%read value
@@ -485,7 +485,8 @@
\fi%
\global\let\pstFP@tmp\pstFP@tmp%
}%
- \let#1\pstFP@tmp%
+ \pstFPstripZeros\pstFP@tmp{#1}%
+% \let#1\pstFP@tmp%
}
@@ -581,7 +582,8 @@
\global\let\pstFP@tmp=\pstFP@tmp%
%
}%
- \let#1\pstFP@tmp%
+ \pstFPstripZeros\pstFP@tmp{#1}%
+% \let#1\pstFP@tmp%
}
%multiply two values
@@ -705,7 +707,8 @@
\else\typeout{pstFPmul: Overflow}\fi%
\else\typeout{pstFPmul: Overflow}\fi%
\global\let\pstFP@tmp\pstFP@tmp}%
- \let#1\pstFP@tmp%
+ \pstFPstripZeros\pstFP@tmp{#1}%
+% \let#1\pstFP@tmp%
}
%
\catcode`\@=\PstAtCode\relax
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
index 24722d45cbe..2fb3ec886c0 100644
--- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
+++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
@@ -18,14 +18,17 @@
\csname PSTricksLoaded\endcsname
\let\PSTricksLoaded\endinput
%
-%% !! loading additional TeX packages see line 112 !!
-%% !! loading config file pstricks.con line 476 !!
-%% !! loading pro files line 489 !!
-%% !! fileversion and date see line 119 !!
+%% !! loading additional TeX packages see line 105/136 !!
+%% !! loading config file pstricks.con line 491 !!
+%% !! loading pro files line 515 !!
+%% !! fileversion and date see line 143 !!
%
\edef\PstAtCode{\the\catcode`\@}
\catcode`\@=11\relax
%
+\ifx\c@lor@to@ps\@undefined
+ \def\c@lor@to@ps{\PSTricks_Not_Configured_For_This_Format}% message for a pdflatex run
+\fi
\expandafter\ifx\csname @latexerr\endcsname\relax % do we have LaTeX? then it is false
\newwrite\@unused
\def\typeout#1{\immediate\write\@unused{#1}}%
@@ -137,8 +140,8 @@
\@ifundefined{pgffor@emptyvalues}{\input pgffor.code.tex}{}
\let\pgfforeach\foreach
%
-\def\fileversion{2.72b}
-\def\filedate{2017/04/19}
+\def\fileversion{2.73}
+\def\filedate{2017/05/18}
\catcode`\@=11\relax
\pst@addfams{pstricks}
%
diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls b/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
index 15f71fd95b5..7166d95c1ea 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
@@ -1,4 +1,4 @@
-% $Id: pst-doc.cls 444 2017-04-19 10:55:35Z herbert $
+% $Id: pst-doc.cls 461 2017-05-18 10:17:06Z herbert $
%
%%
%% The PSTricks Project
@@ -35,6 +35,7 @@
%\RequirePackage[euler-digits]{eulervm}
\RequirePackage{bera}
%\RequirePackage[scaled=0.85]{luximono}
+ \RequirePackage[utf8]{inputenc}
\fi
\usepackage[includeheadfoot,lmargin=2cm,tmargin=1cm,bmargin=1.5cm,rmargin=1.5cm]{geometry}
\RequirePackage{ifpdf}
@@ -102,6 +103,7 @@
\RequirePackage{subfig}
\RequirePackage{setspace}
\RequirePackage{paralist}
+\RequirePackage{biblatex}
%
\RequirePackage{fancyvrb}
\newenvironment{Xverbatim}[2][]%