On Fri, Sep 10, 1999 at 12:46:47PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes:
> 
> Kayvan> How do I use DocBook instead of LinuxDoc with LyX? Is it
> Kayvan> possible?
> 
> The 1.0.4pre series have docbook support. All you have to do is use
> the DocBook class, AFAIK. What is not done yet is configure part of
> the job. We still consider docbook as if it were linuxdoc and this is
> of course wrong.

Hi Jean-Marc!

I've attached the newfile.lyx and the generated newfile.sgml using
the newest stuff from the 1.0.4pre series (latest CVS).

I still can't get the thing to work with DocBook and the latest sgmltools.

Here's what happens when I try to jade and tex the SGML:

  [kayvan@satyr ~/etc/scouts/lyx]$ jade -t tex newfile.sgml 
  jade:newfile.sgml:12:39:E: document type does not allow element "ULINK" here; 
missing one of "HONORIFIC", "FIRSTNAME", "SURNAME", "LINEAGE", "OTHERNAME", "CONTRIB" 
start-tag
  jade:newfile.sgml:13:10:E: end tag for "AUTHOR" which is not finished
  jade:newfile.sgml:17:7:E: document type does not allow element "PARA" here; missing 
one of "ABSTRACT", "PRINTHISTORY", "AUTHORBLURB", "LEGALNOTICE" start-tag
  jade:newfile.sgml:18:6:E: document type does not allow element "TOC" here
  jade:newfile.sgml:20:7:E: document type does not allow element "PARA" here; missing 
one of "ABSTRACT", "PRINTHISTORY", "AUTHORBLURB", "LEGALNOTICE" start-tag
  jade:newfile.sgml:23:7:E: document type does not allow element "PARA" here; missing 
one of "ABSTRACT", "PRINTHISTORY", "AUTHORBLURB", "LEGALNOTICE" start-tag
  jade:newfile.sgml:64:9:E: end tag for "SECT1" which is not finished
  jade:E: cannot open "newfile.dsl" (No such file or directory)
  jade:E: specification document does not have the DSSSL architecture as a base 
architecture
  
Nontheless, the tex file is created.

The tex file does not have a \begin{document} or \end{document} so
I added those: 

  [kayvan@satyr ~/etc/scouts/lyx]$ (echo '\begin{document}'; cat newfile.tex ; echo 
'\end{document}' ) > foo.tex

And then the jadetex run:

  [kayvan@satyr ~/etc/scouts/lyx]$ jadetex foo.tex 
  This is TeX, Version 3.14159 (Web2C 7.3.1)
  (foo.tex
  JadeTeX 1998/10/12: 2.3
  No file foo.aux.
  (/usr/share/texmf/tex/latex/base/ts1cmr.fd)
  (/usr/share/texmf/tex/latex/ot2cyr/ot2wncyr.fd)
  (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
  (/usr/share/texmf/tex/jadetex/isoents.tex
  ! TeX capacity exceeded, sorry [pool size=17372].
  l.1716 \def\
              Entxfr{\ensuremath{\mathfrak{x}}}% E4AC
  No pages of output.
  Transcript written on foo.log.
  [kayvan@satyr ~/etc/scouts/lyx]$ 

That's all the details.

-- 
Kayvan Aghaiepour Sylvan  | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan |                       | Robin Gregory (2/28/92)
#This file was created by <kayvan> Fri Sep 10 11:30:57 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass docbook
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Testing this stuff
\layout Author


\begin_inset LatexCommand \url[Kayvan A. Sylvan]{mailto:[EMAIL PROTECTED]}

\end_inset 


\layout Date

9/8/99
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard

Blah blah blah.
\layout Standard

khkhkj
\layout Section

Yohoho
\layout Standard

And more stuff.
\layout Subsection

And another section
\layout Standard

And in a horrible twist of fate...
\layout Itemize

A list
\layout Itemize

Of two or three
\layout Itemize

items
\layout Section

And another section.
\the_end
<!doctype article public "-//OASIS//DTD DocBook V3.1//EN">

<!-- DocBook file was created by LyX 1.0 (C) 1995-1999
by <kayvan> Fri Sep 10 11:31:08 1999
 -->
 <article>
  <artheader>
   <title>
  Testing this stuff
  </title>
  <author>
  <ulink url="mailto:[EMAIL PROTECTED]">Kayvan A. Sylvan</ulink>
  </author>
  <date>
  9/8/99
  </date>
  <para>
  <toc></toc>
  </para>
  <para>
  Blah blah blah.
  </para>
  <para>
  khkhkj
  </para>
  </artheader>
  <sect1>
   <title>
  Yohoho
  </title>
  <para>
  And more stuff.
  </para>
   <sect2>
    <title>
   And another section
   </title>
   <para>
   And in a horrible twist of fate...
   </para>
   <itemizedlist>
    <listitem>
    <para>
   A list
    </para>
    </listitem>
    <listitem>
    <para>
   Of two or three
    </para>
    </listitem>
    <listitem>
    <para>
   items
    </para>
    </listitem>
   </itemizedlist>
   </sect2>
  </sect1>
  <sect1>
   <title>
  And another section.
  </title>
  </sect1>


 </article>

newfile.tex

Reply via email to