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

learn more… | top users | synonyms

5
votes
1answer
659 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
219 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
188 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
164 views

How to convert mdash into LaTeX markup?

I am converting HTML markup into LaTeX markup by using sed command. I need to convert — into its corresponding LaTeX markup. How can I implement it? — into LaTeX markup
1
vote
1answer
229 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
271 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
200 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
229 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 ...
20
votes
1answer
338 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 ...
0
votes
1answer
844 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
281 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
326 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
509 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
36 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
439 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
97 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
353 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
193 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
121 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 ...
21
votes
1answer
2k 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
308 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
1answer
767 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
184 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
439 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 ...
6
votes
2answers
710 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
110 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
103 views

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

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
361 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 ...
11
votes
1answer
414 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
136 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
465 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
493 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
771 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. ...
1
vote
1answer
386 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 ...
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
1answer
97 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 ...
26
votes
4answers
7k 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
228 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
179 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 ...
3
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 ...
41
votes
5answers
2k 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 ...
1
vote
0answers
348 views

Content page, page numbers and few images missing after converting from LaTeX to HTML using htlatex [closed]

I am trying to make a User Manual in both PDF and HTML format. I have generated the HTML file using htlatex but my content page, page numbers and few of my images are missing from it. My images are ...
18
votes
1answer
1k views

Converting ConTeXt document to HTML

For LaTeX, I used to rely on htlatex, latex2html, or more rarely tth. I know that we can use XML with ConTeXt, although I have no experience with this, and that Pandoc let us use Markdown syntax and ...
9
votes
2answers
2k views

How to Convert XeTeX to HTML

I realize its too much to post the entire document. Here is a small portion of document, it just keep repeating itself for various verses. Sorry this is the minimum example size I could squeeze it to. ...
2
votes
1answer
2k views

Converting from LaTeX to HTML using htlatex

Using htlatex to convert LaTeX to HTML Referring to the question posted above. So I used both the script and the htlatex command from the command-prompt in order to convert my LaTeX file to HTML but ...
3
votes
2answers
852 views

How to print or convert HTML document into PDF using LaTeX

I written one XSD schema, I documented that schema using xmlpad, It generates the HTML documentation automatically for that XSD schema. Now I want to generate a PDF document for that HTML document. I ...
1
vote
1answer
592 views

LaTeX to HTML conversion with Kile

I am using Kile to convert a .tex file to HTML (LaTeX to web) but when I look at the HTML page it does not show me the images. I tried including them in PostScript and PNG but still the HTML page does ...
1
vote
0answers
380 views

htlatex puts images for math formula in the wrong place if imgdir option used [closed]

I'm creating html from LaTex using the command htlatex ebook "html,info,imgdir:img/" All images are in the subdirectory img/ and this works perfectly. However I have a footnote containing a formula: ...
0
votes
2answers
151 views

Character - changes to { in verbatim environment

I have witten html/jsf code and some comments in Latex verbatim environment: \begin{verbatim} Predloga dokumenta: <f:view> <!– korenski element--> <%@taglib prefix="f" ...