Questions tagged [html]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

lwarp to html issues with termcal

I am trying to convert my LaTeX document into HTML for accessibility reasons. Unfortunately, I have not found a package that correctly creates an accessible document (for images and tables), and so I ...
0
votes
0answers
13 views

How to adjust this html (or CSS) files to auto-break this long Mathjax equation? [closed]

I have this complete webpage. Here is its link. There is a long equation: <div class="exercise"> <p class="math">Let \(S = \{0, 1\}^2\). This is the set of outcomes when a coin is tossed ...
0
votes
1answer
23 views

TEX Studio and Table of Contents not Appearing

I have this following code, and setup % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode % This is a simple template for a LaTeX document using the "article" class. % See "book", "report", ...
3
votes
1answer
41 views

ConTeXt to HTML conversion for multiple math-heavy documents

My primary goal is to convert my extremely math-heavy writings in ConTeXt to HTML so that I can put them up on the internet. I followed this answer by @Marco, but all my mathematics comes up as plain ...
2
votes
1answer
16 views

Bad SVG output when using htlatex

I am trying to compile some minimal test.tex using htlatex test.tex "xhtml,svg", but the SVG generated from tikz pictures does not seem to work. \documentclass[11pt]{article} \usepackage{tikz} \...
0
votes
1answer
54 views

Include webgl picture from html file into latex

I have this picture, which is contained in a html page (see below, you can download the code and open the pic in your browser). From what I see the picture is produced through webgl code inside the ...
1
vote
1answer
21 views

Centering images in html using tex4ht

I am trying to convert latex doxument in html using tex4htand to get centered image. I am inspired by the code in the post here I use the following .tex file \documentclass[12pt,a4paper,twoside]{book}...
1
vote
1answer
19 views

Including pstex_t figures when using htlatex

I am trying to create html file from my test.tex document including a .pstex_t file that include a .ps figure. Here is my test.tex file \documentclass[12pt,a4paper]{article} \usepackage[francais]{...
1
vote
0answers
47 views

Are there any tools to help convert latex to katex?

I may be starting a project that will require me to write lots of katex. I'd prefer to write my code in latex, so I could take advantage of thinks like tikz imagez and do calculations with sagetex. ...
0
votes
0answers
27 views

How can I include Databricks notebook cell output (HTML) in my LaTex report?

I have the following output cell in an Databricks notebook (here as picture): I would like to include this output in my LaTex report including the scroll bar. This should work through exporting the ...
2
votes
1answer
29 views

Pandoc: Convert only parts of the markdown to LaTeX

I have a markdown file which looks like this: # Sors inmotusque emicat de ope onus in ## Virgo cupidusque timet stant Lorem *markdownum*, premeret, atque expresso contraria ossibus, et virgo et ...
1
vote
0answers
39 views

Is there any way to tell Pandoc to leave begin equation as is?

I am using Pandoc to convert from Latex to Html with Mathjax, i.e., pandoc --mathjax -s -f latex input.tex -t html -o output.html. The only issue is that \begin{equation} ... \end{equation} is ...
1
vote
1answer
180 views

install htlatex

I need to convert a series of latex documents to a single html file. I would like to know how to install the htlatex program on fedora 31. I tried to install the tex4ht package without being able to. ...
2
votes
1answer
81 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
36 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
1k 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
32 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
32 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
126 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
75 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
30 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
73 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....
23
votes
2answers
3k 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
306 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 ...
3
votes
1answer
251 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
129 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
530 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
38 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
173 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
54 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
84 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
58 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
325 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
93 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
704 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
63 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
67 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
69 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
113 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
41 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 ...
4
votes
1answer
190 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 ...
45
votes
2answers
4k 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
164 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
216 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
51 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
68 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
117 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="...
2
votes
1answer
2k 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
180 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
716 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 ...

1
2 3 4 5
7