Questions tagged [html]
HTML is a markup language mainly used for creating web pages.
338
questions
1
vote
1answer
12 views
tex4ebook: html parsing errors when content contains tables
I'm generating an .epub with tex4ebook. There are two sets of errors that come up during compilation, both related to parsing of html files that contain tables (unbalanced or unexpected tags). Any ...
1
vote
0answers
27 views
correctly scaling the output of svg2tikz for using in a tikzpicture
I am pretty new to tikz. I would like to use a simple external image inside a tikzpicture environment, like in the following mwe
\documentclass[tikz,border=5]{standalone}
\begin{document}
\begin{...
0
votes
0answers
15 views
Dealing with sections when converting tex to html using make4ht
I am trying to convert a math book from tex to html. Here is my sample code
\documentclass[ebook,oneside,openany,ngerman]{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{...
1
vote
2answers
27 views
Converting TeX with emoji in HTML using make4ht
I have a TeX document with emojis and I want to convert it into HTML using make4ht. Most of the emojis are not present in the final HTML.
The problem might be reproduced using the example provided ...
0
votes
1answer
30 views
Redefine \item to get an HTML list
I would like to add a feature to a documentclass that converts the output to HTML in a low-tech solution. I already managed to convert text decorations (bold, italic, ...) and math environments to my ...
1
vote
1answer
182 views
Missing images with LaTeX to HTML
I would like to create an HTML file from a LaTeX document. The probably most convenient approach using TeXStudio's Tools | Convert to Html... | Launch results in an error:
Error : a process has failed
...
1
vote
0answers
46 views
How book/specification authors do manage the same document in two versions: HTML and PDF?
Look at the example: http://www.r6rs.org/. Authors managed to provide two independent versions of the same content: one is in a singe PDF file (LaTeX rendered) and the second one in a well-structured (...
3
votes
1answer
52 views
Convert table from article to beamer
I made the following table to be used in an article class document using \usepackage[table,xcdraw]{xcolor} and \usepackage{tabu} and it works with no problems. However, now i need to use it in a ...
1
vote
1answer
79 views
Can a tufte-latex file output tufte-css HTML?
I do the bulk of my LaTeX work using tufte-handout and tufte-book classes, which I normally compire to PDF using LuaLaTeX. Recently I've been toying with trying to output my work as HTML, using ...
0
votes
0answers
19 views
backref with biblatex or hyperref in markdown, is it possible?
I use RStudio rmarkdown to write as this gives opportunity to have output in Word which some journals want [(:!)] I would like to use the backref feature in biblatex or hyperref for the bibliography. ...
0
votes
0answers
16 views
How do I make a \lstdefinelanguage{} for a razor file?
I'd like to make a good \lstdefinelanguage{...} for a razor file, which is a mix of HTML and C#. There're so many things to take into account, so I was wondering how to approach this.
Can you help me ...
1
vote
0answers
55 views
LaTeX to html pages with interactive features
My search has brought to several questions with a similar gist to mine, but I could not find a satisfying ansewr to my specific needs. In addition, these threads were quite old and maybe things have ...
3
votes
1answer
61 views
make4ht: can it generate framed html output?
I am using make4ht to generate HTML output for an article that I am writing and posting it online. So far, so good. I would like to know if it would be possible to generate framed HTML output so that ...
1
vote
1answer
98 views
HTML-Aware TeX/LaTex
I can't find an acceptable way to convert LaTeX input to HTML output. Ideally, one should be able to say pdflatex my.tex to produce a PDF file, and htmllatex my.tex to get HTML output.
I've tried a ...
4
votes
1answer
85 views
How to use my own HTML template with make4ht?
Here is my LaTeX file foo.tex:
\documentclass{article}
\usepackage{amsmath}
\title{Demo}
\begin{document}
\begin{align}
1 + 0 & = 1, \label{eq1} \\
1 + 1 & = 2, \label{eq2} \\
e^{i \pi} = -1. ...
2
votes
1answer
27 views
make4ht is removing blank lines from verbatim environment
My LaTeX code file foo.tex:
\documentclass{article}
\usepackage{amsmath}
\title{Demo}
\begin{document}
\begin{verbatim}
Foo
Bar
Baz
\end{verbatim}
\end{document}
Here is how I convert it to HTML ...
0
votes
1answer
180 views
make4ht complains about “module 'luaxml-domobject' not found”
I have installed make4ht using the command tlmgr install make4ht.
Now when I enter the command make4ht foo.tex, I get this error:
[STATUS] make4ht: Conversion started
[STATUS] make4ht: Input file: ...
0
votes
0answers
150 views
How to prevent pandoc from converting align environment to aligned environment?
My LaTeX code in foo.tex:
\documentclass{article}
\usepackage{amsmath}
\title{Demo}
\begin{document}
\begin{align}
1 + 0 & = 1, \label{eq1} \\
1 + 1 & = 2. \label{eq2}
\end{align}
Equation \(...
0
votes
0answers
806 views
Convert .tex to .html on Overleaf
Ok, so I know this might seem the same as David Carlisle question. However it differs in one key way. I want to know how to generate an html output within Overleaf. Which is not referenced anywhere on ...
0
votes
0answers
33 views
Incorporate .html plots
I am attempting to incorporate some .html plots into a LaTeX or LuaTeX document on overleaf. How should I do it? Do I upload, say, data.html file onto overleaf then just \includegraphics{data.html?
1
vote
1answer
145 views
Colored cell in table isn't working
I'm using the following documentclass and preamble
\documentclass[runningheads]{llncs}
%
\usepackage[table,xcdraw]{xcolor}
\usepackage{graphicx}
\usepackage{svg}
\usepackage{subfig}
I'm using this ...
1
vote
0answers
37 views
What's the Simplest Way to Convert a book from XeLaTex to Epub [duplicate]
I have a 508-page book setup in LaTex. The book has 60+ images and uses custom fonts (the reason why I'm using XeLaTex). I use Overleaf and can easily spit out PDFs to create the paperback version of ...
1
vote
1answer
49 views
Displaying given TeX code for web application (HTML/Javascript)? [closed]
The title is pretty general but I have a bit of a specific question.
I'm given a database of TeX code. I'm not familiar with what sort of format it's in (LaTeX, KaTeX, etc.), I only understand that it ...
1
vote
0answers
49 views
WebQuiz compilation and html output file empty
I'm working on the WebQuiz package.
I started with first example given by the reference document webquiz.pdf.
After pdflatex compilation of my first example (Quiz-1.tex), I get the pdf output document ...
0
votes
1answer
60 views
Command \iint already defined. Error occurred in color table
I have around 10 colorful tables in my document, but when I created following table I got the error (shown in picture). I applied the available solution on this forum, but its not work. Please guide ...
0
votes
0answers
23 views
How to output only the ToC as HTML
I'm using kaobook to produce a book that I'm publishing on LeanPub. LeanPub provides the option to upload an HTML-formatted table of contents.
Is there any way I can output just the table of contents ...
1
vote
2answers
144 views
Problem with display of LaTeX-Webquiz
As I am new to the WebQuiz package I am struggling with the correct display of a quiz. I would be super glad about any help as I would like to use WebQuiz for maths university and high school teaching....
0
votes
0answers
126 views
How do you actually use LaTeX conversion systems like make4ht and tex4ht?
I have acquainted myself with the export methods of LaTeX but I am utterly confounded by how I am supposed to actually utilize conversion software created by others out in the web. I understand the ...
0
votes
0answers
89 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
1answer
129 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
77 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
50 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}
\...
2
votes
1answer
142 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
32 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
59 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
297 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
147 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
40 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
69 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
610 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
193 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[...
4
votes
1answer
66 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 ...
16
votes
1answer
2k 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 ...
2
votes
1answer
38 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
213 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
131 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
60 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
90 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....
24
votes
2answers
5k 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
629 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 ...