Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: LaTeX->PSGML

From: Randy Yates <yates@----.--->
To: NULL
Date: 7/7/2007 9:16:00 PM

David Carlisle <david-news@d...> writes:

> Randy Yates wrote:
>> Dear comp.text.xml,
>> Have you seen the web site called "Connexions" (http://cnx.org)? The
>> folks there have come up with a wonderful method using something
>> called PSGML of allowing authors to write one document such that this
>> document can be "rendered" to either HTML (for the web) or PDF (for
>> printing/more "nice" typesetting). The technique can also render math
>> equations using MathML.
>> I would like to base my web site design on something very similar,
>> but
>> I instead want the main source document to be a LaTeX document. I
>> know there are things like LaTeX2HTML out there, but it seems that
>> this "XML"-centric method of doing things gives better results (e.g.,
>> MathML output, and in general, true HTML without any "images" to
>> represent text). Therefore, does anyone know of a LaTeX->PSGML
>> converter, or of some
>> technique that could be used to do this type of thing, or something
>> similar? I also could use some pointers on how to render the PSGML
>> into PDF and
>> HTML.
>> Any ideas/comments/suggestions welcome.
>
> psgml isn't a language it's an emacs mode for editing sgml and xml
> files. 

Hi David,

Ahh, ok thanks for clearing that up. I also see now that connexions
uses cnxml - presumably their dialect of xml.

> So what you need is a latex to xml convertor: there are several
> of these, eg tex4ht. In practice how well a latex to xml convertor
> works (whichever system you use) depends greatly on how well
> structured the latex is.

Can you please provide the names of these latex->xml converters (other
than tex4ht)? I need mathml output, and I'm still not clear on whether
or not tex4ht can generate that.
--
%  Randy Yates                  % "Though you ride on the wheels of tomorrow,
%% Fuquay-Varina, NC            %  you still wander the fields of your
%%% 919-577-9882                %  sorrow."
%%%% <yates@i...>           % '21st Century Man', *Time*, ELO
http://home.earthlink.net/~yatescr


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent