Hey I want a report format, how can I spcecify in Plain TeX that it is a report, like in LaTeX we have
\documentclass{report}
How can this be done for a Plain TeX document? And, how do I add images in a Plain TeX document?
It depends on the fact what do you mean to do by "report" document class. For example, if you need only write:
\documentclass{report}
\begin{document}
Hello world.
\end{document}
then the same could be done in plain TeX by:
Hello world.\bye
But if you need something more special (from LaTeX features) then you need to program this by your own macros.
But there is another alternative. You can use OPmac macro package for example. This macro package provides similar features like LaTeX for plain TeX users (references, hyperlinks, colors, graphics, font managing, ams-math, TOC plus index auto-generating, bib. references, etc.). The advantage is that the macros from OPmac are much more simple than LaTeX equivalents, so you can start with inspiration for your own macros here. Second advantage is that the markup language for authors are more simple without many \begin{foo}...\end{foo}, without many curly braces etc. The markup doesn't hide the problematic of core TeX, but it cooperates with it.
I know many people, they tried plain TeX + OPmac and they found that it is more comfortable and more simple than using LaTeX. For example, all OPmac features are documented at only 16 pages (for users) and there is detail technical documentation of all macros.
Fundamentally, the difference between different kinds of document can be reduced to:
Plain TeX provides a very small set of 'core' macros to produce documents, but they are not targeting any particular document type. As such, the expectation is that either you define any more 'focused' macros and design decisions at the start of the file or that you write a secondary file containing the same information and \input it at the start of your document. Knuth shows these ideas in The TeXbook and of course in the source for The TeXbook itself (which uses a file called manmac.tex containing macros to support producing the book).
LaTeX formalises the idea of a 'set of macros' by requiring a document class for each document produced. The idea here is that most users most of the time should be focussing on their content. However, there's nothing that a LaTeX document class can do that a set of macros simply read into plain TeX cannot do.
Worth noting in terms of the comparison with the LaTeX report class is that LaTeX's core classes don't do a lot. They provide some basic logical commands (sectioning and so forth) and make some basic design decisions, but they are not particularly focussed on specific cases. As such, a set of 'utility' plain macros will offer similar abilities.
pdftexit is\pdfximageand some arguments to it, but forTeXproducing.dviI have never done such things (I am not that old :-P)) There is no\documentclassstuff in plainTeX– Jan 04 '15 at 09:16