https://www.cv.nrao.edu/~abridle/toolmemo/node8.shtml says:
A basic TEX package such as MiKTeX supports publication of the
document on paper, or on the Web as a passive Postscript or
PDF file. It is also increasingly attractive to publish technical
documents on the Web with active hyperlinks to other material. There
is a role for any package that can convert a single .tex master into
high-quality printouts, into single-file Postcript or PDF files, or
into an easily-navigable HTML file cluster with active hyperlinks, as
required.1
How to do the above? A work flow such as ABC window > Save Tab > Additional > Web
is preferred.
Bonus questions:
- What is being referred as Postscript? the programming language?
- What are the other Software that include in the group "such as"?
1 I don't get it.
Best Answer
I will attempt to interpret the website quoted in the question, and supplement it with practical advice.
First thing to note is that the website was written in 2001, so it should not be taken to reflect the current situation. However, the information is in itself correct.
As I understand it, the quote should be interpreted as follows:
.ps
. This is the predecessor to the pdf format. You can still encounter it occasionally when you find an older research paper online (1990s and before). LaTeX can still produce.ps
files if you want. For some packages (pstricks and psfrag in particular) Postscript is required as an intermediate format, although you can convert it afterwards to pdf if you want.Now the answer to the actual question: what are the practical steps to convert LaTeX to html, using your own MikTeX installation?
First of all, this requires that you install a converter. Tex4ht is available in the MikTeX package manager. Pandoc needs to be installed separately, see https://pandoc.org/installing.html.
Then, you need to configure your editor to call the converter instead of the standard compiler. This configuration is different for each editor.
For TeXworks you can add an entry in
tools.ini
or via the Preferences menu, see TexWorks: how do I add custom compiling sequences into the selection of available compiling sequences? for more details. Afterwards you can select the new entry from the menu when you want to produce a html page.For TexMaker you can add a custom command in Quick Build, see Define a command containing a sequence of commands in texmaker for more details.
You can also run the converter directly from the command prompt instead of using an editor.
For tex4ht the command is simply
tex4ht yourfile.tex
. For Pandoc the basic command ispandoc -s yourfile.tex -o yourfile.htm
, although many more options can be configured. See https://pandoc.org/demos.html for examples.