473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Miscellaneous issues with tex4ht, xml and xsl transformations

Hello,

I am trying to generate a doc file from latex source for a colleague (simple
article class, using authblk package) through one of the two following
ways :

1. Create an odt file using :

$mk4ht oolatex document.tex "xhtml,ooffice,mathml"

This generates a truckload of document-mxx.tmp files, one for each
mathematical symbol as far as I can tell. The resulting odt file opens
cleanly in openoffice but all the mathematical symbols (superscripts etc.)
are rendered as images. That is not so bad. However, some of the
superscripts have funny characters underneath them (think a brace of
inverted question marks). What is the reason for this ?

Further, double clicking on a citation does not take me to the reference. It
just shows a short name (which is the number of the citation). No author
details, nothing.

2. Create an html file using :

$mk4ht htlatex document.tex "xhtml,mathml,word"

This generates an excellent html+css version of the document (excellent job,
guys). All the mathematical symbols are fine, etc (hint : the use of
option "word" above appears to fix some misrendered superscripts you would
get otherwise). I have Microsoft Word 2007 installed on a laptop running
windows XP. What I do next is to open the html document in Word and save as
docx (or doc).

However, the links generated for the citations are of the form :

file:///home/.../document.html#Xauthname:08a

Now, when word opens this, the citations generated are meaningless as well.

I know LaTeX and Word are separate word processing solutions with entirely
different philosophies. What makes LaTeX the correct solution for me is the
amount of math in the document (something that would take me tons of time
using word) and what a nightmare handling citations is in Word (even with
Endnote - years of using bibtex have spoiled me forever :) ).

But is there something I can do during html generation that will help me
recover proper citations ? This is not an html conversion + Word specific
problem - I have the same issue when I generate an odt and open it in
openoffice (see above).

An issue possibly arising from mk4ht :

On my home machine, I am able to generate html that opens in word without
any issues. However, at work, the generated html just shows up a bunch of
xml tags in word which offers to apply any xsl transformation I want to
them. I have not been able to figure out why this difference exists. Is it
because I am missing some transformation package (so that mk4ht is unable
to somehow include the xsl information) on my work machine ? Note - the
test windows environment is IDENTICAL for html files generated from two
different installations of TeXLive.

I am not an xml expert.

PS : Is there a way to directly convert tex to office open xml (I know even
Microsoft Word 2007 does not fully implement that joke of a standard.) ?
That would fix this entire problem.
Oct 2 '08 #1
0 1756

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike | last post by:
I am trying to code vb.net to perform XML transformations by applying a style sheet to a XML doc. All of my XML and XSLT documents will be in either XML DOM Objects or string variables. I am not...
30
by: btober | last post by:
Whenever I create a temporary table, with something like CREATE TEMPORARY TABLE temptable1 AS SELECT * FROM paid.ad_hoc_query; New schemas appear, with names like "pg_temp_1". I guess the...
5
by: Keith Chadwick | last post by:
I am migrating an existing ASP app that uses XSLT transformations to render against a language XML doc for localization and other items. When I moved this logic into .NET and the native xml and xsl...
4
by: Steve Jorgensen | last post by:
I'm restarting this thread with a different focus. The project I'm working on now id coming along and will be made to work, and it's too late to start over with a new strategy. Still, I'm not...
6
by: Christopher | last post by:
I am currently in the process of evaluating the performance hits of moving to the .NET platform for our application. I created a sample project that loads the transforms the same XML and XSLT in...
0
by: Alain Frisch | last post by:
Hello, I'd like to announce a new small language for XML transformation, called XStream. Transformations written in XStream are compiled into efficient XML stream processors: the output is...
0
Ganon11
by: Ganon11 | last post by:
The Miscellaneous Discussions forum is for any technology related question, comment, concern, or discussion. However, we encourage you to look at the full list of forums before deciding this is the...
5
by: Henry Stock | last post by:
My ISP provides this sample for an ASP.NET capable email form. If you have any idea about how to do the following, I would greatly appreciate your help. I have a few alterations that I would...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.