git.iko.soy/typeable/pandoc
on master help sign in
Changes to website:
cd08eabfiddlosopher
@@ -377,6 +377,7 @@ website: $(MAIN) html
377 $(web_dest)/changelog.txt; \
377 $(web_dest)/changelog.txt; \
378 cp README $(web_dest)/ ; \
378 cp README $(web_dest)/ ; \
379 cp INSTALL $(web_dest)/ ; \
379 cp INSTALL $(web_dest)/ ; \
380+ cp $(MANDIR)/man1/pandoc.1.md $(web_dest)/ ; \
380 sed -e 's/@TARBALL_NAME@/$(tarball_name)/g' $(web_src)/index.txt | \
381 sed -e 's/@TARBALL_NAME@/$(tarball_name)/g' $(web_src)/index.txt | \
381 sed -e 's/@OSX_DMG_NAME@/$(osx_dmg_name)/g' | \
382 sed -e 's/@OSX_DMG_NAME@/$(osx_dmg_name)/g' | \
382 sed -e 's/@WINDOWS_PKG_NAME@/$(win_pkg_name)/g' | \
383 sed -e 's/@WINDOWS_PKG_NAME@/$(win_pkg_name)/g' | \
web/demos+7−3
@@ -47,15 +47,19 @@ click on the name of the output file:
47
47
48@ docbook2odf --input-file example9.db --output-file example11.odf
48@ docbook2odf --input-file example9.db --output-file example11.odf
49
49
50+12. Man page:
51+
52+@ pandoc -s -w man pandoc.1.md -o pandoc.1
53+
50−12. Converting a web page to markdown:
54+13. Converting a web page to markdown:
51
55
52@ html2markdown http://www.gnu.org/software/make/ -o example12.text
56@ html2markdown http://www.gnu.org/software/make/ -o example12.text
53
57
54−13. From markdown to PDF:
58+14. From markdown to PDF:
55
59
56@ markdown2pdf README -o example13.pdf
60@ markdown2pdf README -o example13.pdf
57
61
58−14. PDF with numbered sections and a custom LaTeX header:
62+15. PDF with numbered sections and a custom LaTeX header:
59
63
60@ markdown2pdf -N -C myheader.tex README -o example14.pdf
64@ markdown2pdf -N -C myheader.tex README -o example14.pdf
61
65
web/index.txt+3−2
@@ -4,8 +4,8 @@ Pandoc is a [Haskell] library for converting from one markup format
4to another, and a command-line tool that uses this library. It can read
4to another, and a command-line tool that uses this library. It can read
5[markdown] and (subsets of) [reStructuredText], [HTML], and [LaTeX],
5[markdown] and (subsets of) [reStructuredText], [HTML], and [LaTeX],
6and it can write [markdown], [reStructuredText], [HTML], [LaTeX], [RTF],
6and it can write [markdown], [reStructuredText], [HTML], [LaTeX], [RTF],
7−[DocBook XML], and [S5] HTML slide shows. Pandoc's version of markdown
7+[DocBook XML], [groff man], and [S5] HTML slide shows. Pandoc's version
8−contains some enhancements, like footnotes and embedded LaTeX.
8+of markdown contains some enhancements, like footnotes and embedded LaTeX.
9
9
10In contrast to existing tools for converting markdown to HTML, which
10In contrast to existing tools for converting markdown to HTML, which
11use regex substitutions, Pandoc has a modular design: it consists of a
11use regex substitutions, Pandoc has a modular design: it consists of a
@@ -84,6 +84,7 @@ kind.
84[LaTeX]: http://www.latex-project.org/
84[LaTeX]: http://www.latex-project.org/
85[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format
85[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format
86[DocBook XML]: http://www.docbook.org/
86[DocBook XML]: http://www.docbook.org/
87+[groff man]: http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man7/groff_man.7.html
87[Haskell]: http://www.haskell.org/
88[Haskell]: http://www.haskell.org/
88[GHC]: http://www.haskell.org/ghc/
89[GHC]: http://www.haskell.org/ghc/
89[GPL]: http://www.gnu.org/copyleft/gpl.html
90[GPL]: http://www.gnu.org/copyleft/gpl.html