[pstricks] ConTeXt and PSTricks

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Oct 12 17:39:14 CEST 2014


Am 12.10.2014 um 11:43 schrieb Fabrice:

>> (/home/fab/context/tex/texmf-context/tex/context/base/m-pstricks.mkii
>> ! I can't find file `multido'.
>> <argument> \input multido
>>                           \relax \input pstricks \relax \input
>> pst-plot \rel...
>>
>> \firstoftwoarguments #1#2->#1
>>                              
>> l.47 ...s}{using indirect method; enable write18}}

Patrice,
it is a problem with the path. You are using ConTeXt minimals which
knows nothing about PSTricks files. You have to use the full path
for

\input .../multido

or to set the TEXINPUTS environment variable. However, to prevent
such problems I copy the ConTeXt minimals files into my TeXLive
directories. Then I can use COnTeXt minimal inside the default
TeXLive setting:

-------------------------------cut-------------------------
#!/bin/bash
MINIMAL=/opt/context
TO=/usr/local/texlive/current   # current is a link to 2014
FROM=$MINIMAL

# first update the TL
echo "update teXLive with tlmgr ..."
tlmgr --all --self update
echo "... done"
# now update CT minimal
echo "update CT ..."
cd $MINIMAL
./first-setup.sh

TLBIN=$TO/bin/`uname -m`-`uname -s | tr "[:upper:]" "[:lower:]"`

echo "copying $FROM -> $TO"
cp -Ru $MINIMAL/tex/texmf-cache/luatex-cache $TLBIN/texmf-var/
cp -Ru $MINIMAL/tex/texmf-context/* $TO/texmf-dist/
cp -Ru $MINIMAL/tex/texmf-fonts/* $TO/texmf-dist/fonts/
cp -Rf $MINIMAL/tex/texmf-linux-64/bin/* $TO/bin/x86_64-linux/
cp -Ru $MINIMAL/tex/texmf-linux-64/man/* $TO/bin/x86_64-linux/man/
cp -Ru $MINIMAL/tex/texmf-linux-64/web2c $TO/texmf-var/
#cp -Ru $MINIMAL/tex/texmf-linux-64/web2c/xetex $TL/texmf-var/web2c/
cp -Ru $MINIMAL/tex/texmf-context/* $TO/texmf-dist/
cp -Ru $MINIMAL/tex/texmf/* $TO/texmf-dist/
cp -Rf $MINIMAL/bin/* $TLBIN/
texhash
updmap-sys --syncwithtrees
fmtutil --byengine luatex
context --make
cd
echo "...done!"

-------------------------------cut-------------------------


Herbert



More information about the PSTricks mailing list