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

learn more… | top users | synonyms

2
votes
1answer
12 views

How can I add custom HTML code to the beginning and end of the body element with tex4ht?

I need to convert a Latex document to several HTML files. I'm using tex4ht for this. What I need next is to add some features to the web pages. I managed to add the needed extra elements in the head ...
3
votes
0answers
52 views

Generating nice-looking static websites from LaTeX? [closed]

I notice that a lot of researchers tend to have crappy-looking websites, often because they aren't willing to put in the time it takes to learn HTML, CSS, and design principles--they'd rather do ...
0
votes
0answers
21 views

Change background color for html export

When I modify the background colour of the document, it works fine when I export it to PDF or to LyxHTML but not with simple HTML. I would prefer to export in HTML rather than LyxHTML but when doing ...
2
votes
0answers
40 views

Conversion of HTML5 to LaTex

Is anyone familiar with a tool for converting HTML to LaTex markup? I don't mean fetching and attempting to render CSS stuff, just converting the content of elements like paragraphs, headers, and ...
1
vote
1answer
20 views

tex4ht: getting accented letters in small capitals through \selectfont

I try to get small capitals in my html document, but the tex4ht code that I found works only for the command \textsc. however, I enter all my change of font through ...
1
vote
1answer
22 views

Breaking of footnote with pifont in alternative4ht helpers4ht

The last update of alternative4ht, in order to fix the tables in tex4ht see here, has a consequence that the redefinition of \thefootnote with pifont is broken. there are two versions of the ...
2
votes
1answer
50 views

message error in biblatex.4ht with tex4ht, even with no bibliography

I have the following message when I compile a document calling biblatex, whether I run biber or not, in order to create a .bbl. I use Biber 2.3. My file is % biblatex.4ht (2015-08-05-15:37), ...
2
votes
1answer
27 views

tex4ht non roman languages inside tabular environment

I have tables with accented letters and other non-roman scripts, but they do not appear inside the environment tabular. The letters do appear outside of the tabular environment. i compile with ...
3
votes
1answer
50 views

problem with starred version of \nameref, \autoref, \fullref from hyperref with tex4ht

EDIT:@runartrollet: I clarify the problem. THe pdf outputs as expected the links in every instance of the commands autoref and nameref. and\fullref, starred or not. But the html file, the command ...
1
vote
0answers
26 views

Inserting Mathematical Equation in HTML through AJAX [closed]

I am retrieving mathematical equation stored in database in the TeX format, through an AJAX variable. But the equations are appearing rendered. Please help.
2
votes
1answer
34 views

Getting \today in various languages with polyglossia and tex4ht via alternative4ht

When I use the \today macro, I cannot get, in my .html, the display in various languages when I compile the following file from michal-h21 @michal.h21 and sty file of alternative4ht: all my dates are ...
0
votes
1answer
17 views

make4ht force the beginning of the sentence on a new line, when the beginning of the sentence would be near the border of my window

I convert my .tex into .html with the command make4ht -ul hello.tex but I see that the html language allows for the beginning of a sentence very near from the end of the screen. For instance, it ...
0
votes
1answer
90 views

How convert HTML to LaTeX or MathML

I using KaTeX to render HTML formula display. How can I convert HTML to LaTeX or KaTeX again?
3
votes
1answer
41 views

tex4ht turning the unbreakble space by ~ into unbreakable space in the html

Following my problem concerning spaces from unbreakable (thin) space inside « », for tex4ht I edited my message with the following use of the working trick from @michal.h21 ...
1
vote
1answer
27 views

keeping \parskip=0pt in HTML with take4ht

I have a problem with setting \parskip=0pt, not in my .pdf, but in my .html I want a new environment with \parskip=0pt, but make4ht -ul myfile.tex does not respect my deifnition. There seems to be a ...
5
votes
1answer
75 views

unbreakable (thin) space inside « », for tex4ht

EDIT: @michal.h21 you tip works well, but if I use a numerical code such as &#8201; for thin space, instead of its name &thinsp; in your modified trick, \def\mythinspace{\HCode{<span ...
1
vote
0answers
19 views

Lyx - How to remove some HTML when exporting to HTML?

I don't understand how the preamble works, I tried several times and it did nothing. So keep in mind I'm a newbie, please I use Lyx to write files and then I export to html and I modify the CSS ...
3
votes
1answer
34 views

nested personal list with output on one line + HMLT version via `make4ht`

edit: @michal.h21 I attempt to include a cfg file (named cfg), as you suggest, in my tex file alt.tex. I run the command: make4ht -ul alt.tex "cfg.cfg" but it does not change a thing. I changed thus ...
3
votes
2answers
73 views

xelatex to html with hindi and roman languages

I have the following set-up and I want a html file out of it. My system is windows xp with miktex up to date. The font Gandhari Unicodelink for the font has all the symbols required and is installed ...
5
votes
1answer
57 views

Custom lists conversion to html

I have managed to produce a latex file that works perfectly and I would like the same functionality using tex4ht on the same file. Basically, I have several custom \item label that I use to provide ...
3
votes
1answer
40 views

htlatex converting ligatures to null bytes

I am familiar with questions 162626 and with 204822, and have followed the instructions therein, but have been unable to get a good solution. htlatex is converting all of the ligatures in a document ...
4
votes
2answers
129 views

How to embed a Google Map?

Is there a way to embed the HTML code that Google Maps provide to embed your map in your pdf using LaTeX? The source HTML code looks like this: <iframe ...
2
votes
0answers
102 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
0answers
25 views

Import an HTML table into LaTeX [duplicate]

How can I import an HTML table into LaTeX? I have many files imported, so I can't convert each file to LaTeX.
2
votes
1answer
70 views

How can I use standard latex font (computer modern) in a web page? [closed]

Is there an easy way to display webpages in computer modern font?
2
votes
0answers
72 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
61 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
28 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
26 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 ...
4
votes
1answer
86 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
58 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 ...
1
vote
1answer
137 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
2answers
86 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} ...
4
votes
1answer
1k 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
597 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} ...
8
votes
1answer
519 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 ...
0
votes
0answers
158 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 ...
0
votes
0answers
25 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
117 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
61 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 ...
2
votes
1answer
77 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) ...
0
votes
0answers
89 views

HTML + Javascript to LaTex

I'd like to convert a HTML + Javascript document to LaTex. An example document can you find here: ...
1
vote
1answer
131 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 ...
4
votes
1answer
56 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
21 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
233 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 ...
7
votes
1answer
529 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 ...
1
vote
1answer
161 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
71 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
32 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 ...