git.iko.soy/typeable/pandoc
on master help sign in
Debian packaging changes:

+ Updated README.Debian with information on the changes to markdown2pdf. + Made latex and zip required dependencies, since they are now required for 'odt' and 'pdf' targets of pandoc. + Fixed typo in warning message. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1396 788f1e2b-df1e-0410-8736-df70ead52e1b

commita3b03d1530e4a8cf6159fae055a7fbed7b1e5648 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 10 Aug 2008, 17:34 (18 years ago) parent1cbc974
3 files changed+19−10
README.Debian+15−6 Text/Pandoc/PDF.hs+1−1 debian/control+3−3
README.Debian+15−6
@@ -1,8 +1,17 @@
1−Note to Debian users on "Suggested" dependencies:
1+Notes to Debian users:
22
3−If you intend to use the markdown2pdf script, you should install
4−texlive-latex-recommended (or, if you use teTeX, tetex-extra). This
5−provides LaTeX packages that are needed by markdown2pdf.
3+1. `markdown2pdf` has been removed, since pandoc now includes `pdf`
4+ as a writer option. You can replace
5+
6+ markdown2pdf foo.txt
7+
8+ with
9+
10+ pandoc foo.txt -o foo.pdf
11+
12+ Note that unlike `markdown2npdf`, `pandoc` requires that the output
13+ filename be specified explicitly.
14+
15+2. If you intend to use the html2markdown script, you should install
16+ tidy, plus either wget or w3m.
617
7−If you intend to use the html2markdown script, you should install
8−tidy, plus either wget or w3m.
Text/Pandoc/PDF.hs+1−1
@@ -54,7 +54,7 @@ saveLaTeXAsPDF destinationPDFPath sourceDirRelative latex = do
5454 latexPathMaybe <- findExecutable "pdflatex"
5555 bibtexPathMaybe <- findExecutable "bibtex"
5656 let latexPath = case latexPathMaybe of
57− Nothing -> error $ "The 'pdflatex' command, which is needed to build an PDF file, was not found."
57+ Nothing -> error $ "The 'pdflatex' command, which is needed to build a PDF file, was not found."
5858 Just x -> x
5959 let bibtexPath = case bibtexPathMaybe of
6060 Nothing -> error $ "The 'bibtex' command, which is needed to build an PDF file, was not found."
debian/control+3−3
@@ -12,8 +12,8 @@ XS-Vcs-Browser: http://pandoc.googlecode.com/svn/trunk
1212Package: pandoc
1313Section: text
1414Architecture: any
15−Depends: ${shlibs:Depends}
16−Suggests: texlive-latex-recommended | tetex-extra, tidy, wget | w3m
15+Depends: ${shlibs:Depends}, zip, texlive-latex-recommended | tetex-extra
16+Suggests: tidy, wget | w3m
1717Description: general markup converter
1818 Pandoc is a Haskell library for converting from one markup format to
1919 another, and a command-line tool that uses this library. It can read
@@ -38,7 +38,7 @@ Description: general markup converter
3838Package: libghc6-pandoc-dev
3939Section: libdevel
4040Architecture: any
41−Depends: ${haskell:Depends}, libghc6-xhtml-dev, libghc6-mtl-dev, libghc6-network-dev
41+Depends: ${haskell:Depends}, libghc6-xhtml-dev, libghc6-mtl-dev, libghc6-network-dev, zip, texlive-latex-recommended | tetex-extra
4242Suggests: pandoc-doc
4343Description: general markup converter
4444 Pandoc is a Haskell library for converting from one markup format to