[pstricks] Including Private Header Files Stopped Working
Hensh, Richard
hensh at math.msu.edu
Tue Aug 20 12:29:15 CEST 2013
Dear Herbert,
I believe that I have confirmed that pstricks.tex (ver 2.45 - 2013/07/09) is somehow causing the problem. The versions posted on the pstricks web site and the version distributed with MikTeX match exactly. Here are a few more details.
1. If I comment out the pst macro \pstcustomize in pstricks.con, then everything works as it did before using pstricks.tex (v2.45).
pstricks.con:
%\pstcustomize
\pstheader{mypstrix.pro}
So perhaps \pstcustomize has somehow been modified in a recent version of pstrick.tex. To confirm this I tried
the following.
2. If I replace pstricks.tex (ver 2.45 - 2013/07/09) with version 2.43 (2013/05/12) then the following works as it did before.
pstricks.con:
\pstcustomize
\pstheader{mypstrix.pro}
Any ideas?
thanks
rick
________________________________________
From: PSTricks [pstricks-bounces at tug.org] on behalf of Herbert Voss [Herbert.Voss at FU-Berlin.DE]
Sent: Monday, August 05, 2013 2:15 PM
To: pstricks at tug.org
Subject: Re: [pstricks] Including Private Header Files Stopped Working
Am 04.08.2013 14:00, schrieb Hensh, Richard:
> Has the method for including private postscript header files been changed?
>
> For years I have included a private header file (mypstrix.pro) in my
> postscript documents. An abbreviated version is included at the end of
> this message. This was subsequently loaded by adding the following two
> lines to the file pstricks.con. Actually, to a copy of pstricks.con
> located in my private root.
Rich,
I suppose it is a MiKTeX issue. I cannot test it because
I am a Linux user.
Maybe others can help.
Herbert
> \pstcustomize
> \pstheader{mypstrix.pro}
>
> Now the command chain: latex -- dvips
> would generate a postscript file with an embedded copy of mypstrix.pro.
> This has worked seamlessly for at least 9 years. Yesterday it stopped
> working.
>
> I am using the latest version of MiKTeX 2.9 if it matters.
>
> Is there another way to load private header files that I could try?
>
> thanks
> rick
>
>
> %% Begin mypstrix.pro %%
> %!
> % My own PostScript prologue for pstricks.tex. (Set flag in pstricks.con
> to use.)
> % Version 2004
> %
> userdict begin %
> /natBase {ENeperian} def %
> /avg@ {add 2 div} def % (a+b)/2
> /dist@ {sub abs} def % |a-b|
> %%Hyperbolics
> /sinh at t {dup natBase exch exp exch neg natBase exch exp sub 2 div} def %
> end
> %
> %% End mypstrix.pro %%
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>
_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/
More information about the PSTricks
mailing list