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

learn more… | top users | synonyms

2
votes
1answer
28 views

Multipage chapter heading seems to be incompatible with htlatex

I want each chapter to start with an image and I want the text on the subsequent page. So, I defined my replacement for \chapter as follows: \newcommand{\MyChapter}[3]{% % #1 = image % #2 = ...
4
votes
1answer
18 views

\AtBeginDocument content seems to be ignored by htlatex

It appears that the content inserted via \AtBeginDocument is being ignored by htlatex. Is there a workaround to this other than not using \AtBeginDocument? To reproduce save the MWEs below and run ...
2
votes
1answer
34 views

htlatex/tex4ht with ScriptEnv and HTML entities

I am using htlatex to translate from LaTeX to HTML. I've created a \ScriptEnv environment for code as suggested by this answer: htlatex inserting environment in verbatim It's working well, but it is ...
2
votes
1answer
33 views

htlatex with pdfpages package inserts random images

I am attempting to generate an HTML output via htlatex <filename> but when the pgfpages package is included I am getting some random images before and after the content. The resulting HTML ...
2
votes
1answer
90 views

Export LaTeX to HTML for simple documentaiton

how is the best option or program to export LaTeX to HTML and upload to the web? I tried LaTeXtoHTML but I am not convinced. Now I am using TeXmaker for my documentation.
0
votes
0answers
41 views

Using tikz or pgfplots with plasTeX

I'm using plastex to convert LaTeX files to xml code. Is there any way to use tikz or pgfplots with plastex? plastex example1.tex compiles fine: %example1.tex \documentclass{article} ...
1
vote
1answer
293 views

TeX4ht (htlatex) on MiKTeX 2.9 to convert LaTeX into MathML, and then into Office MathML with Word 2010

I managed to use TeX4ht via the htlatex command on MiKTeX 2.9 to successfully convert a LaTeX document into an HTML document. The TeX file is a fairly simple test document with an integral in display ...
1
vote
0answers
61 views

External animation, "hyperreffed'' from beamer

I want to show my students an animation during a presentation. The animation is on a particular web site and the copyright statement says that one can openly present the animation onsite or link to ...
0
votes
0answers
35 views

Annotated bibliography in html with BiBTeX?

I am looking to create an annotated bibliography as a basic html page similar to this but with hyperlinks to each publication using its DOI or URL field. Is there any existing script to generate ...
5
votes
1answer
92 views

Correctly highlighting custom html tags in listings

Problem statement I have several code listings containing HTML markup in my latex files. These listings contain multiple custom html tags (created in combination with corresponding AngularJS ...
4
votes
1answer
52 views

Configuring minipage environment to incorporate width

I'd like to configure tex4ht to set the width of a minipage div class based on the width specified in the LaTeX source. Here's what I have so far: The tex file is: \documentclass{article} ...
0
votes
1answer
101 views

Why does htlatex not work as expected?

I am trying to use htlatex to get an HTML version of my thesis. pdflatex just works when I compile the .tex files with TexStudio. So I ran the following command from the command line: htlatex ...
2
votes
1answer
53 views

Generate HTML from document that uses autoref/cleveref

I have an existing document that was written using hyperref and natbib, and am trying to generate a website alongside the PDF that is already built. The document was written using autoref references ...
0
votes
1answer
59 views

Html color in mdframed

I want to make mdframed with linecolor set using HTML color model. How can i do it? I want something like \begin{mdframed}[linecolor=\color[HTML]{FF0013}] text \end{mdframed}
4
votes
1answer
87 views

Using \newcommand works fine in LaTeX, but when I use htlatex the line of text that \newcommand was supposed to insert gets moved to the next line?

So, I'm trying to write lines of code explaining to new students where to find different files and directories. Because the classname changes on a yearly basis I set up a \newcommand to make changing ...
6
votes
1answer
446 views

How can I make bash-code look good both in LaTeX and HTML?

As I am new to Latex and this kind of typing in general, I find myself in need of some basic guidelines when it comes to how to make things look good in text. I have a document that looks good when ...
8
votes
1answer
112 views

Turn website into novel

I would like to use TeX to typeset Søren Kierkegaard's complete works, which are available online here. It includes a collection of notes in a separate XML file which I would like to add to the ...
6
votes
1answer
226 views

Converting LaTeX to HTML but keeping equations as LaTeX

I'm using tex4ht for conversion of heavily maths loaded LaTeX files into HTML to be able to serve them in a web app. Can successfully convert all equations to MathML and jsMath. But as equations are ...
1
vote
0answers
94 views

html5 embedded animations in pdf

For long time I have been using flash animations in pdf (lately using media9), but always relied on windows and acrobat to have embedded animations and auto-start (no click) in my presentations. ...
3
votes
0answers
83 views

Problem with Latin Modern in HTML [closed]

I ask this question here because "Latin Modern" is a font, now also available in OpenType format, that's derived from Knuth's "Computer Modern", which is is mainly known by and of interest to the ...
2
votes
0answers
46 views

Article with mathjax to latex document [closed]

I write articles in my site, and use mathjax, \( and \) for inline mode and $$ and $$ for display mode. I want to move some articles to latex document. What is the simple way to do it?
4
votes
1answer
80 views

Best practices for writing a latex document for web publishing (html)

I want to create a latex document that can be compiled as a single pdf file and also converted to a bunch of small html files for a web site. How to automate the task of converting a latex document ...
6
votes
1answer
808 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 ...
2
votes
1answer
260 views

HTML to LaTex: How can I use python and lxml to convert an html document to LaTeX with custom macros

I want to use python to take html5 documents with a known set of tags and convert them to LaTeX for high-quality printing using customized LaTeX macros.
3
votes
1answer
105 views

Convert PGFplot to html?

I'd like to convert a simple piece of LaTeX code which is basically some text with some centered graphs in between. This is a dummy version of the code I'd like to convert to HTML: ...
7
votes
1answer
144 views

Defining HTML-like tags as TeX macros

I have to admit, my catcode skill are not that good. I'm working with some templates that will be filled in by a programme (HTML::Template, made for HTML but very handy for LaTeX as well). I'd like ...
2
votes
2answers
70 views

switch greek lowercase for times.sty to upright?

I need to "similarize" my latex output to web browser serif display. I would like all math to be switched to upright and mimick html browsers, too. \usepackage{mathastext} \usepackage{times} ...
5
votes
1answer
128 views

Latex to html : how to add rules like `\subsubsubsection` for htlatex / TeX4ht?

I added some rules on my repport in order to add \subsubsubsection. On below the MWE : \documentclass[a4paper,11pt,french]{report} \usepackage[francais]{babel} \usepackage{titlesec} ...
6
votes
0answers
157 views

Can LuaTeX create HTML?

I hear that LuaTeX provides access to internals of TeX. Is it possible to modify the output routine with LuaTeX so that HTML is produced instead of DVI or PDF? If possible, are there any projects ...
7
votes
1answer
69 views

\textminus in tex4ht

Is there a way to make tex4ht aware of the \textminus command? \documentclass{scrartcl} \usepackage{textcomp} \pagestyle{empty} \begin{document} \textminus 5 \end{document} works as expected ...
0
votes
1answer
91 views

finding out HTML equivalents of latex math symbols

Unlike the other unresolved questions about painless latex to HTML conversion, I just want to know the conversions for math symbols. For example, when I give \Leftrightarrow as input to that ...
4
votes
1answer
188 views

Install plasTeX on Windows 7

PlasTeX is a free, open-source tool to process (La)TeX files and convert them to xHTML by default, but also docbook, text, and others. It is fully customizable. How do I install plasTeX on Windows ...
1
vote
2answers
302 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. ...
0
votes
0answers
194 views

Converting tex to HTML

I am in need of an easy way of converting .tex to .html for ultimately converting it to word in windows. I have looked into a few different ways, but the ones I have encountered are not free and/or ...
7
votes
2answers
129 views

is there a minimal converter of well-defined latex to xhtml?

is there a good clean minimal converter of well-defined latex code into html (preferably perl)? I have played with htlatex and latex2html, but they are too ambitious and too complex in their goals ...
3
votes
1answer
186 views

Beamer equivalent of Keynote's old web view [closed]

Is there a beamer package that will display a non-static, locally hosted web page? I think I am looking for something similar to Keynote's old web view, but since I have Keynote 09, I'm in a pickle. ...
2
votes
2answers
146 views

How to compile TeX ---> HTML use TeX4ht?

I have problem compile TeX ---> HTML use TeX4ht and my MWE like this \documentclass{article} \usepackage[html]{tex4ht} \title{Simulation of Energy Loss Straggling} \author{Maria Physicist} ...
2
votes
1answer
548 views

pandoc support for LaTeX ctable?

I use ctable to make my LaTeX tables. My ultimate goal is to produce a presentation of HTML5 slides. The tables that I need to present are all created in LaTeX with ctable. For example, I have my ...
1
vote
0answers
33 views

Adding mathjax in weebley [closed]

In weebley I want to write the website content as LATEX so I have found a link that is saying that I will have to insert a code (<script ...
5
votes
0answers
424 views

Something like PGF/TikZ for HTML5/web? [closed]

For everyone who knows and loves PGF/TikZ: Is there something that has a similar powerful expressive high-level “graphic description language” like TikZ for HTML5? I want to convert high-level ...
2
votes
1answer
166 views

Global scaling of images in html output (only) of htlatex

I have the following MWE with some images: \documentclass{book} \usepackage{graphicx} \begin{document} Lorem ipsum dolor sit amet, consectetur adipisici elit: \begin{centering} ...
5
votes
1answer
425 views

Embed HTML in LaTeX document

Is it possible to run HTML code in a Latex document? Probably not since I never seen it. Soundcloud have an miniplayer that you can embed in your homepage to give the reader the possibility to play ...
2
votes
1answer
585 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
71 views

HTML email typeset equations as HTML elements, not images? [closed]

I thought it would be super-useful to find a substitute for emailing equations as images. The problem I have experienced is that with some receiving email clients, the images are turned off by ...
0
votes
0answers
99 views

Unable to convert HTML + embedded Latex to PDF

This is my code in file foo.html: <!DOCTYPE html> <html> <head><title>Foo</title></head> <body> <h1>Example equation</h1> <div> $$ 1 + 2 = ...
6
votes
1answer
429 views

How does an academic publisher work with LaTeX file to produce html pages?

My teacher sent an academic paper written with LaTeX format file to hindawi.com publisher. They did something with our paper and has a public html page like this: ...
5
votes
1answer
125 views

Are there efforts to develop a standard for (La)TeX-like math syntax?

One of the reasons many people in technical disciplines start using LaTeX in the first place is for the ease of typesetting mathematical formulas with it. In some circles, LaTeX-like syntax has become ...
2
votes
1answer
66 views

TeX4ht - prevent line breaking in HTML?

By default, TeX4ht breaks long lines of text in the input into shorter lines in the output HTML file. Is there any way to suppress these extra line breaks? (Note that I am trying to avoid extra line ...
3
votes
0answers
118 views

How can I write specifications following the W3C specifications format in LaTeX?

W3C specifications follow a very nice template (example: HTML-RDFa). The specifications are HTML documents styled by a javascript library ReSpec. Is it possible to write specifications in LaTeX ...
3
votes
0answers
560 views

Extracting LaTeX source from HTML version of Feynman Lectures?

CalTech has placed Volume I of the classic Feynman Lectures on Physics online in HTML format, using MathJax to render the LaTeX formulas and SVG for the graphic images. It's pretty cool, and it looks ...