HTML is a markup language mainly used for creating web pages.
11
votes
6answers
903 views
Is there some typesetting system that uses XML notation?
Is there some typesetting system that uses XML for notation? This is no offense, but I don't like to type \emph{This \emph{text} is important} despite the fact that there are editors that can do it ...
0
votes
0answers
9 views
How do I generate page numbers when using the html2latex library?
I'm using the html2latex library to convert some html pages to latex files, and I would like to generate page numbers, and then be able to control the formatting/placement of the numbers.
Does ...
4
votes
0answers
112 views
HTML to Latex: Converting CSS styles to respetive LaTeX functions
I am using HTML to LaTeX programme to convert large quantity of HTML files. A typical example:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
...
1
vote
0answers
41 views
Latex to HTML using Pandoc
I have a bunch of tutorials I have written and they are written in Latex. Now I want to convert them to HTML and to Blogger also.
I heard about Pandoc and decided to try it. Below are my results :
...
3
votes
0answers
74 views
Beamer (with style) to Html5?
My organization require the use of a standardized powerpoint template for how slides should look, so I've written my own Beamer .sty (style file).
Then I write .Rnw-files in RStudio that I knit ...
7
votes
3answers
82 views
tabular environment that is similar to html
How can I simulate a HTML table? That is: I want to give the table a maximum width (for example \textwidth) and the table should automatically distribute the necessary space according to the contents ...
0
votes
0answers
67 views
htlatex does not give good results
I have a very nicely formatted file that I created using LaTeX. Now, I'm trying to embed the results into a website, and instead of embedding the resulting pdf document (which I found not to be as ...
5
votes
0answers
59 views
Can you run mk4ht on iPad or Android?
I need to create html files from tex using mk4ht on an iPad or an Android tablet... Is there any way to run mk4ht on iOS or Android? Preferably without requiring Internet connection, but if that's not ...
1
vote
1answer
91 views
Are there any HTML-specific LaTeX commands that could compile an electronic document with embedded scrolling text boxes?
I was thinking about an experimental e-book layout that would use embedded scrolling text boxes for what would essentially function as really long margin- or footnotes in relation to a main text.
...
2
votes
1answer
100 views
How to define HTML keywords in \listings
I'm working on the implementation of a HTML5 code style for \listings.
Currently I have the problem that there are different ways to define HTML tags. In my example, I don't get /p in ...
3
votes
1answer
137 views
How to use angle brackets for a keyword in \listings?
I've got a code of a HTML website that I want to show in my LaTeX document. The problem is, that the HTML code has a tag called <canvas> and the JavaScript code inside the HTML document has a ...
10
votes
1answer
487 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 ...
6
votes
3answers
1k views
Isn't TeX similar to HTML+CSS?
As I said in the title, isn't TeX "similar" to static web pages? Can you accomplish the same things with both, or is TeX limited to words?
Why would one prefer HTML and CSS over TeX, or vice versa?
4
votes
2answers
99 views
How to convert mdash into LaTeX markup?
I am converting HTML markup into LaTeX markup by using sed command. I need to convert — into its corresponding LaTeX markup. How can I implement it?
— into LaTeX markup
5
votes
1answer
163 views
Lightweight equivalent of \cref and \Cref
I'm trying to convert my LaTeX document to HTML using HeVeA and I'm facing a problem with cleveref package -- my LaTeX file uses \cref and \Cref heavily, but hevea doesn't support this package by ...
8
votes
4answers
587 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 ...
2
votes
0answers
45 views
Override properties of a predefined listing style
I use the listings package and I want to override an attribute of the HTML style.
Unfortunately my code overrides the whole HTML style and not just a single property:
\lstloadlanguages{HTML}
...
1
vote
1answer
55 views
How to use listings with multiple languages?
I've got a HTML document with JavaScript inside that I want to show in my article.
For that I would like to use my JavaScript and HTML formatting. How can I get the listings package to use two ...
4
votes
1answer
157 views
Remove beamer markup
I have a main.book.tex and a main.beamer.tex which then \input the same source files. In those source files, I have a lot of \mode<> designations and generally, a lot of beamer markup ...
35
votes
5answers
2k 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
0answers
64 views
About rescaling the image
I am writing a PHP to convert one-page HTML to LaTeX. I have all the code done but the image shown in the LaTeX (and the resulting PDF after pdflatex) looks too big. I figure the reason might be due ...
2
votes
0answers
149 views
HTML package, useful to put htmlonly and latexonly environments, not found
In the 2008 documentation of latex2html it is referred to a html package that permits to put some latex command inside conditional environments (latexonly and htmlonly).
It's useful because I want my ...
0
votes
1answer
132 views
How to convert HTML markup into LaTeX markup?
I have one input file which will be used for LaTeX and HTML (Java program). Input file has HTML markups like
<b></b> for bold.
<li></li> for list.
How can I convert above ...
13
votes
1answer
638 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 ...
2
votes
0answers
220 views
How does one generate epub/mobi eBooks from LaTeX?
I can think of a couple of ways:
PlasTeX + manual .epub manipulations. See:
Is there a PlasTeX custom-renderer which can produce ePub (or nearly ePub)?
@salimfadhley Did you end up going this way?
...
4
votes
0answers
109 views
How to export biblatex data to HTML?
I've been using biblatex for a while, and I now want to export my biblatex
citation data to HTML, too.
There are bibtex2html and some other tools for bibtex, but I couldn't find
any equivalent tool ...
8
votes
1answer
162 views
Producing unformatted html with tex4ht?
When using tex4ht, a formatted html file is obtained. It uses a css file and multiple classes such as
<span class="ec-lmbx-10x-x-109">toto</span>
However, when using a Content ...
18
votes
1answer
293 views
What features are supported in a HTML page, but not through PDFLaTeX
As a math educator with limited knowledge of TeX and even more limited knowledge of HTML, I want to know if I can use a PDF page (generated through PDFLaTeX) as a web page. I am hoping not to have to ...
8
votes
1answer
768 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 ...
0
votes
0answers
29 views
Is converting .html to .tex file possible in Windows? [duplicate]
Possible Duplicate:
How do I convert HTML to LaTeX?
I have one static html page with css style. I need convert this page to latex (.tex file). Is it possible? I need a good converter for ...
10
votes
2answers
798 views
PDF image files and `htlatex`
When eps files are provided, htlatex from tex4ht automatically converts to png files so that graphic files can be shown in the final html output. However, I use most of the time the pdf graphic file ...
0
votes
1answer
346 views
Beginner―Texmaker: generate HTML, MathML
I am very new to LaTeX and everything connected to it,but since I come from the HTML, I know what it means to use a markup language.
I try to setup Texmaker that I can generate MathML and or HTML ...
1
vote
1answer
235 views
latex command to genenerate output similar to this website
How can I generate latex with the following format in latex? I know about tex4ht and I know about latex4html but couldn't get similar output.
Source Website is here and a snapshot from the page is ...
1
vote
1answer
249 views
htlatex - need help converting latex to html
I am trying to convert a set of tex file to html.
The attached code generates perfect pdf.
While it gives the following error with htlatex.
I have not much knowledge of tex so please help by being ...
6
votes
1answer
135 views
htlatex with article vs memoir
Why does the following document (with article document class):
\documentclass{article}
\begin{document}
\begin{tabular}{c|c}
\hline
1 & 2 \\
\hline
\hline
5 & 6 \\
\hline
\end{tabular}
...
0
votes
0answers
32 views
How can I embed equations in web page? [duplicate]
Possible Duplicate:
Embedding LaTeX equations into a webpage
I want to include equations in some of the web pages in my site. I am familiar with TeX syntax, so it would be rather natural to ...
10
votes
1answer
270 views
Beamer and JavaScript in a web browser
I have written a talk in Beamer and to illustrate one of my points I've written a program in JavaScript (well actually Processing). You can view it here (it seems to run ok in Chrome and Firefox, and ...
4
votes
3answers
275 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 ...
7
votes
5answers
1k 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?
5
votes
2answers
1k views
LaTeX to HTML: PolyTeXnic and PlasTeX
I was stunned by the elegant appearance of the Tau manifesto page, for which the source is in LaTeX. The author used a home-made tool that he calls PolyTeXnic, but which he is not willing to release.
...
0
votes
0answers
68 views
Move section anchors generated by tex4ht
When compiling a file with tex4ht, the sections are transformed with header HTML tags with anchor. So, if I compile
\documentclass{article}
\usepackage[xhtml,mathml]{tex4ht}
\begin{document}
...
10
votes
1answer
147 views
Width threshold for space detection
I'm writing this stuff pdf2htmlEX, for each distance between two consecutive letters, I need to check if there should be a space character or not. Especially for PDF files generated by LaTeX, which ...
2
votes
1answer
141 views
LaTeXML and pdfpages [closed]
I can't find a lot of informations about LaTeXML here but I hope somebody can help me.
In a LaTeX document, I use a \includepdf with the option pages. I have created a mystyle.sty.ltxml in which I ...
3
votes
1answer
384 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:
...
7
votes
3answers
369 views
zero-installation LaTeX-ish math for casual users?
I teach physics at a community college, often to biology majors who are not math or computer geeks. For certain assignments, I require them to type up materials that include math. A typical ...
4
votes
1answer
92 views
Missing <sub> tags in tex4ht output
When processing a LaTeX source with tex4ht, I can't seem to reliably convert subscripts in text mode to <sub> tags in the HTML output. My only solution so far is to switch to math mode. But for ...
8
votes
1answer
823 views
Convert Latex to MathJax-HTML
Is there any tool that can convert Latex documents to HTML documents, so that all math is presented with MathJax?
(Obviously, it is fairly easy to hack together a quick Perl script that is able to do ...
0
votes
1answer
378 views
LaTeX to HTML conversion with Kile
I am using Kile to convert a .tex file to HTML (LaTeX to web) but when I look at the HTML page it does not show me the images. I tried including them in PostScript and PNG but still the HTML page does ...
3
votes
1answer
181 views
Control the <p> tags added by Tex4HT
TeX4HT allows to reset LaTeX macros to insert HTML code in order to produce clean HTML documents. This is great, but it often gets in a mess of <p> tags, such as:
<p class="noindent" ...
3
votes
1answer
385 views
biblatex & TeX4HT: citations in footnotes = missing \begin{document}
the following code, which I'm trying to run through TeX4HT and biber in order to create an .odt file, results in a »missing \begin{document}« error, pointing to the aux file. Something about the ...

