Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 838165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:15:30+00:00 2026-05-15T05:15:30+00:00

I want to write a little program that transforms my TeX files into HTML.

  • 0

I want to write a little program that transforms my TeX files into HTML. I want to parse the documents and turn the macros (the build-in and of course my own) into HTML pieces. Here are my requirements:

  • predefined rules (e.g. begin{itemize} \item text \end{itemize} => <br> <p>text </p> <br/>)
  • defining own CSS style
  • ability to convert formulars (extract the formulars, load them in an imagecreator and then save the jpg/png)
  • easy to maintain and concise

I know there are several technologies out there, but I don’t exactly know which is the best for me. Here are the technologies which flow into my mind

  1. Ruby (I/O is easy, formular loading via webrat),
  2. XML XSLT (I don’t think that I need just overhead)
  3. perl (there are many libs out there but I’m not quite familiar with it)
  4. bash (I worked with sed and was surprised how easy it was to work with regular expressions)
  5. latex2html … (these converters won’t work for me and they don’t give me freedom in parsing)

Any suggestions, hints and comments are welcome.

Thanks for your time, folks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:15:31+00:00Added an answer on May 15, 2026 at 5:15 am

    have a look at pandoc here. it can also be installed on linux or os x. Though it won’t do your custom macros. The only thing I’ve seen that can do a decent job with custom macros is tex4ht, but to really work well you need to be producing .DVI files. If you have a ton of custom macros, writing your own converter is going to take an ass load of time. Even if you only have a few custom macros, it’s still going to be a pain. good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write a little vnc similar program that moves the Mac OS
I want to write a little program which is able to work with Google
I want write a little code analyzer which parses nested structures and translates into
I want to write a program in Prolog that confirms if a b-tree of
I want to write a little program in C to extract the PE (Entry
I'm trying to write a little program that will add mDNS CNAME aliases to
I want to write a program in Objective-c that grabs some sports stats off
I'm doing a little program that can Google search the song that you want
I want to write a program to contact a PHP script online, and show
This is for a little pet project of mine. I want to write a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.