Graphics, Figures & TablesTeXnicCenter and GasTeX

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Goyatuzo
Posts: 1
Joined: Tue Apr 17, 2012 11:04 pm

TeXnicCenter and GasTeX

Post by Goyatuzo »

I'm completely new to LaTeX, and I've searched all over Google trying to find a similar situation I'm having. I may be searching the wrong key words, but nonetheless I'm unable to find a solution to this problem.

I'm using MikTeX 2.9 and I'm using the gastex.sty file that is given by MikTeX. I did not manually install gastex.sty. As an IDE, I am using TeXnicCenter 2.0 Alpha 4.

Initially I tried to compile ex-gastex.tex they have in gastex's website, which they say should be used to test installation. I used LaTeX -> DVI and I noticed there were 14 warnings after I compiled it. I looked what those warnings were precisely and it says:

Code: Select all

latex> Package gastex Warning: Parameter loopwidth undefined on input line 13.
here is line 13:

Code: Select all

\drawloop[loopwidth=4](A){}
The other warnings are the same, except there are 5 consecutive instances where loopheight is causing the problem.

Code: Select all

  \begin{picture}(118,28)(-7,-11)
%     \put(-7,-11){\framebox(118,28){}}
    \node(A)(0,0){1}
    \drawloop[loopwidth=4](A){}
    \drawloop[loopwidth=6](A){}
    \drawloop[loopwidth=8](A){}
    \drawloop[loopwidth=10](A){}
    \drawloop[loopwidth=12](A){}
    
    \node(B)(20,0){2}
    \drawloop[loopheight=4](B){}
    \drawloop[loopheight=6](B){}
    \drawloop[loopheight=8](B){}
    \drawloop[loopheight=10](B){}
    \drawloop[loopheight=12](B){}
    
    \node(C)(40,0){3}
    \drawloop[loopdiam=4](C){}
    \drawloop[loopdiam=6](C){}
    \drawloop[loopdiam=8](C){}
    \drawloop[loopdiam=10](C){}
    \drawloop[loopdiam=12](C){}
    
    \node[Nw=4,Nh=4](D)(70,0){4}
    \drawloop[loopangle=0](D){}
    \drawloop[loopangle=90](D){}
    \drawloop[loopangle=180](D){}
    \drawloop[loopangle=270](D){}
    
    \node[Nw=4,Nh=4](E)(100,0){5}
    \drawloop[loopwidth=6,loopangle=0](E){}
    \drawloop[loopwidth=6,loopangle=90](E){}
    \drawloop[loopwidth=6,loopangle=180](E){}
    \drawloop[loopwidth=6,loopangle=270](E){}
  \end{picture}
loopangle and loopdiam do not seem to cause issues.

I ignored the warnings and just hit ctrl+shift F5 to view the file, and I saw this (the output file is on the right corner):
TXC-GasTeX.png
TXC-GasTeX.png (264.71 KiB) Viewed 1328 times
However, when I print the file out, everything is what it's supposed to be; it looks exactly like the output file gastex has on their website. So I'm confused whether there is a compiler issue at hand, or if there is an issue with the previewer.

Does anyone know of any solutions to this problem?
Last edited by localghost on Thu May 03, 2012 7:20 pm, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply