Unfortunately, when I typeset the document source, the page numbers have disappeared. I also need the page numbers to be printed 1.0cm from the bottom edge of the page. What should I do to achieve that?
Last edited by Nadia_ZA on Sun Dec 21, 2014 2:27 pm, edited 1 time in total.
i added a documentclass and a document and i see the page numbers. Please test the example below. The problem seems to be somewhere else. You can find it by carefully hacking the document down.
As I scrolled down the DVI file, the page numbers are sometimes there, sometimes not and when they are visible, they are at the top of the header on the next page.
You can view dvi-files but they aren't meant to be viewed. You can transform the dvi to a pdf file (which is meant for viewing) by using the classical rout dvips filename -> ps2pdf filename or using dvipdfmx filename. Your editor should be able to convert them automatically.
The other and much more convenient alternative is to use pdflatex, which produces a pdf directly.
Advantage: You can use images in different formats, namely pdf, jpg and png.
Disadvantage: You cannot use eps graphics directly (well, the newest versions of the popular distributions can do this as well).
To sum it up, pdflatex is a little bit slower than latex (which, to be honest is pdflatex in dvi-mode) but you gain many advantages. Among them better support for hyperrefs and microtypographical features
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Problem solved! The page numbers can be seen. Now I know that I need to choose pdf as my output type and not dvi. Thanks a lot for your help. I really appreaciate it.
In order to view the DVI output correctly, I figured out that I need to change the page size setting to A4. Because it was set to letter (by default), the page numbers did not appear at the bottom right in the DVI file.
These are the things that I like about DVI:
(1) Allows jumping between the source and typeset views - just click F8 to go to the corresponding position in either view.
(2) Is the preferred mode during the edit/format cycle, when you are continually moving between the source and typeset views.
Anyway, thank you so much for all the information and suggestions you have provided.