1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
\documentclass{article}
\usepackage{hevea}
\usepackage[dvipdf]{hyperref}
% hevea -info -fix wysihtml.tex
% hevea -fix wysihtml.tex
\begin{document}
% the following doesn't seem to work.
%\begin{rawtext}
%\end{rawtext}
\section{Introduction}
\subsection{Rough intro}
wysihtml is a suite of applications for emacs to
have a semi-real-time HTML editing and previewing
using Iceweasel web-browser.
The preview in Iceweasel is updated as characters are typed
in emacs.
\subsection{Requirements}
To use wysihtml, it is required to have elserv, and Iceweasel
\footnote{It is possible to use other browsers if it is possible to get
a command-line to re-load a web page in real-time}
functional.
To use wysidocbookxml, it is required to have elserv,
xsltproc, and LDP docbook XSL stylesheet.
\section{wysihtml}
\subsection{Using}
To use, {\tt M-x wysihtml}
on emacs on a html buffer. It will function as a minor mode.
\subsection{Preview location}
The whole HTML is served to the web browser.
web browser is given an anchor to the most recent
\verb!<a name="XXX"! tag.
\section{wysidocbookxml}
\subsection{using wysidocbookxml}
To use wysidocbookxml, {\tt M-x wysidocbookxml}
on emacs on a docbook xml buffer.
It will function as a minor mode.
\subsection{preview location}
wysidocbookxml will slice the document; and
only compile the current slice.
The default slice unit is ``chapter''.
xsltproc will only process the current chapter.
This is to lower the load on processing.
\footnote{This will make the chapter numbers wrong.}
To change the default to support your own document, configure
wysidocbookxml-document-format (book or article) and
wysidocbookxml-slice-text (usually chapter or sect1 or section).
\end{document}
|