Re: Inserting custom class file into lyx
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, Sajjadwrote: > 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 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 > >
Re: Inserting custom class file into lyx
Did you go to Document Settings -> Document Class -> Class Options and under Custom enter either “utf8” or “latin1”? As for the additional options, it looks like you need to pass them to \setupThesis{key1=value1,key2=value2} which you should be able to enter into the preamble. Otherwise you can enter latex commands within a document by entering “Tex Code” under the insert menu. I couldn’t get LyX to load the class, and have not played around with custom classes in LyX yet. However, creating a barebones latex file I get the same error you do if I do not pass the option of “utf” to the rtthesis class. -- Respectfully, Robert Susmilch === The "gobbledygook" in this email is due to this email having been "signed" with PGP for security. On Saturday, November 28, 2015 01:44:52 AM Sajjad wrote: > rtthesis signature.asc Description: This is a digitally signed message part.
Re: Inserting custom class file into lyx
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 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 signature.asc Description: This is a digitally signed message part.
Inserting custom class file into lyx
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 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
Re: no KBiBteX available for openSUSE Leap 42.1
On 11/26/2015 06:57 PM, Herbert Voss wrote: Am 26.11.2015 um 16:54 schrieb Michael Berger: I did the 'leap' from openSUSE 13.2 to 42.1 /KDE. Unfortunately, I can find no working Kbibtex for it. That hurts a lot to all of us with scientific and linguistic papers at work. Is somebody out there who can help? Any clue or replacement? http://software.opensuse.org/package/kbibtex Herbert Dear Alessandro, dear Herbert, thanks for your comments. Among other attempts I already tried so called "unstable packages" of KBibTex and ended up in a disaster. I could not even restart Leap and was forced to make a new clean install. So, please understand that I am more than reluctant to repeat what I've done until a user turns up who succeeded in finding and installing a workable version of KBibTex. If either of you has openSUSE Leap 42.1 installed and successfully uses such a workable version of KBibTex, please tell me which version it is and where to find it. Fortunately, I have openSUSE 13.2 still running on a second machine and could revert to it when it comes to my linguistic writings. These are the details of my openSUSE Leap 42.1 setup: KDE, BTRFS for root, XFS for /home Trying jabref to me would only be a second choice. Thanks and cheers, Michael Berger