Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 2nd, 2011, 12:43 AM
Registered User
 
Join Date: Nov 2011
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default Converting "TEX" equations in XML to HTML or XHTML

Hi,

I am new to this forum. I am facing challenge in converting TEX equations in my source XML to Word Document using XSLT.

My XML is as below:

<EquationSource Format="TEX"><![CDATA[$$\sum\nolimits_{f \in F} {} \sum\nolimits_{g \in F} {{w_{fg}}\left\| {{{\bf{x}}_g} - {{\bf{x}}_f}} \right\|} $$]]></EquationSource>

My expected output is :
http://i42.tinypic.com/35izz8o.jpg

As i am not able to copy the equation here, uploaded in tinypic site with image.

Any pointers to start with this? Any help is appreciated.
 
Old November 2nd, 2011, 04:26 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

You will need to either write or integrate a parser for TEX equations. I wouldn't attempt to write one unless you know the subject extremely well, which I suspect you don't, or you wouldn't be posting here. A quick google showed some interesting lines to pursue, for example

http://tex.stackexchange.com/questio...he-tex-engines
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting normal text to UTF values using "character map" ROCXY XSLT 1 June 8th, 2011 01:43 PM
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.