Thanks rgcheck,
I have gone through the manual of configuring Lyx and there they have
explained how to include custom .clas file.
I think i followed the steps and i do see the 'liuthesis' in the Document
class option under Documents->Settings.
But When i check "liuthesis" , the system hangs. So i think i need to
elaborate the steps that i have followed.
1. I created a directory called /usr/local/texmf/latex/liuthesis and
unzipped the file under the liuthesis folder. Now the folder 'liuthesis'
contains more subdirectories.
2. Opened the texmf.cnf file and edited the TEXMFLOCAL with the path
specified in step 1.
3. Executed texhash and it created a ls-R.
4. From LyX i executed the Reconfigure command.
5. created a liuthesis.layout file and put in the directory where the LyX
installation put all the layout files, so that LyX can find it.
6. The liuthesis.layout file contain the following:
#% Do not delete this line below; configure depends on this
# \DeclareLaTeXClass{liuthesis}
7. I ran Reconfigure again.
8 Restarted LyX and chose the liuthesis class from the layout option and the
program hangs.
Is there anything i missed? Where should i look into to fix this?
Regards
Sajjad
On Wed, Apr 7, 2010 at 1:49 PM, rgheck <[email protected]> wrote:
> On 04/06/2010 04:27 PM, Sajjad wrote:
>
>> Hello,
>>
>> In most of the report writing i used the report class. The university that
>> i
>> am studying in have own class and i want to import it into LyX's document
>> class by importing custom layout. The custom layout accepts only one
>> .layout file,
>> where as the my university 'liuthesis' contains several .tex file.
>>
>>
>>
> Since liuthesis is a document class, it is provided as a .cls file,
> liuthesis.cls. The .tex files that are provided with it are examples,
> documentation, and the like, and have nothing to do with layout.
>
> What you will need to be able to use liuthesis with LyX is a file
> liuthesis.layout. Since liuthesis is based upon book, you can get started
> simply by copying book.layout to liuthesis.layout and changing the second
> line to:
> \DeclareLaTeXClass{liuthesis}
> This will not give you access in LyX to the special constructs of
> liuthesis, but it will get you started. You should then be able to import
> the .tex files provided as examples.
>
> Richard
>
>