Re: LyX and Docbook/XML

2008-12-03 Thread José Matos
On Wednesday 26 November 2008 20:13:29 Ethan Metsger wrote:
> On Wed, 26 Nov 2008 14:48:26 -0500, José Matos <[EMAIL PROTECTED]> wrote:
> > I would have done before if I had not been victim of a cold. :-)
>
> I'm currently recovering from one, too--no worries about the delay.
>
> > What are the problems that you have encountered. I am interested to fix
> > them
> > in both the stable and the development series.
> >
> > I am specially interested in the problems you are having with the xml
> > generated docbook.
>
> I'll file some bug reports (and throw them back in this thread), but in

Please do.

> general it looks like the  tag is improperly generated (using
> 'lang="EN_US"' appears to be invalid), and I have not been able to get

OK, the right language should be "EN", I thought I had this working, I will 
fix it. The best fix would probably to have a list of supported stylesheet 
languages and if necessary return the nearest.

> graphics properly embedded in the HTML output.  The  section
> is also not properly outputted; I suspect this can be fixed pretty easily
> by layout changes, but I'm not sure.

A better error handling would allow to understand what the error is.

> The user-customized preamble is put into the doctype declaration, too--I
> don't really consider this a bug, but I was a little surprised to find it
> in the output.

The rationale is that is the only place where you can define entities. This is 
more or less the analog of latex preamble although you do more in latex than 
just to define constants.

> LyX is also a few revisions behind in its DocBook support, at least
> according to the doctype (I think 4.4 is the last 4.x revision, and 5.x is
> current; the generated XML says that it's using 4.2).

That can be easily changed in the layout file. I should have updated the 
layout before the last update to 1.6.0. Again one of the problems it that this 
is not documented.

> I've used both the sgmltools package and the sgml2x package.  I'll make
> sure to describe the pertinent information in the bugzilla filings when
> the time comes, as the two seem to work slightly differently.
>
> Thanks again for all your hard work, guys; I really do appreciate it.

Thanks,

> Best,
>
> Ethan
> ([EMAIL PROTECTED])

-- 
José Abílio



Re: LyX and Docbook/XML

2008-11-26 Thread Ethan Metsger


On Wed, 26 Nov 2008 14:48:26 -0500, José Matos <[EMAIL PROTECTED]> wrote:


I would have done before if I had not been victim of a cold. :-)


I'm currently recovering from one, too--no worries about the delay.

What are the problems that you have encountered. I am interested to fix  
them

in both the stable and the development series.

I am specially interested in the problems you are having with the xml
generated docbook.


I'll file some bug reports (and throw them back in this thread), but in  
general it looks like the  tag is improperly generated (using  
'lang="EN_US"' appears to be invalid), and I have not been able to get  
graphics properly embedded in the HTML output.  The  section  
is also not properly outputted; I suspect this can be fixed pretty easily  
by layout changes, but I'm not sure.


The user-customized preamble is put into the doctype declaration, too--I  
don't really consider this a bug, but I was a little surprised to find it  
in the output.


