0

I work with Miktex2.9 . In a template code I downloaded , their is something called a psvectorian package. i.e. it uses \usepackage{psvectorian} .However I searched the Miktex package manager, but could not find a single package named like that. What am I to do?

If you want specifically, I can enclose in the code, but I did not , as it would make the post unnecessarily huge..

Edit: I have installed all the packages of Miktex 2.9 . Still code is not working

Qwerty
  • 135
  • psvectorian is perhaps in the pstricks bundle (if this is called that way in MikTeX -- I've no idea, but psvectorian requires pstricks!) –  Apr 22 '16 at 19:10
  • 1
    Well, is the package not found or is the code not working? Try to compile with latex, not with pdflatex -- if it's a compilation problem, please have a look on http://tex.stackexchange.com/questions/254385/psvectorian-problem –  Apr 22 '16 at 19:17
  • @ChristianHupfer : Well , this worked ! but my problem doesn't end here. How am I to generate the pdf? – Qwerty Apr 22 '16 at 19:20
  • See my answer under the link I provided above -- the answer has a clue how to use pdflatex by \usepackage{auto-pst-pdf} –  Apr 22 '16 at 19:20
  • @ChristianHupfer: With reference to your link, how to enable write18 or --shell-espace in Texstudio? – Qwerty Apr 22 '16 at 19:27
  • I've have never used TeXStudio. Normally this is a MikTeX or TeXLive setting, so pdflatex --shell-escape does it under Linux, for example –  Apr 22 '16 at 19:29
  • @ChristianHupfer : Can you help me in some way? As you may have understood, I use Windows 7, so in texStudio, there is usually no place for giving commands like the one you mentioned? Or can you refer this question to someone who has used TexStudio? – Qwerty Apr 22 '16 at 19:34
  • I've just installed TeXStudio -- go to Options/Configure TeXStudio/--> Commands --> you should see a Textfield for pdflatex with pdflatex --synctex .... just enter --shell-escape between pdflatex and --syntex -- this should work –  Apr 22 '16 at 19:38
  • I just noticed: Under MikTeX it's called --enable-write18 apparently –  Apr 22 '16 at 19:40
  • See: http://tex.stackexchange.com/questions/37489/how-can-i-enable-write-18-on-a-miktex-installation –  Apr 22 '16 at 19:46

1 Answers1

0

To configure TeX Studio, goto Options > configure TeX Studio > Commandsand add--enable-write18` to the pdflatex switches in the relevant line, like this:

enter image description here

Bernard
  • 271,350