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

learn more… | top users | synonyms

5
votes
1answer
539 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 ...
3
votes
1answer
683 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 ...
1
vote
0answers
81 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 ...
6
votes
1answer
502 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: ...
5
votes
1answer
132 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
72 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
129 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 ...
3
votes
0answers
618 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 ...
1
vote
2answers
800 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. ...
1
vote
1answer
103 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 ...
2
votes
2answers
396 views

HtLaTeX - problem when using relative paths

I'm currently working on a little thing I called offline blog engine. The idea is to write my articles in simple (La)TeX files and create some static HTML files which contains the blog posts. The ...
1
vote
0answers
682 views

Javascript LaTeX to HTML interpreter?

Is there a possibility to 'render' latex code with your browser? I have some *.tex files which I would like to render a HTML version of (with HTML-navigation, hyperlinks, etc). However - running some ...
3
votes
0answers
94 views

HTML Navigation

I have a large document written in LaTeX (memoir class) that I also use to produce HTML, using: htlatex.exe "Test.tex" "html,3" "" "Test" "--interaction=nonstopmode" I've been attempting to find a ...
4
votes
0answers
385 views

htlatex options

I'm using htlatex (Miktek 2.9, on windows command prompt) with the command: htlatex source.tex "3" "" "" "--interaction==nonstopmode" to generate HTML from existing documents written in LaTeX. I've ...
0
votes
1answer
468 views

Bibliography and Tex4ht

I am converting TeX containing references to HTML using TeX4ht installed under MikTeX. The program produces HTML but the bibliography is missing, any ideas? The following test.tex produces a clean ...
5
votes
1answer
239 views

How to print HTML entities in Latex using pdflatex

I've string of HTML entities containing characters in devnagri font. Sample HTML Entity String is : <h1>&#2311;&#2344;&#2346;&#2369;&#2335; ...
0
votes
1answer
324 views

Embedding HTML code in beamer

I want to embed html code like latex in beamer, like follows: \begin{frame}{HTML Code}[fragile] \begin{lstlisting}[language=html] <html> <head> </head> ...
2
votes
2answers
606 views

Including HTML code side by side in Latex [duplicate]

I want to write HTML codes of two pages side by side in LaTeX like as follows: <html> <html> <head> <head> </head> </head> <body> <body> ... ...
1
vote
1answer
38 views

How do I specify a different mapping to use for html arguments with html2latex?

html2latex seems to replace all <hr> elements with \hline, which isn't quite the right mapping. How do I go about changing this mapping to a more appropriate one?
1
vote
0answers
116 views

How do I generate page numbers when using the html2latex library? [closed]

I'm using the html2latex library to convert some html pages to LaTeX files, and I would like to generate page numbers, and then be able to control the formatting/placement of the numbers. Does ...
2
votes
0answers
1k views

Latex to HTML using Pandoc [closed]

I have a bunch of tutorials I have written and they are written in Latex. Now I want to convert them to HTML and to Blogger also. I heard about Pandoc and decided to try it. Below are my results : ...
5
votes
1answer
476 views

Beamer (with style) to Html5?

My organization require the use of a standardized powerpoint template for how slides should look, so I've written my own Beamer .sty (style file). Then I write .Rnw-files in RStudio that I knit ...
7
votes
3answers
125 views

tabular environment that is similar to html

How can I simulate a HTML table? That is: I want to give the table a maximum width (for example \textwidth) and the table should automatically distribute the necessary space according to the contents ...
1
vote
0answers
220 views

htlatex does not give good results [closed]

I have a very nicely formatted file that I created using LaTeX. Now, I'm trying to embed the results into a website, and instead of embedding the resulting pdf document (which I found not to be as ...
6
votes
0answers
107 views

Can you run mk4ht on iPad or Android?

I need to create html files from tex using mk4ht on an iPad or an Android tablet... Is there any way to run mk4ht on iOS or Android? Preferably without requiring Internet connection, but if that's not ...
1
vote
1answer
186 views

Are there any HTML-specific LaTeX commands that could compile an electronic document with embedded scrolling text boxes?

I was thinking about an experimental e-book layout that would use embedded scrolling text boxes for what would essentially function as really long margin- or footnotes in relation to a main text. ...
4
votes
0answers
455 views

HTML to Latex: Converting CSS styles to respetive LaTeX functions [closed]

I am using HTML to LaTeX programme to convert large quantity of HTML files. A typical example: <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> ...
2
votes
1answer
316 views

How to define HTML keywords in \listings

I'm working on the implementation of a HTML5 code style for \listings. Currently I have the problem that there are different ways to define HTML tags. In my example, I don't get /p in ...
3
votes
1answer
620 views

How to use angle brackets for a keyword in \listings?

