[texhax] using lineno.sty with latex

William Adams will.adams at frycomm.com
Wed Feb 4 17:55:21 CET 2009


On Feb 4, 2009, at 11:19 AM, 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}

Try \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}.
>
> Any suggestion to fix this problem or for using lineno.sty correctly  
> with latex?



Do something like this:

\documentclass{minimal}
\usepackage{lineno}
\begin{document}
Test.

Testing.

Testing 1, 2, 3

\end{document}
-- 
William Adams
senior graphic designer
Fry Communications




More information about the texhax mailing list