Docbook in 2.4.0
On 11/2/20 9:41 AM, Pavel Sanda wrote: I would like to point out that the major push for this release was to get some feedback about new Docbook output format we provide. If anyone with related expertise could give it a try and provide us the feedback that would be approeciated... Just reposting with a new subject line, to try to get more attention. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Import Docbook into LyX?
On Wednesday 11 September 2013 03:56:21 Jerry wrote: Is it possible to import Docbook files into LyX? Jerry Nope. :-) At least not directly. And all the other options imply to loose the semantic markup. -- José Abílio
Re: Import Docbook into LyX?
On Wednesday 11 September 2013 03:56:21 Jerry wrote: Is it possible to import Docbook files into LyX? Jerry Nope. :-) At least not directly. And all the other options imply to loose the semantic markup. -- José Abílio
Re: Import Docbook into LyX?
On Wednesday 11 September 2013 03:56:21 Jerry wrote: > Is it possible to import Docbook files into LyX? > > Jerry Nope. :-) At least not directly. And all the other options imply to loose the semantic markup. -- José Abílio
Import Docbook into LyX?
Is it possible to import Docbook files into LyX? Jerry
Import Docbook into LyX?
Is it possible to import Docbook files into LyX? Jerry
Import Docbook into LyX?
Is it possible to import Docbook files into LyX? Jerry
Re: Why no docbook export on LyX 2.03?
No, I'm using a derivative of the LaTeX Book style. Shouldn't I be able to export to docbook anyway? Of course not, since the document structure(s) won't match. To be able to export to docbook, you need to use a LaTeX document class that matches the docbook structure. And even then, LyX afaik does not enforce a schema like XML/SGML editors do, so you can still end up accidentally creating a document that wouldn't validate/convert. Sincerely, Wolfgang
Re: Why no docbook export on LyX 2.03?
No, I'm using a derivative of the LaTeX Book style. Shouldn't I be able to export to docbook anyway? Of course not, since the document structure(s) won't match. To be able to export to docbook, you need to use a LaTeX document class that matches the docbook structure. And even then, LyX afaik does not enforce a schema like XML/SGML editors do, so you can still end up accidentally creating a document that wouldn't validate/convert. Sincerely, Wolfgang
Re: Why no docbook export on LyX 2.03?
> No, I'm using a derivative of the LaTeX Book style. Shouldn't I be > able to export to docbook anyway? Of course not, since the document structure(s) won't match. To be able to export to docbook, you need to use a LaTeX document class that matches the docbook structure. And even then, LyX afaik does not enforce a "schema" like XML/SGML editors do, so you can still end up accidentally creating a document that wouldn't validate/convert. Sincerely, Wolfgang
Why no docbook export on LyX 2.03?
Hi all, Why is there no docbook export on LyX 2.03? Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Why no docbook export on LyX 2.03?
On 07/04/2013 01:17 PM, Steve Litt wrote: Hi all, Why is there no docbook export on LyX 2.03? Are you using one of the DocBook classes? rh
Re: Why no docbook export on LyX 2.03?
On Thu, 04 Jul 2013 13:36:40 -0400 Richard Heck rgh...@lyx.org wrote: On 07/04/2013 01:17 PM, Steve Litt wrote: Hi all, Why is there no docbook export on LyX 2.03? Are you using one of the DocBook classes? rh No, I'm using a derivative of the LaTeX Book style. Shouldn't I be able to export to docbook anyway? Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Why no docbook export on LyX 2.03?
On 07/04/2013 01:43 PM, Steve Litt wrote: On Thu, 04 Jul 2013 13:36:40 -0400 Richard Heck rgh...@lyx.org wrote: On 07/04/2013 01:17 PM, Steve Litt wrote: Hi all, Why is there no docbook export on LyX 2.03? Are you using one of the DocBook classes? rh No, I'm using a derivative of the LaTeX Book style. Shouldn't I be able to export to docbook anyway? No, you have to use a DocBook class. Try switching the class. You may have to fix some things, though. Richard
Why no docbook export on LyX 2.03?
Hi all, Why is there no docbook export on LyX 2.03? Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Why no docbook export on LyX 2.03?
On 07/04/2013 01:17 PM, Steve Litt wrote: Hi all, Why is there no docbook export on LyX 2.03? Are you using one of the DocBook classes? rh
Re: Why no docbook export on LyX 2.03?
On Thu, 04 Jul 2013 13:36:40 -0400 Richard Heck rgh...@lyx.org wrote: On 07/04/2013 01:17 PM, Steve Litt wrote: Hi all, Why is there no docbook export on LyX 2.03? Are you using one of the DocBook classes? rh No, I'm using a derivative of the LaTeX Book style. Shouldn't I be able to export to docbook anyway? Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Why no docbook export on LyX 2.03?
On 07/04/2013 01:43 PM, Steve Litt wrote: On Thu, 04 Jul 2013 13:36:40 -0400 Richard Heck rgh...@lyx.org wrote: On 07/04/2013 01:17 PM, Steve Litt wrote: Hi all, Why is there no docbook export on LyX 2.03? Are you using one of the DocBook classes? rh No, I'm using a derivative of the LaTeX Book style. Shouldn't I be able to export to docbook anyway? No, you have to use a DocBook class. Try switching the class. You may have to fix some things, though. Richard
Why no docbook export on LyX 2.03?
Hi all, Why is there no docbook export on LyX 2.03? Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Why no docbook export on LyX 2.03?
On 07/04/2013 01:17 PM, Steve Litt wrote: Hi all, Why is there no docbook export on LyX 2.03? Are you using one of the DocBook classes? rh
Re: Why no docbook export on LyX 2.03?
On Thu, 04 Jul 2013 13:36:40 -0400 Richard Heck <rgh...@lyx.org> wrote: > On 07/04/2013 01:17 PM, Steve Litt wrote: > > Hi all, > > > > Why is there no docbook export on LyX 2.03? > > Are you using one of the DocBook classes? > > rh > No, I'm using a derivative of the LaTeX Book style. Shouldn't I be able to export to docbook anyway? Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Why no docbook export on LyX 2.03?
On 07/04/2013 01:43 PM, Steve Litt wrote: On Thu, 04 Jul 2013 13:36:40 -0400 Richard Heck <rgh...@lyx.org> wrote: On 07/04/2013 01:17 PM, Steve Litt wrote: Hi all, Why is there no docbook export on LyX 2.03? Are you using one of the DocBook classes? rh No, I'm using a derivative of the LaTeX Book style. Shouldn't I be able to export to docbook anyway? No, you have to use a DocBook class. Try switching the class. You may have to fix some things, though. Richard
Re: No bibliography environment in DocBook document class
On 12/11/2012 03:35 PM, Nico Williams wrote: OK, thanks :) that's the answer I was hoping for. Not that I have time to contribute code here, but just for my edification: where would I look in the source code? In particular I'm using the docbook class but exporting to LyXHTML. I'm not sure why I'm doing that -- only that I've found that to work best for my purposes (namely: that more metadata gets preserved in the resulting XHTML). Thanks! Search for docbook methods, you will see them near xhtml methods. Usually this is a good place to start. As an example every insert has an export method. Initial the process to export starts in src/Buffer.cpp then goes to src/output_docbook.cpp and from there is delegated to the different elements. This is the short version. :-) After this short walk trough if you still have doubts then the next step is to ask here. :-) -- José Matos
Re: No bibliography environment in DocBook document class
On 12/11/2012 03:35 PM, Nico Williams wrote: OK, thanks :) that's the answer I was hoping for. Not that I have time to contribute code here, but just for my edification: where would I look in the source code? In particular I'm using the docbook class but exporting to LyXHTML. I'm not sure why I'm doing that -- only that I've found that to work best for my purposes (namely: that more metadata gets preserved in the resulting XHTML). Thanks! Search for docbook methods, you will see them near xhtml methods. Usually this is a good place to start. As an example every insert has an export method. Initial the process to export starts in src/Buffer.cpp then goes to src/output_docbook.cpp and from there is delegated to the different elements. This is the short version. :-) After this short walk trough if you still have doubts then the next step is to ask here. :-) -- José Matos
Re: No bibliography environment in DocBook document class
On 12/11/2012 03:35 PM, Nico Williams wrote: > OK, thanks :) that's the answer I was hoping for. Not that I have time > to contribute code here, but just for my edification: where would I > look in the source code? In particular I'm using the docbook class but > exporting to LyXHTML. I'm not sure why I'm doing that -- only that > I've found that to work best for my purposes (namely: that more > metadata gets preserved in the resulting XHTML). Thanks! Search for docbook methods, you will see them near xhtml methods. Usually this is a good place to start. As an example every insert has an export method. Initial the process to export starts in src/Buffer.cpp then goes to src/output_docbook.cpp and from there is delegated to the different elements. This is the short version. :-) After this short walk trough if you still have doubts then the next step is to ask here. :-) -- José Matos
Re: No bibliography environment in DocBook document class
On Mon, Dec 10, 2012 at 5:22 PM, José Matos jama...@lyx.org wrote: On 12/10/2012 10:46 PM, Nico Williams wrote: Why is there no bibliography environment in the DocBook document classes? There must be a reason, of course, but then, bibtex is still supported, so that's strange... The reason why it was never implemented is/was lake of time, no more no less. :-) OK, thanks :) that's the answer I was hoping for. Not that I have time to contribute code here, but just for my edification: where would I look in the source code? In particular I'm using the docbook class but exporting to LyXHTML. I'm not sure why I'm doing that -- only that I've found that to work best for my purposes (namely: that more metadata gets preserved in the resulting XHTML). Thanks!
Re: No bibliography environment in DocBook document class
On Mon, Dec 10, 2012 at 5:22 PM, José Matos jama...@lyx.org wrote: On 12/10/2012 10:46 PM, Nico Williams wrote: Why is there no bibliography environment in the DocBook document classes? There must be a reason, of course, but then, bibtex is still supported, so that's strange... The reason why it was never implemented is/was lake of time, no more no less. :-) OK, thanks :) that's the answer I was hoping for. Not that I have time to contribute code here, but just for my edification: where would I look in the source code? In particular I'm using the docbook class but exporting to LyXHTML. I'm not sure why I'm doing that -- only that I've found that to work best for my purposes (namely: that more metadata gets preserved in the resulting XHTML). Thanks!
Re: No bibliography environment in DocBook document class
On Mon, Dec 10, 2012 at 5:22 PM, José Matos <jama...@lyx.org> wrote: > On 12/10/2012 10:46 PM, Nico Williams wrote: >> Why is there no bibliography environment in the DocBook document >> classes? There must be a reason, of course, but then, bibtex is still >> supported, so that's strange... > > The reason why it was never implemented is/was lake of time, no more no > less. :-) OK, thanks :) that's the answer I was hoping for. Not that I have time to contribute code here, but just for my edification: where would I look in the source code? In particular I'm using the docbook class but exporting to LyXHTML. I'm not sure why I'm doing that -- only that I've found that to work best for my purposes (namely: that more metadata gets preserved in the resulting XHTML). Thanks!
No bibliography environment in DocBook document class
Why is there no bibliography environment in the DocBook document classes? There must be a reason, of course, but then, bibtex is still supported, so that's strange... Nico --
Re: No bibliography environment in DocBook document class
On 12/10/2012 10:46 PM, Nico Williams wrote: Why is there no bibliography environment in the DocBook document classes? There must be a reason, of course, but then, bibtex is still supported, so that's strange... Nico -- The reason why it was never implemented is/was lake of time, no more no less. :-) -- José Matos
No bibliography environment in DocBook document class
Why is there no bibliography environment in the DocBook document classes? There must be a reason, of course, but then, bibtex is still supported, so that's strange... Nico --
Re: No bibliography environment in DocBook document class
On 12/10/2012 10:46 PM, Nico Williams wrote: Why is there no bibliography environment in the DocBook document classes? There must be a reason, of course, but then, bibtex is still supported, so that's strange... Nico -- The reason why it was never implemented is/was lake of time, no more no less. :-) -- José Matos
No bibliography environment in DocBook document class
Why is there no bibliography environment in the DocBook document classes? There must be a reason, of course, but then, bibtex is still supported, so that's strange... Nico --
Re: No bibliography environment in DocBook document class
On 12/10/2012 10:46 PM, Nico Williams wrote: > Why is there no bibliography environment in the DocBook document > classes? There must be a reason, of course, but then, bibtex is still > supported, so that's strange... > > Nico > -- The reason why it was never implemented is/was lake of time, no more no less. :-) -- José Matos
Re: docbook export and underlined text?
On 11/05/2011 03:30 AM, Michael Joyner wrote: Good afternoon/morning all, I am using the docbook article class, and when I hit preview and it pulls up in the web browser, the text I have marked as underlined is not exported as underlined. Is this a bug or is this intentional ? Using Lyx Version 2.0.1 Thanks! -Mike -- * Learn to speak Cherokee: http://www.cherokeelessons.com/ * Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 * Cherokee Lessons PDF made with: http://www.lyx.org/ The only problem is that should be the markup to do so in docbook. Underline is physical markup while docbook has logical markup, one option would be to pass underline as emphasis role=underline.../emphasis but that would depend on its support by the exporting tools... -- José Matos
Re: docbook export and underlined text?
On 11/05/2011 03:30 AM, Michael Joyner wrote: Good afternoon/morning all, I am using the docbook article class, and when I hit preview and it pulls up in the web browser, the text I have marked as underlined is not exported as underlined. Is this a bug or is this intentional ? Using Lyx Version 2.0.1 Thanks! -Mike -- * Learn to speak Cherokee: http://www.cherokeelessons.com/ * Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 * Cherokee Lessons PDF made with: http://www.lyx.org/ The only problem is that should be the markup to do so in docbook. Underline is physical markup while docbook has logical markup, one option would be to pass underline as emphasis role=underline.../emphasis but that would depend on its support by the exporting tools... -- José Matos
Re: docbook export and underlined text?
On 11/05/2011 03:30 AM, Michael Joyner wrote: > Good afternoon/morning all, > > I am using the docbook article class, and when I hit "preview" and it > pulls up in the web browser, the text I have marked as "underlined" is > not exported as underlined. Is this a bug or is this intentional ? > > Using Lyx Version 2.0.1 > > Thanks! > > -Mike > > -- > > * Learn to speak Cherokee: http://www.cherokeelessons.com/ > * Cherokee Language Help > BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 > * Cherokee Lessons PDF made with: http://www.lyx.org/ > The only problem is that should be the markup to do so in docbook. Underline is physical markup while docbook has logical markup, one option would be to pass underline as ... but that would depend on its support by the exporting tools... -- José Matos
Re: docbook export and underlined text?
Michael Joyner wrote: Good afternoon/morning all, I am using the docbook article class, and when I hit preview and it pulls up in the web browser, the text I have marked as underlined is not exported as underlined. Is this a bug or is this intentional ? i guess not intended, put it into bug tracker. pavel
Re: docbook export and underlined text?
Michael Joyner wrote: Good afternoon/morning all, I am using the docbook article class, and when I hit preview and it pulls up in the web browser, the text I have marked as underlined is not exported as underlined. Is this a bug or is this intentional ? i guess not intended, put it into bug tracker. pavel
Re: docbook export and underlined text?
Michael Joyner wrote: > Good afternoon/morning all, > > I am using the docbook article class, and when I hit "preview" and it pulls > up in the web browser, the text I have marked as "underlined" is not > exported as underlined. Is this a bug or is this intentional ? i guess not intended, put it into bug tracker. pavel
docbook export and underlined text?
Good afternoon/morning all, I am using the docbook article class, and when I hit preview and it pulls up in the web browser, the text I have marked as underlined is not exported as underlined. Is this a bug or is this intentional ? Using Lyx Version 2.0.1 Thanks! -Mike -- - Learn to speak Cherokee: http://www.cherokeelessons.com/ - Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 - Cherokee Lessons PDF made with: http://www.lyx.org/
docbook export and underlined text?
Good afternoon/morning all, I am using the docbook article class, and when I hit preview and it pulls up in the web browser, the text I have marked as underlined is not exported as underlined. Is this a bug or is this intentional ? Using Lyx Version 2.0.1 Thanks! -Mike -- - Learn to speak Cherokee: http://www.cherokeelessons.com/ - Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 - Cherokee Lessons PDF made with: http://www.lyx.org/
docbook export and underlined text?
Good afternoon/morning all, I am using the docbook article class, and when I hit "preview" and it pulls up in the web browser, the text I have marked as "underlined" is not exported as underlined. Is this a bug or is this intentional ? Using Lyx Version 2.0.1 Thanks! -Mike -- - Learn to speak Cherokee: http://www.cherokeelessons.com/ - Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 - Cherokee Lessons PDF made with: http://www.lyx.org/
Re: lyx 2.0.1 export docbook-dvi error element DUMMY undefined
Are the dummy tags supposed to come over from the lyx doc? Is this a docbook toolchain misconfig on Fedora's part? TIA Phil This is: http://www.lyx.org/trac/ticket/7004. I already proposed a patch to fix this last year, but no-one has been around to verify the validity of the fix and to explain me how to handle things like footnotes. I think I will commit the fix anyway now. Vincent
Re: lyx 2.0.1 export docbook-dvi error element DUMMY undefined
On Sun, Oct 30, 2011 at 12:25:04PM +0100, Vincent van Ravesteijn wrote: Date: Sun, 30 Oct 2011 12:25:04 +0100 From: Vincent van Ravesteijn v...@lyx.org Subject: Re: lyx 2.0.1 export docbook-dvi error element DUMMY undefined To: Phil Moors philip.mo...@comcast.net CC: lyx-users lyx-users@lists.lyx.org Are the dummy tags supposed to come over from the lyx doc? Is this a docbook toolchain misconfig on Fedora's part? TIA Phil This is: http://www.lyx.org/trac/ticket/7004. I already proposed a patch to fix this last year, but no-one has been around to verify the validity of the fix and to explain me how to handle things like footnotes. I think I will commit the fix anyway now. Ah. Thank you. I'll look for it and test. I can then put in a ticket with Fedora asking them to roll out an update. Thanks, Phil
Re: lyx 2.0.1 export docbook-dvi error element DUMMY undefined
Are the dummy tags supposed to come over from the lyx doc? Is this a docbook toolchain misconfig on Fedora's part? TIA Phil This is: http://www.lyx.org/trac/ticket/7004. I already proposed a patch to fix this last year, but no-one has been around to verify the validity of the fix and to explain me how to handle things like footnotes. I think I will commit the fix anyway now. Vincent
Re: lyx 2.0.1 export docbook-dvi error element DUMMY undefined
On Sun, Oct 30, 2011 at 12:25:04PM +0100, Vincent van Ravesteijn wrote: Date: Sun, 30 Oct 2011 12:25:04 +0100 From: Vincent van Ravesteijn v...@lyx.org Subject: Re: lyx 2.0.1 export docbook-dvi error element DUMMY undefined To: Phil Moors philip.mo...@comcast.net CC: lyx-users lyx-users@lists.lyx.org Are the dummy tags supposed to come over from the lyx doc? Is this a docbook toolchain misconfig on Fedora's part? TIA Phil This is: http://www.lyx.org/trac/ticket/7004. I already proposed a patch to fix this last year, but no-one has been around to verify the validity of the fix and to explain me how to handle things like footnotes. I think I will commit the fix anyway now. Ah. Thank you. I'll look for it and test. I can then put in a ticket with Fedora asking them to roll out an update. Thanks, Phil
Re: lyx 2.0.1 export docbook->dvi error element DUMMY undefined
Are the dummy tags supposed to come over from the lyx doc? Is this a docbook toolchain misconfig on Fedora's part? TIA Phil This is: http://www.lyx.org/trac/ticket/7004. I already proposed a patch to fix this last year, but no-one has been around to verify the validity of the fix and to explain me how to handle things like footnotes. I think I will commit the fix anyway now. Vincent
Re: lyx 2.0.1 export docbook->dvi error element DUMMY undefined
On Sun, Oct 30, 2011 at 12:25:04PM +0100, Vincent van Ravesteijn wrote: > Date: Sun, 30 Oct 2011 12:25:04 +0100 > From: Vincent van Ravesteijn <v...@lyx.org> > Subject: Re: lyx 2.0.1 export docbook->dvi error element DUMMY undefined > To: Phil Moors <philip.mo...@comcast.net> > CC: lyx-users <lyx-users@lists.lyx.org> > > >Are the dummy tags supposed to come over from the lyx doc? Is this > >a docbook toolchain misconfig on Fedora's part? TIA Phil > > This is: http://www.lyx.org/trac/ticket/7004. > > I already proposed a patch to fix this last year, but no-one has > been around to verify the validity of the fix and to explain me how > to handle things like footnotes. > > I think I will commit the fix anyway now. > Ah. Thank you. I'll look for it and test. I can then put in a ticket with Fedora asking them to roll out an update. Thanks, Phil
lyx 2.0.1 export docbook-dvi error element DUMMY undefined
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.TJ/lyx_tmpbuf2/test.sgml jade:/tmp/lyx_tmpdir.TJ/lyx_tmpbuf2/test.sgml:14:17:E: element DUMMY undefined jade:/tmp/lyx_tmpdir.TJ/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 titleTitle/title dateDate /dateauthor firstnamedummyJoe/dummy/firstnamesurnamedummyDoe/dummy/surname/authorabstract paraAbstract/para /abstract/articleinfosect1 titleFirst Section/title paraFirst 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
lyx 2.0.1 export docbook-dvi error element DUMMY undefined
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.TJ/lyx_tmpbuf2/test.sgml jade:/tmp/lyx_tmpdir.TJ/lyx_tmpbuf2/test.sgml:14:17:E: element DUMMY undefined jade:/tmp/lyx_tmpdir.TJ/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 titleTitle/title dateDate /dateauthor firstnamedummyJoe/dummy/firstnamesurnamedummyDoe/dummy/surname/authorabstract paraAbstract/para /abstract/articleinfosect1 titleFirst Section/title paraFirst 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
lyx 2.0.1 export docbook->dvi error element DUMMY undefined
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.TJ/lyx_tmpbuf2/test.sgml jade:/tmp/lyx_tmpdir.TJ/lyx_tmpbuf2/test.sgml:14:17:E: element "DUMMY" undefined jade:/tmp/lyx_tmpdir.TJ/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: ]> Title Date JoeDoe Abstract First Section First paragraph. Are the dummy tags supposed to come over from the lyx doc? Is this a docbook toolchain misconfig on Fedora's part? TIA Phil
Re: DocBook informaltable dummy node
On Monday 26 July 2010 11:30:42 Remy Chibois wrote: Hi everybody, I am sorry really busy and just now cleaning my email list. I'm authoring a document using DocBook book (SGML) document class. When inserting a table using the Insert table icon from the menu bar and exporting to DocBook (either SGML or XML), the resulting file contains: [...] entry align=center valign=topdummySample Cell Content/dummy/entry [...] That is, the cell content is enclosed in a dummy tag. That is a bug in lyx. dummy is the name given to a standard paragraph for the latex code, so I suspect that this name is leaking to the docbook class. Certainly this is a bug in lyx. Is there any mean to avoid this ? A workaround would be to filter the document to remove the dummy and dummy/ tags. The real solution is to fix the bug in the lyx code. Could you please fill a bug in lyx so this bug does not get forgotten? Thank you. Thanks, -- José Abílio
Re: DocBook and Graphics
On Monday 12 July 2010 13:21:25 Peter Lipp wrote: Hi, as a newbie I started writing a document using the docbook/chapter class. I can perfectly embed images, I do see them in lyx but not when I preview. Just to test, I changed the class to book (non-docbook), and there preview works perfectly. Any hints on what might be wrong and also how I could have found out myself are very much appreciated! Probably you have already fixed this but here it goes. IIRC nn docbook the figures should go inside a frame (the graphics float in latex parlance). Thanks Peter -- José Abílio
Re: DocBook informaltable dummy node
On Monday 26 July 2010 11:30:42 Remy Chibois wrote: Hi everybody, I am sorry really busy and just now cleaning my email list. I'm authoring a document using DocBook book (SGML) document class. When inserting a table using the Insert table icon from the menu bar and exporting to DocBook (either SGML or XML), the resulting file contains: [...] entry align=center valign=topdummySample Cell Content/dummy/entry [...] That is, the cell content is enclosed in a dummy tag. That is a bug in lyx. dummy is the name given to a standard paragraph for the latex code, so I suspect that this name is leaking to the docbook class. Certainly this is a bug in lyx. Is there any mean to avoid this ? A workaround would be to filter the document to remove the dummy and dummy/ tags. The real solution is to fix the bug in the lyx code. Could you please fill a bug in lyx so this bug does not get forgotten? Thank you. Thanks, -- José Abílio
Re: DocBook and Graphics
On Monday 12 July 2010 13:21:25 Peter Lipp wrote: Hi, as a newbie I started writing a document using the docbook/chapter class. I can perfectly embed images, I do see them in lyx but not when I preview. Just to test, I changed the class to book (non-docbook), and there preview works perfectly. Any hints on what might be wrong and also how I could have found out myself are very much appreciated! Probably you have already fixed this but here it goes. IIRC nn docbook the figures should go inside a frame (the graphics float in latex parlance). Thanks Peter -- José Abílio
Re: DocBook informaltable dummy node
On Monday 26 July 2010 11:30:42 Remy Chibois wrote: > Hi everybody, I am sorry really busy and just now cleaning my email list. > I'm authoring a document using "DocBook book (SGML)" document class. > > When inserting a table using the "Insert table" icon from the menu bar > and exporting to "DocBook" (either SGML or XML), the resulting > file contains: > > [...] > Sample Cell > Content [...] > > That is, the cell content is enclosed in a "dummy" tag. That is a bug in lyx. "dummy" is the name given to a standard paragraph for the latex code, so I suspect that this name is leaking to the docbook class. Certainly this is a bug in lyx. > Is there any mean to avoid this ? A workaround would be to filter the document to remove the and tags. The real solution is to fix the bug in the lyx code. Could you please fill a bug in lyx so this bug does not get forgotten? > Thank you. Thanks, -- José Abílio
Re: DocBook and Graphics
On Monday 12 July 2010 13:21:25 Peter Lipp wrote: > Hi, > > as a newbie I started writing a document using the docbook/chapter > class. I can perfectly embed images, I do see them in lyx but not when I > preview. > > Just to test, I changed the class to "book" (non-docbook), and there > preview works perfectly. > > Any hints on what might be wrong and also how I could have found out > myself are very much appreciated! Probably you have already fixed this but here it goes. IIRC nn docbook the figures should go inside a frame (the graphics float in latex parlance). > Thanks > Peter -- José Abílio
Re: DocBook informaltable dummy node
Remy Chibois wrote: Hi everybody, I'm authoring a document using DocBook book (SGML) document class. When inserting a table using the Insert table icon from the menu bar and exporting to DocBook (either SGML or XML), the resulting file contains: [...] entry align=center valign=topdummySample Cell Content/dummy/entry [...] That is, the cell content is enclosed in a dummy tag. Is there any mean to avoid this ? please fill bug in our bug tracker... pavel
Re: DocBook informaltable dummy node
Remy Chibois wrote: Hi everybody, I'm authoring a document using DocBook book (SGML) document class. When inserting a table using the Insert table icon from the menu bar and exporting to DocBook (either SGML or XML), the resulting file contains: [...] entry align=center valign=topdummySample Cell Content/dummy/entry [...] That is, the cell content is enclosed in a dummy tag. Is there any mean to avoid this ? please fill bug in our bug tracker... pavel
Re: DocBook informaltable dummy node
Remy Chibois wrote: > Hi everybody, > > I'm authoring a document using "DocBook book (SGML)" document class. > > When inserting a table using the "Insert table" icon from the menu bar > and exporting to "DocBook" (either SGML or XML), the resulting > file contains: > > [...] > Sample Cell Content > [...] > > That is, the cell content is enclosed in a "dummy" tag. > > Is there any mean to avoid this ? please fill bug in our bug tracker... pavel
DocBook informaltable dummy node
Hi everybody, I'm authoring a document using DocBook book (SGML) document class. When inserting a table using the Insert table icon from the menu bar and exporting to DocBook (either SGML or XML), the resulting file contains: [...] entry align=center valign=topdummySample Cell Content/dummy/entry [...] That is, the cell content is enclosed in a dummy tag. Is there any mean to avoid this ? Thank you. -- Rémy Chibois
DocBook informaltable dummy node
Hi everybody, I'm authoring a document using DocBook book (SGML) document class. When inserting a table using the Insert table icon from the menu bar and exporting to DocBook (either SGML or XML), the resulting file contains: [...] entry align=center valign=topdummySample Cell Content/dummy/entry [...] That is, the cell content is enclosed in a dummy tag. Is there any mean to avoid this ? Thank you. -- Rémy Chibois
DocBook informaltable dummy node
Hi everybody, I'm authoring a document using "DocBook book (SGML)" document class. When inserting a table using the "Insert table" icon from the menu bar and exporting to "DocBook" (either SGML or XML), the resulting file contains: [...] Sample Cell Content [...] That is, the cell content is enclosed in a "dummy" tag. Is there any mean to avoid this ? Thank you. -- Rémy Chibois
Re: DocBook and Graphics
Regarding my previous question: I now tried to execute some commands by hand, and when doing sgmltools -b pdf filename.sgml I get the following errors (and many more) /usr/bin/openjade:OSFD0:3:0:E: prolog can't be omitted unless CONCUR NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or IMPLYDEF DOCTYPE YES /usr/bin/openjade:OSFD0:3:0:E: no document type declaration; will parse without validation /usr/bin/openjade:OSFD0:7:28:W: cannot generate system identifier for general entity ldquo Seems to be some mismatch in tool versioning. Maybe this helps you to help me ... :-) Peter smime.p7s Description: S/MIME Cryptographic Signature
Re: DocBook and Graphics
Regarding my previous question: I now tried to execute some commands by hand, and when doing sgmltools -b pdf filename.sgml I get the following errors (and many more) /usr/bin/openjade:OSFD0:3:0:E: prolog can't be omitted unless CONCUR NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or IMPLYDEF DOCTYPE YES /usr/bin/openjade:OSFD0:3:0:E: no document type declaration; will parse without validation /usr/bin/openjade:OSFD0:7:28:W: cannot generate system identifier for general entity ldquo Seems to be some mismatch in tool versioning. Maybe this helps you to help me ... :-) Peter smime.p7s Description: S/MIME Cryptographic Signature
Re: DocBook and Graphics
Regarding my previous question: I now tried to execute some commands by hand, and when doing sgmltools -b pdf filename.sgml I get the following errors (and many more) /usr/bin/openjade:0:3:0:E: prolog can't be omitted unless CONCUR NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or IMPLYDEF DOCTYPE YES /usr/bin/openjade:0:3:0:E: no document type declaration; will parse without validation /usr/bin/openjade:0:7:28:W: cannot generate system identifier for general entity "ldquo" Seems to be some mismatch in tool versioning. Maybe this helps you to help me ... :-) Peter smime.p7s Description: S/MIME Cryptographic Signature
DocBook and Graphics
Hi, as a newbie I started writing a document using the docbook/chapter class. I can perfectly embed images, I do see them in lyx but not when I preview. Just to test, I changed the class to book (non-docbook), and there preview works perfectly. Any hints on what might be wrong and also how I could have found out myself are very much appreciated! Thanks Peter smime.p7s Description: S/MIME Cryptographic Signature
DocBook and Graphics
Hi, as a newbie I started writing a document using the docbook/chapter class. I can perfectly embed images, I do see them in lyx but not when I preview. Just to test, I changed the class to book (non-docbook), and there preview works perfectly. Any hints on what might be wrong and also how I could have found out myself are very much appreciated! Thanks Peter smime.p7s Description: S/MIME Cryptographic Signature
DocBook and Graphics
Hi, as a newbie I started writing a document using the docbook/chapter class. I can perfectly embed images, I do see them in lyx but not when I preview. Just to test, I changed the class to "book" (non-docbook), and there preview works perfectly. Any hints on what might be wrong and also how I could have found out myself are very much appreciated! Thanks Peter smime.p7s Description: S/MIME Cryptographic Signature
Re: DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)
On Sat, 06 Jun 2009 11:13:50 -0400, Pavel Sanda sa...@lyx.org wrote: its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? I actually still owe Jose an email about this--it's been sitting in my inbox for several months now. We decided to use Docbook here since it's an industry standard among our peers, and it seemed a reasonable thing to do to stay current with them all. I had hoped to spur the adoption of LyX (I've been using it for awhile), but it turns out that the Docbook support wasn't quite mature enough to get us there. In particular, we were looking for Docbook 5.0 support, and I think that LyX for awhile has been stuck at 4.2. The XML elements for 5.0 are somewhat different (my knowledge of 4.2 is pretty slim, so I can't say exactly how they differ--but I had some validation issues when doing document conversion). I would think that one priority would be producing XML that complies with version 5.0. I'm hardly an expert on this, but if I can be of some reasonable help, I'll do it. I confess that my vision was essentially having LyX to produce PDFs that were easier to work with (munging stylesheets and tweaking FO output is not at all something I'm interested in doing, but I've had to) and XML that can be more easily transformed into nice HTML--something that's an absolute must if you're going to publish documentation in multiple forms. If LyX could provide even a basic (but valid) output to Docbook XML (with minimal stylistic markup--the normal ones like emphasis, bold, code, et c.), transforming the HTML wouldn't be such a difficult thing using free toolchains. As it stands, we use Oxygen's XML editor for writing our documentation; we probably won't change any time soon, but it would be fantastic if there were a reasonable workflow for using LyX. Best, Ethan (emets...@obj-sys.com)
Re: DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)
On Sat, 06 Jun 2009 11:13:50 -0400, Pavel Sanda sa...@lyx.org wrote: its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? I actually still owe Jose an email about this--it's been sitting in my inbox for several months now. We decided to use Docbook here since it's an industry standard among our peers, and it seemed a reasonable thing to do to stay current with them all. I had hoped to spur the adoption of LyX (I've been using it for awhile), but it turns out that the Docbook support wasn't quite mature enough to get us there. In particular, we were looking for Docbook 5.0 support, and I think that LyX for awhile has been stuck at 4.2. The XML elements for 5.0 are somewhat different (my knowledge of 4.2 is pretty slim, so I can't say exactly how they differ--but I had some validation issues when doing document conversion). I would think that one priority would be producing XML that complies with version 5.0. I'm hardly an expert on this, but if I can be of some reasonable help, I'll do it. I confess that my vision was essentially having LyX to produce PDFs that were easier to work with (munging stylesheets and tweaking FO output is not at all something I'm interested in doing, but I've had to) and XML that can be more easily transformed into nice HTML--something that's an absolute must if you're going to publish documentation in multiple forms. If LyX could provide even a basic (but valid) output to Docbook XML (with minimal stylistic markup--the normal ones like emphasis, bold, code, et c.), transforming the HTML wouldn't be such a difficult thing using free toolchains. As it stands, we use Oxygen's XML editor for writing our documentation; we probably won't change any time soon, but it would be fantastic if there were a reasonable workflow for using LyX. Best, Ethan (emets...@obj-sys.com)
Re: DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)
On Sat, 06 Jun 2009 11:13:50 -0400, Pavel Sanda <sa...@lyx.org> wrote: its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? I actually still owe Jose an email about this--it's been sitting in my inbox for several months now. We decided to use Docbook here since it's an industry standard among our peers, and it seemed a reasonable thing to do to stay current with them all. I had hoped to spur the adoption of LyX (I've been using it for awhile), but it turns out that the Docbook support wasn't quite mature enough to get us there. In particular, we were looking for Docbook 5.0 support, and I think that LyX for awhile has been stuck at 4.2. The XML elements for 5.0 are somewhat different (my knowledge of 4.2 is pretty slim, so I can't say exactly how they differ--but I had some validation issues when doing document conversion). I would think that one priority would be producing XML that complies with version 5.0. I'm hardly an expert on this, but if I can be of some reasonable help, I'll do it. I confess that my vision was essentially having LyX to produce PDFs that were easier to work with (munging stylesheets and tweaking FO output is not at all something I'm interested in doing, but I've had to) and XML that can be more easily transformed into nice HTML--something that's an absolute must if you're going to publish documentation in multiple forms. If LyX could provide even a basic (but valid) output to Docbook XML (with minimal stylistic markup--the normal ones like emphasis, bold, code, et c.), transforming the HTML wouldn't be such a difficult thing using free toolchains. As it stands, we use Oxygen's XML editor for writing our documentation; we probably won't change any time soon, but it would be fantastic if there were a reasonable workflow for using LyX. Best, Ethan (emets...@obj-sys.com)
DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)
rgh...@lyx.org wrote: Author: rgheck Date: Sat Jun 6 16:29:24 2009 New Revision: 29997 URL: http://www.lyx.org/trac/changeset/29997 Log: Add a note about docbook() problems. while we are it - i just quickly browsed through the few links about hacking docbook output of lyx listed in http://wiki.lyx.org/LyX/DocBook. its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? i'm thus CC-ing the people for which i have found mails - docbook folks if you want a little better support of docbook in lyx 2.0 this is the right time to give us some advices while we are focused on the output issues of html which are kind of parallel. pavel
Re: DocBook in LyX 2.0 ?
Pavel Sanda wrote: rgh...@lyx.org wrote: Author: rgheck Date: Sat Jun 6 16:29:24 2009 New Revision: 29997 URL: http://www.lyx.org/trac/changeset/29997 Log: Add a note about docbook() problems. while we are it - i just quickly browsed through the few links about hacking docbook output of lyx listed in http://wiki.lyx.org/LyX/DocBook. its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? i'm thus CC-ing the people for which i have found mails - docbook folks if you want a little better support of docbook in lyx 2.0 this is the right time to give us some advices while we are focused on the output issues of html which are kind of parallel. Thanks for doing this. It's a good idea to try to tackle both these problems. In many cases, the only real question is: What should the output look like? Making it look like that isn't hard, once you have a sense for how the output routines work. rh
DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)
rgh...@lyx.org wrote: Author: rgheck Date: Sat Jun 6 16:29:24 2009 New Revision: 29997 URL: http://www.lyx.org/trac/changeset/29997 Log: Add a note about docbook() problems. while we are it - i just quickly browsed through the few links about hacking docbook output of lyx listed in http://wiki.lyx.org/LyX/DocBook. its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? i'm thus CC-ing the people for which i have found mails - docbook folks if you want a little better support of docbook in lyx 2.0 this is the right time to give us some advices while we are focused on the output issues of html which are kind of parallel. pavel
Re: DocBook in LyX 2.0 ?
Pavel Sanda wrote: rgh...@lyx.org wrote: Author: rgheck Date: Sat Jun 6 16:29:24 2009 New Revision: 29997 URL: http://www.lyx.org/trac/changeset/29997 Log: Add a note about docbook() problems. while we are it - i just quickly browsed through the few links about hacking docbook output of lyx listed in http://wiki.lyx.org/LyX/DocBook. its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? i'm thus CC-ing the people for which i have found mails - docbook folks if you want a little better support of docbook in lyx 2.0 this is the right time to give us some advices while we are focused on the output issues of html which are kind of parallel. Thanks for doing this. It's a good idea to try to tackle both these problems. In many cases, the only real question is: What should the output look like? Making it look like that isn't hard, once you have a sense for how the output routines work. rh
DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)
rgh...@lyx.org wrote: > Author: rgheck > Date: Sat Jun 6 16:29:24 2009 > New Revision: 29997 > URL: http://www.lyx.org/trac/changeset/29997 > > Log: > Add a note about docbook() problems. while we are it - i just quickly browsed through the few links about hacking docbook output of lyx listed in http://wiki.lyx.org/LyX/DocBook. its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? i'm thus CC-ing the people for which i have found mails - docbook folks if you want a little better support of docbook in lyx 2.0 this is the right time to give us some advices while we are focused on the output issues of html which are kind of parallel. pavel
Re: DocBook in LyX 2.0 ?
Pavel Sanda wrote: rgh...@lyx.org wrote: Author: rgheck Date: Sat Jun 6 16:29:24 2009 New Revision: 29997 URL: http://www.lyx.org/trac/changeset/29997 Log: Add a note about docbook() problems. while we are it - i just quickly browsed through the few links about hacking docbook output of lyx listed in http://wiki.lyx.org/LyX/DocBook. its my impression that some of the problems people have to tackle now when using docbook would be in fact just a few lines of code change. the problem is that i basically know nothing about the issues around docbook/sgml etc. but it may be easy for for people using docbook agree on what is to be changed wrt the lyx output? i'm thus CC-ing the people for which i have found mails - docbook folks if you want a little better support of docbook in lyx 2.0 this is the right time to give us some advices while we are focused on the output issues of html which are kind of parallel. Thanks for doing this. It's a good idea to try to tackle both these problems. In many cases, the only real question is: What should the output look like? Making it look like that isn't hard, once you have a sense for how the output routines work. rh
Re: Lyx and DocBook
Richard Heck wrote: This mailing lists contains occasional requests for help, but not too much information. If it wasn't for the information at http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have concluded that DocBook support in Lyx had been effectively abandoned. No, it still exists. Not many people use it, though, so how current it is, etc, is unclear. That said, however, there are some developers who pay attention to DocBook, and I think it's intended that it be usable. frankly, docbook in lyx is _effectively_ abandoned for a long time. i can't remember anybody working on this field during last few years - the only activity are the manuals how to bypass lyx problems by third party tools and hopeless call for help from time to time on this list ;) out of curiosity i just crawled through logs and commits with comments like * src/insets/InsetFloat.{cpp, h}: - let nested floats be subfloats NOTE: docbook support is missing. make me wonder how many newer lyx parts are able to cope with docbook at all :) pavel
Re: Lyx and DocBook
Richard Heck wrote: This mailing lists contains occasional requests for help, but not too much information. If it wasn't for the information at http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have concluded that DocBook support in Lyx had been effectively abandoned. No, it still exists. Not many people use it, though, so how current it is, etc, is unclear. That said, however, there are some developers who pay attention to DocBook, and I think it's intended that it be usable. frankly, docbook in lyx is _effectively_ abandoned for a long time. i can't remember anybody working on this field during last few years - the only activity are the manuals how to bypass lyx problems by third party tools and hopeless call for help from time to time on this list ;) out of curiosity i just crawled through logs and commits with comments like * src/insets/InsetFloat.{cpp, h}: - let nested floats be subfloats NOTE: docbook support is missing. make me wonder how many newer lyx parts are able to cope with docbook at all :) pavel
Re: Lyx and DocBook
Richard Heck wrote: >> This mailing lists contains occasional requests for help, but not too much >> information. If it wasn't for the information at >> http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have >> concluded >> that DocBook support in Lyx had been effectively abandoned. >> >> > No, it still exists. Not many people use it, though, so how current it is, > etc, is unclear. That said, however, there are some developers who pay > attention to DocBook, and I think it's intended that it be usable. frankly, docbook in lyx is _effectively_ abandoned for a long time. i can't remember anybody working on this field during last few years - the only activity are the manuals how to bypass lyx problems by third party tools and hopeless call for help from time to time on this list ;) out of curiosity i just crawled through logs and commits with comments like * src/insets/InsetFloat.{cpp, h}: - let nested floats be subfloats NOTE: docbook support is missing. make me wonder how many newer lyx parts are able to cope with docbook at all :) pavel
Re: Lyx and DocBook
Ian: It also lists Lyx which seems a mature and usable tool for Latex, and produces highly attractive PDF documents. I read though that getting attractive HTML out of it is difficult. Richard: I''m getting good results out of the new tool ELyXer. http://wiki.lyx.org/Tools/ELyXer Me too! It's the first time ever I get something useful. There have been a couple of threads about ELyXer on this mailing list. It's new and has some limitations. For instance, no TOC generation yet. However, the tool's author, Alex Fernandez, really likes getting challenging documents and making ELyXer work with them. I second that comment :-) Kindest regards, Nikos
Re: Lyx and DocBook
Ian: It also lists Lyx which seems a mature and usable tool for Latex, and produces highly attractive PDF documents. I read though that getting attractive HTML out of it is difficult. Richard: I''m getting good results out of the new tool ELyXer. http://wiki.lyx.org/Tools/ELyXer Me too! It's the first time ever I get something useful. There have been a couple of threads about ELyXer on this mailing list. It's new and has some limitations. For instance, no TOC generation yet. However, the tool's author, Alex Fernandez, really likes getting challenging documents and making ELyXer work with them. I second that comment :-) Kindest regards, Nikos
Re: Lyx and DocBook
Ian: > > It also lists Lyx which seems a mature and usable tool for Latex, > > and produces highly attractive PDF documents. I read though that getting > > attractive HTML out of it is difficult. Richard: > I''m getting good results out of the new tool ELyXer. > http://wiki.lyx.org/Tools/ELyXer Me too! It's the first time ever I get something useful. > There have been a couple of threads about ELyXer on this mailing list. > It's new and has some limitations. For instance, no TOC generation > yet. > However, the tool's author, Alex Fernandez, really likes getting > challenging documents and making ELyXer work with them. I second that comment :-) Kindest regards, Nikos
Lyx and DocBook
I'm trying to find a content markup system (authoring and processing) that can output to various formats. Something which can be both viewed and printed, such as PDF, is probably a must, and something easily accessed online, such as HTML is close behind. If I could also produce CHM (or similar) Windows help files that would be nice too. I come from a IBM BookMaster background so I'm comfortable with content markup, and don't really need an authoring tool to work with it. DocBook seems to fit most of my needs but the markup syntax is user-hostile. The DocBook wiki points to a number of authoring tools, most of which are just generic XML editors. The only DocBook-specific tool there verges on the unusable. It also lists Lyx which seems a mature and usable tool for Latex, and produces highly attractive PDF documents. I read though that getting attractive HTML out of it is difficult. If I understand correctly I have to choose a target language for Lyx from the start: I can't start off with Latex and then later decide to I want to target DocBook, for example. So having got Lyx installed I'm looking in more detail at DocBook. A lot of the information seems to be out of date. There's a Lyx-to-X project that only works up to v1.2.0 of Lyx, and some old discussions on various sites of needing sgmltools, sgmltools-lite, or maybe sgmltools2, which appear to have been abandoned some years ago. This mailing lists contains occasional requests for help, but not too much information. If it wasn't for the information at http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have concluded that DocBook support in Lyx had been effectively abandoned. I wonder then if someone could help me with the following: 1. Am I right in my thinking that if I want good quality HTML and potentially CHM output, as well as PDF, then DocBook is the way to go rather than Latex? 2. And that if I want DocBook, then I need to be using that from the start? 3. Is DocBook development in Lyx abandonded or is it just quiet for the moment? 4. Is there any documentation on what a user of the latest version of Lyx has to do to resolve the unavailable class messages when using DocBook, and what they need to install in 2009 to get output from it. Thanks, i
Re: Lyx and DocBook
On Mon, Apr 13, 2009 at 4:13 PM, Ian S. Worthington ianworthing...@usa.net wrote: It also lists Lyx which seems a mature and usable tool for Latex, and produces highly attractive PDF documents. I read though that getting attractive HTML out of it is difficult. I''m getting good results out of the new tool ELyXer. http://wiki.lyx.org/Tools/ELyXer There have been a couple of threads about ELyXer on this mailing list. It's new and has some limitations. For instance, no TOC generation yet. However, the tool's author, Alex Fernandez, really likes getting challenging documents and making ELyXer work with them. -- Rich
Re: Lyx and DocBook
Ian S. Worthington wrote: If I understand correctly I have to choose a target language for Lyx from the start: I can't start off with Latex and then later decide to I want to target DocBook, for example. No, you can switch the documents. There may be some issues about how different bits of formatting get converted that will make things easier or more difficult. But these can often be resolved using an external script of some sort (sed, awk, perl, etc). This mailing lists contains occasional requests for help, but not too much information. If it wasn't for the information at http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have concluded that DocBook support in Lyx had been effectively abandoned. No, it still exists. Not many people use it, though, so how current it is, etc, is unclear. That said, however, there are some developers who pay attention to DocBook, and I think it's intended that it be usable. I wonder then if someone could help me with the following: 1. Am I right in my thinking that if I want good quality HTML and potentially CHM output, as well as PDF, then DocBook is the way to go rather than Latex? Possibly, though there are a lot of options for HTML now. You might check out plastex, which looks to me to be the most promising. 2. And that if I want DocBook, then I need to be using that from the start? Not necessarily. See above. 3. Is DocBook development in Lyx abandonded or is it just quiet for the moment? See above again. Though perhaps it's worth my saying what DocBook development is. There are just two aspects to it: (i) The DocBook layouts; (ii) the DocBook output routines. Both of these could be worked on by newbies, to some extent, certainly the layouts and very probably the output routines. 4. Is there any documentation on what a user of the latest version of Lyx has to do to resolve the unavailable class messages when using DocBook, and what they need to install in 2009 to get output from it. I'm not sure. But looking at configure.py, it seems that you need sgmltools installed, or else db2dvi or db2html. I'm cc'ing Martin Vermeer, as I think he knows about this Richard Thanks, i
Lyx and DocBook
I'm trying to find a content markup system (authoring and processing) that can output to various formats. Something which can be both viewed and printed, such as PDF, is probably a must, and something easily accessed online, such as HTML is close behind. If I could also produce CHM (or similar) Windows help files that would be nice too. I come from a IBM BookMaster background so I'm comfortable with content markup, and don't really need an authoring tool to work with it. DocBook seems to fit most of my needs but the markup syntax is user-hostile. The DocBook wiki points to a number of authoring tools, most of which are just generic XML editors. The only DocBook-specific tool there verges on the unusable. It also lists Lyx which seems a mature and usable tool for Latex, and produces highly attractive PDF documents. I read though that getting attractive HTML out of it is difficult. If I understand correctly I have to choose a target language for Lyx from the start: I can't start off with Latex and then later decide to I want to target DocBook, for example. So having got Lyx installed I'm looking in more detail at DocBook. A lot of the information seems to be out of date. There's a Lyx-to-X project that only works up to v1.2.0 of Lyx, and some old discussions on various sites of needing sgmltools, sgmltools-lite, or maybe sgmltools2, which appear to have been abandoned some years ago. This mailing lists contains occasional requests for help, but not too much information. If it wasn't for the information at http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have concluded that DocBook support in Lyx had been effectively abandoned. I wonder then if someone could help me with the following: 1. Am I right in my thinking that if I want good quality HTML and potentially CHM output, as well as PDF, then DocBook is the way to go rather than Latex? 2. And that if I want DocBook, then I need to be using that from the start? 3. Is DocBook development in Lyx abandonded or is it just quiet for the moment? 4. Is there any documentation on what a user of the latest version of Lyx has to do to resolve the unavailable class messages when using DocBook, and what they need to install in 2009 to get output from it. Thanks, i
Re: Lyx and DocBook
On Mon, Apr 13, 2009 at 4:13 PM, Ian S. Worthington ianworthing...@usa.net wrote: It also lists Lyx which seems a mature and usable tool for Latex, and produces highly attractive PDF documents. I read though that getting attractive HTML out of it is difficult. I''m getting good results out of the new tool ELyXer. http://wiki.lyx.org/Tools/ELyXer There have been a couple of threads about ELyXer on this mailing list. It's new and has some limitations. For instance, no TOC generation yet. However, the tool's author, Alex Fernandez, really likes getting challenging documents and making ELyXer work with them. -- Rich
Re: Lyx and DocBook
Ian S. Worthington wrote: If I understand correctly I have to choose a target language for Lyx from the start: I can't start off with Latex and then later decide to I want to target DocBook, for example. No, you can switch the documents. There may be some issues about how different bits of formatting get converted that will make things easier or more difficult. But these can often be resolved using an external script of some sort (sed, awk, perl, etc). This mailing lists contains occasional requests for help, but not too much information. If it wasn't for the information at http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have concluded that DocBook support in Lyx had been effectively abandoned. No, it still exists. Not many people use it, though, so how current it is, etc, is unclear. That said, however, there are some developers who pay attention to DocBook, and I think it's intended that it be usable. I wonder then if someone could help me with the following: 1. Am I right in my thinking that if I want good quality HTML and potentially CHM output, as well as PDF, then DocBook is the way to go rather than Latex? Possibly, though there are a lot of options for HTML now. You might check out plastex, which looks to me to be the most promising. 2. And that if I want DocBook, then I need to be using that from the start? Not necessarily. See above. 3. Is DocBook development in Lyx abandonded or is it just quiet for the moment? See above again. Though perhaps it's worth my saying what DocBook development is. There are just two aspects to it: (i) The DocBook layouts; (ii) the DocBook output routines. Both of these could be worked on by newbies, to some extent, certainly the layouts and very probably the output routines. 4. Is there any documentation on what a user of the latest version of Lyx has to do to resolve the unavailable class messages when using DocBook, and what they need to install in 2009 to get output from it. I'm not sure. But looking at configure.py, it seems that you need sgmltools installed, or else db2dvi or db2html. I'm cc'ing Martin Vermeer, as I think he knows about this Richard Thanks, i
Lyx and DocBook
I'm trying to find a content markup system (authoring and processing) that can output to various formats. Something which can be both viewed and printed, such as PDF, is probably a must, and something easily accessed online, such as HTML is close behind. If I could also produce CHM (or similar) Windows help files that would be nice too. I come from a IBM BookMaster background so I'm comfortable with content markup, and don't really need an authoring tool to work with it. DocBook seems to fit most of my needs but the markup syntax is user-hostile. The DocBook wiki points to a number of authoring tools, most of which are just generic XML editors. The only DocBook-specific tool there verges on the unusable. It also lists Lyx which seems a mature and usable tool for Latex, and produces highly attractive PDF documents. I read though that getting attractive HTML out of it is difficult. If I understand correctly I have to choose a target language for Lyx from the start: I can't start off with Latex and then later decide to I want to target DocBook, for example. So having got Lyx installed I'm looking in more detail at DocBook. A lot of the information seems to be out of date. There's a Lyx-to-X project that only works up to v1.2.0 of Lyx, and some old discussions on various sites of needing sgmltools, sgmltools-lite, or maybe sgmltools2, which appear to have been abandoned some years ago. This mailing lists contains occasional requests for help, but not too much information. If it wasn't for the information at http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have concluded that DocBook support in Lyx had been effectively abandoned. I wonder then if someone could help me with the following: 1. Am I right in my thinking that if I want good quality HTML and potentially CHM output, as well as PDF, then DocBook is the way to go rather than Latex? 2. And that if I want DocBook, then I need to be using that from the start? 3. Is DocBook development in Lyx abandonded or is it just quiet for the moment? 4. Is there any documentation on what a user of the latest version of Lyx has to do to resolve the "unavailable class" messages when using DocBook, and what they need to install in 2009 to get output from it. Thanks, i
Re: Lyx and DocBook
On Mon, Apr 13, 2009 at 4:13 PM, Ian S. Worthingtonwrote: > > It also lists Lyx which seems a mature and usable tool for Latex, > and produces highly attractive PDF documents. I read though that getting > attractive HTML out of it is difficult. > I''m getting good results out of the new tool ELyXer. http://wiki.lyx.org/Tools/ELyXer There have been a couple of threads about ELyXer on this mailing list. It's new and has some limitations. For instance, no TOC generation yet. However, the tool's author, Alex Fernandez, really likes getting challenging documents and making ELyXer work with them. -- Rich
Re: Lyx and DocBook
Ian S. Worthington wrote: If I understand correctly I have to choose a target language for Lyx from the start: I can't start off with Latex and then later decide to I want to target DocBook, for example. No, you can switch the documents. There may be some issues about how different bits of formatting get converted that will make things easier or more difficult. But these can often be resolved using an external script of some sort (sed, awk, perl, etc). This mailing lists contains occasional requests for help, but not too much information. If it wasn't for the information at http://www.neomantic.com/tutorials/lyx-and-docbookXML I would have concluded that DocBook support in Lyx had been effectively abandoned. No, it still exists. Not many people use it, though, so how current it is, etc, is unclear. That said, however, there are some developers who pay attention to DocBook, and I think it's intended that it be usable. I wonder then if someone could help me with the following: 1. Am I right in my thinking that if I want good quality HTML and potentially CHM output, as well as PDF, then DocBook is the way to go rather than Latex? Possibly, though there are a lot of options for HTML now. You might check out plastex, which looks to me to be the most promising. 2. And that if I want DocBook, then I need to be using that from the start? Not necessarily. See above. 3. Is DocBook development in Lyx abandonded or is it just quiet for the moment? See above again. Though perhaps it's worth my saying what "DocBook development" is. There are just two aspects to it: (i) The DocBook layouts; (ii) the DocBook output routines. Both of these could be worked on by newbies, to some extent, certainly the layouts and very probably the output routines. 4. Is there any documentation on what a user of the latest version of Lyx has to do to resolve the "unavailable class" messages when using DocBook, and what they need to install in 2009 to get output from it. I'm not sure. But looking at configure.py, it seems that you need sgmltools installed, or else db2dvi or db2html. I'm cc'ing Martin Vermeer, as I think he knows about this Richard Thanks, i
Re: LyX and Docbook/XML
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 book 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 authorinfo 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
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 book 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 authorinfo 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
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
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
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 book 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 authorinfo 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
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