Re: \title before \begin{document}

2010-01-18 Thread Jean-Marc Lasgouttes
Philip Stubbs phi...@stuphi.co.uk writes:
 I now would like to go the next step, and leave vim and use LyX as my
 editor. I started looking at the *.layout files to see what I need to
 do. What I cant seem to work out is how to place the \title etc before
 the \begin{document}

This will be possible in next version (1.7/2.0). For now, you should put
these commands in the document preamble.

JMarc


Re: \title before \begin{document}

2010-01-18 Thread Uwe Stöhr

Philip Stubbs schrieb:


\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}


The next LyX version will support this structure, but why have you 
chosen to have the title before \begin{document}? I mean the article 
class have it behind \begin{document} and I cannot see the benefit of 
changing this.


regards Uwe



Re: \title before \begin{document}

2010-01-18 Thread Philip Stubbs
2010/1/18 Uwe Stöhr uwesto...@web.de:
 Philip Stubbs schrieb:

 \documentclass[draft,approved]{danrep}
 \title{This is a test report title that I will make quite long.}
 \repnum{10-00}
 \author{Philip Stubbs}
 \date{2010-01-12}
 \begin{document}

 The next LyX version will support this structure, but why have you chosen to
 have the title before \begin{document}? I mean the article class have it
 behind \begin{document} and I cannot see the benefit of changing this.

There may well be no benefit at all. It is just the way it turned out.
I have been developing my class file for some time. It is more
recently that I decided to try and start using LyX. When I first
started using LaTeX, the hacking made the boring job of writing
reports more fun. Now I am more inclined to want to just do the
report, so I need to streamline the process, but there is no way I
could cope with going back to Word. :-)

Anyhow, since I can't be bothered to wait for version 2.0, I spent a
quick half hour redoing my class file. It looks like I am 95% there,
so will be able to start work on my LyX layout soon.

Thanks for the help.
-- 
Philip Stubbs


Re: \title before \begin{document}

2010-01-18 Thread Jean-Marc Lasgouttes
Philip Stubbs phi...@stuphi.co.uk writes:
 I now would like to go the next step, and leave vim and use LyX as my
 editor. I started looking at the *.layout files to see what I need to
 do. What I cant seem to work out is how to place the \title etc before
 the \begin{document}

This will be possible in next version (1.7/2.0). For now, you should put
these commands in the document preamble.

JMarc


Re: \title before \begin{document}

2010-01-18 Thread Uwe Stöhr

Philip Stubbs schrieb:


\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}


The next LyX version will support this structure, but why have you 
chosen to have the title before \begin{document}? I mean the article 
class have it behind \begin{document} and I cannot see the benefit of 
changing this.


regards Uwe



Re: \title before \begin{document}

2010-01-18 Thread Philip Stubbs
2010/1/18 Uwe Stöhr uwesto...@web.de:
 Philip Stubbs schrieb:

 \documentclass[draft,approved]{danrep}
 \title{This is a test report title that I will make quite long.}
 \repnum{10-00}
 \author{Philip Stubbs}
 \date{2010-01-12}
 \begin{document}

 The next LyX version will support this structure, but why have you chosen to
 have the title before \begin{document}? I mean the article class have it
 behind \begin{document} and I cannot see the benefit of changing this.

There may well be no benefit at all. It is just the way it turned out.
I have been developing my class file for some time. It is more
recently that I decided to try and start using LyX. When I first
started using LaTeX, the hacking made the boring job of writing
reports more fun. Now I am more inclined to want to just do the
report, so I need to streamline the process, but there is no way I
could cope with going back to Word. :-)

Anyhow, since I can't be bothered to wait for version 2.0, I spent a
quick half hour redoing my class file. It looks like I am 95% there,
so will be able to start work on my LyX layout soon.

Thanks for the help.
-- 
Philip Stubbs


Re: \title before \begin{document}

2010-01-18 Thread Jean-Marc Lasgouttes
Philip Stubbs  writes:
> I now would like to go the next step, and leave vim and use LyX as my
> editor. I started looking at the *.layout files to see what I need to
> do. What I cant seem to work out is how to place the \title etc before
> the \begin{document}

This will be possible in next version (1.7/2.0). For now, you should put
these commands in the document preamble.

JMarc


Re: \title before \begin{document}

2010-01-18 Thread Uwe Stöhr

Philip Stubbs schrieb:


\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}


The next LyX version will support this structure, but why have you 
chosen to have the title before \begin{document}? I mean the article 
class have it behind \begin{document} and I cannot see the benefit of 
changing this.


regards Uwe



Re: \title before \begin{document}

2010-01-18 Thread Philip Stubbs
2010/1/18 Uwe Stöhr :
> Philip Stubbs schrieb:
>
>> \documentclass[draft,approved]{danrep}
>> \title{This is a test report title that I will make quite long.}
>> \repnum{10-00}
>> \author{Philip Stubbs}
>> \date{2010-01-12}
>> \begin{document}
>
> The next LyX version will support this structure, but why have you chosen to
> have the title before \begin{document}? I mean the article class have it
> behind \begin{document} and I cannot see the benefit of changing this.

There may well be no benefit at all. It is just the way it turned out.
I have been developing my class file for some time. It is more
recently that I decided to try and start using LyX. When I first
started using LaTeX, the hacking made the boring job of writing
reports more fun. Now I am more inclined to want to just do the
report, so I need to streamline the process, but there is no way I
could cope with going back to Word. :-)

Anyhow, since I can't be bothered to wait for version 2.0, I spent a
quick half hour redoing my class file. It looks like I am 95% there,
so will be able to start work on my LyX layout soon.

Thanks for the help.
-- 
Philip Stubbs