Hi,

Sajjad <dosto.wa...@...> writes:
> Hello all,
> 
> I have attached the liuthesis.layout and the liuhesis.cls for your reference.

Thanks. This makes it much easier to troubleshoot.

> When i try to see a preview it gives me several LaTeX error. They are :
> 
> 
> Undefined Control sequence
> 
> ".ding division definition \thesis <at> divTAG.}

The documentation for liuthesis (section 2.1.4) says that you must provide the
department (one of ida, ifm, etc.) as a class option. In LyX you would go with
the menu to:

Document > Settings > Document Class

And then insert your choice in the "custom" field under "Class options".

> AND 
> 
> 
> LaTeX Error: Option clash for package inputenc.
> 
> The package inputenc has already been loaded with options:
>   [latin1]
> There has now been an attempt to load it with options
>   [latin9]
> Adding the global options:
>   latin1,latin9
> to your \documentclass declaration may fix this.
> Try typing  <return>  to proceed.
> 
> 
> Any hint on that ?

This is because liuthesis requires a specific input encoding. Instruct LyX to
obey this by going to:

Document > Settings > Language

and set the Encoding to "Other: Western European (ISO 8859-1)"

> I have several LateX file inside that package folder. Do i have to edit any
one of them to get it functional?

In principle, no, you don't have to edit any tex file. You should consult
liuthesis.pdf; it seems to give a good description of your LaTeX class.  Some
non-standard commands, such as \thesisDate, can be inputed in LyX inside a TeX
box (Insert > TeX Code).

If you feel adventurous, you can modify your layout file to make LyX understand
these commands without the use of TeX Code.  For that, see LyX's Help >
Customization.  Eventually, if you implement all the features of the TeX class
into the LyX layout, you might want to submit your layout file for inclusion
with the liuthesis.zip distribution.

> 
> 
> Regards
> Sajjad
> 

Cheers,
Julien


Reply via email to