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

learn more… | top users | synonyms

2
votes
0answers
31 views

Problems with PHP tags (and code) in listings with HTML

I want to highlight PHP and HTML in the same code. In my attempts I experience three challenges: Seems like listings treats <?php and ?> as one large HTML tag. How to tell listings that the ...
0
votes
0answers
21 views

wkhtmltopdf messes up my latex-svg

I have a very strange behaviour when trying to compile latex to an svg and then rendering a pdf with wkhtmltopdf. It prints some weird bars on my svg. In my html it doesn't display anything like this. ...
2
votes
0answers
20 views

C++ code listing exported to HTML using elyxer has problem with < and > symbols

C++ code listing exported to HTML using Elyxer has problem with < and > symbols for example #include <iostream> shown as #include. I have to change manually all < to &lt; and > to ...
0
votes
0answers
17 views

cnxml to LaTeX conversion

I would like to translate a college physics book in openstax site (https://openstaxcollege.org/textbooks/college-physics) which is distributed under the license of "Creative Commons License 4.0 ...
1
vote
1answer
91 views

First steps with htlatex, I'm losing all the math format! [closed]

I'm doing my first steps with htlatex, trying to get HTML documents. I have OS: Linux Mint, Tex Live, and I make my *.tex with Texmaker. I know how to use MathJax. I get this: This is how I wish it ...
2
votes
1answer
40 views

htlatex and differences between html and xhtml

To date, I have generated html files using htlatex rather than xhtml. This has been for one simple reason. I can right click on the html file and open it in MS word to then save and distribute to ...
1
vote
2answers
49 views

Latex-SVG displaying differently depending on position in html

Updated Question The svgs generated by dvisvgm seem to influence one another when placed in a html document. For example, this is how it should look: https://jsfiddle.net/y8nq7xnz/1/ On the other ...
12
votes
1answer
338 views

Can LuaTeX create HTML?

I heard that LuaTeX provides access to the internals of TeX. So, I have two questions in this regard: Is it possible to modify the output routine with LuaTeX so that HTML is produced instead of DVI ...
8
votes
1answer
213 views

Specific color for different tags and comments using Listings package

Problem: The > symbol for HTML tags in the MWE has a different color than the < symbol. Would like to have both the same color. Minimal Working Example: \documentclass{scrreprt} \makeatletter ...
2
votes
2answers
60 views

Convert to HTML with {arabtext} sections rendered as images

I'm just starting to investigate using latex to generate an ebook with arabic snippets embedded in it, and I'm using the following simple document: \documentclass{article} \usepackage{arabtex} ...
2
votes
1answer
182 views

Pandoc Markdown to PDF doesn't show images [closed]

I used knitR to convert R Markdown files to Markdown, and I'm trying to use Pandoc to convert them into HTML/PDF. Markdown to HTML includes all my images in the output, using pandoc test.md -o ...
9
votes
3answers
508 views

Drawing a flag in LaTeX Tikz

Here is my code: \documentclass[tikz]{standalone} \usetikzlibrary{shapes,snakes} \usepackage[html]{xcolor} \definecolor{rot}{HTML}{e40303} \definecolor{xorange}{HTML}{ff8c00} ...
2
votes
1answer
52 views

knitr render html code

How to render html output to pdf in knitr? Here is my code \documentclass{article} \begin{document} <<echo=TRUE, results= 'asis'>>= library(xtable) n <- data.frame(x = 1:6, y = 15:20) ...
52
votes
7answers
53k 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
92 views

Is there a LaTeX-to-HTML package that uses TeX?

I know that there are a lot of ways to "convert" LaTeX source to HTML markup that, when rendered, resembles the hypothetical original PDF. Is there such a package that works within LaTeX? I'm ...
42
votes
5answers
24k views

How do I convert HTML to LaTeX?

I would like a way to convert a document from HTML to LaTeX on a Windows platform. What is my best option?
3
votes
3answers
1k views

How to print or convert HTML document into PDF using LaTeX

I written one XSD schema, I documented that schema using xmlpad, It generates the HTML documentation automatically for that XSD schema. Now I want to generate a PDF document for that HTML document. I ...
0
votes
0answers
22 views

TeX4ht aliasing on equations' images

I am compiling a .tex file to html using TeX4ht induced by the htlatex command. When TeX4ht compiles a document and turns equations into images, however, it produces low-quality images with little ...
1
vote
1answer
57 views

htlatex html output droidsans

I am trying to use the font "Droid Sans" (as in http://www.tug.dk/FontCatalogue/droidsans/) in a html file generated from a tex-file. PDF I have succeeded in using the font as standard for a pdf by ...
1
vote
0answers
47 views

Is there an option in PlasTeX to return the processed document, rather than writing it to a file?

Normally running plasTeX gives a file/files as output. However, I don't have the ability to save the documents to the filesystem. Looking through the documentation I have only found cases where the ...
1
vote
3answers
640 views

How to convert LaTeX to HTML, keeping formatting of pdf.dvi?

I would like to convert a LaTeX document (in this case, a resume) to HTML for submission, since .pdf and .dvi are not allowed formats. How can I do this while maintaining the same formatting (e.g. ...
1
vote
1answer
93 views

Is it possible to create a web page which appears same/similar in formatting to the pdf generated from latex?

Corresponding to a one-two page document such as a resume one might want to create a web page where one can scroll up/down with links to move to top-bottom at the end of each section. Corresponding ...
0
votes
0answers
20 views

JavaScript Latency with HTML Latex

I'm trying to access a database and put on the page stuff from it (mostly likely chemical equations) that should be formatted in to TeX. However, it comes out unrendered. The problem might be that ...
0
votes
0answers
55 views

HTML + Javascript to LaTex

I'd like to convert a HTML + Javascript document to LaTex. An example document can you find here: ...
6
votes
1answer
251 views

Best workflows or tools to generate an html web page from a complex latex document like thesis

I'm really interested to publish my thesis on a website HTML + CSS (when it's done) augmented with tools to annotate it, like the philoweb initative (see here, and here). I know the universal ...
4
votes
1answer
48 views

Converting xparse commands to html

I've had a varying level of success converting LaTeX documents into HTML, but one of the major problems I've encountered is converting expressions which contain commands defined through the xparse ...
0
votes
0answers
20 views

how to use “interaction=nonstopmode” in htlatex command [duplicate]

Am in the process of converting latex to xhtml file. I chose htlatex for conversion. But it stops inbetween if it finds errors in the tex file. In latex we have option -interaction=nonstopmode to run ...
6
votes
0answers
135 views

Framemaker to LaTeX

I'm a software person who has been tasked with moving a few thousand pages of documentation for a piece of legacy software online. The documentation is all in Adobe Framemaker and yes, there are lots ...
1
vote
1answer
85 views

Convert from LyX/Latex to wordpress post

I have some documents in LyX/Latex and I want them as a wordpress post. I have tried converting latex to HTML (with latex2html) and afterwards, pasting that code in the wordpress editor but everything ...
3
votes
1answer
52 views

inconsistent hyperref appearance control in tex4ht

Using the \hypersetup{} of \usepackage[tex4ht]{hyperref} (as seen in the MWE below) I am trying to format the hyperlinks of links such as glossary entries so they are less noticeable. On two ...
1
vote
0answers
25 views

Combination of llncs and html packages, \pdfoutput and \and (backslash and) makes an error [closed]

With the following document which combines: llncs class, \pdfoutput, html package and \and I get an error: \documentclass[a4paper]{llncs} \pdfoutput=1 \usepackage{html} \title{asdf} \author{asdf ...
17
votes
4answers
3k views

How to create PDF and HTML output from the same source

I'm working on a document that has been published only as a PDF file until now. To utilize some of PDF's features, it uses the packages pdfpages and pdftex and commands like includepdf{}. But soon ...
3
votes
1answer
77 views

configuring minipage in htlatex

I want to use minipage in htlatex, because I want to have a minipage with a figure, close to a minipage with some text, and then I want some other text that must be on a new line and full-width. I ...
2
votes
1answer
77 views

Can tex4ht support square justified text with different line spacings?

Can tex4ht support square justified text and can I specify different line spacings (1, 1.15, 1.5, 2 etc.)? Sloppypar allows me to square justify my paragraphs in a pdf but the html file in a web ...
2
votes
0answers
52 views

TeX4ht without converting math formulas

Maybe my question is very silly or maybe very trivial, but I can't figure out the solution... I want to regularly publish parts of Latex documents to a Wordpress where I have the MathJax plugin ...
20
votes
7answers
10k 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 ...
1
vote
1answer
190 views

Syntax highlighting in an HTML presentation

This example shows how to produce PDF slides with syntax highlighting of source code. The example uses beamer and (presumably) pdflatex. Another example shows syntax coloring for HTML output using ...
3
votes
1answer
160 views

Increase equation resolution in TeX4ht using accessible images or typeset text

When TeX4ht compiles my latex code it generates a png of my equation and includes this in the html file. Until a better alternative for this comes along I am quite happy with this way of ...
10
votes
1answer
3k views

Using TeX fonts in HTML documents?

If I want to use TeX fonts (such as cmr10, cmbx10, cmtt10, and so forth) in my HTML documents, what are the recommended ways to do that? As a thought experiment and proof-of-concept, this afternoon I ...
3
votes
1answer
76 views

TeX4HT \textregistered and an unwanted semicolon

Using \textregistered{} and/or \textregistered result in ®; ®; Is there a way I can redefine this symbol so that it doesn't include a semicolon or is there a package conflict that is causing this ...
3
votes
1answer
105 views

TeX4HT compile sequence

I just noticed that when I compile a tex file into an html document, I actually don't have to run the equivalant sequence I am used to xelatex For all bibunits generated bu*.aux bibtex For all ...
3
votes
0answers
169 views

Missing chemical sub- and super-scripts in html file compiled with htlatex

Current problem is typesetting with the chemical packages. As would be expected, the PDF is produced without any problems but distinct issues arise with the html production using tex4ht. The HTML ...
5
votes
2answers
1k views

When generating html, how do you specify image size?

I am using htlatex (or as many people call it tex4ht) to generate html and I have included some graphics. Htlatex seems to ignore all the size arguments I give the image size. I've tried specifying: ...
10
votes
1answer
2k views

Bibtex to html/Markdown/etc., using Pandoc

It seems that Pandoc is capable of dealing with references given in a .bib file. Yet, I haven't been able to simply ask Pandoc to convert a .bib file into html, markdown or other formats. Is there a ...
3
votes
1answer
91 views

Are htlatex (TeX4HT) and cleveref compatible?

Simple question: When I use cleveref and \Cref{} or \cref{} I am able to compile the code and produce a PDF. When I use htlatex I get ?? in place of what I expect would be the object name and ...
19
votes
2answers
7k views

\listings code style for HTML5 (CSS, HTML, JavaScript)

I would like to create a code style for HTML5 that can be used with the \listings package. An HTML5 document consists of three languages: CSS, HTML and JavaScript. That makes the whole thing a bit ...
2
votes
1answer
30 views

Invoke \CssFile via \AfterEndPreamble

When running htlatex <filename> one can include CSS code via \CssFile and \EndCssFile. This works fine as long as the code is included directly in the main document body. I suspect this is the ...
3
votes
1answer
961 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 ...
1
vote
0answers
94 views

LyX + Biblatex => XHTML (for conversion to ODT) [closed]

I am writing a document in LyX (2.1.2) and need to share it for editing and review purposes with others who do not use LyX/LaTeX. I am also using Biblatex + Biber for the bibliography. LyX's inbuilt ...
0
votes
1answer
270 views

Dynamic Courtesy Receipt PDF Generator For PHP

The title needs a bit of help, but I'm wondering if it's possible to dynamically create a beautiful customized receipt for purchases from my website using LaTeX, where LaTeX gets its data from my ...