Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [html]

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

0
votes
2answers
69 views

How can I get a book(article) online via LaTeX to HTML in Windows 10?

If you could spend a week full-time with Windows looking into various methods for converting LaTeX to HTML, and then actually implement an approach based on what seems to be the most successful/...
1
vote
0answers
36 views

Pandoc (LaTeX → HTML) does not use specified .cls file

I'm attempting to use Pandoc to convert some math-heavy LaTeX into HTML. To make the TeX code easier to read and write, I've factored some macros into a .cls file in the same directory, and used it as ...
0
votes
1answer
16 views

Tex4ht (htlatex) html output in sans serif typeface and narrow textwidth

Using the htlatex myfile.tex command which invokes tex4ht, I learned that a rather nice text for web pages can be obtained by simply using the \sf command for an entire web article. Using the helvet ...
1
vote
1answer
41 views

What is a TeX to HTML converter that produces GladTeX-friendly HTML and numbers formulas?

I wrote a math paper in LaTeX that uses a custom .sty file I wrote (defines some math commands, basically, and imports packages with math symbols and fonts) and I want to convert it into a standalone, ...
0
votes
2answers
23 views

Latex Beamer: HTML Tags rendered as punctuation

Preparing a presentation, text that involves HTML tags gets rendered as Spanish question mark and exclamation mark. I am not particularly familiar with Latex Beamer and I could not figure out where ...
2
votes
1answer
29 views

tex4ht: Wrapping several paragraphs inside a div tag

