Questions tagged [html]

{html} is for questions related to HTML, a markup language mainly used for creating web pages.

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

Which software can be used for diagrams incorporated in latex and html

I need to draw one or a few flow-diagram like graph which must be included in a PDF produced with Latex and a HTML file shown in a browser. What is the best option for the software? I would prefer a ...
user855443's user avatar
  • 1,088
2 votes
1 answer
73 views

make4ht compiled HTML math doesn't justify with text

My test.tex MWE is: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{mathtools} \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam a ...
Valdinei Rodrigues's user avatar
0 votes
0 answers
35 views

How to put html table into latex document (not as a figure) [duplicate]

I have an html table like <table>...</table> with some css formatting and I'd like to put that table into latex document. I don't want to put it as a figure because I will not ba able to ...
Kernier's user avatar
2 votes
1 answer
75 views

make4ht math input error when using amsmath

My MWE is the file test.tex here: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \begin{equation} y[n] = \begin{cases}...
Valdinei Rodrigues's user avatar
1 vote
1 answer
104 views

error using htlatex and no output file is generated :(

I am very new to using LaTeX so please be kind :) Specs: Using Windows OS, TexLive, Overleaf(initially). Used the accessible package from https://libguides.lib.msu.edu/c.php?g=995742&p=8207771 ...
Locke's user avatar
  • 13
0 votes
0 answers
70 views

How to create a latex file with html input value?

