Quote:
Originally Posted by MikeB
OK. I figured out the new from template bit. When I load your template I get the error message:
'The document uses the missing TeX class "scrbook". Lyx will not be able to produce output'
Am I doing something wrong?
|
The problem is that I've used the koma-script document classes, that are not in the tetex "base" package, but in the "extras" package. In Debian 3.1 Sarge (and I suppose that also in Ubuntu), this is installed with
# apt-get install tetex-extra
What I did to make the pdf above from a .doc file was:
1. Open the .doc with OpenOffice and save a Text (I have to try gnuhtml2tex... as it should preserve italics and bold texts).
2. Open Lyx with the template above
3. Do new and Import Text as Lines (AFAIK it was lines and not paragraphs)
4. Select all in the new document and cut and paste to the template document
5. save the template docuament with another name
6. Select the title and change the paragraph styte to title, then the author, date, dadication (as quote), then chapter headings and so on (the text I used didn't had chapters, so it was fast).
7. Export as PDF.
And that was. The template has the correct document type, page type and margins and, configuration in the LaTeX preamble to use times font and to indent all paragraphs (as is done in Spain; in USA that is not the formal way to print books, but most are formatted with it anyway)