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

learn more… | top users | synonyms

1
vote
0answers
40 views

Fatal error while converting to HTML

I've just started using TeXstudio, so probably I'm missing something really simple, but, as it stands, I get a fatal error whenever I try to run an HTML conversion using the Tools -> Convert to Html ...
10
votes
2answers
4k views

Bibtex to html/Markdown/etc., using Pandoc

It seems that Pandoc is capable of dealing with references given in a .bib file. Yet, I haven't been able to simply ask Pandoc to convert a .bib file into html, markdown or other formats. Is there a ...
47
votes
5answers
3k 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 ...
2
votes
1answer
180 views

How to remove LaTeX control sequences from a .tex document using plasTeX?

I need to get just the text and math expressions (ignoring tables, pictures and styling) from a set of LaTeX documents and represent them in html. Looks like plasTeX and MathJaX are enough for this ...
1
vote
1answer
39 views

Latex to HTML converter with specific needs

I have the task to find a tool that converts LateX to HTML. I already had a look at different tools like Hevea, pandoc, Hyperlatex. The best looking tool for my needs was Hevea but lacks support for ...
1
vote
0answers
34 views

Randomly generate pdf on website [closed]

I have created a latex file which creates a pdf by randomly selecting 10 subfiles from a pool of files. This works fine, and I am able to generate a random PDF every time I run my script. A breakdown ...
8
votes
4answers
507 views

zero-installation LaTeX-ish math for casual users?

I teach physics at a community college, often to biology majors who are not math or computer geeks. For certain assignments, I require them to type up materials that include math. A typical ...
3
votes
2answers
99 views

Does a LaTeX to Kramdown converter exist?

I'm building a blog using Jekyll and hosting on Github Pages. I have a bunch of LaTeX documents that I'd like to upload as blog posts, but they contain a good deal of formatting that I'd have to go in ...
1
vote
0answers
43 views

Combination of llncs and html packages, \pdfoutput and \and (backslash and) makes an error [closed]

