Greetings,

 

I'm using LyX 1.6.1 on Windows Vista. (I've verified that the problem
persists using my home computer - LyX 1.6.2 and Windows XP.) 

 

I'm trying to generate a pdf version of a manuscript using the LaTeX
files provided at
http://www.oxfordjournals.org/our_journals/biosts/for_authors/latex%20te
mplate.zip. I downloaded the template files, put the cls and sty files
in an appropriate sub-folder of my MikTeX distribution, and ran texhash.
Next, following the LyX documentation to the best of my abilities, I
created the following file, bio.layout, in my /Resources/layouts folder:

 

#% Do not delete the line below; configure depends on this

# \DeclareLaTeXClass[bio,
times.sty,modamsfonts.sty,modamssymb.sty,modamsthm.sty,modnatbib.sty,mod
bm.sty,modlastpage.sty]{article (Biostatistics)}

# Input general definitions

Input stdclass.inc

 

Preamble

                \usepackage{times, modamsfonts, modamssymb, modamsthm,
modnatbib, modbm, modlastpage}

EndPreamble

 

I started a new document and set the Document class to "article
(Biostatistics)". I wrote some random text and was able to generate the
pdf. I inserted the title and pdf generation failed with error title
"LyX: cannot view file" and message "File does not exist:
C:\...\newfile1.pdf" . However, dvi generation succeeded, although a
MikTeX problem report was generated with message "Not all fonts could be
loaded. See 'File->Document Properties', for details." I attempted to
use dvipdfm to convert the dvi file to pdf, but that failed with an
extensive error message essentially saying that some fonts were missing.


 

I discovered another problem when I expanded my test file to include and
author and an abstract. In the dvi file, only the first character of the
abstract appears under the "Summary" heading; the rest appears after the
"Keywords" indicator. (The pdf generation continued to fail, as
expected.) 

 

Thanks,

Corey

Reply via email to