On request, I have created a LaTeX class and LyX layout for writing Universiti Utara Malaysia theses. Credit goes to Dr. Mohd. Hasbullah bin Omar for getting the output endorsed by UUM’s Graduate Office.
and click Add button. That is it. Now you can use .dia file directly to include graphic into you document. Happy trying. See you soon.
I faced this kind of error before. What I mean by unexplained is that the location of error shown by Lyx does not contain any error. Sometime it is just one word without any LaTeX command at the location. By the way, I should mention for the benefit of newcomer, Lyx will highlight the supposedly error location. In this case of error, the highlight is at random location and you can explain what is the actual error. The unexplained error usually occurs, at least I experienced it, once I include a citation. I use BibTeX to generate reference list. The .bib file is linked to the Lyx file and once a citation is included, BibTeX will run the process of creating the list. Error will occur if the bib database contains error, usually it has an illegal character. You know, citation info can be exported directly from publisher’s webpage or even from Google Scholar page. The auto export function is the culprit of the error. Some of the article title or even the name of authors can have illegal characters. Most of it is characters like % and &, which is the command character in LaTeX. So, the errors can be overcomed by making sure that the bib database doesn’t have any of this illegal characters. That will it for now. See you soon!
LaTeX users would know that there are two types of editor, source code type and WYSIWYM type.
But first, thank you to Najmi and Lian Tze for inviting me to share something here. It is a great honor to do so. Knowledge kept to oneself has no price but knowledge shared is priceless.
I guess Najmi and Lian Tze can cover the source code editor type since they are way more experienced than me. I started using and learning to use it on a WYSIWYM editor. Lyx to be specific. You can check www.lyx.org or wiki.lyx.org for info on the software itself. With it I started to discover a lot of magnificent thing and I fall in love with LaTeX.
However, now I use less Lyx because I feel it limits my creativity to customize the output document. But nevertheless, I still think that Lyx can provide a soft and smooth transition from other WYSIWYG type word processor.
As like many other open source software, Lyx can be installed on machine running Windows, Linux and MacOS. They have just launch a 2.x.x version in May to mark their 15 years of existence.
In Lyx, apart from class and style files, there are one more file type native to it only called layout file. This file controls the look of your document on the Lyx interface. If you type a chapter heading, you want to to appear center align, bold and blue in color, you control it with layout file. But bear in mind that, what appears on Lyx interface is not necessarily what appeared in the final output document. Because layout and class file are different in nature, although must be same in filename.
Lyx come with some pretty standard group of layout files for some popular class files like IEEETran, Elsarticle, beamer etc. But if you create your own class file, you might want to create you own layout file so that it can be included in Lyx. Without layout file, you can’t call the class file.
That is all for now. Next time, how to start using Lyx with zero knowledge of LaTeX. Stay tune!