HTML is a markup language mainly used for creating web pages.

learn more… | top users | synonyms

4
votes
1answer
130 views

Converting LaTeX to HTML but keeping equations as LaTeX

I'm using tex4ht for conversion of heavily maths loaded LaTeX files into HTML to be able to serve them in a web app. Can successfully convert all equations to MathML and jsMath. But as equations are ...
4
votes
4answers
603 views

How can I map HTML named entities to LaTeX commands?

Specifically, I would like to be able to complete this table: symbol html entity LaTeX command \deg ° \begin{alltt}\deg{alltt} So that I have an entry for every HTML ...
0
votes
1answer
38 views

Html color in mdframed

I want to make mdframed with linecolor set using HTML color model. How can i do it? I want something like \begin{mdframed}[linecolor=\color[HTML]{FF0013}] text \end{mdframed}
3
votes
1answer
61 views

Using \newcommand works fine in LaTeX, but when I use htlatex the line of text that \newcommand was supposed to insert gets moved to the next line?

So, I'm trying to write lines of code explaining to new students where to find different files and directories. Because the classname changes on a yearly basis I set up a \newcommand to make changing ...
14
votes
2answers
3k views

\listings code style for HTML5 (CSS, HTML, JavaScript)

I would like to create a code style for HTML5 that can be used with the \listings package. An HTML5 document consists of three languages: CSS, HTML and JavaScript. That makes the whole thing a bit ...
6
votes
1answer
342 views

How can I make bash-code look good both in LaTeX and HTML?

As I am new to Latex and this kind of typing in general, I find myself in need of some basic guidelines when it comes to how to make things look good in text. I have a document that looks good when ...
8
votes
1answer
101 views

Turn website into novel

I would like to use TeX to typeset Søren Kierkegaard's complete works, which are available online here. It includes a collection of notes in a separate XML file which I would like to add to the ...
1
vote
0answers
45 views

html5 embedded animations in pdf

For long time I have been using flash animations in pdf (lately using media9), but always relied on windows and acrobat to have embedded animations and auto-start (no click) in my presentations. ...
4
votes
0answers
317 views

Something like PGF/TikZ for HTML5/web? [closed]

For everyone who knows and loves PGF/TikZ: Is there something that has a similar powerful expressive high-level “graphic description language” like TikZ for HTML5? I want to convert high-level ...
24
votes
1answer
3k views

Convert Latex to MathJax-HTML