I want to wrap several paragraphs inside a div with a custom class, but the div is closed automatically in the resulting HTML when a new paragraph begins. This shows the issue: \documentclass{...
1
vote
0answers
50 views

Can an OTF font, without relying on anything else, render complex TeX formula? [closed]

OTF fonts a have a number of features such as: Variants Ligatures Swashes Alternates etc. Is it possible to use a combination of these features to render complex math formulae without depending on a ...
3
votes
1answer
88 views

Is there a way to render a TeX formula in pure HTML/CSS using Open Type fonts? [duplicate]

Is there a way to convert a TeX document into HTML that instead of relying on JavaScript, SVG, HTML Canvas, or images for rendering formulae to solely rely on HTML, CSS, and OTF fonts? In [Which ...
1
vote
0answers
38 views

Converting an Overleaf document to a Wordpress post [duplicate]

Good morning! I have a document (math operations) made in Overleaf and I need it as a Wordpress post. Does anyone know if it is possible to perform some sort of conversion with a minimum number of ...
0
votes
1answer
57 views

Is there a way to make LaTex show up in RStudio preview?

I'm using RStudio (current version) on a Windows 10. The math rendering works but when I add additional aspects to make the document more clean, I run into the problem of going from pdf to html and ...
1
vote
1answer
37 views

Problem in using latex2wp converter

I used latex2wp package to convert my latex codes into html document. To check whether it works well, I tried to convert simple-single line math equation-codes into html document. But my result does ...
4
votes
1answer
61 views

Context html export bibliography

Context MKIV html export works perfectly, but: the bibliography in APA produces ---- lines for authors with several publications which disappear in html-rendering. Which is the best way to resolve ...
5
votes
1answer
57 views

Context html export garbles bibliography

I added \setupbackend[export=yes] to my file to test the html export capabilities. All works excellent except the bibliography which is either split (in -div version) or comes as one paragraph (in -...
1
vote
4answers
57 views

Including categorical colours with \newcommand in PdfLatex

I wish to have a list of predefined HTML colour codes and convert them into a numbered reusable variable which can then be referenced later. This is useful when having a set number of variables or ...
2
votes
1answer
34 views

Conditions under which the paragraph <p> tags are generated by Tex4ht

I would like to understand better what is responsible in Tex4ht for inserting the <p class="indent"></p> and <p class="noindent"></p> tag statements. I get a lot of empty ones ...
3
votes
1answer
100 views

latex to html with collapsing

Is there a solution to this fold/unfold sections to expand in PDF in terms of HTML? In other words, can I compile to HTML and have certain parts of my work collapsed? So for instance, I would want ...
40
votes
2answers
2k views

Not Obsolete LaTeX to HTML Converter?

I am looking to convert LaTeX to HTML. A long time ago (during my thesis, in 2000!), I used Hacha and Hevea ... but obviously, they are no longer maintained, especially the Windows version. More ...
5
votes
2answers
146 views

ConTeXt, HTML source code side by side to the result from the web

I would like to write a document with some HTML code and next to it the result from a webpage. Basically something like \starthtmlexample <strong>Hello</strong>, <em>world<em&...
2
votes
1answer
146 views

Tex file to HTML conversion

I tried to convert multiple .tex files, but I'm having problems with it, I tried htlatex, pandoc, latex2html, but none of them have worked. The one who at least show signs of success was using the ...
1
vote
1answer
44 views

htlatex Defines a Command Then Chokes on it

I'm trying to compile a LaTeX document into a HTML document but I keep hitting the same problem. When I compile (using the command htlatex .\scratch.tex myhtml), I get the following output: G:\PhD\...
0
votes
1answer
48 views

Html to LaTex : Trademark sign not converted properly

Whenever I try to convert html text which contains the trademark sign into LaTex, the trademark sign gets converted into "â„¢". I convert a xml file to html and afterwards to latex.That's how the xml ...
1
vote
0answers
80 views

Embed Altimetric (or Researcher ID) badges in TeX

How to embed Altimetric (or Researcher ID) badges in a TeX document? In other words, how to make use of the following html code to generate the badges in a TeX document?: <div data-badge-popover="...
0
votes
1answer
771 views

Include a HTML file in a LaTeX-beamer presentation

I have a HTML file available at this URL : http://khamphouj.iiens.net/ENSIIE/ENSTA/Plot%201.html And I'd like to put it into my beamer presentation. I don't want it to be static like a .png or .jpg ...
2
votes
0answers
90 views

Wiki software with Latex formatting?

I'm looking at setting up an internal wiki at my company and I would like a system that used Latex instead of Markdown or any of the other popular "languages" to format the wiki pages. I find a lot of ...
7
votes
1answer
589 views

What advantage does *TeX provide over modern tools like HTML+CSS+js? [closed]

My answer would be 'not much' and I am considering porting *TeX to browser. Sorry if this is not exactly a question, but I don't know better places for collecting expert opinions. I think TeX's major ...
0
votes
0answers
51 views

Building a Math Question bank and Web Application for reading them

Idea is to design a Question bank with answers and solutions for math and science subjects, for a web application (Designed in Laravel(php). Typesetting of questions is done in LaTeX. \...
2
votes
1answer
107 views

Latex3 programming and tex primitives: how to “execute after” instead of expandafter

Here is a bit lengthy question. I hope it is not too specific. I'm trying to scan some tex documents and I want to produce text files directly. I'll achieve this by scanning the tex input token by ...
0
votes
1answer
89 views

minted - how to highlight html also, when language “twig” is selected

I use minted and I try to format twig-Code. But when I select twig as the code-language, it does highlight the twig code but it doesn't highlight html-code! This looks like this: Is there any way to ...
0
votes
1answer
92 views

Use of regex in sublime text 3, Tex to Html

In a job that I am doing, you must do tasks in a repetitive way by migrating articles in latex to html. I can not make substitutions using regex to replace command like \textit{text} to <i>...
1
vote
0answers
143 views

KhanAcademy latex markups [closed]

Main question: How KhanAcademy formats latex inside HTML pages? It means: How can I write \LaTex like code (per example inside the HTML annotation tag below) inside regular HTML pages and it be ...
0
votes
1answer
158 views

Converting latex to Html character problems

I am using Ubuntu 16.04 and the nano text editor to create my .tex files. When using quotations I use \textquoteblleft and \textquoteblright, otherwise if I use ", all of the quotes in the compiled ...
1
vote
0answers
253 views

Include HTML elements in LaTeX

We try to include some HTML elements into a LaTeX document. We have a project where some complicated HTML elements are generated like the one in the picture below. The yellow rectangles are ...
1
vote
1answer
2k views

Latex to HTML conversion (basic explanation)

I have been looking around for an easy way to save my .tex into a .html file, but all the questions/answers are very technical, and I have not found one that is accessible to me/beginners. I have seen ...
1
vote
1answer
38 views

Split outputs for Tikz-plot after htlatex

I am currently working on a website that gererates exercises for students out of a .tex file. for one of these exercises the solution is a plot, which i am using tkiz for. when i use the normal ...
2
votes
2answers
259 views

type comments in listings that appear in comments color but without code comments symbols

I'm documenting some HMTL and wold like to use listings and inside the listing some comments, but without to see the HMTL comments <-- --!> arrows. Is there a way to do that? mwe: \documentclass{...
6
votes
0answers
558 views

comparing tex4ht, lwarp and latexml on same document?

tex4ht and lwarp and latexml all take a latex file and generate a HTML. They use different methods. I'd like to compare the HTML output on some sample document with lots of math and graphics to see ...
2
votes
1answer
92 views

Latex packages Graphviz and Babel conflict

When babel package is loaded graphviz does not accept double quotes in graphviz code. See https://www.overleaf.com/13251515ycdczbrgzczy#/51024557/ \documentclass{standalone} \usepackage{inputenc} %\...
1
vote
0answers
65 views

Compile latex-document with pstricks to HTML [duplicate]

I have a document that I'm currently compiling with pdflatex that contains pstricks-pictures (using \usepackage[pdf]{pstricks} and \usepackage{auto-pst-pdf}) To publish the document online I want it ...
5
votes
2answers
191 views

Is animate package compatible with htlatex

I have recently created some animations of tikzpictures using theanimate package. The result was (as expected) very nice. Now, I would like to save these animations as html(5 I guess) code to ...
1
vote
1answer
288 views

Styling an HTML paragraph with tex4ht

I've created a simple macro in LaTeX for notes: \documentclass{book} \usepackage{xcolor} \definecolor{notecolor}{rgb}{1,0.2,0.2} \newcommand\note[1]{{\textcolor{notecolor}{\textbf{Note: }}}#1} \...
1
vote
1answer
259 views

MathML conversion not matched with LaTeX output using TeX4ht

My code as follows: \documentclass{book} \usepackage{amsmath} \begin{document} Test \begin{equation} \left.\begin{array}{c} \displaystyle\sum\limits_{t=0}^{T}\pi \rho^{t}\overset{\textrm{add and ...
2
votes
1answer
70 views

scrjura and tex4ht: issue with headings

The scrjura.sty is part of the KOMA-script bundle. I'm using it to draft contracts. Often I have to deliver a word file. So I'm using tex4ht to produce it from my *.tex file. Let's say, the name of ...
2
votes
0answers
126 views

Any suggestions on how to use commutative diagrams in Wordpress

I started a blog on Wordpress a few months back and I used Luca Trevesian's latex2wp to change my latex documents into html for wordpress. I am wanting to use a commutative diagram on my blog but it ...
0
votes
1answer
59 views

What are the corresponding commands in MathJax for \"{o} and \'{o} in Latex? [closed]

In Latex \"{o} is for two dots above o and \'{o} is for uptone above o. And I am creating a website .html with MathJax for mathematical formulae and equations. But they just show as \"{o} and \'{o}. I ...
1
vote
1answer
49 views

TeX4ht fails to insert </div> at \end{center} with standalone class

mwe.tex: %%%%%%% Example 1. that works correctly %%%%%%%%%%%%%%%%%%%% %\documentclass{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%% Example 2. fails to insert </...
1
vote
0answers
499 views

embedding overleaf dokument into website [closed]

is it possible to dynamically embed a overleaf document into a simple (bootstraping-theme, html5) website using the "Read Only Link" ? either with embedding the latest version of the document as a pdf ...
4
votes
2answers
4k views

Inline verbatim

I would like to write something like this inline: This is paragraph element <p> I'm using verbatim for writing the HTML element part, but cannot form everything in one line. I get something ...
2
votes
1answer
609 views

Run the JavaScript code on a web page from the shortcut in my file?

MWE \documentclass[a4paper,11pt]{article} \usepackage{color} \usepackage[hyphens]{url} \usepackage[colorlinks=true,linkcolor=blue]{hyperref} \begin{document} \href{javascript}{DownloadSubmit(%20'146'%...
0
votes
1answer
289 views

Want to use PDFLaTeX in htlatex comand

My document is based on PDFLaTeX, if I run the TeX application file through PDFLaTeX, then I don't have any issues, but if I run the same file for HTML conversion through TeX4ht, then the following ...
1
vote
1answer
236 views

Include JavaScript code in HTML using tex4ht

I have trouble including JavaScript code in the HTML header generated by tex4ht. The script I want to include is: <script type="text/javascript"> var _gaq = _gaq || []; var pluginUrl = ...