Alex:
> So undeterred by the myriad of similar efforts I set to the task of
> producing a simple, specialized tool for LyX -> HTML conversion, and
> the result is eLyXer. It is meant to produce acceptable-to-beautiful
> HTML code, depending on your browser's Unicode and CSS rendering
> merits.


Dear Alex,

first of all thank you for your efforts. All sounds very promising. I
just ran eLyXer (under Ubuntu II/ 64-bit) a couple of times. Your
example-files userguide.lyx and devguide.lyx are translated without
errors.

Unfortunately, by testing on my own documents I receive only errors.
Some examples (of output) below. Let me know if you need full-preamble
and/or other details.

Kindest regards, Nikos



# article(KOMA-script)
./elyxer UpSideDown_World.lyx UpSideDown_world.html

Error at 223: \noindent
Line \begin_inset Newline newline not found
Traceback (most recent call last):
  File "./elyxer", line 1159, in <module>
    createbook(args)
  File "./elyxer", line 1155, in createbook
    book.parsecontents(reader, writer)
  File "./elyxer", line 1135, in parsecontents
    container = ContainerFactory.create(reader)
  File "./elyxer", line 1128, in create
    container.parse(reader)
  File "./elyxer", line 353, in parse
    self.contents = self.parser.parse(reader)
  File "./elyxer", line 176, in parse
    container = self.factory.create(reader)
  File "./elyxer", line 1128, in create
    container.parse(reader)
  File "./elyxer", line 353, in parse
    self.contents = self.parser.parse(reader)
  File "./elyxer", line 161, in parse
    container = self.factory.create(reader)
  File "./elyxer", line 1124, in create
    type = ContainerFactory.root.find(reader)
  File "./elyxer", line 134, in find
    return tree[ParseTree.default]
KeyError: '~~default~~'


# the same file as above but using the standard article class
./elyxer UpSideDown_World_standard_article.lyx
UpSideDown_world_standard_article.html

Error at 213: \noindent
Line \begin_inset Newline newline not found
Traceback (most recent call last):
  File "./elyxer", line 1159, in <module>
    createbook(args)
  File "./elyxer", line 1155, in createbook
    book.parsecontents(reader, writer)
  File "./elyxer", line 1135, in parsecontents
    container = ContainerFactory.create(reader)
  File "./elyxer", line 1128, in create
    container.parse(reader)
  File "./elyxer", line 353, in parse
    self.contents = self.parser.parse(reader)
  File "./elyxer", line 176, in parse
    container = self.factory.create(reader)
  File "./elyxer", line 1128, in create
    container.parse(reader)
  File "./elyxer", line 353, in parse
    self.contents = self.parser.parse(reader)
  File "./elyxer", line 161, in parse
    container = self.factory.create(reader)
  File "./elyxer", line 1124, in create
    type = ContainerFactory.root.find(reader)
  File "./elyxer", line 134, in find
    return tree[ParseTree.default]
KeyError: '~~default~~'


# standard article, just with a Title, Section and some text lines 
./elyxer test_greek_Dictum.lyx test_greek_Dictum.html

Line \begin_inset Newline newline not found
Traceback (most recent call last):
  File "../lyx-stuff/elyxer/elyxer", line 1159, in <module>
    createbook(args)
  File "../lyx-stuff/elyxer/elyxer", line 1155, in createbook
    book.parsecontents(reader, writer)
  File "../lyx-stuff/elyxer/elyxer", line 1135, in parsecontents
    container = ContainerFactory.create(reader)
  File "../lyx-stuff/elyxer/elyxer", line 1128, in create
    container.parse(reader)
  File "../lyx-stuff/elyxer/elyxer", line 353, in parse
    self.contents = self.parser.parse(reader)
  File "../lyx-stuff/elyxer/elyxer", line 176, in parse
    container = self.factory.create(reader)
  File "../lyx-stuff/elyxer/elyxer", line 1124, in create
    type = ContainerFactory.root.find(reader)
  File "../lyx-stuff/elyxer/elyxer", line 134, in find
    return tree[ParseTree.default]
KeyError: '~~default~~'

Reply via email to