Sajjad,

Try going to Document Settings -> Language -> Encoding and choose Other. 
Within that list are UNICODE options. Otherwise, the list will request a 
minimal working example, which is the bare minimum lyx file that creates the 
error. I stress the word “minimum” as no one wants megabytes flying around to 
everyone on the list, unless it is necessary.

Also, you may manually load packages through the preamble. You can also load 
class options through the Document Settings dialog under Document Class -> 
Class Options.

-- 
Respectfully,

Robert Susmilch
===============
The "gobbledygook" in this email is due to this email having been "signed" 
with PGP for security.

On Friday, November 27, 2015 10:34:54 PM Sajjad 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

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to