MiKTeX and proTeXtcomplete vs. basic miktex - xelatex

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

complete vs. basic miktex - xelatex

Post by localghost »

ghostanime2001 wrote:oh man i hope texworks works with tex live the names sound like they are made for each other
Why should it not work? TeXworks is also shipped with TeX Live, thus configured for instant use (as it is in MiKTeX).

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: complete vs. basic miktex - xelatex

Post by ghostanime2001 »

texlive takes much longer to install than miktex. I think there is a bug with miktex and seeing pstricks code. It seems like there is a file that is removed either after all packages in package manager or after refreshing FNDB database or updating format.
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

complete vs. basic miktex - xelatex

Post by ghostanime2001 »

I have now installed texlive 2012. I ran into a problem compiling my code with both xelatex and pdflatex. How do you enable write18 or shell escape with texlive 2012 on texworks ? (or is it necessary ?) I am trying to compile the following code:

Code: Select all

\documentclass{article} 
\usepackage{pstricks}
\begin{document}
hello \Rnode{a}{foo} cat \Rnode{b}{bar} dog
\end{document}
I have attached error logs from both xelatex and pdflatex
Attachments
xelatex.log
(6.63 KiB) Downloaded 577 times
pdflatex.log
(4 KiB) Downloaded 532 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

complete vs. basic miktex - xelatex

Post by Stefan Kottwitz »

ghostanime2001 wrote:How do you enable write18 or shell escape with texlive 2012 on texworks ?
Via the main menu, Preferences, Typesetting, choose your engine, add -shell-escape:
TeXworks-shell-escape.png
TeXworks-shell-escape.png (25.26 KiB) Viewed 8983 times
Stefan
LaTeX.org admin
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: complete vs. basic miktex - xelatex

Post by ghostanime2001 »

I am still getting the same error message. Which path should I use to add that command ? see attachment
Attachments
all.png
all.png (52.27 KiB) Viewed 8977 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

complete vs. basic miktex - xelatex

Post by Stefan Kottwitz »

The command \Rnode is undefined. Where did you get it from? Replace it by a PSTricks command.

Stefan
LaTeX.org admin
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

complete vs. basic miktex - xelatex

Post by ghostanime2001 »

\Rnode is a pstricks command.

I found the error, I forgot to include pst-node in my preamble.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: complete vs. basic miktex - xelatex

Post by Stefan Kottwitz »

I see, just loading the package was missing. I guess we can leave this thread, which originally was about MiKTeX versions. :-) PSTricks questions could go to a new thread.

Stefan
LaTeX.org admin
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: complete vs. basic miktex - xelatex

Post by ghostanime2001 »

it was related to miktex being screwed up. THe author should really, really, really update the current installer (still 4503 for a year) and the basic installers are 4757. It should be thoroughly looked at from my point of view.
Post Reply