Questions tagged [html]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
37 views

Convert xelatex to html

I take this minimal example for document. I need 'polyglossia'. \documentclass{article} \usepackage{polyglossia} %\usepackage[utf8]{inputenc} \setdefaultlanguage{arabic} \newfontfamily\arabicfont[...
3
votes
1answer
27 views

make4ht for plain tex

I want to convert a plain tex document to html using make4ht. If I use this command line make4ht document.tex the program calls the compiler "latex" and blocks the compilation. The make4ht --help ...
15
votes
1answer
851 views

How does Overleaf render LaTeX online?

First of all, I'm sorry if this is not the appropriate page to ask, I will delete this thread if necessary. I want to show a compiled version of some latex document (that should be able to be ...
0
votes
0answers
22 views

Target specific elements in listings and format to CSS

Problem: I wish to target the elements <style>and </style> so that listings would format the content between these two elements as CSS. I have managed to format it separately, but I wish ...
2
votes
1answer
28 views

How to export biblatex/authoryear-icomp data to HTML?

Six years ago somebody asked this question but got no answer and his question was closed. Now I have the same question to ask: I have prepared BIB data (in biblatex format) for the papers of the ...
2
votes
1answer
69 views

Can I write once, publish in HTML(blog) and PDF?

I'm going to write an article. It will have math equations, images, and tables. My article frequently contains repeated content with slight modifications. For instance my article may have If the ...
1
vote
0answers
53 views

Can we embed LaTeX code in HTML webpage? [closed]

Is there any way to add all LaTeX code in HTML webpage? There are some ways for maths/equations but I want to use other LaTeX elements in HTML like tcolorbox.
0
votes
0answers
23 views

How do change the output directory of `htlatex`

Every time I execute the htlatex command in TeXsudio (htlatex %.tex) I get a lot of files in my main folder. I would prefer that the target files (html, css, png, etc.) to a folder called html and all ...
0
votes
0answers
55 views

HTML with latex code

I'm reading a HTML file, where math related stuffs are written in latex code. It's just like: Let A be matrix and b be a vector. Then \|Ax - b\|_2^2 <= \epsilon is what we need. Blah blah. i....
22
votes
2answers
2k views

Blogging in LaTeX

It seems to me that all (static) blogging frameworks, e.g. Jekyll and Hugo use Markdown as format for blog posts. But according to Hartl’s Tenth Rule of Typesetting Any sufficiently ...
4
votes
1answer
168 views

Is it possible to use pgfplots in Rmarkdown rendered as HTML?

tikzcode renders properly when an Rmarkdown file is rendered in PDF format (which makes sense). In order to make it work in an HTML file, it is required to put the code in an R chunk with the ...
2
votes
1answer
103 views

Maintained tool to faithfully convert LaTeX/PDF to HTML?

There is a tool called pdf2htmlex that does an impressive job of converting PDF to HTML. Very faithful. Either books full of mathematics and diagrams have been faithfully converted. Unfortunately, it ...
0
votes
2answers
107 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/...
3
votes
0answers
298 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
32 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
2answers
107 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
38 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
37 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
53 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 ...
4
votes
1answer
201 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
51 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
276 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
46 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
66 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
62 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
84 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
39 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
134 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
3k 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
157 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
190 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
46 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
60 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
97 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="...
1
vote
1answer
1k 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
146 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
655 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
55 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
114 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
132 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
108 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
169 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
193 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
447 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
3k 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
42 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
420 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
677 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
116 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
76 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 ...