With the following document which combines: llncs class, \pdfoutput, html package and \and I get an error: \documentclass[a4paper]{llncs} \pdfoutput=1 \usepackage{html} \title{asdf} \author{asdf \...
1
vote
1answer
83 views

Nested list failed to convert from markdown or html to pdf [closed]

I am trying to convert markdown to pdf using pandoc with the latex-engine set as xelatex because I am trying to use fonts installed on my system. I have tried switching the pdf-engine to pdflatex but ...
1
vote
1answer
103 views

Is there a LaTeX to HTML tool that supports the algorithm2e package?

I'm a LaTeX beginner and I'm writing computer science documents. I carefully choose my algorithmic package considering the features I needed and that led me to pick algorithm2e (vlined and noend ...
1
vote
0answers
21 views

How to set-up a this html outline for tex4ht with toc on the left+main text+footnotes

I have discovered a nice outline to have a html page with: a table of content the main text the footnotes at the bottom of each page all of these windows can be resized with the cursor of the mouse ...
2
votes
1answer
39 views

How can I add custom HTML code to the beginning and end of the body element with tex4ht?

I need to convert a Latex document to several HTML files. I'm using tex4ht for this. What I need next is to add some features to the web pages. I managed to add the needed extra elements in the head ...
3
votes
0answers
69 views

Generating nice-looking static websites from LaTeX? [closed]

I notice that a lot of researchers tend to have crappy-looking websites, often because they aren't willing to put in the time it takes to learn HTML, CSS, and design principles--they'd rather do ...
0
votes
0answers
27 views

Change background color for html export

When I modify the background colour of the document, it works fine when I export it to PDF or to LyxHTML but not with simple HTML. I would prefer to export in HTML rather than LyxHTML but when doing ...
2
votes
0answers
77 views

Conversion of HTML5 to LaTex

Is anyone familiar with a tool for converting HTML to LaTex markup? I don't mean fetching and attempting to render CSS stuff, just converting the content of elements like paragraphs, headers, and ...
4
votes
1answer
91 views

problem with starred version of \nameref, \autoref, \fullref from hyperref with tex4ht

EDIT:@runartrollet: I clarify the problem. THe pdf outputs as expected the links in every instance of the commands autoref and nameref. and\fullref, starred or not. But the html file, the command ...
1
vote
1answer
27 views

Breaking of footnote with pifont in alternative4ht helpers4ht

The last update of alternative4ht, in order to fix the tables in tex4ht see here, has a consequence that the redefinition of \thefootnote with pifont is broken. there are two versions of the ...
1
vote
1answer
33 views

tex4ht: getting accented letters in small capitals through \selectfont

I try to get small capitals in my html document, but the tex4ht code that I found works only for the command \textsc. however, I enter all my change of font through \rmfamily\mdseries\scshape\...
2
votes
1answer
85 views

message error in biblatex.4ht with tex4ht, even with no bibliography

I have the following message when I compile a document calling biblatex, whether I run biber or not, in order to create a .bbl. I use Biber 2.3. My file is % biblatex.4ht (2015-08-05-15:37), ...
2
votes
1answer
35 views

tex4ht non roman languages inside tabular environment

I have tables with accented letters and other non-roman scripts, but they do not appear inside the environment tabular. The letters do appear outside of the tabular environment. i compile with ...
2
votes
1answer
183 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} \section{...
1
vote
0answers
36 views

Inserting Mathematical Equation in HTML through AJAX [closed]

I am retrieving mathematical equation stored in database in the TeX format, through an AJAX variable. But the equations are appearing rendered. Please help.
2
votes
1answer
44 views

Getting \today in various languages with polyglossia and tex4ht via alternative4ht

When I use the \today macro, I cannot get, in my .html, the display in various languages when I compile the following file from michal-h21 @michal.h21 and sty file of alternative4ht: all my dates are ...
0
votes
1answer
21 views

make4ht force the beginning of the sentence on a new line, when the beginning of the sentence would be near the border of my window

I convert my .tex into .html with the command make4ht -ul hello.tex but I see that the html language allows for the beginning of a sentence very near from the end of the screen. For instance, it ...
0
votes
1answer
154 views

How convert HTML to LaTeX or MathML

I using KaTeX to render HTML formula display. How can I convert HTML to LaTeX or KaTeX again?
49
votes
5answers
31k views

How do I convert HTML to LaTeX?

I would like a way to convert a document from HTML to LaTeX on a Windows platform. What is my best option?
3
votes
1answer
57 views

tex4ht turning the unbreakble space by ~ into unbreakable space in the html

Following my problem concerning spaces from unbreakable (thin) space inside « », for tex4ht I edited my message with the following use of the working trick from @michal.h21 \ifx\HCode\...
1
vote
1answer
48 views

keeping \parskip=0pt in HTML with take4ht

I have a problem with setting \parskip=0pt, not in my .pdf, but in my .html I want a new environment with \parskip=0pt, but make4ht -ul myfile.tex does not respect my deifnition. There seems to be a ...
5
votes
1answer
105 views

unbreakable (thin) space inside « », for tex4ht

EDIT: @michal.h21 you tip works well, but if I use a numerical code such as &#8201; for thin space, instead of its name &thinsp; in your modified trick, \def\mythinspace{\HCode{<span ...
1
vote
0answers
31 views

Lyx - How to remove some HTML when exporting to HTML?

I don't understand how the preamble works, I tried several times and it did nothing. So keep in mind I'm a newbie, please I use Lyx to write files and then I export to html and I modify the CSS ...
3
votes
1answer
40 views

nested personal list with output on one line + HMLT version via `make4ht`

edit: @michal.h21 I attempt to include a cfg file (named cfg), as you suggest, in my tex file alt.tex. I run the command: make4ht -ul alt.tex "cfg.cfg" but it does not change a thing. I changed thus ...
3
votes
2answers
112 views

xelatex to html with hindi and roman languages

I have the following set-up and I want a html file out of it. My system is windows xp with miktex up to date. The font Gandhari Unicodelink for the font has all the symbols required and is installed ...
5
votes
1answer
74 views

Custom lists conversion to html

I have managed to produce a latex file that works perfectly and I would like the same functionality using tex4ht on the same file. Basically, I have several custom \item label that I use to provide ...
8
votes
2answers
324 views

is there a minimal converter of well-defined latex to xhtml?

is there a good clean minimal converter of well-defined latex code into html (preferably perl)? I have played with htlatex and latex2html, but they are too ambitious and too complex in their goals ...
4
votes
1answer
61 views

htlatex converting ligatures to null bytes

I am familiar with questions 162626 and with 204822, and have followed the instructions therein, but have been unable to get a good solution. htlatex is converting all of the ligatures in a document ...
4
votes
2answers
251 views

How to embed a Google Map?

Is there a way to embed the HTML code that Google Maps provide to embed your map in your pdf using LaTeX? The source HTML code looks like this: <iframe src="https://www.google.com/maps/embed?pb=!...
3
votes
2answers
668 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 ...
2
votes
0answers
151 views

Interactive sliders in tikz

Is it possible to make an interactive picture or animation with tikz which has an interactive slider? The output format doesn't have to be pdf in this case, maybe also html or something else. The ...
21
votes
1answer
2k 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 ...
68
votes
8answers
76k views

Convert LaTeX to HTML

Is there a converter that will convert LaTeX to HTML? I have tried several services but the LaTeX diagrams and some of the maths came out weird. I actually converted the Latex to PDF without a ...
9
votes
4answers
3k 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
0answers
28 views

Import an HTML table into LaTeX [duplicate]

How can I import an HTML table into LaTeX? I have many files imported, so I can't convert each file to LaTeX.
2
votes
1answer
164 views
2
votes
0answers
130 views

Problems with PHP tags (and code) in listings with HTML

I want to highlight PHP and HTML in the same code. In my attempts I experience three challenges: Seems like listings treats <?php and ?> as one large HTML tag. How to tell listings that the &...
0
votes
0answers
94 views

wkhtmltopdf messes up my latex-svg

I have a very strange behaviour when trying to compile latex to an svg and then rendering a pdf with wkhtmltopdf. It prints some weird bars on my svg. In my html it doesn't display anything like this. ...
2
votes
0answers
32 views

C++ code listing exported to HTML using elyxer has problem with < and > symbols

C++ code listing exported to HTML using Elyxer has problem with < and > symbols for example #include <iostream> shown as #include. I have to change manually all < to &lt; and > to &...
0
votes
0answers
53 views

cnxml to LaTeX conversion

I would like to translate a college physics book in openstax site (https://openstaxcollege.org/textbooks/college-physics) which is distributed under the license of "Creative Commons License 4.0 ...
1
vote
1answer
197 views

First steps with htlatex, I'm losing all the math format! [closed]

I'm doing my first steps with htlatex, trying to get HTML documents. I have OS: Linux Mint, Tex Live, and I make my *.tex with Texmaker. I know how to use MathJax. I get this: This is how I wish it ...
4
votes
1answer
103 views

htlatex and differences between html and xhtml

To date, I have generated html files using htlatex rather than xhtml. This has been for one simple reason. I can right click on the html file and open it in MS word to then save and distribute to ...