On Mon, Oct 23, 2000 at 10:08:03AM +0200, Idar Tollefsen wrote:
> Hello,
> 
> I have written a DocBook document and now I want to convert 
> it to a PDF file using virpdftex that comes with MiKTeX
> (I'm using LyX on Win32). I have first exported the file as a SGML file.

  Try the following step before exporting the file.
  Add in layout->document->extra options
  lang="no"
  
  This says that the document language is norwegian...
  
[...]

> After diging around that a little bit, and being total new to TeX,
> somone told me that I needed the following in the TeX document:
> 
> \documentclass{book}
> 
> or another form of the \documentclass instruction.
> 
> I don't know how this is supposed to work, or where the real
> problem is, but shouldn't the above mentioned conversion
> routines add these kind of things to my documents automatically?
> Someone even said that a TeX file _had_ to have a \documentclass
> tag. If that is the case, why is it not in my TeX file?

  The requirement for documentclass to be present is only valid for a latex
file. It happens that your .tex file is not latex but jadetex.
Both jadetex and latex are a set of macros over tex.

> What I really need is someone to point me in the right direction.
> Where do I go to look for help in this matter? I suspect this is a
> problem related to either OpenJade or DocBook, not LyX?

  Try the above step, if that fails I will give points where to post this
message.

> I don't think it is MiKTeX's fault, considering that the TeX file
> seems to lack some fundamental tags that MiKTeX would require
> in order to do what I want it to do.

  Should I say yes? (As in the last message ;-)

> I have now struggeled with this problem for about a week,
> so any help would be _greatly_ appreciated.
> 
> Thank you.
> 
> - Idar Tollefsen
> 

-- 
José

Reply via email to