# [texhax] using lineno.sty with latex

Uwe Lück uwe.lueck at web.de
Wed Feb 4 19:57:27 CET 2009

First hint:

At 17:19 04.02.09, Joao.Santos at ny.frb.org wrote:
>I am trying to use lineno.sty with latex.
>
>First, I went to CTAN, followed the instructions and downloaded the
>following files to my computer
>
>   lineno.sty, edtable.sty, ednmath0.sty, ltabptch.sty and  longtable.sty
>
>Second, in a latex document I am trying to add line, I added at the to
>
>\usepage{lineno}
At 18:10 04.02.09, Joao.Santos at ny.frb.org wrote:
>Sorry,  That is not the problem (that was a typo in my email) I am indeed
>using the command
>\usepackage{lineno}

>When I try to compile the document, I keep getting the following error
>
>(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/amsfonts/amssymb.sty)
>(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/graphics/epsfig.sty)
>(./lineno.sty
>
>! LaTeX Error: Missing \begin{document}.

This message is typical for typing errors in the document preamble ... or
in a loaded package ... One should guess here that you have a broken
version of lineno.sty ... but I wonder how this could have happened ... but
that also is why I asked for your .log file which could tell me about the
version of lineno.sty you are trying.

All the best,

Uwe L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20090204/3a78dc66/attachment.html