diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-08 07:19:59 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-08 07:19:59 +0000 |
commit | 1c9c3acb892cbf8d1d35f3a20a4f553a318101f7 (patch) | |
tree | 5742672affbd094bc7a59b9a0880916765f9244a /web | |
parent | fc08eb02984296871be7801f26abc071dad2b0bd (diff) | |
download | pandoc-1c9c3acb892cbf8d1d35f3a20a4f553a318101f7.tar.gz |
Added target for creation of website. 'web' directory contains
source files for website, which is created in 'web/pandoc'.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@79 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'web')
-rw-r--r-- | web/css | 3 | ||||
-rw-r--r-- | web/footer.html | 4 | ||||
-rw-r--r-- | web/header.html | 15 | ||||
-rw-r--r-- | web/index.txt | 52 | ||||
-rw-r--r-- | web/main.css | 165 | ||||
-rw-r--r-- | web/print.css | 50 |
6 files changed, 289 insertions, 0 deletions
diff --git a/web/css b/web/css new file mode 100644 index 000000000..a9eb4b47a --- /dev/null +++ b/web/css @@ -0,0 +1,3 @@ +<link rel="stylesheet" type="text/css" href="main.css" media="all"> +<link rel="stylesheet" type="text/css" href="print.css" media="print"> + diff --git a/web/footer.html b/web/footer.html new file mode 100644 index 000000000..16dd8fffb --- /dev/null +++ b/web/footer.html @@ -0,0 +1,4 @@ +</div> + + + diff --git a/web/header.html b/web/header.html new file mode 100644 index 000000000..fbbe7ac15 --- /dev/null +++ b/web/header.html @@ -0,0 +1,15 @@ +<div id="header"> +<h1><a href="index.html">Pandoc</a></h1> +</div> + +<div id="sidebar"> +<ul> +<li><a href="index.html">Home</a></li> +<li><a href="README.html">README</a></li> +<li><a href="doc/index.html">API</a></li> +<li><a href="history.html">History</a></li> +</ul> +</div> +<div id="main" class="withleftmenu"> + + diff --git a/web/index.txt b/web/index.txt new file mode 100644 index 000000000..72a3594ea --- /dev/null +++ b/web/index.txt @@ -0,0 +1,52 @@ +% Pandoc + +`pandoc` is a [Haskell] library for converting from one markup format +to another, and a command-line tool that uses this library. It can read +[markdown] and (subsets of) [reStructuredText], [HTML], and [LaTeX], +and it can write [markdown], [reStructuredText], [HTML], [LaTeX], [RTF], +and [S5] HTML slide shows. `pandoc`'s version of markdown contains some +enhancements, like footnotes and embedded LaTeX. + +In contrast to existing tools for converting markdown to HTML, which +use regex substitutions, `pandoc` has a modular design: it consists of a +set of readers, which parse text in a given format and produce a native +representation of the document, and a set of writers, which convert +this native representation into a target format. Thus, adding an input +or output format requires only adding a reader or writer. + +For more information, see the [README](README.html) file. + +**Source distribution:** [@TARBALL_NAME@](@TARBALL_NAME@). +To install, unpack the archive and follow the instructions in the +[README](README.html) file. You'll need the [GHC] Haskell compiler. + +**Debian binary package:** [@DEB_NAME@](@DEB_NAME@). +To install (on x86 Debian-based linux systems only), run `dpkg -i +@DEB_NAME@` as root. + +**Repository:** Pandoc has a publicly accesible subversion repository +at Google Code (<http://code.google.com/p/pandoc>). To check out the +latest, bleeding-edge source code: + + svn checkout http://pandoc.googlecode.com/svn/trunk/ pandoc + +**Bugs:** You may view existing bug reports and submit new ones at +<http://code.google.com/p/pandoc/issues/list>. + +**API:** You can browse the API documentation for the Pandoc Haskell +libraries [here](doc/index.html). + +This is an early, "alpha" release. It carries no warranties of any +kind. + +[John MacFarlane]: http://sophos.berkeley.edu/macfarlane/ +[markdown]: http://daringfireball.net/projects/markdown/ +[reStructuredText]: http://docutils.sourceforge.net/docs/ref/rst/introduction.html +[S5]: http://meyerweb.com/eric/tools/s5/ +[HTML]: http://www.w3.org/TR/html40/ +[LaTeX]: http://www.latex-project.org/ +[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format +[Haskell]: http://www.haskell.org/ +[GHC]: http://www.haskell.org/ghc/ + + diff --git a/web/main.css b/web/main.css new file mode 100644 index 000000000..b545811ec --- /dev/null +++ b/web/main.css @@ -0,0 +1,165 @@ +body { + margin:0; + padding:0; + background-color: white; + color: black; + font-family: Georgia, Verdana, sans-serif; + font-size: medium; + line-height: 1.3em; + color: #333; +} +h1, h2, h3, h4, h5 { font-family: verdana; + font-weight: bold; + color: #7a5ada; } +h1 { + font-size: 130%; +} + +h2 { + font-size: 110%; +} + +h3 { + font-size: 95%; +} + +h4 { + font-size: 90%; + font-style: italic; +} + +h5 { + font-size: 90%; + font-style: italic; +} + +h1.title { + font-size: 160%; + font-weight: bold; + padding-top: 0.2em; + padding-bottom: 0.2em; + text-align: left; +} + +p { + padding:0; +} +table { + border: none; +} + +tr { + border: none; +} + +td { + border: none; +} + +dt { + font-weight: bold; + padding-top: 7pt; +} +#header { + margin: 1em 0.8em 0.5em 2.2em; +} +#header h2 a, h3 a { text-decoration: none; + color: #333; +} +#header h1 a { text-decoration: none; + color: #7a5ada; } +#header h1 { + font-size: 180%; + font-weight: bold; + margin: 0; + padding-bottom: 0.3em; +} +#header h2 { + font-size: 120%; + font-weight: normal; + margin: 0; + color: #333; + padding-bottom: 0.1em; +} +#header h3 { + font-size: 95%; + font-weight: normal; + margin: 0; + color: #333; + padding-bottom: 0.3em; +} +#footer { + clear: left; + padding: 0.8em; + text-align: center; + font-size: 80%; +} +#footer p { + padding:0; + margin:0; +} +#footer hr.footer { + display: none; + padding: 1em; +} +#sidebar { + float:left; + clear: left; + margin-left: 0; + margin-bottom: 1.4em; + margin-right: 0.1em; +} + +#sidebar h2, #sidebar h3, #sidebar p { + padding:0 0.7em; +} +#sidebar ul { + color:#336666; + padding-left:2em; + margin-bottom:0; + width: 6em; +} +#sidebar li { + font-family: verdana; + font-size: 100%; + font-style: normal; + list-style-type: none; + border-bottom: 1px solid white; + border-left: 1px solid white; +} +#sidebar li:hover { + border-bottom: 1px solid #7a5ada; + border-left: 1px solid #7a5ada; +} +#sidebar li a { + display: block; + padding: 0.2em; + line-height: 1.6em; + font-weight: bold; + text-decoration: none; + color: #7a5ada; +} +#main { + padding-right: 5em; + padding-left: 0.8em; + max-width: 42em; + border-left: 1px solid gray; +} +#main.withleftmenu { + margin-left: 8em; +} + +div.clear { clear: both; + padding-top: 0.2em; } + +.floatleft { + float: left; + padding-right: 2em; +} +.floatright { + float: right; + padding-left: 2em; +} + +#header h1 { padding-bottom: 0.8em; } + diff --git a/web/print.css b/web/print.css new file mode 100644 index 000000000..f928db97d --- /dev/null +++ b/web/print.css @@ -0,0 +1,50 @@ +body { + margin: 0.5in; + padding: 0; + font-size: 10pt; + line-height: 14pt; +} +h1 { + color: black; +} + +h2 { + color: black; +} + +h3 { + color: black; +} + +h4 { + color: black; +} + +h5 { + color: black; +} +#sidebar { + display: none; +} +#header { + margin-top:0; + margin-left:0; + margin-right:0; + margin-bottom:0.3in; + padding:0; +} +#footer { + display: none; +} +#main { + margin:0; + padding:0; + border-left: none; + width: 100%; +} +#main.document { + margin-left: 0; +} +#main.withleftmenu { + margin-left: 0; +} |