FWIW, I've put up a github repo with my LyX-xml2rfc tool, though it's
still a work in progress: https://github.com/nicowilliams/lyx2rfc
BTW, I can't get lyx -e lyxhtml ... to work. lyx -e xhtml does
work, but then there are some differences from the LyXHTML option in
the File-Export menu. The
FWIW, I've put up a github repo with my LyX-xml2rfc tool, though it's
still a work in progress: https://github.com/nicowilliams/lyx2rfc
BTW, I can't get lyx -e lyxhtml ... to work. lyx -e xhtml does
work, but then there are some differences from the LyXHTML option in
the File-Export menu. The
FWIW, I've put up a github repo with my LyX->xml2rfc tool, though it's
still a work in progress: https://github.com/nicowilliams/lyx2rfc
BTW, I can't get "lyx -e lyxhtml ..." to work. lyx -e xhtml does
work, but then there are some differences from the LyXHTML option in
the File->Export menu.
Well, thanks lots for your help. I have something that's very close.
Close enough that I can now author I-Ds in LyX. I've found one more
bug in the LyX XHTML output, and I filed a bug for it (bibitem anchor
generation is not working properly), and I can work around it.
Cheers!
Nico
--
Well, thanks lots for your help. I have something that's very close.
Close enough that I can now author I-Ds in LyX. I've found one more
bug in the LyX XHTML output, and I filed a bug for it (bibitem anchor
generation is not working properly), and I can work around it.
Cheers!
Nico
--
Well, thanks lots for your help. I have something that's very close.
Close enough that I can now author I-Ds in LyX. I've found one more
bug in the LyX XHTML output, and I filed a bug for it (bibitem anchor
generation is not working properly), and I can work around it.
Cheers!
Nico
--
On Thu, May 10, 2012 at 10:09 AM, Richard Heck rgh...@comcast.net wrote:
I don't know how to create a custom inset that does.. [...]
Try putting this into Local Layout, under DocumentSettings:
Excellent, that worked great.
I guess if you want these as metadata, you should also add:
On Thu, May 10, 2012 at 10:09 AM, Richard Heck rgh...@comcast.net wrote:
I don't know how to create a custom inset that does.. [...]
Try putting this into Local Layout, under DocumentSettings:
Excellent, that worked great.
I guess if you want these as metadata, you should also add:
On Thu, May 10, 2012 at 10:09 AM, Richard Heck wrote:
>> I don't know how to create a custom inset that does.. [...]
>
> Try putting this into Local Layout, under Document>Settings:
Excellent, that worked great.
> I guess if you want these as metadata, you should also add:
>
On 05/09/2012 02:29 AM, Nico Williams wrote:
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing! I'm
talking about Insert-Formatting-Vertical Space. I suspect that
there are other such things that aren't preserved.
On 05/09/2012 02:14 AM, Nico Williams wrote:
On Tue, May 8, 2012 at 10:58 PM, Richard Heckrgh...@comcast.net wrote:
On 05/08/2012 07:30 PM, Nico Williams wrote:
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file. If it preserves custom
On Thu, May 10, 2012 at 10:02 AM, Richard Heck rgh...@comcast.net wrote:
On 05/09/2012 02:29 AM, Nico Williams wrote:
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing! I'm
talking about Insert-Formatting-Vertical
On 05/10/2012 11:52 AM, Nico Williams wrote:
On Thu, May 10, 2012 at 10:02 AM, Richard Heckrgh...@comcast.net wrote:
On 05/09/2012 02:29 AM, Nico Williams wrote:
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing!
On Thu, May 10, 2012 at 3:31 PM, Richard Heck rgh...@comcast.net wrote:
Actually, it looks like this got fixed a while ago. In a simple text
document I get:
I'm running LyX 2.0.0. The vspace I had was in an author inset, FWIW.
The output you show is certainly fine.
If you want to post a
On 05/10/2012 04:52 PM, Nico Williams wrote:
On Thu, May 10, 2012 at 3:31 PM, Richard Heckrgh...@comcast.net wrote:
Actually, it looks like this got fixed a while ago. In a simple text
document I get:
I'm running LyX 2.0.0. The vspace I had was in an author inset, FWIW.
The output you show
On Thu, May 10, 2012 at 8:27 PM, Richard Heck rgh...@comcast.net wrote:
On 05/10/2012 04:52 PM, Nico Williams wrote:
On Thu, May 10, 2012 at 3:31 PM, Richard Heckrgh...@comcast.net wrote:
Here's a LyX snippet:
OK, I see the problem. The vertical space gets moved, for reasons
that probably
On 05/09/2012 02:29 AM, Nico Williams wrote:
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing! I'm
talking about Insert-Formatting-Vertical Space. I suspect that
there are other such things that aren't preserved.
On 05/09/2012 02:14 AM, Nico Williams wrote:
On Tue, May 8, 2012 at 10:58 PM, Richard Heckrgh...@comcast.net wrote:
On 05/08/2012 07:30 PM, Nico Williams wrote:
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file. If it preserves custom
On Thu, May 10, 2012 at 10:02 AM, Richard Heck rgh...@comcast.net wrote:
On 05/09/2012 02:29 AM, Nico Williams wrote:
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing! I'm
talking about Insert-Formatting-Vertical
On 05/10/2012 11:52 AM, Nico Williams wrote:
On Thu, May 10, 2012 at 10:02 AM, Richard Heckrgh...@comcast.net wrote:
On 05/09/2012 02:29 AM, Nico Williams wrote:
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing!
On Thu, May 10, 2012 at 3:31 PM, Richard Heck rgh...@comcast.net wrote:
Actually, it looks like this got fixed a while ago. In a simple text
document I get:
I'm running LyX 2.0.0. The vspace I had was in an author inset, FWIW.
The output you show is certainly fine.
If you want to post a
On 05/10/2012 04:52 PM, Nico Williams wrote:
On Thu, May 10, 2012 at 3:31 PM, Richard Heckrgh...@comcast.net wrote:
Actually, it looks like this got fixed a while ago. In a simple text
document I get:
I'm running LyX 2.0.0. The vspace I had was in an author inset, FWIW.
The output you show
On Thu, May 10, 2012 at 8:27 PM, Richard Heck rgh...@comcast.net wrote:
On 05/10/2012 04:52 PM, Nico Williams wrote:
On Thu, May 10, 2012 at 3:31 PM, Richard Heckrgh...@comcast.net wrote:
Here's a LyX snippet:
OK, I see the problem. The vertical space gets moved, for reasons
that probably
On 05/09/2012 02:29 AM, Nico Williams wrote:
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing! I'm
talking about Insert->Formatting->Vertical Space. I suspect that
there are other such things that aren't
On 05/09/2012 02:14 AM, Nico Williams wrote:
On Tue, May 8, 2012 at 10:58 PM, Richard Heck wrote:
On 05/08/2012 07:30 PM, Nico Williams wrote:
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file. If it preserves
On Thu, May 10, 2012 at 10:02 AM, Richard Heck wrote:
> On 05/09/2012 02:29 AM, Nico Williams wrote:
>>> [Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
>>> vertical spacing in any way, not even as horizontal spacing! I'm
>>> talking about
On 05/10/2012 11:52 AM, Nico Williams wrote:
On Thu, May 10, 2012 at 10:02 AM, Richard Heck wrote:
On 05/09/2012 02:29 AM, Nico Williams wrote:
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal
On Thu, May 10, 2012 at 3:31 PM, Richard Heck wrote:
> Actually, it looks like this got fixed a while ago. In a simple text
> document I get:
I'm running LyX 2.0.0. The vspace I had was in an author inset, FWIW.
The output you show is certainly fine.
> If you want to post
On 05/10/2012 04:52 PM, Nico Williams wrote:
On Thu, May 10, 2012 at 3:31 PM, Richard Heck wrote:
Actually, it looks like this got fixed a while ago. In a simple text
document I get:
I'm running LyX 2.0.0. The vspace I had was in an author inset, FWIW.
The output you
On Thu, May 10, 2012 at 8:27 PM, Richard Heck wrote:
> On 05/10/2012 04:52 PM, Nico Williams wrote:
>> On Thu, May 10, 2012 at 3:31 PM, Richard Heck wrote:
>> Here's a LyX snippet:
>
> OK, I see the problem. The vertical space gets moved, for reasons
>
On Tue, May 8, 2012 at 10:58 PM, Richard Heck rgh...@comcast.net wrote:
On 05/08/2012 07:30 PM, Nico Williams wrote:
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file. If it preserves custom inset
names then I could probably use custom
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing! I'm
talking about Insert-Formatting-Vertical Space. I suspect that
there are other such things that aren't preserved. For now I'll live.
Vertical space is
On Tue, May 8, 2012 at 10:58 PM, Richard Heck rgh...@comcast.net wrote:
On 05/08/2012 07:30 PM, Nico Williams wrote:
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file. If it preserves custom inset
names then I could probably use custom
[Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
vertical spacing in any way, not even as horizontal spacing! I'm
talking about Insert-Formatting-Vertical Space. I suspect that
there are other such things that aren't preserved. For now I'll live.
Vertical space is
On Tue, May 8, 2012 at 10:58 PM, Richard Heck wrote:
> On 05/08/2012 07:30 PM, Nico Williams wrote:
>> LyXHTML looks very promising. It certainly preserves everything I
>> have in my [admittedly small] test file. If it preserves custom inset
>> names then I could probably
> [Actually, I'm noticing one problem with LyXHTML: it doesn't preserve
> vertical spacing in any way, not even as horizontal spacing! I'm
> talking about Insert->Formatting->Vertical Space. I suspect that
> there are other such things that aren't preserved. For now I'll live.
> Vertical space
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde mi...@users.sf.net wrote:
So how about XHTML as starting point for your XSLT transformations?
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file. If it preserves custom inset
names then I
On 05/08/2012 07:30 PM, Nico Williams wrote:
On Tue, May 8, 2012 at 12:40 AM, Guenter Mildemi...@users.sf.net wrote:
So how about XHTML as starting point for your XSLT transformations?
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file.
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde mi...@users.sf.net wrote:
So how about XHTML as starting point for your XSLT transformations?
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file. If it preserves custom inset
names then I
On 05/08/2012 07:30 PM, Nico Williams wrote:
On Tue, May 8, 2012 at 12:40 AM, Guenter Mildemi...@users.sf.net wrote:
So how about XHTML as starting point for your XSLT transformations?
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file.
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde wrote:
> So how about XHTML as starting point for your XSLT transformations?
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test file. If it preserves custom inset
names then I
On 05/08/2012 07:30 PM, Nico Williams wrote:
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde wrote:
So how about XHTML as starting point for your XSLT transformations?
LyXHTML looks very promising. It certainly preserves everything I
have in my [admittedly small] test
Nico Williams wrote:
The LaTeX-XML tools I've tried leave me... sad. They tend to drop
some things. For example: vertical space, which becomes a simple
newline in a paragraph's text. It would be better to translate
vertical space into vspace/ elements -- that'd be much, much more
useful in
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote:
Nico Williams wrote:
The LaTeX-XML tools I've tried leave me... sad. They tend to drop
some things. For example: vertical space, which becomes a simple
newline in a paragraph's text. It would be better to translate
vertical
Nico Williams wrote:
This I hadn't seen. One thing to note is that the LyX I'm running (on
Ubuntu) has no option to save as or export to SGML or DocBook. I
gather from the link you gave me that SGML and Docbook are natively
supported export formats, so I guess Ubuntu's build must be lacking
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote:
Nico Williams wrote:
How does LyX represent documents internally? If it does it in an
objectified form then it should be fairly straightforward to walk the
document tree and emit XML, no? Or, looking at .lyx files, maybe it
On Mon, May 7, 2012 at 12:41 PM, Pavel Sanda sa...@lyx.org wrote:
Nico Williams wrote:
This I hadn't seen. One thing to note is that the LyX I'm running (on
Ubuntu) has no option to save as or export to SGML or DocBook. I
gather from the link you gave me that SGML and Docbook are natively
Nico Williams wrote:
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote:
Nico Williams wrote:
How does LyX represent documents internally? If it does it in an
objectified form then it should be fairly straightforward to walk the
document tree and emit XML, no? Or, looking
No, i got that. I don't actually care for docbook. I want a straightforward
translation to XML that preserves all data and metadata. If I need a
specific schema I can always use XSLT to get output in that form.
Nico
--
On Mon, May 7, 2012 at 12:56 PM, Nico Williams n...@cryptonector.com wrote:
Ah, that works. Thanks! I'll take a look and see if the native
DocBook export works for me.
Nope, it still doesn't allow more than one author in docbook, though
it does merge all the authors listed in the LyX document
Is there canonical documentation of the LyX file format? I can't find
it... I did find this: http://wiki.lyx.org/Devel/LyXFileFormat , but
that's just a changelog. There's nothing else obvious in
http://wiki.lyx.org/Devel/ ... The development/FORMAT file in the
source tree is also a changelog.
On 2012-05-07, Nico Williams wrote:
[-- Type: text/plain, Encoding: --]
No, i got that. I don't actually care for docbook. I want a straightforward
translation to XML that preserves all data and metadata. If I need a
specific schema I can always use XSLT to get output in that form.
So how
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde mi...@users.sf.net wrote:
So how about XHTML as starting point for your XSLT transformations?
Otherwise, you could use the native XHTML formatter as a model for adding
native XML output.
Another starting point would be the external elyxer tool:
Nico Williams wrote:
The LaTeX-XML tools I've tried leave me... sad. They tend to drop
some things. For example: vertical space, which becomes a simple
newline in a paragraph's text. It would be better to translate
vertical space into vspace/ elements -- that'd be much, much more
useful in
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote:
Nico Williams wrote:
The LaTeX-XML tools I've tried leave me... sad. They tend to drop
some things. For example: vertical space, which becomes a simple
newline in a paragraph's text. It would be better to translate
vertical
Nico Williams wrote:
This I hadn't seen. One thing to note is that the LyX I'm running (on
Ubuntu) has no option to save as or export to SGML or DocBook. I
gather from the link you gave me that SGML and Docbook are natively
supported export formats, so I guess Ubuntu's build must be lacking
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote:
Nico Williams wrote:
How does LyX represent documents internally? If it does it in an
objectified form then it should be fairly straightforward to walk the
document tree and emit XML, no? Or, looking at .lyx files, maybe it
On Mon, May 7, 2012 at 12:41 PM, Pavel Sanda sa...@lyx.org wrote:
Nico Williams wrote:
This I hadn't seen. One thing to note is that the LyX I'm running (on
Ubuntu) has no option to save as or export to SGML or DocBook. I
gather from the link you gave me that SGML and Docbook are natively
Nico Williams wrote:
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote:
Nico Williams wrote:
How does LyX represent documents internally? If it does it in an
objectified form then it should be fairly straightforward to walk the
document tree and emit XML, no? Or, looking
No, i got that. I don't actually care for docbook. I want a straightforward
translation to XML that preserves all data and metadata. If I need a
specific schema I can always use XSLT to get output in that form.
Nico
--
On Mon, May 7, 2012 at 12:56 PM, Nico Williams n...@cryptonector.com wrote:
Ah, that works. Thanks! I'll take a look and see if the native
DocBook export works for me.
Nope, it still doesn't allow more than one author in docbook, though
it does merge all the authors listed in the LyX document
Is there canonical documentation of the LyX file format? I can't find
it... I did find this: http://wiki.lyx.org/Devel/LyXFileFormat , but
that's just a changelog. There's nothing else obvious in
http://wiki.lyx.org/Devel/ ... The development/FORMAT file in the
source tree is also a changelog.
On 2012-05-07, Nico Williams wrote:
[-- Type: text/plain, Encoding: --]
No, i got that. I don't actually care for docbook. I want a straightforward
translation to XML that preserves all data and metadata. If I need a
specific schema I can always use XSLT to get output in that form.
So how
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde mi...@users.sf.net wrote:
So how about XHTML as starting point for your XSLT transformations?
Otherwise, you could use the native XHTML formatter as a model for adding
native XML output.
Another starting point would be the external elyxer tool:
Nico Williams wrote:
> The LaTeX->XML tools I've tried leave me... sad. They tend to drop
> some things. For example: vertical space, which becomes a simple
> newline in a paragraph's text. It would be better to translate
> vertical space into elements -- that'd be much, much more
> useful in
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda wrote:
> Nico Williams wrote:
>> The LaTeX->XML tools I've tried leave me... sad. They tend to drop
>> some things. For example: vertical space, which becomes a simple
>> newline in a paragraph's text. It would be better to translate
Nico Williams wrote:
> This I hadn't seen. One thing to note is that the LyX I'm running (on
> Ubuntu) has no option to save as or export to SGML or DocBook. I
> gather from the link you gave me that SGML and Docbook are natively
> supported export formats, so I guess Ubuntu's build must be
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda wrote:
> Nico Williams wrote:
>> How does LyX represent documents internally? If it does it in an
>> objectified form then it should be fairly straightforward to walk the
>> document tree and emit XML, no? Or, looking at .lyx files,
On Mon, May 7, 2012 at 12:41 PM, Pavel Sanda wrote:
> Nico Williams wrote:
>> This I hadn't seen. One thing to note is that the LyX I'm running (on
>> Ubuntu) has no option to save as or export to SGML or DocBook. I
>> gather from the link you gave me that SGML and Docbook are
Nico Williams wrote:
> On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda wrote:
> > Nico Williams wrote:
> >> How does LyX represent documents internally? If it does it in an
> >> objectified form then it should be fairly straightforward to walk the
> >> document tree and emit XML, no?
No, i got that. I don't actually care for docbook. I want a straightforward
translation to XML that preserves all data and metadata. If I need a
specific schema I can always use XSLT to get output in that form.
Nico
--
On Mon, May 7, 2012 at 12:56 PM, Nico Williams wrote:
> Ah, that works. Thanks! I'll take a look and see if the native
> DocBook export works for me.
Nope, it still doesn't allow more than one author in docbook, though
it does merge all the authors listed in the LyX
Is there canonical documentation of the LyX file format? I can't find
it... I did find this: http://wiki.lyx.org/Devel/LyXFileFormat , but
that's just a changelog. There's nothing else obvious in
http://wiki.lyx.org/Devel/ ... The development/FORMAT file in the
source tree is also a changelog.
On 2012-05-07, Nico Williams wrote:
> [-- Type: text/plain, Encoding: --]
> No, i got that. I don't actually care for docbook. I want a straightforward
> translation to XML that preserves all data and metadata. If I need a
> specific schema I can always use XSLT to get output in that form.
So
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde wrote:
> So how about XHTML as starting point for your XSLT transformations?
>
> Otherwise, you could use the native XHTML formatter as a model for adding
> "native XML" output.
>
> Another starting point would be the external
75 matches
Mail list logo