xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric J. Peters" <erpet...@sammg.com>
Subject Re: Urgent help please
Date Mon, 15 Jan 2001 12:52:43 GMT

I feel I'm missing something...  Maybe I just don't understand the question?
Maybe it's simply lack of coffee...

LaTex is simply a page layout language, right?  So, to convert from LaTex to 
XML would require stepping back to the data that LaTex is laying out, finding
the right DTD in which to implement that data, and doing a conversion at that 
level.  Then to get the same page layout and structure you would do something 
with stylesheets or some other fancy rendering stuff like that, right?

My gut reaction is that a conversion from any arbitrary LaTex to XML would be a
kludge and not be a fair XML representation of the underlying data.  Can 
somebody comment on this reaction and let me know if I'm missing something...

        Thanks,
        -Eric.


On Tue, 16 Jan 2001, Hui Zhao wrote:

> Hello,
> 
> Anybody knows how to convert LaTex documents into XML format, please reply
> ASAP
> 
> Henry
> -----Original Message-----
> From: Sven Kuenzler <svenk@gmx.net>
> To: general@xml.apache.org <general@xml.apache.org>
> Date: Monday, January 15, 2001 3:54 AM
> Subject: Stylebook cvs
> 
> 
> >Hi,
> >
> >I am using stylebook for our project home page. This works fine for HTML
> >pages, however, the XMLPrinter creates non-well-formed xml documents in
> some
> >cases:
> >
> >- The hard-wired <?xml version="1.0"?> does not work with documents
> containg
> >umlauts oaus
> >- "<" should be replaced by &lt; in text elements.
> >
> >I'd like to fix this  myself. Unfortunately, I am unable to get the cvs
> >version of  stylebook running.
> >My project works fine with the stylebook-1.0-b2.jar thats in the
> repository.
> >When using the .jar file that I built myself, I get the error message
> >attached below.
> >
> >Is this a known problem? Is there a cvs tag for the latest working
> stylebook
> >version?
> >
> >Thanks,
> >    Sven....
> >
> >-- SNIP
> >
> >     [java] [StyleBook] Overriding targetDirectory="../build" (Old=".")
> >     [java] [StyleBook] Project URL: "sbk:/sources/toc.xml"
> >     [java] [BasicEngine] Initializing
> >     [java] [Loader] Parsing Project file
> >     [java] [XalanProcessor] Applying XSL sheet
> >"sbk:/style/stylesheets/toc2project.xsl"
> >     [java] [Project] Creating "fullreport.xml"
> >     [java] [CachingParser] Serving cached document "sbk:/sources/toc.xml"
> >(1)
> >     [java] [XalanProcessor] Applying XSL sheet
> >"sbk:/style/stylesheets/report2pdf.xsl"
> >     [java] [XercesParser] File "sbk:/style/article2pdf.xsl" not found.
> >[File: "null" Line: 0 Column: 0]
> >     [java] org.apache.xalan.xslt.XSLProcessorException: File
> >"sbk:/style/article2pdf.xsl" not found.
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1630)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:
> 7
> >22)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:556)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:
> 6
> >8)
> >     [java]  at org.apache.stylebook.BasicEntry.create(BasicEntry.java:67)
> >     [java]  at org.apache.stylebook.Project.create(Project.java:68)
> >     [java]  at org.apache.stylebook.StyleBook.main(StyleBook.java:92)
> >     [java] ---------
> >     [java] org.xml.sax.SAXParseException: File
> "sbk:/style/article2pdf.xsl"
> >not found.
> >     [java]  at
> >org.apache.stylebook.parsers.XercesParser.fatalError(XercesParser.java:91)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:998)
> >     [java]  at
> >org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Def
> a
> >ultEntityHandler.java:512)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
> >     [java]  at
> >org.apache.stylebook.parsers.XercesParser.parse(XercesParser.java:48)
> >     [java]  at
> >org.apache.stylebook.parsers.CachingParser.parse(CachingParser.java:92)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor$Liaison.parse(XalanProcessor
> .
> >java:127)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.parseXML(XSLTEngineImpl.java:887)
> >     [java]  at
> >org.apache.xalan.xslt.StylesheetHandler.processImport(StylesheetHandler.jav
> a
> >:1243)
> >     [java]  at
> >org.apache.xalan.xslt.StylesheetHandler.startElement(StylesheetHandler.java
> :
> >516)
> >     [java]  at
> >org.apache.xalan.xpath.xml.TreeWalker.startNode(TreeWalker.java:195)
> >     [java]  at
> >org.apache.xalan.xpath.xml.TreeWalker.traverse(TreeWalker.java:98)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:
> 7
> >07)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:556)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:
> 6
> >8)
> >     [java]  at org.apache.stylebook.BasicEntry.create(BasicEntry.java:67)
> >     [java]  at org.apache.stylebook.Project.create(Project.java:68)
> >     [java]  at org.apache.stylebook.StyleBook.main(StyleBook.java:92)
> >     [java] ---------
> >     [java] org.xml.sax.SAXParseException: File
> "sbk:/style/article2pdf.xsl"
> >not found.
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:975)
> >     [java]  at
> >org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Def
> a
> >ultEntityHandler.java:512)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
> >     [java]  at
> >org.apache.stylebook.parsers.XercesParser.parse(XercesParser.java:48)
> >     [java]  at
> >org.apache.stylebook.parsers.CachingParser.parse(CachingParser.java:92)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor$Liaison.parse(XalanProcessor
> .
> >java:127)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.parseXML(XSLTEngineImpl.java:887)
> >     [java]  at
> >org.apache.xalan.xslt.StylesheetHandler.processImport(StylesheetHandler.jav
> a
> >:1243)
> >     [java]  at
> >org.apache.xalan.xslt.StylesheetHandler.startElement(StylesheetHandler.java
> :
> >516)
> >     [java]  at
> >org.apache.xalan.xpath.xml.TreeWalker.startNode(TreeWalker.java:195)
> >     [java]  at
> >org.apache.xalan.xpath.xml.TreeWalker.traverse(TreeWalker.java:98)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:
> 7
> >07)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:556)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:
> 6
> >8)
> >     [java]  at org.apache.stylebook.BasicEntry.create(BasicEntry.java:67)
> >     [java]  at org.apache.stylebook.Project.create(Project.java:68)
> >     [java]  at org.apache.stylebook.StyleBook.main(StyleBook.java:92)
> >     [java] [StyleBook] Caught org.apache.xalan.xslt.XSLProcessorException
> >     [java] org.apache.xalan.xslt.XSLProcessorException: File
> >"sbk:/style/article2pdf.xsl" not found.
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1630)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:
> 7
> >22)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:556)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:
> 6
> >8)
> >     [java]  at org.apache.stylebook.BasicEntry.create(BasicEntry.java:67)
> >     [java]  at org.apache.stylebook.Project.create(Project.java:68)
> >     [java]  at org.apache.stylebook.StyleBook.main(StyleBook.java:92)
> >     [java] ---------
> >     [java] org.xml.sax.SAXParseException: File
> "sbk:/style/article2pdf.xsl"
> >not found.
> >     [java]  at
> >org.apache.stylebook.parsers.XercesParser.fatalError(XercesParser.java:91)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:998)
> >     [java]  at
> >org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Def
> a
> >ultEntityHandler.java:512)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
> >     [java]  at
> >org.apache.stylebook.parsers.XercesParser.parse(XercesParser.java:48)
> >     [java]  at
> >org.apache.stylebook.parsers.CachingParser.parse(CachingParser.java:92)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor$Liaison.parse(XalanProcessor
> .
> >java:127)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.parseXML(XSLTEngineImpl.java:887)
> >     [java]  at
> >org.apache.xalan.xslt.StylesheetHandler.processImport(StylesheetHandler.jav
> a
> >:1243)
> >     [java]  at
> >org.apache.xalan.xslt.StylesheetHandler.startElement(StylesheetHandler.java
> :
> >516)
> >     [java]  at
> >org.apache.xalan.xpath.xml.TreeWalker.startNode(TreeWalker.java:195)
> >     [java]  at
> >org.apache.xalan.xpath.xml.TreeWalker.traverse(TreeWalker.java:98)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:
> 7
> >07)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:556)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:
> 6
> >8)
> >     [java]  at org.apache.stylebook.BasicEntry.create(BasicEntry.java:67)
> >     [java]  at org.apache.stylebook.Project.create(Project.java:68)
> >     [java]  at org.apache.stylebook.StyleBook.main(StyleBook.java:92)
> >     [java] ---------
> >     [java] org.xml.sax.SAXParseException: File
> "sbk:/style/article2pdf.xsl"
> >not found.
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:975)
> >     [java]  at
> >org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Def
> a
> >ultEntityHandler.java:512)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)
> >     [java]  at
> >org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
> >     [java]  at
> >org.apache.stylebook.parsers.XercesParser.parse(XercesParser.java:48)
> >     [java]  at
> >org.apache.stylebook.parsers.CachingParser.parse(CachingParser.java:92)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor$Liaison.parse(XalanProcessor
> .
> >java:127)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.parseXML(XSLTEngineImpl.java:887)
> >     [java]  at
> >org.apache.xalan.xslt.StylesheetHandler.processImport(StylesheetHandler.jav
> a
> >:1243)
> >     [java]  at
> >org.apache.xalan.xslt.StylesheetHandler.startElement(StylesheetHandler.java
> :
> >516)
> >     [java]  at
> >org.apache.xalan.xpath.xml.TreeWalker.startNode(TreeWalker.java:195)
> >     [java]  at
> >org.apache.xalan.xpath.xml.TreeWalker.traverse(TreeWalker.java:98)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:
> 7
> >07)
> >     [java]  at
> >org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:556)
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:
> 6
> >8)
> >     [java]  at org.apache.stylebook.BasicEntry.create(BasicEntry.java:67)
> >     [java]  at org.apache.stylebook.Project.create(Project.java:68)
> >     [java]  at org.apache.stylebook.StyleBook.main(StyleBook.java:92)
> >     [java] [StyleBook] Caught org.apache.stylebook.CreationException
> >     [java] org.apache.stylebook.CreationException: File
> >"sbk:/style/article2pdf.xsl" not found.
> >     [java]  at
> >org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:
> 7
> >2)
> >     [java]  at org.apache.stylebook.BasicEntry.create(BasicEntry.java:67)
> >     [java]  at org.apache.stylebook.Project.create(Project.java:68)
> >     [java]  at org.apache.stylebook.StyleBook.main(StyleBook.java:92)
> >     [java] Result: 255
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >In case of troubles, e-mail:     webmaster@xml.apache.org
> >To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> >For additional commands, e-mail: general-help@xml.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org

Mime
View raw message