Hello people in this site,
I am a newbie to this site, and this is my first question here.
In the Preference->Engine->Latex of TeXshop, I wrote as
platex2 is a shellscript with the description of
#!/bin/sh platex -synctex=1 "$1" && \ dvips -z -f "`basename "$1" .tex`.dvi" | \ convbkmk -g > "`basename "$1" .tex`.ps" && \ ps2pdf "`basename "$1" .tex`.ps"
the contents of which have no erroneous parts.
Additionally, I appended the path of
ps2pdf to the
.bash_profile which I don't think is wrong either.
There is nothing wrong, it seems to me, because when I typeset a file with TeXshop, the shell script was certainly read in, but a LaTeX error appears saying:
/Users/hiro/Library/TeXShop/bin/pdfplatex2: line 5: ps2pdf: command not found
I can't understand why TeX can't find
ps2pdf even though the path has been found.
I will be very glad if you give me a hint about this.