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

learn more… | top users | synonyms

2
votes
1answer
67 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
122 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
573 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
663 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
98 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
385 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
613 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
90 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
341 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
444 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
221 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
296 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
534 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
114 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
450 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
123 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
214 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
104 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
179 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
438 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
292 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
576 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 ...
16
votes
2answers
4k 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
830 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
323 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
223 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
214 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
301 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
277 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
257 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
270 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 ...
24
votes
1answer
406 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
327 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
366 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
629 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
539 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
120 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
511 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
212 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
136 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 ...
26
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 ...
5
votes
1answer
406 views

Control the <p> tags added by Tex4HT

TeX4HT allows to reset LaTeX macros to insert HTML code in order to produce clean HTML documents. This is great, but it often gets in a mess of <p> tags, such as: <p class="noindent" ...
5
votes
2answers
932 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: ...
2
votes
1answer
208 views

LaTeXML and pdfpages [closed]

I can't find a lot of informations about LaTeXML here but I hope somebody can help me. In a LaTeX document, I use a \includepdf with the option pages. I have created a mystyle.sty.ltxml in which I ...
1
vote
1answer
494 views

What is the magic of scribd.com?

Scribd.com shows pdfs produced by TeX in HTML format, its HTML version is 100% like pdf one. How it's possible? Is there a tool for doing that publicly available? For example see ...
7
votes
2answers
864 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 ...