Added two more demo cases to website. Put a footnote in

README for demonstration purposes.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@302 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2006-12-28 07:22:41 +00:00
parent 2d253cadd3
commit 17837b343b
4 changed files with 19 additions and 4 deletions

View file

@ -365,6 +365,7 @@ $(web_dest)/: $(MAIN) html
$(make_page) > $(web_dest)/index.html; \
cp README $(web_dest)/ ; \
./$(MAIN) -s -w latex README > $(web_dest)/README.tex ; \
cp $(web_src)/myheader.tex $(web_dest)/ ; \
cp $(web_src)/S5DEMO $(web_dest)/ ; \
cp $(web_src)/header.html $(web_dest)/ ; \
cp $(web_src)/footer.html $(web_dest)/ ; \

8
README
View file

@ -57,9 +57,7 @@ The wrapper script `markdown2pdf` requires
- a POSIX-compliant shell
- `pdflatex`, which should be part of any [LaTeX] distribution
- the [unicode] and [fancyvrb] LaTeX packages, which are included
in many LaTeX distributions. The [unicode] package allows LaTeX to
process UTF-8 characters. [fancyvrb] allows code blocks and verbatim
text to be used within footnotes. If your installation of LaTeX
in many LaTeX distributions.[^1] If your installation of LaTeX
does not include these packages, you will get an error (complaining
about missing `ucs.sty` or `fancyvrb.sty`) when you try to compile
a LaTeX file produced by Pandoc, or when you use the `markdown2pdf`
@ -72,6 +70,10 @@ The wrapper script `markdown2pdf` requires
[unicode]: http://www.ctan.org/tex-archive/macros/latex/contrib/unicode/
[fancyvrb]: http://www.ctan.org/tex-archive/macros/latex/contrib/fancyvrb/
[^1]: The [unicode] package allows LaTeX to process UTF-8 characters.
[fancyvrb] allows code blocks and verbatim text to be used within
footnotes.
Using Pandoc
============

View file

@ -15,7 +15,8 @@ pandoc -s -w rst README -o demo0.txt
pandoc -s README -o demo0.rtf
pandoc -s -m -i -w s5 S5DEMO -o demo0.html
web2markdown http://www.gnu.org/software/make/ -o demo0.txt
markdown2pdf README -o demo0.pdf'
markdown2pdf README -o demo0.pdf
markdown2pdf -C myheader.tex README -o demo0.pdf'
oldifs=$IFS
IFS=$NEWLINE

11
web/myheader.tex Normal file
View file

@ -0,0 +1,11 @@
\documentclass[12pt]{article}
\usepackage{txfonts}
\usepackage{hyperref}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{graphicx}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
% This is needed for code blocks in footnotes:
\usepackage{fancyvrb}
\VerbatimFootnotes