Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [html]

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

2
votes
0answers
33 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
35 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 ...
1
vote
1answer
33 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 ...
4
votes
1answer
53 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 ...
5
votes
1answer
54 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 -...
1
vote
4answers
53 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 ...
2
votes
1answer
31 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 ...
3
votes
1answer
94 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 ...
37
votes
2answers
2k 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
142 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&...
1
vote
1answer
128 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 ...
1
vote
1answer
42 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\...
0
votes
1answer
38 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
0answers
67 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="...
0
votes
1answer
477 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 ...
2
votes
0answers
75 views

Wiki software with Latex formatting?

I'm looking at setting up an internal wiki at my company and I would like a system that used Latex instead of Markdown or any of the other popular "languages" to format the wiki pages. I find a lot of ...
7
votes
1answer
575 views

What advantage does *TeX provide over modern tools like HTML+CSS+js? [closed]

My answer would be 'not much' and I am considering porting *TeX to browser. Sorry if this is not exactly a question, but I don't know better places for collecting expert opinions. I think TeX's major ...
0
votes
0answers
50 views

Building a Math Question bank and Web Application for reading them

Idea is to design a Question bank with answers and solutions for math and science subjects, for a web application (Designed in Laravel(php). Typesetting of questions is done in LaTeX. \...
2
votes
1answer
101 views

Latex3 programming and tex primitives: how to “execute after” instead of expandafter

Here is a bit lengthy question. I hope it is not too specific. I'm trying to scan some tex documents and I want to produce text files directly. I'll achieve this by scanning the tex input token by ...
0
votes
1answer
71 views

minted - how to highlight html also, when language “twig” is selected

I use minted and I try to format twig-Code. But when I select twig as the code-language, it does highlight the twig code but it doesn't highlight html-code! This looks like this: Is there any way to ...
0
votes
1answer
84 views

Use of regex in sublime text 3, Tex to Html

In a job that I am doing, you must do tasks in a repetitive way by migrating articles in latex to html. I can not make substitutions using regex to replace command like \textit{text} to <i>...
1
vote
0answers
134 views

KhanAcademy latex markups [closed]

Main question: How KhanAcademy formats latex inside HTML pages? It means: How can I write \LaTex like code (per example inside the HTML annotation tag below) inside regular HTML pages and it be ...
0
votes
0answers
105 views

open source web based markup editor plugin supporting latex

I have a web project where we provide support for writing (basic) TeX with some additional markup (bold, italic,...). Currently, we use this plugin under MIT license, where the TeX markup is being ...
0
votes
1answer
139 views

Converting latex to Html character problems

I am using Ubuntu 16.04 and the nano text editor to create my .tex files. When using quotations I use \textquoteblleft and \textquoteblright, otherwise if I use ", all of the quotes in the compiled ...
1
vote
0answers
152 views

Include HTML elements in LaTeX

We try to include some HTML elements into a LaTeX document. We have a project where some complicated HTML elements are generated like the one in the picture below. The yellow rectangles are ...
1
vote
1answer
1k views

Latex to HTML conversion (basic explanation)

I have been looking around for an easy way to save my .tex into a .html file, but all the questions/answers are very technical, and I have not found one that is accessible to me/beginners. I have seen ...
1
vote
1answer
36 views

Split outputs for Tikz-plot after htlatex

I am currently working on a website that gererates exercises for students out of a .tex file. for one of these exercises the solution is a plot, which i am using tkiz for. when i use the normal ...
2
votes
2answers
195 views

type comments in listings that appear in comments color but without code comments symbols

I'm documenting some HMTL and wold like to use listings and inside the listing some comments, but without to see the HMTL comments <-- --!> arrows. Is there a way to do that? mwe: \documentclass{...
6
votes
0answers
484 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 ...
2
votes
1answer
79 views

Latex packages Graphviz and Babel conflict

When babel package is loaded graphviz does not accept double quotes in graphviz code. See https://www.overleaf.com/13251515ycdczbrgzczy#/51024557/ \documentclass{standalone} \usepackage{inputenc} %\...
1
vote
0answers
60 views

Compile latex-document with pstricks to HTML [duplicate]

I have a document that I'm currently compiling with pdflatex that contains pstricks-pictures (using \usepackage[pdf]{pstricks} and \usepackage{auto-pst-pdf}) To publish the document online I want it ...
5
votes
2answers
188 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 ...
1
vote
1answer
256 views

Styling an HTML paragraph with tex4ht

I've created a simple macro in LaTeX for notes: \documentclass{book} \usepackage{xcolor} \definecolor{notecolor}{rgb}{1,0.2,0.2} \newcommand\note[1]{{\textcolor{notecolor}{\textbf{Note: }}}#1} \...
1
vote
1answer
231 views

MathML conversion not matched with LaTeX output using TeX4ht

My code as follows: \documentclass{book} \usepackage{amsmath} \begin{document} Test \begin{equation} \left.\begin{array}{c} \displaystyle\sum\limits_{t=0}^{T}\pi \rho^{t}\overset{\textrm{add and ...
2
votes
1answer
70 views

scrjura and tex4ht: issue with headings

The scrjura.sty is part of the KOMA-script bundle. I'm using it to draft contracts. Often I have to deliver a word file. So I'm using tex4ht to produce it from my *.tex file. Let's say, the name of ...
2
votes
0answers
118 views

Any suggestions on how to use commutative diagrams in Wordpress

I started a blog on Wordpress a few months back and I used Luca Trevesian's latex2wp to change my latex documents into html for wordpress. I am wanting to use a commutative diagram on my blog but it ...
0
votes
1answer
56 views

What are the corresponding commands in MathJax for \"{o} and \'{o} in Latex? [closed]

In Latex \"{o} is for two dots above o and \'{o} is for uptone above o. And I am creating a website .html with MathJax for mathematical formulae and equations. But they just show as \"{o} and \'{o}. I ...
1
vote
1answer
47 views

TeX4ht fails to insert </div> at \end{center} with standalone class

mwe.tex: %%%%%%% Example 1. that works correctly %%%%%%%%%%%%%%%%%%%% %\documentclass{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%% Example 2. fails to insert </...
1
vote
0answers
444 views

embedding overleaf dokument into website [closed]

is it possible to dynamically embed a overleaf document into a simple (bootstraping-theme, html5) website using the "Read Only Link" ? either with embedding the latest version of the document as a pdf ...
4
votes
2answers
3k views

Inline verbatim

I would like to write something like this inline: This is paragraph element <p> I'm using verbatim for writing the HTML element part, but cannot form everything in one line. I get something ...
2
votes
1answer
586 views

Run the JavaScript code on a web page from the shortcut in my file?

MWE \documentclass[a4paper,11pt]{article} \usepackage{color} \usepackage[hyphens]{url} \usepackage[colorlinks=true,linkcolor=blue]{hyperref} \begin{document} \href{javascript}{DownloadSubmit(%20'146'%...
0
votes
1answer
272 views

Want to use PDFLaTeX in htlatex comand

My document is based on PDFLaTeX, if I run the TeX application file through PDFLaTeX, then I don't have any issues, but if I run the same file for HTML conversion through TeX4ht, then the following ...
1
vote
1answer
202 views

Include JavaScript code in HTML using tex4ht

I have trouble including JavaScript code in the HTML header generated by tex4ht. The script I want to include is: <script type="text/javascript"> var _gaq = _gaq || []; var pluginUrl = ...
0
votes
1answer
406 views

Problem when use htlatex converting LaTeX to HTML

I now need convert LaTeX to HTML using MiKTeX, and then to Word finally. There is no output html file at all, i followed the step from JBloggs TeX4ht (htlatex) on MiKTeX 2.9 to convert LaTeX into ...
1
vote
1answer
62 views

Convert a document using ebproof to HTML?

I have a very simple document using ebproof that I'd like to render to both PDF and HTML: \documentclass[12pt, letterpaper]{report} \usepackage[utf8]{inputenc} \usepackage{ebproof} \begin{document} ...
0
votes
0answers
224 views

How to run latex2wp

I do wonder if this is the appropriate place to ask but I have been searching for a bit without any success about how to run the latex2wp that is used in the Terry Tao's Wordpress. It would be greatly ...
3
votes
1answer
212 views

Converting LaTex to HTML keeping equations as LaTeX except for labels

Converting LaTeX to HTML keeping equations as LaTeX explains how to use \VerbMath in tex4ht to convert LaTeX to HTML while keeping equations the same. For reference I'll add that for multiple lines ...
2
votes
1answer
83 views

Getting LaTeX with custom *.sty files rendered in an HTML document

I've got a number of equations in a LaTeX document written in display mode. I'm using a *.sty file to be able to typeset them (inference rules). I want to get *.svg versions of these into an HTML ...
1
vote
1answer
448 views

How to specify the date field in German format for Pandoc [closed]

I want to assign the German date 22. Juni 2017 to the date field of the document in the title block of Pandoc. The following works % Titel % Autor % 22. Juni 2017 but I like the named specification ...
1
vote
0answers
90 views

Changing Latex book to html [closed]

I tried to convert my Latex book into html code using Klaus Gerhards macros but it did only a few chapters and stopped. It also did not include illustrations (which are in pdf). What can I do? MWE: \...