[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transforming XML or other intermediate representation of Texinfo; c
From: |
Robert Dodier |
Subject: |
Re: Transforming XML or other intermediate representation of Texinfo; category system |
Date: |
Wed, 15 Dec 2021 21:20:32 -0800 |
Hi Patrice, thanks a lot for your message.
I looked into the possibility of a Texinfo --> Texinfo XML -->
mogrifications --> Texinfo pipeline, but it looks like it's not going
to work. The translation from Texinfo to XML is lossy -- any
@ifsomething blocks are lost for something != xml. Likewise the
translation from XML back to Texinfo is lossy -- there doesn't appear
to be a way to recover macros which are present in the original
Texinfo and for which I can generate an XML tag; the XML tag (e.g.
<foo>bar</foo>) doesn't emit anything in the reconstituted Texinfo
(@foo{bar} would be ideal, but anyway, nothing is generated).
Given that, I can't see a way to treat Texinfo XML as an intermediate
representation of a document, suitable for transformations, except for
restricted-enough documents.
No fault on your part, I don't mean to assign blame or responsibility
or whatever, just saying that it's too bad, I can't figure out a way
to make it work. Thanks for your help all the same, I appreciate it.
best,
Robert Dodier
- Transforming XML or other intermediate representation of Texinfo; category system, Robert Dodier, 2021/12/13
- Re: Transforming XML or other intermediate representation of Texinfo; category system, Patrice Dumas, 2021/12/13
- Re: Transforming XML or other intermediate representation of Texinfo; category system,
Robert Dodier <=
- Re: Transforming XML or other intermediate representation of Texinfo; category system, Patrice Dumas, 2021/12/16
- Re: Transforming XML or other intermediate representation of Texinfo; category system, Robert Dodier, 2021/12/17
- Re: Transforming XML or other intermediate representation of Texinfo; category system, Patrice Dumas, 2021/12/18
- Re: Transforming XML or other intermediate representation of Texinfo; category system, Robert Dodier, 2021/12/18
- Re: Transforming XML or other intermediate representation of Texinfo; category system, Patrice Dumas, 2021/12/19
- Re: Transforming XML or other intermediate representation of Texinfo; category system, Vincent Breton, 2021/12/16
- Re: Transforming XML or other intermediate representation of Texinfo; category system, Gavin Smith, 2021/12/19