I've got a code of a HTML website that I want to show in my LaTeX document. The problem is, that the HTML code has a tag called <canvas> and the JavaScript code inside the HTML document has a ...
17
votes
2answers
5k 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
863 views

Lightweight equivalent of \cref and \Cref

I'm trying to convert my LaTeX document to HTML using HeVeA and I'm facing a problem with cleveref package -- my LaTeX file uses \cref and \Cref heavily, but hevea doesn't support this package by ...
5
votes
1answer
359 views

Override properties of a predefined listing style

I use the listings package and I want to override an attribute of the HTML style. Unfortunately my code overrides the whole HTML style and not just a single property: \lstloadlanguages{HTML} ...
1
vote
1answer
230 views

How to use listings with multiple languages?

I've got a HTML document with JavaScript inside that I want to show in my article. For that I would like to use my JavaScript and HTML formatting. How can I get the listings package to use two ...
5
votes
2answers
226 views

How to convert mdash into LaTeX markup?

I am converting HTML markup into LaTeX markup by using sed command. I need to convert &mdash; into its corresponding LaTeX markup. How can I implement it? &mdash; into LaTeX markup
1
vote
1answer
314 views

How to convert HTML markup into LaTeX markup?

I have one input file which will be used for LaTeX and HTML (Java program). Input file has HTML markups like <b></b> for bold. <li></li> for list. How can I convert above ...
3
votes
0answers
278 views

How does one generate epub/mobi eBooks from LaTeX? [duplicate]

I can think of a couple of ways: PlasTeX + manual .epub manipulations. See: Is there a PlasTeX custom-renderer which can produce ePub (or nearly ePub)? @salimfadhley Did you end up going this way? ...
4
votes
0answers
272 views

How to export biblatex data to HTML? [closed]

I've been using biblatex for a while, and I now want to export my biblatex citation data to HTML, too. There are bibtex2html and some other tools for bibtex, but I couldn't find any equivalent tool ...
9
votes
1answer
272 views

Producing unformatted html with tex4ht?

When using tex4ht, a formatted html file is obtained. It uses a css file and multiple classes such as <span class="ec-lmbx-10x-x-109">toto</span> However, when using a Content ...
25
votes
1answer
413 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 ...
1
vote
1answer
1k views

Beginner―Texmaker: generate HTML, MathML

I am very new to LaTeX and everything connected to it,but since I come from the HTML, I know what it means to use a markup language. I try to setup Texmaker that I can generate MathML and or HTML ...
6
votes
1answer
337 views

htlatex with article vs memoir

Why does the following document (with article document class): \documentclass{article} \begin{document} \begin{tabular}{c|c} \hline 1 & 2 \\ \hline \hline 5 & 6 \\ \hline \end{tabular} ...
2
votes
1answer
376 views

latex command to genenerate output similar to this website

How can I generate latex with the following format in latex? I know about tex4ht and I know about latex4html but couldn't get similar output. Source Website is here and a snapshot from the page is ...
3
votes
1answer
658 views

htlatex - need help converting latex to html

I am trying to convert a set of tex file to html. The attached code generates perfect pdf. While it gives the following error with htlatex. I have not much knowledge of tex so please help by being ...
0
votes
0answers
37 views

How can I embed equations in web page? [duplicate]

Possible Duplicate: Embedding LaTeX equations into a webpage I want to include equations in some of the web pages in my site. I am familiar with TeX syntax, so it would be rather natural to ...
5
votes
3answers
570 views

LaTeX to HTML - Square roots

I used SimpleTeX4ht to convert a LaTeX file to HTML. The file is fine except that square roots are rendering badly in juxtaposition with the rest of the text, e.g. like: Any suggestions on how to ...
1
vote
0answers
123 views

Move section anchors generated by tex4ht

When compiling a file with tex4ht, the sections are transformed with header HTML tags with anchor. So, if I compile \documentclass{article} \usepackage[xhtml,mathml]{tex4ht} \begin{document} ...
4
votes
2answers
580 views

HTML package, useful to put htmlonly and latexonly environments, not found

In the 2008 documentation of latex2html it is referred to a html package that permits to put some latex command inside conditional environments (latexonly and htmlonly). It's useful because I want my ...
10
votes
1answer
214 views

Width threshold for space detection

I'm writing this stuff pdf2htmlEX, for each distance between two consecutive letters, I need to check if there should be a space character or not. Especially for PDF files generated by LaTeX, which ...
5
votes
1answer
138 views

Missing <sub> tags in tex4ht output

When processing a LaTeX source with tex4ht, I can't seem to reliably convert subscripts in text mode to <sub> tags in the HTML output. My only solution so far is to switch to math mode. But for ...
27
votes
1answer
4k 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 ...