Questions tagged [html]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
33 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
1answer
24 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
0answers
46 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
0answers
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
1answer
41 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
0answers
15 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
1answer
25 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
2answers
58 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
0answers
19 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
1answer
46 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
0answers
29 views

Is it possible to send the request of a tex document and receive a response with it's pdf?

I'm developing a website which will show on the page the pdf of the tex input the user gives, like this: <form> <textarea rows="8" cols="60" name="snip"> \\...
0
votes
0answers
21 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 ...
0
votes
0answers
28 views

htlatex with “early_” option shows error while using biblatex used tex file

while running biblatex used tex file in htlatex htlatex "file.tex" "xhtml,mathml,early_" "early_" this option shows below errors ! Undefined control sequence. \blx@tempa ....
2
votes
1answer
78 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
1answer
39 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
1answer
45 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
0answers
39 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 ...
0
votes
0answers
59 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
1answer
56 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
1answer
57 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
0answers
73 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
1answer
72 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
1answer
29 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
1answer
33 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
1answer
32 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
40 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
22 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
36 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
37 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
271 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
48 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
72 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
137 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
27 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
21 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
99 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
125 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 ...
0
votes
1answer
108 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
126 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
33 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
356 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: ...
2
votes
0answers
298 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
1k 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
39 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
358 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
64 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
54 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
55 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
66 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
32 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
2 3 4 5
8