Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1428

Summary: A Lyx to Gentoo Guide XML bridge
Product: [OLD] Docs-user Reporter: Matthew Kennedy <mbkennedy>
Component: OtherAssignee: Dan Armak (RETIRED) <danarmak>
Status: VERIFIED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: README
xalan
lyx-to-gentoo.xslt
output.xml
output.html
xalan

Description Matthew Kennedy 2002-03-31 04:08:21 UTC
Howdy,

Attached is the code to convert DocBook 3.1 XML (Lyx can export to DocBook 3.1
and sgml2xml can convert that to DocBook XML) to Gentoo Guide XML. It is simply
an XSL transform. The result is that it allows developers and other guide
authors to use Lyx to author Gentoo XML Guides.

Matt
Comment 1 Matthew Kennedy 2002-03-31 04:09:18 UTC
Created attachment 477 [details]
README

* describes how to install, use the tool, it's limitations etc.
Comment 2 Matthew Kennedy 2002-03-31 04:10:16 UTC
Created attachment 478 [details]
xalan

* wrapper script for Apache's Xalan XSLT engine
Comment 3 Matthew Kennedy 2002-03-31 04:11:14 UTC
Created attachment 479 [details]
lyx-to-gentoo.xslt

* the XSLT to go from DocBook 3.1 to Gentoo Guide XML
Comment 4 Matthew Kennedy 2002-03-31 04:12:20 UTC
Created attachment 480 [details]
output.xml

* example output from this tool (in gentoo guide xml format)
Comment 5 Matthew Kennedy 2002-03-31 04:13:15 UTC
Created attachment 481 [details]
output.html

* output after running output.xml through xsltproc using gentoo-main.xsl
Comment 6 Matthew Kennedy 2002-03-31 05:59:36 UTC
Created attachment 482 [details]
xalan

* use this xalan wrapper script instead! I sent an old/wrong copy the first
time.
Comment 7 Daniel Robbins (RETIRED) gentoo-dev 2002-03-31 17:39:18 UTC
I don't have time to maintain/handle this, but it's going to be a great asset. 
Assigning to danarmak for maintainance (commit to gentoo-src?)
Comment 8 Dan Armak (RETIRED) gentoo-dev 2002-04-01 02:07:47 UTC
I already committed it. See gentoo-core announcement. The instructions here aren't accurate anymore; xalan isn't required, xsltproc will do. I'll maintain it. 
Comment 9 John Davis (zhen) (RETIRED) gentoo-dev 2002-12-15 21:05:47 UTC
Trying to clean out the docs-depricated so that I can close the catergory ...