\documentclass[11pt,a4paper]{article}
\usepackage[latin1]{inputenc}

\title{Just ANother Example}
\author{Bastien Guerry}
\date{It is 13h47 on 10/03/2003.}

\begin{document}
\maketitle



% This is the last example of a BHL file converted into HTML, LaTeX
% and SGML formats. This example shows you the various syntaxic rules
% that BHL handles. For further details, please refer to the manual of
% the BHL mode. http://www.nongnu.org/bhl

% These lines are comments.
% You can comment a region with `bhl-comment-region'

% The few next lines are specification lines. They
% indicate the properties of the different conversions.

%!author!Bastien Guerry
%!date!It is %Hh%M on %d/%m/%Y.
%!sectioning!num

%!html!toc:nocaption:noprefix:noi18n
%!sgml!caption
%!latex!notoc:caption:prefix:i18n
%!latex-options!11pt:a4paper

This document is a small example of what BHL can do. For further
details, please read the full documentation on
\url{http://www.nongnu.org/bhl}. 

\section{Fonts and environments}

\subsection{Using font beautifiers}

Here is a list of the \textbf{different} fonts beautifiers that you can
use inside the BHL mode.

\begin{description}
 \item [Bold] \textbf{one or two words.}
 \item [Emphasis] \emph{one or two words.}
 \item [Truetype] \texttt{one or two words.}
 \item [Underline] \underline{one or two words.}
 \item [Bold italic]  \emph{\textbf{one or two words}}.
\end{description}

If want to insert an asterisk, you can use the escape character like
*this* or like _this_. This is also available for #comments.

\subsection{Environments}

BHL handles two specific environments: verbatim and minipage.

Verbatim:

\begin{verbatim}
Here is a *part* of text that			will be displayed
in 	verbatim								#a comment

Please remark that this environment has no syntactic rule, except you
modify the variable bhl-verbatim-ignore.

	* list are ignored

And so does...

	Item -- descriptions.

And so does tables!

| A | B |
| C | D |

Etc.
\end{verbatim}


A minipage:

\vspace{.3cm}
\begin{center}
\begin{minipage}[c]{12cm}
This minipage (12cm) is centered without border.
This minipage (12cm) is centered without border.
This minipage (12cm) is centered without border.
\end{minipage}
\end{center}
\vspace{.3cm}


\vspace{.3cm}
\begin{flushleft}
\begin{minipage}[c]{10cm}
This minipage (10cm) is put on the left without border.
This minipage (10cm) is put on the left without border.
This minipage (10cm) is put on the left without border.
\end{minipage}
\end{flushleft}
\vspace{.3cm}


\vspace{.3cm}
\begin{flushright}
\fbox{\begin{minipage}[c]{8cm}
This minipage (8cm) is put on the right with border.
This minipage (8cm) is put on the right with border.
This minipage (8cm) is put on the right with border.
\end{minipage}}
\end{flushright}
\vspace{.3cm}


A horizontal rule:

\begin{center}
\rule{3cm}{1pt}
\end{center}

Another horizontal rule, put on the right:

\begin{flushright}
\rule{3cm}{1pt}
\end{flushright}

\section{Converting lists}

\subsection{Ordered and non-ordered lists}

\textbf{Ordered} lists begin with three \textbf{whitespaces}, a list separator (*, - or o)
and another whitespace.

\begin{itemize}
 \item Like this;
 \item or like that.
\end{itemize}

\subsection{Description lists}

Description lists are treated like other lists, except that they
cannot be nested in other lists.

A description item consists in tabs, a term to be defined, a
whitespace, two dashes and another whitespace.

\begin{description}
 \item [Term] a definition of the terme. 
 \item [Definition] another definition.
\end{description} 

\subsection{Nested lists}

\begin{itemize}
 \item Lists can be nested inside other lists. 

 \begin{itemize}
  \item You just need to add three whitespaces more. 
  \item These to items will be nested into two other items. sldkfj
		  lskdjf lmmlkm

  \begin{enumerate}
   \item Three levels of nested lists are supported. 
   \item Four levels won't be very useful...
  \end{enumerate}
 \end{itemize}

 \item Blank lines are not mandatory between items.
\end{itemize}

\section{Converting tables}

Here is a table:

\begin{table}[htbp]
\centering
\begin{tabular}{cc}
dHL et lqskdj&qsdqsdOolsqdf\\ \hline
Free softxware&bastien1@free.fr\\
With Emacs&Without Emacs\\
bastien&Without Emacs\\
\end{tabular}
\caption{A small caption}
\end{table}


A table line begins and ends with a ``|''.  Other ``|'' inside a line of
the table separate two cells.  Arobases around the content of a cell
mean that this cell is a header of the table.

\section{Browsing your document}

\subsection{The table of content}

You can \emph{browse} the table of content, \emph{insert} it inside your
document, and \emph{update} the numbering of sections.

The default key binding for browsing the table of content is C-c
C-t.

You can also choose the style of sectioning and swith from one style
to another. The style of this document is set to \textbf{num} (which is the
default style) by the specification line above.

\subsection{The list of links}

The default key binding for browsing the list of links is C-c
C-/. This creates a new buffer with a list of URLs or wikinames that
you can follow.

\section{Contact}

Please feel free to submit bugs or ideas:
BHL contact (\url{bastien1@free.fr}).


\end{document}
