Questions tagged [html]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
26 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
31 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 ...
6
votes
1answer
719 views

comparing tex4ht, lwarp and latexml on same document?

tex4ht and lwarp and latexml all take a latex file and generate a HTML. They use different methods. I'd like to compare the HTML output on some sample document with lots of math and graphics to see ...
1
vote
1answer
70 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
60 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[...
2
votes
2answers
2k views

Setting image size in html output of tex4ht

I have a complex document which I'm trying to convert to html with tex4ht and TeXLive under Ubuntu, but I'm not able to coherently control the image size of jpg and eps images. In html output, jpg ...
2
votes
1answer
85 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 ...
15
votes
1answer
1k 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 ...
3
votes
1answer
33 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 ...
0
votes
0answers
26 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
30 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 ...
1
vote
0answers
64 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.
123
votes
12answers
171k views

Convert LaTeX to HTML

Is there a converter that will convert LaTeX to HTML? I have tried several services but the LaTeX diagrams and some of the maths came out weird. I actually converted the Latex to PDF without a ...
0
votes
0answers
24 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
62 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....
22
votes
2answers
2k 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
224 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 ...
2
votes
1answer
141 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 ...
2
votes
1answer
355 views

Any tricks for using the currvita style with tex4ht?

TeX4ht doesn't quite understand the currvita style's cvlist environment. It appears that cvlist takes the heading as an argument, typesets this heading into an \sbox, and uses the sbox inside the ...
48
votes
7answers
68k views

How to incorporate TeX into a website?

How should I incorporate TeX in a website to render mathematical formulas? If there are multiple ways, what is the easiest way?
1
vote
2answers
138 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
1answer
35 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 ...
0
votes
2answers
43 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 ...
0
votes
2answers
114 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
391 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 ...
2
votes
1answer
56 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
54 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 ...
4
votes
1answer
241 views

Is there a way to render a TeX formula in pure HTML/CSS using Open Type fonts? [duplicate]

Is there a way to convert a TeX document into HTML that instead of relying on JavaScript, SVG, HTML Canvas, or images for rendering formulae to solely rely on HTML, CSS, and OTF fonts? In [Which ...
15
votes
4answers
7k views

Alternatives to bibtex2html

As the title says, are there viable alternatives to bibtex2html for converting bibliographic entries to HTML? I am specifically looking for some command-line utility allowing to export a bib files ...
1
vote
0answers
68 views

Converting an Overleaf document to a Wordpress post [duplicate]

Good morning! I have a document (math operations) made in Overleaf and I need it as a Wordpress post. Does anyone know if it is possible to perform some sort of conversion with a minimum number of ...
0
votes
1answer
467 views

Is there a way to make LaTex show up in RStudio preview?

I'm using RStudio (current version) on a Windows 10. The math rendering works but when I add additional aspects to make the document more clean, I run into the problem of going from pdf to html and ...
3
votes
0answers
483 views

Interactive sliders in tikz

Is it possible to make an interactive picture or animation with tikz which has an interactive slider? The output format doesn't have to be pdf in this case, maybe also html or something else. The ...
1
vote
1answer
50 views

Problem in using latex2wp converter

I used latex2wp package to convert my latex codes into html document. To check whether it works well, I tried to convert simple-single line math equation-codes into html document. But my result does ...
5
votes
1answer
66 views

Context html export garbles bibliography

I added \setupbackend[export=yes] to my file to test the html export capabilities. All works excellent except the bibliography which is either split (in -div version) or comes as one paragraph (in -...
26
votes
1answer
3k views

Converting ConTeXt document to HTML

For LaTeX, I used to rely on htlatex, latex2html, or more rarely tth. I know that we can use XML with ConTeXt, although I have no experience with this, and that Pandoc let us use Markdown syntax and ...
4
votes
1answer
66 views

Context html export bibliography

Context MKIV html export works perfectly, but: the bibliography in APA produces ---- lines for authors with several publications which disappear in html-rendering. Which is the best way to resolve ...
49
votes
7answers
4k views

Why haven't any TeX->HTML converters been updated to use current web standards/style?

I think that updating these converters would help TeX stay relevant as a document processing language. In these last few years, web development has really skyrocketed. CSS3 has brought along a lot of ...
1
vote
4answers
96 views

Including categorical colours with \newcommand in PdfLatex

I wish to have a list of predefined HTML colour codes and convert them into a numbered reusable variable which can then be referenced later. This is useful when having a set number of variables or ...
6
votes
3answers
2k views

LaTeX to HTML - Square roots

I used SimpleTeX4ht to convert a LaTeX file to HTML. The file is fine except that square roots are rendering badly in juxtaposition with the rest of the text, e.g. like: Any suggestions on how to ...
2
votes
1answer
40 views

Conditions under which the paragraph <p> tags are generated by Tex4ht

I would like to understand better what is responsible in Tex4ht for inserting the <p class="indent"></p> and <p class="noindent"></p> tag statements. I get a lot of empty ones ...
6
votes
2answers
231 views

Is animate package compatible with htlatex

I have recently created some animations of tikzpictures using theanimate package. The result was (as expected) very nice. Now, I would like to save these animations as html(5 I guess) code to ...
3
votes
1answer
149 views

latex to html with collapsing

Is there a solution to this fold/unfold sections to expand in PDF in terms of HTML? In other words, can I compile to HTML and have certain parts of my work collapsed? So for instance, I would want ...
41
votes
2answers
3k views

Not Obsolete LaTeX to HTML Converter?

I am looking to convert LaTeX to HTML. A long time ago (during my thesis, in 2000!), I used Hacha and Hevea ... but obviously, they are no longer maintained, especially the Windows version. More ...
5
votes
2answers
159 views

ConTeXt, HTML source code side by side to the result from the web

I would like to write a document with some HTML code and next to it the result from a webpage. Basically something like \starthtmlexample <strong>Hello</strong>, <em>world<em&...
29
votes
9answers
22k views

Tool for manipulating LaTeX tables (HTML to LaTeX)

I am wondering if there is any tool that can help me work with tables in LaTeX. Specifically I'd like to be able to import HTML tables (or small Excel tables) into LateX Are there tools that can help ...
2
votes
1answer
200 views

Tex file to HTML conversion

I tried to convert multiple .tex files, but I'm having problems with it, I tried htlatex, pandoc, latex2html, but none of them have worked. The one who at least show signs of success was using the ...
0
votes
1answer
65 views

Html to LaTex : Trademark sign not converted properly

Whenever I try to convert html text which contains the trademark sign into LaTex, the trademark sign gets converted into "â„¢". I convert a xml file to html and afterwards to latex.That's how the xml ...
1
vote
1answer
47 views

htlatex Defines a Command Then Chokes on it

I'm trying to compile a LaTeX document into a HTML document but I keep hitting the same problem. When I compile (using the command htlatex .\scratch.tex myhtml), I get the following output: G:\PhD\...
1
vote
0answers
107 views

Embed Altimetric (or Researcher ID) badges in TeX

How to embed Altimetric (or Researcher ID) badges in a TeX document? In other words, how to make use of the following html code to generate the badges in a TeX document?: <div data-badge-popover="...
1
vote
1answer
2k views

Include a HTML file in a LaTeX-beamer presentation

I have a HTML file available at this URL : http://khamphouj.iiens.net/ENSIIE/ENSTA/Plot%201.html And I'd like to put it into my beamer presentation. I don't want it to be static like a .png or .jpg ...

1 2 3 4 5 7