OS: Fedora 15 (Linux)
"Authoring and Publishing" group installed from Fedora
lyx 2.0.1 installed from Fedora

To reproduce:
New from template->docbook_article.lyx
SaveAs test.lyx
export docbook  # this works without error
export dvi

# errors #####################
Using catalogs: /etc/sgml/sgml-docbook-4.2.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print
Working on: /tmp/lyx_tmpdir.TJ8888/lyx_tmpbuf2/test.sgml
jade:/tmp/lyx_tmpdir.TJ8888/lyx_tmpbuf2/test.sgml:14:17:E: element "DUMMY" 
undefined
jade:/tmp/lyx_tmpdir.TJ8888/lyx_tmpbuf2/test.sgml:14:56:E: element "DUMMY" 
undefined
Systemcall.cpp(259): Systemcall: 'db2dvi "test.sgml"' finished with exit code 8
Error: Cannot convert file
----------------------------------------
An error occurred while running:
db2dvi "test.sgml"
##################################

I get the same errors when running docbook2dvi on test.sgml.

Within test.lyx there is this (compacted):

\begin_layout Author
\begin_inset Flex Firstname
status collapsed
\begin_layout Plain Layout
Joe
\end_layout
\end_inset

\begin_inset Flex Surname
status collapsed
\begin_layout Plain Layout
Doe
\end_layout
\end_inset
\end_layout

The sgml generated looks like this:

<!DOCTYPE article  PUBLIC "-//OASIS//DTD DocBook V4.2//EN"
 [ <!ENTITY % output.print.png "IGNORE">
<!ENTITY % output.print.pdf "IGNORE">
<!ENTITY % output.print.eps "IGNORE">
<!ENTITY % output.print.bmp "IGNORE">
 ]>

<!-- SGML file was created by LyX 2.0.1
  See http://www.lyx.org/ for more information -->
<article lang="en">
<articleinfo>
<title>Title</title>
<date>Date </date><author>
<firstname><dummy>Joe</dummy></firstname><surname><dummy>Doe</dummy></surname></author><abstract>
<para>Abstract</para>
</abstract></articleinfo><sect1>
<title>First Section</title>
<para>First paragraph.</para></sect1></article>


Are the dummy tags supposed to come over from the lyx doc? Is this a
docbook toolchain misconfig on Fedora's part?

TIA
Phil






Reply via email to