While LaTeX is a powerful way to prepare and typeset many types of publications, there are certain times when it is both more convenient and efficient to have a graphical user interface. This is why the document processor, LyX, was created.
LyX combines many of the best characterizes of a Word Processor with the strengths of LaTeX; and the result is a program that gives you the power of semantic writing without having to laboriously climb the LaTeX learning curve.
But as wonderful as LyX might be, it isn’t perfect.
One of LyX’s biggest limitations is the relatively small number of LaTeX document classes that can be used with it. This limitation is due to the fact that even though LyX uses LaTeX to create its final output, it isn’t able to directly read and parse LaTeX styles. Rather, it requires a special type of file (known as a “layout”) to help translate between what a user sees on the screen and what eventually appears on the printed page.
Unfortunately, creating layout files is a bit of an arcane art; and as a result, many document classes are never adapted to work with LyX.
(For more information about how the relationship between LyX and LaTeX –including an example of how to create a custom layout from an existing document class – please see my earlier article, Customizing LyX: Create an NIH Grant Proposal Template.)
This is not something that I would like to see happen with my custom Curriculum Vitae document class, xetexCV. I spent a great deal of time developing and debugging the document class and as a result, I would like to see people using it, including LyX users. As a result, in this article, I will introduce a layout file that allows you to use xetexCV from inside of LyX and I will show how LyX users can enjoy the same amenities (including an automatically generated bibliography) enjoyed by LaTeX purists.
What I will not discuss, however, are topics that I’ve written about previously. This includes the overview of xetexCV, its use and installation; the dissection of the LaTeX code and my design choices; or a detailed set of instructions on how to automatically generate a list of references from your BibTeX database. As some of that information is pertinent to things discussed here, you may wish to read the earlier entries in this series prior to proceeding.
Tags: LaTeX,LyX,xetexCV
Categories: Computer, rapidBOOKS, Writing/Literature
4 Comments »
Publications are the currency of ideas. Through them the experts, thinkers and dreamers of this world can share their thoughts and insights. A good publication is not only influential, but it’s even capable of shifting the course of a whole society, as Martin Luther King demonstrated with his “





































