Re: Latex - absolute beginners

2011-04-20 Thread Andre Poenitz
On Thu, Apr 21, 2011 at 01:21:45AM +0200, Marc Wijnand wrote:
 Hi
 
 I am trying to learn how to make a document with Latex. I am working on Mac 
 OS X and I installed MacTex and LyX.
 I just typed
 
   \documentclass{document}
   
   \begin{document}
   Hello world!
   \end{document}
 
 but when trying to make a pdf, I get this error message:


 
 What did I do wrong?

Just type

Hello world!

and make a pdf from it.

Andre'



Re: Latex - absolute beginners

2011-04-20 Thread David L. Johnson

On 04/20/2011 07:21 PM, Marc Wijnand wrote:

Hi

I am trying to learn how to make a document with Latex. I am working on Mac OS 
X and I installed MacTex and LyX.
I just typed

\documentclass{document}

\begin{document}
Hello world!
\end{document}

but when trying to make a pdf, I get this error message:


As the message indicated, you did not enter those commands in the 
preamble, which is accessible from within LyX through Documents - 
Settings - preamble (bottom of list).  You are trying to enter raw TeX 
in a LyX document.  This is not how it is done.


--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.


Re: Latex - absolute beginners

2011-04-20 Thread Liviu Andronic
On Thu, Apr 21, 2011 at 1:42 AM, Andre Poenitz
andre.poen...@mathematik.tu-chemnitz.de wrote:
       \documentclass{document}

       \begin{document}
       Hello world!
       \end{document}

 Just type

        Hello world!

 and make a pdf from it.

Yes. LyX will generate the tags above automatically. To check, enable
View  View source. Also, you will want to fully read Help  Intro and
Chapters 2,3 of Help  Tutorial.
Liviu

PS Don't forget to change the document font to LM for starters, to get
nice vector fonts.


Re: Latex - absolute beginners

2011-04-20 Thread Andre Poenitz
On Thu, Apr 21, 2011 at 01:21:45AM +0200, Marc Wijnand wrote:
 Hi
 
 I am trying to learn how to make a document with Latex. I am working on Mac 
 OS X and I installed MacTex and LyX.
 I just typed
 
   \documentclass{document}
   
   \begin{document}
   Hello world!
   \end{document}
 
 but when trying to make a pdf, I get this error message:


 
 What did I do wrong?

Just type

Hello world!

and make a pdf from it.

Andre'



Re: Latex - absolute beginners

2011-04-20 Thread David L. Johnson

On 04/20/2011 07:21 PM, Marc Wijnand wrote:

Hi

I am trying to learn how to make a document with Latex. I am working on Mac OS 
X and I installed MacTex and LyX.
I just typed

\documentclass{document}

\begin{document}
Hello world!
\end{document}

but when trying to make a pdf, I get this error message:


As the message indicated, you did not enter those commands in the 
preamble, which is accessible from within LyX through Documents - 
Settings - preamble (bottom of list).  You are trying to enter raw TeX 
in a LyX document.  This is not how it is done.


--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.


Re: Latex - absolute beginners

2011-04-20 Thread Liviu Andronic
On Thu, Apr 21, 2011 at 1:42 AM, Andre Poenitz
andre.poen...@mathematik.tu-chemnitz.de wrote:
       \documentclass{document}

       \begin{document}
       Hello world!
       \end{document}

 Just type

        Hello world!

 and make a pdf from it.

Yes. LyX will generate the tags above automatically. To check, enable
View  View source. Also, you will want to fully read Help  Intro and
Chapters 2,3 of Help  Tutorial.
Liviu

PS Don't forget to change the document font to LM for starters, to get
nice vector fonts.


Re: Latex - absolute beginners

2011-04-20 Thread Andre Poenitz
On Thu, Apr 21, 2011 at 01:21:45AM +0200, Marc Wijnand wrote:
> Hi
> 
> I am trying to learn how to make a document with Latex. I am working on Mac 
> OS X and I installed MacTex and LyX.
> I just typed
> 
>   \documentclass{document}
>   
>   \begin{document}
>   Hello world!
>   \end{document}
> 
> but when trying to make a pdf, I get this error message:


> 
> What did I do wrong?

Just type

Hello world!

and make a pdf from it.

Andre'



Re: Latex - absolute beginners

2011-04-20 Thread David L. Johnson

On 04/20/2011 07:21 PM, Marc Wijnand wrote:

Hi

I am trying to learn how to make a document with Latex. I am working on Mac OS 
X and I installed MacTex and LyX.
I just typed

\documentclass{document}

\begin{document}
Hello world!
\end{document}

but when trying to make a pdf, I get this error message:


As the message indicated, you did not enter those commands in the 
preamble, which is accessible from within LyX through Documents -> 
Settings -> preamble (bottom of list).  You are trying to enter raw TeX 
in a LyX document.  This is not how it is done.


--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.


Re: Latex - absolute beginners

2011-04-20 Thread Liviu Andronic
On Thu, Apr 21, 2011 at 1:42 AM, Andre Poenitz
 wrote:
>>       \documentclass{document}
>>
>>       \begin{document}
>>       Hello world!
>>       \end{document}
>>
> Just type
>
>        Hello world!
>
> and make a pdf from it.
>
Yes. LyX will generate the tags above automatically. To check, enable
View > View source. Also, you will want to fully read Help > Intro and
Chapters 2,3 of Help > Tutorial.
Liviu

PS Don't forget to change the document font to LM for starters, to get
nice vector fonts.