Is there any tool that can convert Latex documents to HTML documents, so that all math is presented with MathJax? (Obviously, it is fairly easy to hack together a quick Perl script that is able to do ...
23
votes
1answer
377 views

What features are supported in a HTML page, but not through PDFLaTeX

As a math educator with limited knowledge of TeX and even more limited knowledge of HTML, I want to know if I can use a PDF page (generated through PDFLaTeX) as a web page. I am hoping not to have to ...
3
votes
0answers
59 views

Problem with Latin Modern in HTML [closed]

I ask this question here because "Latin Modern" is a font, now also available in OpenType format, that's derived from Knuth's "Computer Modern", which is is mainly known by and of interest to the ...
2
votes
0answers
40 views

Article with mathjax to latex document

I write articles in my site, and use mathjax, \( and \) for inline mode and $$ and $$ for display mode. I want to move some articles to latex document. What is the simple way to do it?
4
votes
1answer
62 views

Best practices for writing a latex document for web publishing (html)

I want to create a latex document that can be compiled as a single pdf file and also converted to a bunch of small html files for a web site. How to automate the task of converting a latex document ...
4
votes
1answer
130 views

Install plasTeX on Windows 7

PlasTeX is a free, open-source tool to process (La)TeX files and convert them to xHTML by default, but also docbook, text, and others. It is fully customizable. How do I install plasTeX on Windows ...
5
votes
1answer
265 views

Bibtex to html/Markdown/etc., using Pandoc

It seems that Pandoc is capable of dealing with references given in a .bib file. Yet, I haven't been able to simply ask Pandoc to convert a .bib file into html, markdown or other formats. Is there a ...
2
votes
1answer
149 views

HTML to LaTex: How can I use python and lxml to convert an html document to LaTeX with custom macros

I want to use python to take html5 documents with a known set of tags and convert them to LaTeX for high-quality printing using customized LaTeX macros.
3
votes
1answer
82 views

Convert PGFplot to html?

I'd like to convert a simple piece of LaTeX code which is basically some text with some centered graphs in between. This is a dummy version of the code I'd like to convert to HTML: ...
7
votes
1answer
133 views

Defining HTML-like tags as TeX macros

I have to admit, my catcode skill are not that good. I'm working with some templates that will be filled in by a programme (HTML::Template, made for HTML but very handy for LaTeX as well). I'd like ...
7
votes
2answers
105 views

is there a minimal converter of well-defined latex to xhtml?

is there a good clean minimal converter of well-defined latex code into html (preferably perl)? I have played with htlatex and latex2html, but they are too ambitious and too complex in their goals ...
7
votes
2answers
774 views

biblatex & TeX4HT: citations in footnotes = missing \begin{document}

the following code, which I'm trying to run through TeX4HT and biber in order to create an .odt file, results in a »missing \begin{document}« error, pointing to the aux file. Something about the ...
2
votes
2answers
59 views

switch greek lowercase for times.sty to upright?

I need to "similarize" my latex output to web browser serif display. I would like all math to be switched to upright and mimick html browsers, too. \usepackage{mathastext} \usepackage{times} ...
5
votes
1answer
97 views

Latex to html : how to add rules like `\subsubsubsection` for htlatex / TeX4ht?

I added some rules on my repport in order to add \subsubsubsection. On below the MWE : \documentclass[a4paper,11pt,french]{report} \usepackage[francais]{babel} \usepackage{titlesec} ...
6
votes
0answers
120 views

Can LuaTeX create HTML?

I hear that LuaTeX provides access to internals of TeX. Is it possible to modify the output routine with LuaTeX so that HTML is produced instead of DVI or PDF? If possible, are there any projects ...
7
votes
1answer
58 views

\textminus in tex4ht

Is there a way to make tex4ht aware of the \textminus command? \documentclass{scrartcl} \usepackage{textcomp} \pagestyle{empty} \begin{document} \textminus 5 \end{document} works as expected ...
0
votes
1answer
78 views

finding out HTML equivalents of latex math symbols

Unlike the other unresolved questions about painless latex to HTML conversion, I just want to know the conversions for math symbols. For example, when I give \Leftrightarrow as input to that ...
1
vote
2answers
200 views

How to convert LaTeX to HTML, keeping formatting of pdf.dvi?

I would like to convert a LaTeX document (in this case, a resume) to HTML for submission, since .pdf and .dvi are not allowed formats. How can I do this while maintaining the same formatting (e.g. ...
0
votes
0answers
169 views

Converting tex to HTML

I am in need of an easy way of converting .tex to .html for ultimately converting it to word in windows. I have looked into a few different ways, but the ones I have encountered are not free and/or ...
41
votes
5answers
3k views

Why haven't any TeX->HTML converters been updated to use current web standards/style?

I think that updating these converters would help TeX stay relevant as a document processing language. In these last few years, web development has really skyrocketed. CSS3 has brought along a lot of ...
3
votes
0answers
98 views

Beamer equivalent of Keynote's old web view

Is there a beamer package that will display a non-static, locally hosted web page? I think I am looking for something similar to Keynote's old web view, but since I have Keynote 09, I'm in a pickle. ...
11
votes
2answers
2k views

PDF image files and `htlatex`

When eps files are provided, htlatex from tex4ht automatically converts to png files so that graphic files can be shown in the final html output. However, I use most of the time the pdf graphic file ...
2
votes
2answers
128 views

How to compile TeX ---> HTML use TeX4ht?

I have problem compile TeX ---> HTML use TeX4ht and my MWE like this \documentclass{article} \usepackage[html]{tex4ht} \title{Simulation of Energy Loss Straggling} \author{Maria Physicist} ...
2
votes
1answer
137 views

Global scaling of images in html output (only) of htlatex

I have the following MWE with some images: \documentclass{book} \usepackage{graphicx} \begin{document} Lorem ipsum dolor sit amet, consectetur adipisici elit: \begin{centering} ...
2
votes
1answer
392 views

pandoc support for LaTeX ctable?

I use ctable to make my LaTeX tables. My ultimate goal is to produce a presentation of HTML5 slides. The tables that I need to present are all created in LaTeX with ctable. For example, I have my ...
1
vote
0answers
31 views

Adding mathjax in weebley [closed]

In weebley I want to write the website content as LATEX so I have found a link that is saying that I will have to insert a code (<script ...
5
votes
1answer
325 views

Embed HTML in LaTeX document

Is it possible to run HTML code in a Latex document? Probably not since I never seen it. Soundcloud have an miniplayer that you can embed in your homepage to give the reader the possibility to play ...
2
votes
1answer
444 views

Setting image size in html output of tex4ht

I have a complex document which I'm trying to convert to html with tex4ht and TeXLive under Ubuntu, but I'm not able to coherently control the image size of jpg and eps images. In html output, jpg ...
5
votes
1answer
847 views

When generating html, how do you specify image size?

I am using htlatex (or as many people call it tex4ht) to generate html and I have included some graphics. Htlatex seems to ignore all the size arguments I give the image size. I've tried specifying: ...
1
vote
0answers
62 views

HTML email typeset equations as HTML elements, not images? [closed]

I thought it would be super-useful to find a substitute for emailing equations as images. The problem I have experienced is that with some receiving email clients, the images are turned off by ...
0
votes
0answers
93 views

Unable to convert HTML + embedded Latex to PDF

This is my code in file foo.html: <!DOCTYPE html> <html> <head><title>Foo</title></head> <body> <h1>Example equation</h1> <div> $$ 1 + 2 = ...
2
votes
3answers
635 views

How to convert LaTeX in html for Blogger

I am trying to embed formulas in Blogger. My system is OpenSuse, and I create a LaTeX file for my formulas, say filename. In order to convert the LaTeX code into an html code I run: pdflatex filename ...
31
votes
4answers
27k views

Convert LaTeX to HTML

Is there a converter that will convert LaTeX to HTML? I have tried several services but the LaTeX diagrams and some of the maths came out weird. I actually converted the Latex to PDF without a ...
6
votes
1answer
312 views

How does an academic publisher work with LaTeX file to produce html pages?

My teacher sent an academic paper written with LaTeX format file to hindawi.com publisher. They did something with our paper and has a public html page like this: ...
4
votes
1answer
118 views

Are there efforts to develop a standard for (La)TeX-like math syntax?

One of the reasons many people in technical disciplines start using LaTeX in the first place is for the ease of typesetting mathematical formulas with it. In some circles, LaTeX-like syntax has become ...
2
votes
1answer
61 views

TeX4ht - prevent line breaking in HTML?

By default, TeX4ht breaks long lines of text in the input into shorter lines in the output HTML file. Is there any way to suppress these extra line breaks? (Note that I am trying to avoid extra line ...
3
votes
0answers
104 views

How can I write specifications following the W3C specifications format in LaTeX?

W3C specifications follow a very nice template (example: HTML-RDFa). The specifications are HTML documents styled by a javascript library ReSpec. Is it possible to write specifications in LaTeX ...
1
vote
1answer
83 views

Problem during production of LaTeX book with plasTeX (with many packages on it) into HTML5 website

I want to ask if there is a way to generate my book that I currently have in LaTeX format into an HTML5/XHTML website so that I can upload it to Internet. My book will be designed into a format with ...
1
vote
2answers
422 views

How to get HTML tags displayed in LaTeX?

I am making a LaTeX document and I am having HTML tags like List<? extends Number> which when I put in LaTeX turn out to be List¡? extends Number¿. I tried escaping with \ but did not help. ...
35
votes
5answers
16k views

How do I convert HTML to LaTeX?

I would like a way to convert a document from HTML to LaTeX on a Windows platform. What is my best option?
3
votes
0answers
478 views

Extracting LaTeX source from HTML version of Feynman Lectures?

CalTech has placed Volume I of the classic Feynman Lectures on Physics online in HTML format, using MathJax to render the LaTeX formulas and SVG for the graphic images. It's pretty cool, and it looks ...