Assume the test.tex file for an image is as
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node [draw] {hello world!};
\end{tikzpicture}
\end{document}
I used the answer given by David to generate the .dvi file by running latex test.tex in the terminal, then used the .dvi file to generate the .eps file by dvips -E test.dvi; however, it shows a message and a warning that
dvips: Can't make it EPSF, sorry
Warning: no %%Page comments generated.
Any help on how the issue may be fixed?
%!PS (but not EPSF because of memory limits)not at all clear what limit it could be hitting here, but you can usearticleinstead ofstandalonestandalone doesn't help much as dvips -E will set a tight bounding box in any case – David Carlisle Aug 31 '21 at 16:00standalonedocument class is%!PS-Adobe-2.0. I changed the class fromstandalonetoarticle; the.psfile is generated; however its border is not correct and has cropped my image. I think this is the issue of.psand.epsin general. – CLAUDE Aug 31 '21 at 16:14[tikz]parameter to the\documentclassthere is no error; however, there are two issues. First off, the format of the file is.psnot.eps. Secondly, when I try to see it byevince, the.psfile is just a blank page. – CLAUDE Aug 31 '21 at 17:52\documentclass[preview,tikz]{standalone}seems to work, along with dvips -E -o file.eps – Ulrike Fischer Aug 31 '21 at 21:15