Questions tagged [html]
HTML is a markup language mainly used for creating web pages.
374
questions
3
votes
1
answer
141
views
How can I convert LaTeX code into minimal HTML?
I'm using Texmaker from the MikTex distribution.
What I would like to do, is to
create Latex code
run Texmaker to do all the substituitons, e.g. from \newcommand
build it as pure ASCII-code rather ...
0
votes
1
answer
26
views
HTML to PDF with Pandoc: How to change background color of the PDF?
I want to change the background color of the default white to #353535 and for that I'm trying to use the 'backgroundcolor' variable like so,
pandoc FINAL.html \
> -f html \
> -V backgroundcolor:#...
0
votes
0
answers
11
views
How to display latex math in html output of texinfo document
https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Inserting-Math.html
The above link provides an explanation to how to display math in the html output of a texinfo document.
It says:
...
2
votes
0
answers
38
views
Shift from print to tablet
Ten years ago, most people either read scienfitic papers on the screen or printed them on paper.
Today, I have the impression that printing becomes rare and people prefer tablet computers (often iPads)...
1
vote
1
answer
25
views
Empty html with Blogging in LaTeX
As the title suggests, this is a follow up of this question.
I'm following Michal's answer, I have created the same structure suggested in the answer, created the .make4ht file and the same hello....
1
vote
2
answers
53
views
Include MATLAB code listing compiled into HTML with correct colors
I am compiling a LaTeX file my_document.tex into an HTML page my_document.html using htlatex with the following command:
htlatex my_document.tex "xhtml,mathml-" " -cmozhtf"
I have ...
0
votes
1
answer
363
views
How to render html tables in markdown using Pandoc?
The following markdown code containing html table tags doesn't render properly when converted to latex format using Pandoc.
file.md:
<table>
<tr>
<th>Alfreds Futterkiste</th>
&...
2
votes
1
answer
67
views
Compile xypic diagrams into html
Does anyone know of a way to compile latex files into HTML (as opposed to pdf), in a way such that that commutative diagrams done with xypic are correctly displayed?
(EDIT: and moreover that formulae ...
1
vote
0
answers
33
views
Prevent processing of arabic text in sections
Background
I am using the package arabtex to process arabic text in coding examples. However, in my main file, every time I do this the code (for example <!DOCTYPE html>) in \section{} gets ...
1
vote
1
answer
61
views
Arabic text inside of listings
Background
I am trying to get Arabic text to show inside of HTML code tags using the listings package. The code does not generate any errors, but does not show the Arabic text either. The below ...
0
votes
1
answer
85
views
How to write LaTeX in browsers (in other words HTML)?
I know it is a dumb question because there is MathJax and MathML. But lots of people has said that MathJax also have MathML support. And in https://artofproblemsolving.com, I found that MathJax doesn'...
0
votes
2
answers
133
views
MathJax not rendering Tex in display style
I'm rendering a LaTeX file to HTML via Pandoc, and the output has one key difference that I can't figure out how to fix. In my LaTeX'd PDFs, I have some math in display mode that renders as:
But in ...
4
votes
1
answer
202
views
LaTex in websites [closed]
I am doing a website in html, and my website is on math. So, I need to write equations there, but I have no idea of how to do it. I has been searching and I found this website
https://proofwiki.org/...
0
votes
1
answer
26
views
How to export all collumns from jabref?
I'm using jabref to manage my references.
The inssue that I'm facing is that I want to export all the columns that I've added.
Like:
But when I opened the exportted file, there are just the default ...
0
votes
0
answers
63
views
Extract image from RMarkDown HTML
I often generate reports using RMarkDown. These include images based on analyses which are encoded in the knitted HTML file in URI scheme format.
The following RMarkDown can be knitted to such a file.
...
0
votes
0
answers
42
views
How to dynamically include Altmetric donut into resumee
The question has been already done here Embed Altimetric (or Researcher ID) badges in TeX, but did not found definitive answer.
Suppose I want to embed dynamically refreshing Altmetric donuts for my ...
0
votes
0
answers
26
views
how to convert xv6 book to html with pictures saved
the book is here: https://github.com/mit-pdos/xv6-riscv-book/
after make, it will generate book.tex, book.pdf and some other tex files. book.pdf have all pictures.
I have tried to pandoc book.tex -o ...
1
vote
1
answer
95
views
Convert CV template from tex to html using make4ht
I am trying to get a proper html version of my cv from the tex file. I like to do the conversion as perfectly as possible so that the structure of the html can match with the pdf properly.
cv.tex
\...
0
votes
1
answer
143
views
Lyx export HTML keeping equations
I have a Lyx document. If I do "File --> Export --> HTML" it produces an HTML, but all inline equations are converted to single text and displayed equations to images. I want to keep ...
0
votes
0
answers
72
views
How to use ConTeXt for HTML book?
I see that there is a question asked about using ConTeXt and a css file to generate HTML files.
Converting ConTeXt document to HTML
But is there a standard way, or an example, to create an online HTML ...
0
votes
0
answers
15
views
Need help for hyperref driver modification
Question: When hyperref generates a link, this link can start in the middle of a line, may comprise several lines and then can end in the middle of a line. I need the starting and ending positions in ...
0
votes
1
answer
52
views
How do I fix "unknown command" in TtH?
I have to convert LaTeX to HTML by TtH, but TtH can't recognize some commands like "/triangle", how do I let TtH convert these unknown commands? Thanks!
0
votes
0
answers
20
views
Include a html download attribute in a href link
Is there a way to supply a html "download" attribute to a URL, to instruct a browser to download the file instead of opening/playing it?
I've got some very large video files linked using ...
1
vote
1
answer
82
views
Can I output arbitrary HTML code while converting LaTeX to HTML using make4ht?
My code:
\documentclass{article}
\newcommand{\world}{world}
\begin{document}
hello \world{}
\end{document}
I compile this with make4ht like this:
$ make4ht foo.tex
[STATUS] make4ht: ...
1
vote
2
answers
121
views
Converting Latex \label to HTML ID attribute
Our organization has their reference manual published in LaTeX. It is a basic 300 page reference manual with tables, figures and sections. The organization also has publications database to track the ...
0
votes
0
answers
34
views
conversion of glossaries (.bib) file to html or text
When we have a bibtex (.bib) file together with a .bst file we can convert this file to a html style file with the bib2xhtml.pl (perl script).
Now I have a glossaries file which is also a .bib file ...
2
votes
1
answer
84
views
Can I make cross-references between multiple HTML pages using make4ht/tex4ht?
Here is how my project looks.
foo.tex:
\documentclass{article}
\usepackage{amsmath}
\usepackage{hyperref}
\begin{document}
\begin{equation}
\label{truth}
1 + 1 = 2
\end{equation}
\( \eqref{truth} \) ...
0
votes
0
answers
47
views
Problems with interpreting texlive API requests
I'm looking for a way to send a HTTP POST request to the TeXLive.net Server but I'm failing to do so. Could somebody please explain how such request should be done? I'm getting this error:
Bad form ...
2
votes
1
answer
183
views
MP4 in presentation in a non-broken way
I'm preparing a presentation using the beamer class and I want to add a mp4 video.
Unfortunately, everything I tried seems to be broken:
Try: Using the \movie command, pdflatex and okular: Doesn't ...
2
votes
1
answer
70
views
Is htlatex with the beamer class broken [duplicate]
If I try to compile this example document
\documentclass{beamer}
\begin{document}
\begin{frame}{Test}
Test
\end{frame}
\end{document}
with htlatex temp.tex I get the output:
l.34951 --- TeX4ht ...
2
votes
1
answer
64
views
converting LaTeX tags by equivalent HTML tags using own tags
I am writing some small conversion script from the TeX application file, and the MWE is:
\newwrite\html
\immediate\openout\html\jobname.html
\newcommand{\HalfTitle}[1]{\thispagestyle{empty}\bgroup%
\...
1
vote
0
answers
67
views
MathJax: Can't render \begin{cases}...\end{cases} using Jekyll [closed]
We use MathJax on our course website, which is implemented in Jekyll and hosted on GitHub pages. For small, straightforward equations, MathJax works great but I've never been able to get even slightly ...
1
vote
0
answers
70
views
Extraction of high level objects from .tex source files
I have idea of a tool to conveniently skim through arXiv papers/articles. In short, it ought filter out parts of document based on its type (images, tables, formulas, paragraphs etc). Obviously it ...
0
votes
1
answer
93
views
Crop PDF Graphics [closed]
I have a number of HTML snippets which I want to programmatically insert a rendering of into different cells of a tabular environment. I've tried a number of tools to convert these into latex such as ...
1
vote
1
answer
156
views
How to convert a latex document with Tikz/Pgf images and Latexmk into HTML?
I am hoping this is not a duplicate, but I was googling around so much that I can't remember where I started.
But I have a latex document that has some tikz and pgf images in it. I usually use latexmk ...
1
vote
0
answers
171
views
Converting HTML pages with MathML equations to Word document [closed]
My goal is to convert this document (https://galileo.phys.virginia.edu/classes/252/lorentztrans.html) which contains math into word document with well formatted equations.
Why only Microsoft Word you ...
1
vote
1
answer
97
views
tex4ebook html file too large
This is my first ever question.
I use TeXLive:
tex4ebook -c config -l filename.tex
One of my LaTeX sources contain the text of a whole printed book (several hundred pages) without any parts, chapters ...
1
vote
1
answer
75
views
Where is make4ht "mathjax" argument documented?
I am able to convert a LaTeX file foo.tex to foo.html using make4ht like this,
make4ht foo mathjax
Where is this argument mathjax documented? I searched the documentation at http://mirrors.ctan.org/...
0
votes
1
answer
68
views
Convert two column tex document to html
I want to produce a html output for a basic two column article given in this link. I used htlatex to produce the html output. However the output is in single column format.
Is there any way to ...
1
vote
1
answer
67
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
0
answers
75
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
0
answers
60
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
2
answers
78
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
1
answer
43
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
1
answer
510
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
0
answers
51
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
1
answer
94
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
1
answer
233
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 ...
1
vote
0
answers
156
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
1
answer
216
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 ...