LyX is also a few revisions behind in its DocBook support, at least  
according to the doctype (I think 4.4 is the last 4.x revision, and 5.x is  
current; the generated XML says that it's using 4.2).


I've used both the sgmltools package and the sgml2x package.  I'll make  
sure to describe the pertinent information in the bugzilla filings when  
the time comes, as the two seem to work slightly differently.


Thanks again for all your hard work, guys; I really do appreciate it.

Best,

Ethan
([EMAIL PROTECTED])


Re: LyX and Docbook/XML

2008-11-26 Thread José Matos
On Friday 21 November 2008 16:18:35 Ethan Metsger wrote:
> Hi, all.
>
> I promise I'll be quiet after this post--I don't mean to pester (or imply  
> by any stretch that I'm unhappy with LyX in general!).  But can anyone  
> comment on this?

I would have done before if I had not been victim of a cold. :-)

> For what it's worth, I really do like LyX, and I'm not trying to troll or  
> put on anyone.  I'm just curious about the capabilities and hoping not a  
> little to spur its adoption among my general work populace.

What are the problems that you have encountered. I am interested to fix them 
in both the stable and the development series.

I am specially interested in the problems you are having with the xml 
generated docbook.

> Thanks again,
>
> Ethan

-- 
José Abílio








Re: LyX and Docbook/XML

2008-11-21 Thread Ethan Metsger
On Fri, 21 Nov 2008 11:30:47 -0500, Steve Litt <[EMAIL PROTECTED]>  
wrote:



I considered both LyX and DocBook. At the time, the only free
software front end I could find for DocBook was Emacs, and my wrists just
aren't that flexible.


Hi, Steve.

Thanks for your comments.  My issue at this point isn't converting to  
LyX--I already know I *want* to use it.  The issue is that management  
prefers to avoid LaTeX and instead opt for our local industry standard,  
which is DocBook.  We're also involved in the XML databinding business, so  
spending some extra time with XML-related technologies is more comfortable  
in general.


LyX works well with DocBook/SGML (save for a few problems I've had with  
images).  DocBook, however, is transitioning away from SGML to XML, and  
LyX doesn't support the XML format as well as I need.  My attempts to  
transform the XML export into HTML failed, and I think this is because the  
XML export from LyX is not compatible.


If LyX isn't DocBook/XML-ready, that's fine--I'll continue using it for my  
one-off docs that I write for our customers.  But if it can be fairly  
easily used to produce DocBook/XML, I'll press a bit harder for its  
adoption through the rest of the office.



Thanks again for your thoughts,

Ethan
([EMAIL PROTECTED])


Re: LyX and Docbook/XML

2008-11-21 Thread Richard Heck

Ethan Metsger wrote:

Hi, all.

I promise I'll be quiet after this post--I don't mean to pester (or 
imply by any stretch that I'm unhappy with LyX in general!).  But can 
anyone comment on this?


For what it's worth, I really do like LyX, and I'm not trying to troll 
or put on anyone.  I'm just curious about the capabilities and hoping 
not a little to spur its adoption among my general work populace.


DocBook support is a bit of a black art around here. There are people 
who know about it, but not many. Hence the silence. But I'm ccing on the 
people who do know.


rh



Re: LyX and Docbook/XML

2008-11-21 Thread Steve Litt
Back in 2001, switching away from writing books in MS Word (yeah, laugh all 
you want), I considered both LyX and DocBook. At the time, the only free 
software front end I could find for DocBook was Emacs, and my wrists just 
aren't that flexible.

LyX benefits:
* VERY fast writing environment. 3000 words per day no problem if you think 
that fast.
* WYSIWYG enough that you don't need to switch between input view and output 
view.
* Very nice presentation on paper with little effort.
* Easy to tweak with an editor if the LyX front end doesn't cut it for a task.
* Lots of LaTeX packages to do specialized stuff.

LyX disadvantages:
* Creating or modifying styles is excruciatingly difficult and requires 
LaTeX/TeX knowledge.

HTH

SteveT

On Friday 21 November 2008 11:18:35 am Ethan Metsger wrote:
> Hi, all.
>
> I promise I'll be quiet after this post--I don't mean to pester (or imply
> by any stretch that I'm unhappy with LyX in general!).  But can anyone
> comment on this?
>
> For what it's worth, I really do like LyX, and I'm not trying to troll or
> put on anyone.  I'm just curious about the capabilities and hoping not a
> little to spur its adoption among my general work populace.
>
> Thanks again,
>
> Ethan
>
> On Wed, 19 Nov 2008 11:43:43 -0500, Ethan Metsger <[EMAIL PROTECTED]>
>
> wrote:
> > Hi, all.
> >
> > I figured I'd send a quick query to the list about using LyX with
> > Docbook/XML.  I know there's been a little bit of traffic on this in the
> > past, but I haven't seen anything recently, and my searches online
> > haven't turned up much else, either.
> >
> > We're in the process of evaluating some tools for transitioning our
> > documentation away from Frame, and my bid to use LaTeX with LyX as a
> > front-end and pdflatex/plastex as the backend didn't really gain much
> > traction.
> >
> > My boss prefers to use Docbook--a number of our customers use it, and
> > it's an accepted standard in our industry.  There are some commercial
> > products for Docbook editing that we're investigating, but I remembered
> > that LyX provides some support for it also.
> >
> >
> > I was able to make some HTML and PDFs out of the basic document I
> > created when using SGML tools, but I wasn't able to get similar results
> > from the exported XML.  Some online reading leads me to believe that
> > this is a somewhat more difficult task than I'm really willing to
> > undertake, but I thought I would ask here.  Is there a good workflow for
> > using Docbook/XML with LyX, or are we still kind of waiting on it?
> >
> > Thanks much,
> >
> > Ethan
> > ([EMAIL PROTECTED])




Re: LyX and Docbook/XML

2008-11-21 Thread Ethan Metsger

Hi, all.

I promise I'll be quiet after this post--I don't mean to pester (or imply  
by any stretch that I'm unhappy with LyX in general!).  But can anyone  
comment on this?


For what it's worth, I really do like LyX, and I'm not trying to troll or  
put on anyone.  I'm just curious about the capabilities and hoping not a  
little to spur its adoption among my general work populace.


Thanks again,

Ethan

On Wed, 19 Nov 2008 11:43:43 -0500, Ethan Metsger <[EMAIL PROTECTED]>  
wrote:




Hi, all.

I figured I'd send a quick query to the list about using LyX with  
Docbook/XML.  I know there's been a little bit of traffic on this in the  
past, but I haven't seen anything recently, and my searches online  
haven't turned up much else, either.


We're in the process of evaluating some tools for transitioning our  
documentation away from Frame, and my bid to use LaTeX with LyX as a  
front-end and pdflatex/plastex as the backend didn't really gain much  
traction.


My boss prefers to use Docbook--a number of our customers use it, and  
it's an accepted standard in our industry.  There are some commercial  
products for Docbook editing that we're investigating, but I remembered  
that LyX provides some support for it also.



I was able to make some HTML and PDFs out of the basic document I  
created when using SGML tools, but I wasn't able to get similar results  
from the exported XML.  Some online reading leads me to believe that  
this is a somewhat more difficult task than I'm really willing to  
undertake, but I thought I would ask here.  Is there a good workflow for  
using Docbook/XML with LyX, or are we still kind of waiting on it?


Thanks much,

Ethan
([EMAIL PROTECTED])


LyX and Docbook/XML

2008-11-19 Thread Ethan Metsger


Hi, all.

I figured I'd send a quick query to the list about using LyX with  
Docbook/XML.  I know there's been a little bit of traffic on this in the  
past, but I haven't seen anything recently, and my searches online haven't  
turned up much else, either.


We're in the process of evaluating some tools for transitioning our  
documentation away from Frame, and my bid to use LaTeX with LyX as a  
front-end and pdflatex/plastex as the backend didn't really gain much  
traction.


My boss prefers to use Docbook--a number of our customers use it, and it's  
an accepted standard in our industry.  There are some commercial products  
for Docbook editing that we're investigating, but I remembered that LyX  
provides some support for it also.



I was able to make some HTML and PDFs out of the basic document I created  
when using SGML tools, but I wasn't able to get similar results from the  
exported XML.  Some online reading leads me to believe that this is a  
somewhat more difficult task than I'm really willing to undertake, but I  
thought I would ask here.  Is there a good workflow for using Docbook/XML  
with LyX, or are we still kind of waiting on it?


Thanks much,

Ethan
([EMAIL PROTECTED])