Changelog
v2.1 2015-01-24 * hyphenation activated. * body margins only for screen. * abstract margins reduced if no screen. v2.0 2015-01-23 * added modules structure, toc. * added modules maketitle, abstruct. v1.0 2014-12-22 * module footnotes. * module bibliography, citing.
Introduction
The HTML is the standard markup language for creating web pages. This page has utilities in jquery to help you write LaTeX quality documents in HTML. If you are new to HTML, there is a very good and short Markup Guide to HTML by Dave Raggett.
All code is under MIT like the same jQuery license, even if I always prefer GPL.
Lists
HTML supports three kinds of lists.Unordered list
The first kind is a bulletted list, often called an unordered list. It uses theul
and li
tags:
- Alpha
- Beta
- Gamma
Ordered list
The second kind of list is a numbered list, often called an ordered list. It uses theol
and li
tags. For instance:
- Alpha
- Beta
- Gamma
Definition List
The third and final kind of list is the definition list. This allows you to list terms and their definitions. This kind of list starts with adl
tag and ends with /dl
.
Each term starts with a dt
tag and each definition starts with a dd
.
For instance:
- WWW
- World Wide Web
- HTML
- HyperText Markup Language
- PCMCIA
- People Can't Memorize Computer Industry Acronyms
Mathematics
W3C MathML
|
Footnotes module
example:Text text text<a note="this is my footnote"></a> text text text... ... <div id="note-list"></div> <!-- display footnotes here -->
Bibliography module
example:Text text<a cite="XXX"></a> text text<a cite="XXX" section="2.24"></a> text text text... ... <ol id="bibliography"> <li label="XXX">... ...
Structure
Writting documents with jQuery
Abstract
This is an 'abstract' class div...Contents
Section 1
...Subsection
...Subsubection
...References
- Karl Marx and Friedrich Engels,
Διαλεχτά έργα
, 2 τόμοι, Εκδοτικός οίκοςΓνώσεις
. - Karl Marx and Friedrich Engels,
Manifesto of the Communist Party
, original 1848, publiced 1910 by CHARLES H. KERR & COMPANY. ...
All those tags can be omitted.
You can get the scripts and the example by right click -> View Source Code
.
That's all folks.
I wrote those scripts for the politics.html. You can see it in real demo.