I tried using the advices online for implementing tikz into the texmaker and Miktex combiantion. The Miktex is updated and the texmaker runs normally. The tikz version from a flow example runs properly but creates a lot of white space. I have two problems, first that my simple code does not generate any pdf, the compilation goes on and on and ddoes not end unless i end it manually
I have already changed the texmaker settings for latex and pdf latex to
latex -interaction=nonstopmode --shell-escape %.tex
pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex
I would like to make the tikz pictures seperately into pdfs and save them and include them later into the main tex file. I have some experience with latex but not so much with tikz, so wondering if someone would help me out understand more about my problem.
below is the code
\documentclass{article}
\usepackage[utf8]{inputenc}
%\usepackage{pgfplots}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\usetikzlibrary{external}
\tikzexternalize[prefix=tikz/]
% \pgfplotsset{compat=1.8}
% \pgfrealjobname{trial}
\tikzsetnextfilename{raju1}
% code for defining the flow diagram controls
\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30]
\tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=blue!30]
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, text width=3cm, draw=black, fill=orange!30]
\tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30]
\tikzstyle{arrow} = [thick,->,>=stealth]
\begin{document}
\begin{tikzpicture}%[node distance =2cm]
% Process informatioan and flow
%\node (start) [startstop] {Atmosphere}
\node (in1) [io] {Atmosphere}
\node (pro1) [process, below of =in1] {Sensor/Transducer}
\node (pro2) [process, below of =pro1] {Signal Conditioning circuits}
\node (pro3) [process, below of =pro2] {Low Pass Filter}
\node (dec1) [decision, below of =pro3,yshift=0.5cm] {Sample and Hold - Clock timing}
\node (pro4) [process, below of =dec1] {Analog to Digital converter}
\node (pro5) [process, below of =pro4] {Processor}
\node (out1) [io, below of= pro5] {Observation}
% Drawing of arrows
\draw [arrow] (inl) -- (pro1)
\draw [arrow] (pro1) -- (pro2)
\draw [arrow] (pro2) -- (pro3)
\draw [arrow] (pro3) -- (dec1)
\draw [arrow] (dec1) -- (pro4)
\draw [arrow] (pro4) -- (pro5)
\draw [arrow] (pro5) -- (out1)
\end{tikzpicture}
\end{document}
Thanks Ashim