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

learn more… | top users | synonyms

6
votes
1answer
601 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
139 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
236 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
117 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
207 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
533 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
377 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
812 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 ...
19
votes
2answers
7k 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
943 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
492 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
307 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
267 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
368 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
282 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
333 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
313 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
433 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
2k 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 ...
8
votes
1answer
403 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
400 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
761 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
680 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
142 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
786 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
227 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
146 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 ...
31
votes
1answer
5k 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
527 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
1k 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
220 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
570 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
1k 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
167 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
120 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
564 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 ...
14
votes
1answer
651 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
145 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
598 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
671 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
1k 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 ...
8
votes
3answers
2k views

LaTeX to HTML: PolyTeXnic and PlasTeX

I was stunned by the elegant appearance of the Tau manifesto page, for which the source is in LaTeX. The author used a home-made tool that he calls PolyTeXnic, but which he is not willing to release. ...
2
votes
1answer
550 views

Creating mathjax-style documents

Is there any software, website, etc. that renders a document as if MathJax were being used, but in such a way that the output can be read by someone who is not using MathJax? (Perhaps the equations ...
13
votes
2answers
3k 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
1answer
99 views

How to convert each verse to an individual PDF

Minimal example is posted under this question How to Convert XeTeX to Html \bv तपः स्वाध्यायनिरताम् तपस्वी वाग्विदाम् वरम् | \\ नारदम् परिपप्रच्छ वाल्मीकिर्मुनिपुङ्गवम् ॥ १.१.१ ॥ \ev \bfns ...
29
votes
4answers
8k views

Pixel-perfect vertical alignment of image-rendered TeX snippets?

What is the most accurate way to automatically calculate the text baseline in an image that has been rendered from a TeX snippet—so that the rendered image can be given proper vertical alignment in a ...
1
vote
1answer
298 views

Hevea Error at Non Ascii characters

I tried "Hevea" to convert Xelatex file to html, it worked great with table conversion etc. However my document has lot of characters like (स्वाध्यायनिरताम्) and I am getting this error. bash-3.2# ...
4
votes
1answer
197 views

Remove beamer markup

I have a main.book.tex and a main.beamer.tex which then \input the same source files. In those source files, I have a lot of \mode<> designations and generally, a lot of beamer markup ...
4
votes
2answers
1k views

Pandoc - Convert XeTeX to HTML

I posted the question here How to Convert XeTeX to Html However I tried something different so decided to ask the issues with the results as a new question. So far my XeTeX file is nicely getting ...