Questions tagged [html]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
36 views

When compiling with make4ht, how to avoid generation of intermediate files that are corrupting the index of version control?

I'm using make4ht as a replacement of the old htlatex to convert a tex file into HTML (see this post for detail: Is the htlatex tool of the latest texlive broken?) With the following command, the html ...
  • 103
0 votes
1 answer
46 views

How to number a group of equations in html/Mathjax [closed]

I am using MathJax on my website. When I number a single equation, it turns out all right. However, for a group of equations, it doesn't work. I have to modify the code like below and only then the Eq ...
  • 443
0 votes
1 answer
77 views

pandoc doesnt generate latex equations during .md to .html conversion

I'm using pandoc to convert a .md file with latex equations into .html pandoc sample_equations.md -o test_today.html This is one such equation in sample_equations.md \begin{equation} \frac{\partial ...
1 vote
1 answer
35 views

How to get \hypereff[]{} working with htlatex?

In this minimal example: \documentclass[11pt]{book} \usepackage[utf8]{inputenc} \usepackage[]{hyperref} \begin{document} Hahaha \hyperref[other]{2} \end{document} Compiling with pdflatex, it ends ...
0 votes
0 answers
29 views

publish online book with latex [duplicate]

I am writing a mathematical book in Latex that I would like to make accessible as an online book, something in the style of jupyterbook, say. Is there any such service available? I would be willing to ...
  • 101
2 votes
1 answer
207 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 ...
  • 2,559
0 votes
1 answer
319 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
35 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
46 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
29 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....
  • 2,452
1 vote
2 answers
80 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 ...
1 vote
1 answer
1k 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
85 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
39 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 ...
  • 2,673
1 vote
1 answer
133 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 ...
  • 2,673
0 votes
1 answer
131 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
208 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
264 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
33 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
144 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. ...
  • 385
0 votes
0 answers
55 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
31 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 ...
  • 101
1 vote
1 answer
116 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 \...
  • 417
0 votes
1 answer
242 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
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
56 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!
  • 11
1 vote
1 answer
103 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: ...
  • 2,937
1 vote
2 answers
148 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 ...
  • 13
2 votes
1 answer
108 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} \) ...
  • 2,937
0 votes
0 answers
58 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
314 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
83 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
81 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% \...
  • 11.3k
1 vote
0 answers
151 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
78 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 ...
  • 111
0 votes
1 answer
143 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
207 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 ...
  • 219
1 vote
0 answers
243 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 ...
  • 95
1 vote
1 answer
105 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
112 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/...
  • 2,937
0 votes
1 answer
84 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 ...
  • 219
1 vote
1 answer
86 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 ...
  • 133
1 vote
0 answers
84 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{...
  • 11
0 votes
0 answers
68 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{...
  • 11
1 vote
2 answers
90 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 ...
  • 666
0 votes
1 answer
58 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
590 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 ...
  • 125
2 votes
0 answers
55 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
120 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 ...
2 votes
1 answer
266 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 ...
  • 143

1
2 3 4 5
8