Questions tagged [html]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
11 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
15 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
39 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
38 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
0answers
38 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
76 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
25 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
61 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
52 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
294 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
28 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
53 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
34 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
42 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
40 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
56 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
19 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
129 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
80 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
60 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
64 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
68 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
33 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} \...
1
vote
1answer
99 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
25 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
33 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
161 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
77 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
34 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
51 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
402 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
136 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
46 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 ...
0
votes
0answers
49 views

Target specific elements in listings and format to CSS

Problem: I wish to target the elements <style>and </style> so that listings would format the content between these two elements as CSS. I have managed to format it separately, but I wish ...
2
votes
1answer
36 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
181 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
106 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
44 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
83 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....
23
votes
2answers
4k 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
475 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 ...
4
votes
2answers
507 views

Maintained tool to faithfully convert LaTeX/PDF to HTML?

There is a tool called pdf2htmlex that does an impressive job of converting PDF to HTML. Very faithful. Either books full of mathematics and diagrams have been faithfully converted. Unfortunately, it ...
0
votes
2answers
150 views

How can I get a book(article) online via LaTeX to HTML in Windows 10?

If you could spend a week full-time with Windows looking into various methods for converting LaTeX to HTML, and then actually implement an approach based on what seems to be the most successful/...
3
votes
0answers
700 views

Pandoc (LaTeX → HTML) does not use specified .cls file

I'm attempting to use Pandoc to convert some math-heavy LaTeX into HTML. To make the TeX code easier to read and write, I've factored some macros into a .cls file in the same directory, and used it as ...
0
votes
1answer
42 views

Tex4ht (htlatex) html output in sans serif typeface and narrow textwidth

Using the htlatex myfile.tex command which invokes tex4ht, I learned that a rather nice text for web pages can be obtained by simply using the \sf command for an entire web article. Using the helvet ...
1
vote
2answers
213 views

What is a TeX to HTML converter that produces GladTeX-friendly HTML and numbers formulas?

I wrote a math paper in LaTeX that uses a custom .sty file I wrote (defines some math commands, basically, and imports packages with math symbols and fonts) and I want to convert it into a standalone, ...
0
votes
2answers
63 views

Latex Beamer: HTML Tags rendered as punctuation

Preparing a presentation, text that involves HTML tags gets rendered as Spanish question mark and exclamation mark. I am not particularly familiar with Latex Beamer and I could not figure out where ...
2
votes
1answer
118 views

tex4ht: Wrapping several paragraphs inside a div tag

I want to wrap several paragraphs inside a div with a custom class, but the div is closed automatically in the resulting HTML when a new paragraph begins. This shows the issue: \documentclass{...
1
vote
0answers
61 views

Can an OTF font, without relying on anything else, render complex TeX formula? [closed]

OTF fonts a have a number of features such as: Variants Ligatures Swashes Alternates etc. Is it possible to use a combination of these features to render complex math formulae without depending on a ...

1
2 3 4 5
7