473,488 Members | 2,464 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1762

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

Similar topics

0
1507
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
9775
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
2549
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
3006
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
3216
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
1275
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
9180
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
2398
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
7108
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6967
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...
1
6847
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
5445
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,...
1
4875
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.