On Tue, Oct 23, 2001 at 04:56:43PM +0100, Jose Abilio Oliveira Matos wrote:
> On Tue, Oct 23, 2001 at 09:19:23AM -0600, Charles Curley wrote:
> > 
> > Closer. I see in the minibuffer that Lyx claims to be exporting to
> > ~/lyx/bare.metal/t1.html. However, what I get is a file,
> > ~/lyx/bare.metal, with a length of 0 and an appropriate time, and no
> > html files.
> 
>   What does it happens if you export the document outside lyx and try to run
> the docbook to html outside lyx?

I take it you mean to export the document as a docbook. I get
bare.metal.sgml as a result of exporting. Once that's done, from an
Xterm:

[ccurley@charlesc lyx]$ db2html bare.metal.sgml 
output is bare.metal
mkdir: `bare.metal' exists but is not a directory
jw: Could not create "bare.metal" output directory
[ccurley@charlesc lyx]$ rm bare.metal
[ccurley@charlesc lyx]$ db2html bare.metal.sgml 
output is bare.metal
Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6/docbook-utils.dsl#html
Working on: /home/ccurley/lyx/bare.metal.sgml
Done.
[ccurley@charlesc lyx]$ ll bare.metal
total 64
drwxrwxr-x    2 ccurley  ccurley      4096 Oct 23 10:06 .
drwxrwxr-x    6 ccurley  ccurley      4096 Oct 23 10:06 ..
-rw-rw-r--    1 ccurley  ccurley      7711 Oct 23 10:06 t1.html
-rw-rw-r--    1 ccurley  ccurley      5793 Oct 23 10:06 x129.html
-rw-rw-r--    1 ccurley  ccurley      2488 Oct 23 10:06 x149.html
-rw-rw-r--    1 ccurley  ccurley      3390 Oct 23 10:06 x154.html
-rw-rw-r--    1 ccurley  ccurley      1534 Oct 23 10:06 x174.html
-rw-rw-r--    1 ccurley  ccurley      8198 Oct 23 10:06 x39.html
-rw-rw-r--    1 ccurley  ccurley      5255 Oct 23 10:06 x72.html
-rw-rw-r--    1 ccurley  ccurley      6256 Oct 23 10:06 x92.html

(The bare.metal that is not a directory is an old file left over from
a previous attempt to convert from within LyX.)

> 
> > OK, then I also need to specify an output directory for the
> > docbook->SGML converter, because right now that is lodged in the /tmp
> > tree.
> 
>   Ok, this is a bug.
>   The hints that I gave work for viewing the resulting html but not for
> exporting.

Exporting now sends to $HOME/lyx.

> 
>   I see the same behaviour, and I think that the problem is that we have the
> $HOME and /tmp directories in different partitions. Is that your
> case?

Correct.

-- 

                -- C^2

The world's most effective anti-virus software: Linux.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

PGP signature

Reply via email to