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

learn more… | top users | synonyms

4
votes
0answers
304 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
389 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
193 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
250 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
427 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
110 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
821 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
386 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
120 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
206 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
100 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
161 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
401 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
257 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
506 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 ...
15
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
762 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
282 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
206 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
188 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
281 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
273 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
230 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
250 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 ...
23
votes
1answer
381 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
315 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
353 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
585 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
496 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
109 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
435 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
204 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
133 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 ...
25
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 ...
4
votes
1answer
367 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
883 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
201 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
467 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
797 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 ...
1
vote
0answers
122 views

DOM to LaTeX resources/toolkits? [closed]

I want to convert some webpages to nicely formatted Latex documents. The webpage is a discussion forum, with deeply nested comments. Before I begin to write my own naive implementation, are there any ...
3
votes
0answers
108 views

References are positioned under the chapter/section number in HTML using tex4ht [closed]

I am converting documents to (X)HTML using tex4ht. The program works well, but the only thing that doesn't is the references. I included a table of contents and made links using the hyperref package. ...
2
votes
1answer
404 views

Disable ligatures when using mk4ht to create html

How can I easily disable all ligatures, when converting my LaTex-file to html? For the html-generation I am using the command-line mk4ht htlatex file.tex 'xhtml,charset=utf-8' ' -cunihtf -utf8 ...
12
votes
1answer
465 views

Beamer and JavaScript in a web browser

I have written a talk in Beamer and to illustrate one of my points I've written a program in JavaScript (well actually Processing). You can view it here (it seems to run ok in Chrome and Firefox, and ...
5
votes
1answer
139 views

How to use decimal HTML characters

How do I use decimal based HTML characters such as these: &#64337;&#64338;&#64339;&#64340;&#64341;&#64342;&#64343;&#64344;&#64345; with a special truetype font ...
3
votes
1answer
513 views

tex4ht conversion of tables (memoir class problem)

I am trying convert my document to HTML using htlatex. Everything my document (70+ pages) works fine until I look at the tables. The tables generated do not actually follow any kind of table format. ...
0
votes
1answer
522 views

JavaScript/HTML/SVG rendered inside a TeX PDF document, impossible?

I have a pretty general question. I have a report that is automatically created from HTML and Javascript and is output as a PDF. I'm using JavaScript because it's the best and easiest way I've found ...
1
vote
1answer
849 views

Problem with htlatex and tables

Please consider the following minimal working example, let's call it mintab.tex (based on the example in here) \documentclass{article} \makeatletter \def\toprule{\noalign{\ifnum0=`}\fi \hrule ...