We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [html]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
154 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
62 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
54 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
655 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
6k 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
677 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
320 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
328 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
539 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 ...
2
votes
1answer
67 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
247 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
312 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
105 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
576 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
104 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: \...
4
votes
2answers
136 views

What TeX processor does Stacks Project use to generate HTML?

Which TeX processor does Stacks Project use to generate HTML? (htlatex, tex4ht, etc.)
3
votes
1answer
103 views

Write a loop for hexadecimal HTML colors

I need to define 256 pixel colors in HEX values like this: \definecolor{pixel 1}{HTML}{000000} ... \definecolor{pixel 256}{HTML}{FFFFFF} Can I do that in a form of a simple loop? How?
2
votes
1answer
68 views

PDF image files and `htlatex` with escaped characters in filenames

I'm preparing a TeX document including PDF figures as an HTML document. The solution to this question works fairly well: PDF image files and `htlatex` However it does not handle image filenames with ...
2
votes
1answer
189 views

How to configure the customized theorem environment in TeX4ht

When i am trying to configure the customized theorem environment in TeX4ht, getting wrong output as expected MWE \documentclass{book} \newtheorem{theorem}{Theorem} \newtheorem{theorem*}{Theorem} \...
2
votes
2answers
731 views

Use compile LaTeX to HTML with subfiles

I've got a rather large tex project I'd like to turn into one or many linked html files. However neither of my go-to converters, pandoc and latex2html, seem to support recursive compilation. Is there ...
6
votes
1answer
215 views

Using non-english characters breaks listings

Problem: When using non-English characters, the listings package breaks in terms of creating a space in the line next to code numbers. Minimal Working Example (MWE): \documentclass{scrreprt} \...
1
vote
1answer
119 views

Export to HTML where each section is a sub-page

I have my CV on LyX/Latex. It contains many different sections like publications, conferences, proceedings, etc. I would like to export it to HTML in order to create a website, so that each of the ...
2
votes
1answer
84 views

Songs package output to HTML

I produced a song book with the songs package, and now I'd like to have an HTML version of the book, with one song for each page, and an optional clickable index. I tried the usual LaTeX to HTML ...
3
votes
1answer
102 views

Error in multirow for HTML

I am using multirow in my table and getting error "Missing number, treated as zero" while generating HTML output, PDF is generated properly. What could be the issue?Here is my sample code \...
1
vote
1answer
543 views

Is there a way to not cut off large tables with page breaks?

Say I have a large table larger than the page, how can I make it so that the second page displays the headers from the previous page and also doesn't split a row in half. Something similar to CSS like:...
2
votes
1answer
333 views

tex4ht: customize \includegraphics conversion to HTML

Compiling (Tex Live 2016 under Windows 10) the following LaTeX MWE (mwe1.tex) \documentclass{book} \usepackage{graphicx} \begin{document} Look at picture \begin{figure} \includegraphics[width=5cm]...
1
vote
1answer
92 views

tex4ht: wrapping title with a custom tag

The \maketitle command in my LaTeX source is rendered in HTML by tex4ht as <div class="maketitle"> <h2 class="titleHead">My Title</h2> <div class="author" >My Author</div&...
2
votes
0answers
805 views

Swedish letters ÅÄÖ do not show using listings package

Problem I am using the listings package to produce HTML-code and everything works except that the letters åäö do not format in accordance to the defined colors. Minimal Working Example \...
3
votes
1answer
471 views

Problems with links using pdfpages and pax

I have to merge some HTML documentation into a LaTeX workflow. I am running into problems with internal links using the pax package. I am using wkhtmltopdf to produce the pdf pages from the html. I ...
1
vote
1answer
84 views

tex4ht doesn't display \HCode correctly

I'm using Miktex 2.9 and tex4html. In my file I have \HCode{ <div id="box" class="jxgbox" style="width: 770px; height: 500px;"></div> <script > etc. which yields <div id="box"...
1
vote
1answer
198 views

Latex to HTML converter with specific needs

I have the task to find a tool that converts LateX to HTML. I already had a look at different tools like Hevea, pandoc, Hyperlatex. The best looking tool for my needs was Hevea but lacks support for ...
1
vote
0answers
118 views

Randomly generate pdf on website [closed]

I have created a latex file which creates a pdf by randomly selecting 10 subfiles from a pool of files. This works fine, and I am able to generate a random PDF every time I run my script. A breakdown ...
2
votes
1answer
809 views

Is there a LaTeX to HTML tool that supports the algorithm2e package?

I'm a LaTeX beginner and I'm writing computer science documents. I carefully choose my algorithmic package considering the features I needed and that led me to pick algorithm2e (vlined and noend ...
1
vote
1answer
2k views

Nested list failed to convert from markdown or html to pdf [closed]

I am trying to convert markdown to pdf using pandoc with the latex-engine set as xelatex because I am trying to use fonts installed on my system. I have tried switching the pdf-engine to pdflatex but ...
3
votes
2answers
450 views

Does a LaTeX to Kramdown converter exist?

I'm building a blog using Jekyll and hosting on Github Pages. I have a bunch of LaTeX documents that I'd like to upload as blog posts, but they contain a good deal of formatting that I'd have to go in ...
1
vote
1answer
100 views

How to set-up a this html outline for tex4ht with toc on the left+main text+footnotes

I have discovered a nice outline to have a html page with: a table of content the main text the footnotes at the bottom of each page all of these windows can be resized with the cursor of the mouse ...
3
votes
1answer
116 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 ...
5
votes
0answers
889 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 ...
1
vote
0answers
621 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
168 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 \rmfamily\mdseries\scshape\...
1
vote
1answer
70 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
175 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), ...
1
vote
1answer
53 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
760 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 ...
2
votes
1answer
79 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
37 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 is ...
2
votes
1answer
2k 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
116 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 \ifx\HCode\...
1
vote
1answer
222 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 ...
4
votes
1answer
492 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 ...