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. Th
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 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:
> InTitle 1
> to ea
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
> that probably aren't very interesting. Can y
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 show is certainly fine.
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 a simple example file
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 spacing! I'm
talking about
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 Insert->Formatting->Vertical Space.
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 custom inset
names then I
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.
> [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 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 use custom insets to pr
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 file. If it preserves cu
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 could probably use cus
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 "elyxer" tool: a Python
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 h
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 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 document source.
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
--
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? Or, looking at
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 natively
>> suppor
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, maybe it
>> should
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 lacki
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
>> vertical spac
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 X
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 XSLT than embedded newlines!
So
26 matches
Mail list logo