0) Run "texhash"
1) Here is the tex file example as tikz.tex:
%%%%%%%%%%
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{equation}
\int_{x=1}^{\infty} \frac{1}{(1+x)^2} = \frac{1}{2}
\end{equation}
\begin{tikzpicture}
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle (1cm);
\end{tikzpicture}
\end{document}
%%%%%%%%%%
2) Run "pdflatex tikz.tex"
3) Run this "dvips -o tikz.ps tikz.dvi" >>>> produces right tikz.ps
(note that "ps2pdf tikz.ps" produces right pdf file as well)
4) Run this "convert tikz.ps tikz.png" >>>> creates very big file
(1021656 byte whereas correct file size should be 13272 byte) ...that
does not do the job either - this is the issue
|
|
0
|
|
|
|
Reply
|
Sati
|
11/14/2010 5:05:05 AM |
|
On Nov 13, 9:05=A0pm, Sati <satish.ku...@gmail.com> wrote:
> 0) Run "texhash"
>
> 1) Here is the tex file example as tikz.tex:
> %%%%%%%%%%
> \documentclass{article}
> \usepackage{tikz}
> \begin{document}
> \begin{equation}
> =A0 =A0 =A0 =A0 \int_{x=3D1}^{\infty} \frac{1}{(1+x)^2} =3D \frac{1}{2}
> \end{equation}
> \begin{tikzpicture}
> \draw =A0(-1.5,0) =A0-- =A0(1.5,0);
> \draw =A0(0,-1.5) =A0-- =A0(0,1.5);
> \draw =A0(0,0) =A0circle =A0(1cm);
> \end{tikzpicture}
> \end{document}
> %%%%%%%%%%
>
> 2) Run "pdflatex tikz.tex"
>
> 3) Run this "dvips -o tikz.ps tikz.dvi" =A0>>>> produces right tikz.ps
> (note that "ps2pdf tikz.ps" produces right pdf file as well)
>
> 4) Run this "convert tikz.ps tikz.png" >>>> creates very big file
> (1021656 byte whereas correct file size should be =A013272 byte) ...that
> does not do the job either - this is the issue
In another instance, if I run "pdflatex tikz.tex" I get following ..
-------------------
(/usr/share/texmf/tex/generic/pgf/generic/pgf/frontendlayer/tikz/
tikz.code.tex
! Undefined control sequence.
l.15 \usepgflibrary
{plothandlers}
?
-------------------
|
|
0
|
|
|
|
Reply
|
Sati
|
11/14/2010 5:10:27 AM
|
|
In article
<879178d1-7211-4e28-92bc-c513421eff0d@o11g2000prf.googlegroups.com>,
Sati <satish.kumar@gmail.com> wrote:
> 0) Run "texhash"
>
> 1) Here is the tex file example as tikz.tex:
> %%%%%%%%%%
> \documentclass{article}
> \usepackage{tikz}
> \begin{document}
> \begin{equation}
> \int_{x=1}^{\infty} \frac{1}{(1+x)^2} = \frac{1}{2}
> \end{equation}
> \begin{tikzpicture}
> \draw (-1.5,0) -- (1.5,0);
> \draw (0,-1.5) -- (0,1.5);
> \draw (0,0) circle (1cm);
> \end{tikzpicture}
> \end{document}
> %%%%%%%%%%
>
> 2) Run "pdflatex tikz.tex"
>
> 3) Run this "dvips -o tikz.ps tikz.dvi" >>>> produces right tikz.ps
> (note that "ps2pdf tikz.ps" produces right pdf file as well)
>
> 4) Run this "convert tikz.ps tikz.png" >>>> creates very big file
> (1021656 byte whereas correct file size should be 13272 byte) ...that
> does not do the job either - this is the issue
Howdy,
I don't understand this. If you run pdflatex you end up with a pdf file,
not a dvi file.
Good Luck,
Herb Schulz
|
|
0
|
|
|
|
Reply
|
Herbert
|
11/14/2010 12:58:37 PM
|
|
On Nov 14, 4:58=A0am, Herbert Schulz <he...@wideopenwest.com> wrote:
> In article
> <879178d1-7211-4e28-92bc-c513421ef...@o11g2000prf.googlegroups.com>,
>
>
>
> =A0Sati <satish.ku...@gmail.com> wrote:
> > 0) Run "texhash"
>
> > 1) Here is the tex file example as tikz.tex:
> > %%%%%%%%%%
> > \documentclass{article}
> > \usepackage{tikz}
> > \begin{document}
> > \begin{equation}
> > =A0 =A0 =A0 =A0 \int_{x=3D1}^{\infty} \frac{1}{(1+x)^2} =3D \frac{1}{2}
> > \end{equation}
> > \begin{tikzpicture}
> > \draw =A0(-1.5,0) =A0-- =A0(1.5,0);
> > \draw =A0(0,-1.5) =A0-- =A0(0,1.5);
> > \draw =A0(0,0) =A0circle =A0(1cm);
> > \end{tikzpicture}
> > \end{document}
> > %%%%%%%%%%
>
> > 2) Run "pdflatex tikz.tex"
>
> > 3) Run this "dvips -o tikz.ps tikz.dvi" =A0>>>> produces right tikz.ps
> > (note that "ps2pdf tikz.ps" produces right pdf file as well)
>
> > 4) Run this "convert tikz.ps tikz.png" >>>> creates very big file
> > (1021656 byte whereas correct file size should be =A013272 byte) ...tha=
t
> > does not do the job either - this is the issue
>
> Howdy,
>
> I don't understand this. If you run pdflatex you end up with a pdf file,
> not a dvi file.
>
> Good Luck,
> Herb Schulz
No - it outputs .dvi file as mentioned below. Please see if you have
any suggestions to fix the issue as per steps put above
http://www.math.rug.nl/~trentelman/jacob/pdflatex/pdflatex.html
latex file compiles the file.tex to file.dvi. Correspondingly
pdflatex file
|
|
0
|
|
|
|
Reply
|
Sati
|
11/14/2010 9:24:25 PM
|
|
On Nov 14, 12:05=A0am, Sati <satish.ku...@gmail.com> wrote:
> 0) Run "texhash"
>
> 1) Here is the tex file example as tikz.tex:
> %%%%%%%%%%
> \documentclass{article}
> \usepackage{tikz}
> \begin{document}
> \begin{equation}
> =A0 =A0 =A0 =A0 \int_{x=3D1}^{\infty} \frac{1}{(1+x)^2} =3D \frac{1}{2}
> \end{equation}
> \begin{tikzpicture}
> \draw =A0(-1.5,0) =A0-- =A0(1.5,0);
> \draw =A0(0,-1.5) =A0-- =A0(0,1.5);
> \draw =A0(0,0) =A0circle =A0(1cm);
> \end{tikzpicture}
> \end{document}
> %%%%%%%%%%
>
> 2) Run "pdflatex tikz.tex"
i get a .pdf file (as suggested earlier). however, if i run 'latex
tikz.tex' then i get a .dvi file as expected.
also: i think it is not a good idea to name the file after one of the
packages in the file. it could lead to other problems in some cases.
> 3) Run this "dvips -o tikz.ps tikz.dvi" =A0>>>> produces right tikz.ps
> (note that "ps2pdf tikz.ps" produces right pdf file as well)
sure.
> 4) Run this "convert tikz.ps tikz.png" >>>> creates very big file
> (1021656 byte whereas correct file size should be =A013272 byte) ...that
> does not do the job either - this is the issue
not for me. tikz.png is only 6239 bytes. you might want to try to get
some more information from 'convert'.
cheers,
jon.
|
|
0
|
|
|
|
Reply
|
jon
|
11/14/2010 11:55:33 PM
|
|
On Nov 14, 3:55=A0pm, jon <jonwrobin...@gmail.com> wrote:
> On Nov 14, 12:05=A0am, Sati <satish.ku...@gmail.com> wrote:
>
>
>
> > 0) Run "texhash"
>
> > 1) Here is the tex file example as tikz.tex:
> > %%%%%%%%%%
> > \documentclass{article}
> > \usepackage{tikz}
> > \begin{document}
> > \begin{equation}
> > =A0 =A0 =A0 =A0 \int_{x=3D1}^{\infty} \frac{1}{(1+x)^2} =3D \frac{1}{2}
> > \end{equation}
> > \begin{tikzpicture}
> > \draw =A0(-1.5,0) =A0-- =A0(1.5,0);
> > \draw =A0(0,-1.5) =A0-- =A0(0,1.5);
> > \draw =A0(0,0) =A0circle =A0(1cm);
> > \end{tikzpicture}
> > \end{document}
> > %%%%%%%%%%
>
> > 2) Run "pdflatex tikz.tex"
>
> i get a .pdf file (as suggested earlier). =A0however, if i run 'latex
> tikz.tex' then i get a .dvi file as expected.
>
> also: i think it is not a good idea to name the file after one of the
> packages in the file. =A0it could lead to other problems in some cases.
>
> > 3) Run this "dvips -o tikz.ps tikz.dvi" =A0>>>> produces right tikz.ps
> > (note that "ps2pdf tikz.ps" produces right pdf file as well)
>
> sure.
>
> > 4) Run this "convert tikz.ps tikz.png" >>>> creates very big file
> > (1021656 byte whereas correct file size should be =A013272 byte) ...tha=
t
> > does not do the job either - this is the issue
>
> not for me. tikz.png is only 6239 bytes. =A0you might want to try to get
> some more information from 'convert'.
>
> cheers,
> jon.
Hi Jon,
I have tried with other names as well apart from "tikz.tex" and ran
into same issue. Do you have any pointer on how can I get the
information from 'convert' ?
Thanks
|
|
0
|
|
|
|
Reply
|
Sati
|
11/15/2010 6:57:27 AM
|
|
pdflatex t
convert t.pdf t.png
works on my Mac 10.6.5, MacTex 2010 updated daily with the
TexLive Manager.
el
On 2010-11-14 07:05 , Sati wrote:
>
> 0) Run "texhash"
>
> 1) Here is the tex file example as tikz.tex:
> %%%%%%%%%%
> \documentclass{article}
> \usepackage{tikz}
> \begin{document}
> \begin{equation}
> \int_{x=1}^{\infty} \frac{1}{(1+x)^2} = \frac{1}{2}
> \end{equation}
> \begin{tikzpicture}
> \draw (-1.5,0) -- (1.5,0);
> \draw (0,-1.5) -- (0,1.5);
> \draw (0,0) circle (1cm);
> \end{tikzpicture}
> \end{document}
> %%%%%%%%%%
>
> 2) Run "pdflatex tikz.tex"
>
> 3) Run this "dvips -o tikz.ps tikz.dvi" >>>> produces right tikz.ps
> (note that "ps2pdf tikz.ps" produces right pdf file as well)
>
> 4) Run this "convert tikz.ps tikz.png" >>>> creates very big file
> (1021656 byte whereas correct file size should be 13272 byte) ...that
> does not do the job either - this is the issue
--
If you want to email me, replace nospam with el
|
|
0
|
|
|
|
Reply
|
Dr
|
11/16/2010 4:47:44 AM
|
|
|
6 Replies
402 Views
(page loaded in 0.101 seconds)
Similiar Articles: missing file, tikz library - comp.text.texHi, I have a problem using the tikz library. The file pgflibrarytikzfadings.code.tex is ... instead of the file name you quoted? Dan To reply by email, change ... TikZ and shading a rectangle - comp.text.texEven in the manual of TikZ the issue arises, see manual version 2.0 on page 28. ... comp.text.tex Installing PGF-TIKZ - comp.text.tex Hi, I am trying to install TIKZ ... Bar charts in PDF - comp.text.texsure, no problem \usepackage{auto-pst-pf ... I think there are examples on the tikz > examples gallery > > also datatool has ... local =95 documentation in PDF ... change ... solaris 9 install problem: mouse cursor frozen, arrow keys not ...... the cursor was frozen, then rebooted and repeated the install - again no change. ... is obviously different from the Sun keyboards but that has not been a problem to install ... Bar plot color/shading issues - comp.soft-sys.matlabI would also like to change the alpha (transparency) value of the bar plot, which I ... Bar plot color/shading issues - comp.soft-sys.matlab Bar Graph: bar ... Converting UTF-16 character strings to ISO8859-1 - comp.os.vms ...>$Help iconv >But to get the UTF conversion tables, you need to install ... My problem now is convert the UTF-8 string to ansi string. ex ... the character involved is ... GNUplot installation on Mac OS/X - comp.graphics.apps.gnuplot ...change box colors in bar graph - comp.graphics.apps ... PGF-TIKZ - comp.text.tex Hi, I am trying to install TIKZ ... FileMaker problems converting from Mac 10.2.x to Mac 10 ... No output produced in latex - comp.text.texI have figured that > using tikz was causing that problem. I am not sure if its okay to run ... the equation editor. ... the best MIDI output - comp.dsp how to change ... Cannot install Matlab 2007a on Windows 7 - comp.soft-sys.matlab ...Dears, I can't install Matlab 2007a on Windows 7, I tried to change copatability settings but in vain ... ... Re: P4C800-DELUXE XP Install Problems --- Hanging... Windows ... Convert jpg file to solidworks readable format? - comp.cad ...Is they a way to convert to solidworks readable file. ... insert side. manage to import it but facing scale problem. ... conversion of tikz pictures into eps readable by Word ... dot2tex - A Graphviz to LaTeX converter| fauskes.netUsers have reported problems using dot2tex with ... wrapper script or EXE file for you and install ... The style attribute can be used to change arrow types. A PGF/TikZ ... installing - How to install a current version of TikZ? - TeX - LaTeX... with an old TeX distribution, do not manually install TikZ. ... Change 1: This corresponds to a reorganization of the ... Tikz \path problem, command not found 7/9/2012 2:03:03 PM
|