Thanks for the hint!

I tried but the issue prevails.  I am still getting the same error while
trying for a pdf preview.

The .cls file came along with the a pdf file that narrates how to use it
and all the references are make to the LaTeX commands/notation which I am
not aware of. At the beginning of the document it, indeed mentions that

"You must decide on an input encoding from start, and select the
corresponding
class option from tabell B.12 on sida 30. You must also tell rtthesis
whether you
intend to use part sectioning or not, see tabell B.1. There are many more
class op-
tions, but they will be mentioned below where there is room for a more
detailed
discussion for the corresponding features."

How is it possible to insert all the options that are mentioned in the
documentation through LyX instead of LaTeX ?


Thanks
Sajjadul

On Fri, Nov 27, 2015 at 10:34 PM, Sajjad <dosto.wa...@gmail.com> wrote:

> Hello forum,
>
> I managed to insert a custom .cls file into the lyx interface as I can
> access it from the Documents->Settings.
>
> But I get the following error once i try to generate a preview pdf . The
> errors are as follows:
>
>
> ///////////////////////////////////////////////////////////////////////////////
>
> 1. Class rtthesis Error: One of the options `latin1' and `utf8' must be
> given
>
> One of the options `latin1' and `utf8' must be given
>
> to select the character encoding of the loaded
>
> captions. Guessing your preference is just too
>
> dangerous
>
>
>
> 2. Package rtthesis-captions Error: One of the options `latin1' and `utf8'
> must
>
>
> One of the options `latin1' and `utf8' must
>
> be given to select the character encoding
>
> of the loaded captions
>
>
>
> 3. Package rtthesis-papers-captions Error: One of the options `latin1' and
>
>
>
> One of the options `latin1' and
>
> `utf8' must be given to select the
>
> character encoding of the loaded
>
> captions
>
>
>
> 4. LaTeX Error: Option clash for package inputenc.
>
>
> \setcounter
>
> {secnumdepth}{3}
>
> 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.
>
>
>
>
> ///////////////////////////////////////////////////////////////////////////////
>
>
>
>
> I am quite new to LaTex and I must use the custom class to write the
> report.  Do I have to insert the required values as asked through the
> .layout file or the .clas file.
>
>
>
> Some hints over this issue is earnestly requested.
>
>
>
>
> Thanks
>
> Sajjadul
>
>

Reply via email to