I have a latex file and a website. On the website I have an input field, in which you can write text. Then when you click a download-button on the website I want that it automatically creates a pdf (...
mat's user avatar
  • 1
3 votes
1 answer
148 views

converting context to HTML problem. TL 2023. Strange characters show up

I am learning context a little, so I can compare its output to HTML with tex4ht. I know very little about context. I found the most simple example in this answer ConTeXt to HTML conversion for ...
Nasser's user avatar
  • 20.6k
1 vote
1 answer
93 views

Table Column Alignment to HTML

How to retain the LaTeX tabular cell alignment in the converted HTML col element? For example: \begin{tabular}{**lcr**} should convert as <col align="**left**" ..><col align="...
RampSmart's user avatar
  • 103
1 vote
1 answer
227 views

Librarys in TikZJax

https://tikzjax.com/ https://tikzjax-demo.glitch.me/ Is it possible to use librarys in TikZJax? I testet \tikzset{ background rectangle/.style={fill=red, rounded corners}, show background ...
cis's user avatar
  • 7,879
2 votes
1 answer
41 views

TeX4HT - How to add extra tag on theorem-like environments

I am using TeX4HT to convert LaTeX into HTML. I need the HTML structure of theorem-like environment to be like below: The <div> class attribute value should be the name of the type, such as ...
sizr's user avatar
  • 55
1 vote
0 answers
51 views

Difficulty loading multiple LATEX's symbols in a mathematical website [closed]

how are you doing? For some time now, I've been writing some texts about Olympiad mathematics on a wiki. You can find this wiki at the following address: https://olimpedia.fandom.com/pt-br/wiki/...
Nilton Cesar's user avatar
2 votes
1 answer
70 views

Glossary styling. How to stop terms from overlapping the definitions?

I have created a simple Glossary for my article, but one of the terms being defined (Guidelines) is rendered written over its definition. This way it is illegible, as you can see on the screenshot ...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
1 vote
1 answer
84 views

How can I convert a chess PDF to a HTML file to include diagrams using tex4ht?

I'm trying to convert a chess pdf to html file before converting to mobi and keeping it with the diagrams. I'm doing this through tex4ht on TeXStudio. I have the code: \documentclass{article} \...
Cauê's user avatar
  • 11
1 vote
0 answers
92 views

Export alignment information during docx to html conversion - pandoc

I'm using pandoc in my website to allow my content creators to use Word, which would simplify developmnent immensely. The only issue I have is that Pandoc seems to output very little information about ...
J-Cake's user avatar
  • 111
0 votes
0 answers
136 views

Pandoc issue with html download

I have a problem with pandoc. I have a script that converts markdown files into pdfs with pandoc and LaTeX and uses a .tex file with the --include-in-header option to format the input. This works like ...
Enemoy's user avatar
  • 49
1 vote
0 answers
110 views

Use html inside Latex

I'm having a html and css code of a figure, and wanna insert this code inside the latex file such that when i compile the document it show me the figure.
Ahmed EL YOUSEFI's user avatar
0 votes
0 answers
57 views

make4ht and hyphens and apostrophes

make4ht incorrectly outputs en-dash, em-dash and apostrophes. \documentclass{article} \begin{document} -- --- ' \end{document} Compiling this with make4ht test.tex outputs garbage – — ’. Note ...
David Wood's user avatar
1 vote
1 answer
78 views

How make tex4ht include navigation link on book title page to table of contents?

To the source file doc.tex below, I'm applying the command make4ht doc.tex "3" to produce an html version that has a separate page for each section. When the resulting doc.html file is ...
murray's user avatar
  • 7,914
0 votes
0 answers
198 views

How can I make rendered expressions by KaTex on a p5.js canvas show on downloaded images?

I am trying to render LaTeX-Expressions with KaTeX on a p5.js canvas in order to export them together with the canvas as a png and use that elsewhere. The expressions render just fine, but when I ...
pana pana's user avatar
1 vote
0 answers
120 views

Error converting Latex to HTML - package algorithm2e?

Update I've reduced the entire thesis down to an empty doc with the packages that I'm using. I've tried commenting out each of the packages one by one, and including them one by one, and the results ...
memo's user avatar
  • 111
1 vote
1 answer
162 views

`make4ht`: Generating HTML output, but leaving the styling to the user (i.e. don't make CSS?)

A nice feature of make4ht is that it converts the latex document to HTML, but the awesome feature of make4ht is that it generates all the right images and inserts them in the right places for math. ...
bzm3r's user avatar
  • 3,186
0 votes
1 answer
126 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 ...
tribbloid's user avatar
  • 113
0 votes
1 answer
107 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 ...
QMC's user avatar
  • 473
0 votes
1 answer
1k 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 ...
newstudent's user avatar
1 vote
1 answer
53 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 ...
Socrates's user avatar
0 votes
0 answers
31 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 ...
darko's user avatar
  • 101
2 votes
1 answer
915 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 ...
MS-SPO's user avatar
  • 10.5k
0 votes
1 answer
1k 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:#...
rowanantkinson's user avatar
2 votes
0 answers
54 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)...
J Fabian Meier's user avatar
1 vote
1 answer
55 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....
Luis Turcio's user avatar
  • 2,707
1 vote
2 answers
186 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 ...
Paul Wintz's user avatar
4 votes
2 answers
4k 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> &...
Gatecrasher53's user avatar
3 votes
1 answer
168 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 ...
Joao Faria Martins's user avatar
1 vote
0 answers
100 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 ...
kexxcream's user avatar
  • 2,805
1 vote
1 answer
402 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 ...
kexxcream's user avatar
  • 2,805
0 votes
1 answer
343 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'...
RajinCoding2007's user avatar
0 votes
2 answers
810 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 ...
Andrew M.H. Alexander's user avatar
4 votes
1 answer
1k 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/...
Rata mágica's user avatar
0 votes
1 answer
62 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 ...
user2535338's user avatar
0 votes
0 answers
300 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. ...
LBogaardt's user avatar
  • 375
0 votes
0 answers
99 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 ...
pankevedmo's user avatar
0 votes
0 answers
49 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 ...
Chen Li's user avatar
  • 101
1 vote
1 answer
213 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 \...
raf's user avatar
  • 571
1 vote
1 answer
550 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 ...
user171780's user avatar
0 votes
0 answers
16 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 ...
Nobody-Knows-I-am-a-Dog's user avatar
0 votes
1 answer
117 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!
Lain's user avatar
  • 11
1 vote
1 answer
194 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: ...
Lone Learner's user avatar
  • 3,206
2 votes
2 answers
303 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 ...
KarenM's user avatar
  • 23
2 votes
1 answer
200 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} \) ...
Lone Learner's user avatar
  • 3,206
0 votes
0 answers
109 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 ...
giuliakhan's user avatar

1
2 3 4 5
8