Commit graph

72 commits

Author SHA1 Message Date
fiddlosopher
c3bad6e89e Updates to changelog for --strict option and other changes
from the last revision.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@348 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-30 22:57:40 +00:00
fiddlosopher
96c614083e Minor changes to changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@312 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-29 20:25:54 +00:00
fiddlosopher
cd54d015bf Modified changelog to bring up to date.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@311 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-29 19:45:59 +00:00
roktas
a923f22443 Add rst2markdown to dh_strip exclude list.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@284 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-23 13:00:26 +00:00
roktas
c113b24808 Fix the version of Debian packages, it should be "0.3" now.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@282 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-23 10:12:09 +00:00
roktas
7fe2018a46 Lintian complains as follows:
E: pandoc-doc: copyright-should-refer-to-common-license-file-for-gpl
  N:
  N:   The string "GNU General Public License" or "GPL" appears in the
  N:   copyright file for this package, but the copyright file does not
  N:   reference /usr/share/common-licenses as the location of the GPL on
  N:   Debian systems.
  N:
  N:   Refer to Policy Manual, section 12.5 for details.

Add a short note to copyright file just to make lintian happy (which is 
probably not the most elegant solution).


git-svn-id: https://pandoc.googlecode.com/svn/trunk@281 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-23 10:08:31 +00:00
fiddlosopher
d829c4820a Merged changes from branches/wrappers since r177.
Summary of main changes:
+ Added -o/--output and -d/--debug options to pandoc.
+ Modified pandoc to behave differently depending on the name
  of the program.  For example, if the program name is 'html2latex',
  the default reader will be html and the default writer latex. 
+ Removed most of the old wrappers, replacing them with symlinks
  to pandoc.
+ Rewrote markdown2pdf and created a new wrapper web2markdown,
  with the functionality of the old html2markdown script.  These
  new scripts exploit pandoc's -d option to avoid having to do
  complex command-line parsing.
+ Revised man pages and documentation appropriately.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@279 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-22 20:16:03 +00:00
fiddlosopher
129f259257 Added to COPYRIGHT a note that the source code is available from the
website, and a link.  This is necessary for GPL compliance in binary
distributions (as far as I can see).


git-svn-id: https://pandoc.googlecode.com/svn/trunk@273 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-22 17:47:08 +00:00
fiddlosopher
42d2983896 Obscured email addresses in documents that will be web-accessible.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@251 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-20 03:56:36 +00:00
fiddlosopher
62e2ee16cb Modified debian/copyright, and made COPYRIGHT in top level
a symlink to it, to avoid duplication.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@250 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-20 03:29:53 +00:00
fiddlosopher
f6235d8c1d Changed version to 0.22 for tag creation.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@198 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-13 23:12:38 +00:00
fiddlosopher
2b9af0bbf1 + Documented website target in changelog.
+ Added list of ideas/projects to TODO.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@179 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-12 07:55:50 +00:00
fiddlosopher
36a3bb7274 Revised changelog to reflect changes since r105.
Included below is a summary of changes committed in the merge of
the wrappers branch (r177):

Refactored wrappers, with the following aims:

+ New command line convention, as follows:
 1st form: input files specified
    <wrapper> [wrapper_arg...] input_files... [pandoc_option...]
 2nd form: using STDIN, no input file is specified
        <wrapper> [wrapper_arg...] -- [pandoc_option...]
 3rd form: input files specified, optional --
    <wrapper> [wrapper_arg...] input_files... -- [pandoc_option...]

  - All wrappers except 'html2markdown' and 'latex2markdown' should
    accept multiple filenames.
  - Use getopts shell builtin for portable option parsing.

+ Remove code duplication and provide consistency across
  command line interface.

+ Allow white space in filenames, especially suitable for Mac OSX users

+ Improve html2markdown's web grabber code, making it more robust,
  configurable and verbose.

  - new function 'grab_url_with' as the wrapper to web grabbers.
  - 'grab_url_with' can report errors if the grabber fails.
  - new command line option 'n' to avoid automatic web grabbing.
  - new command line option 'g' which explicitly selects a grabber and 
    optionally specifies new options for the selected grabber.  Possible 
    use cases:
        # Just use curl.
        html2markdown -g 'curl'

        # Use wget by setting timeout to 10 seconds and limit retries to 2.
        html2markdown -g 'wget --timeout=10 --tries=2'

+ Add code to html2markdown that tries to determine the character 
  encoding of an HTML file, by parsing the "Content-type" meta tag.

  - if the encoding can't be determined, then if the content is local,
    the local encoding is used; if it comes from a URL, UTF-8 is used 
    by default.
  - if input is from stdin, don't try to determine character
    encoding.
  - add a new option '-e' to specify encoding.

+ Better warning messages:

  - print warning if iconv not available
  - in markdown2latex, print only relevant parts of log when pdflatex
    returns an error condition
  - in markdown2latex, when 'ucs.sty' is not found, print message
    telling where to find the 'unicode' package.

+ Remove PANDOC_OPTS environment variable functionality.  It is
  no longer necessary, now that pandoc options may be specified on
  the command line.

+ Add tests for wrappers' processing of command line arguments:

  - new file 'testwrapper.in' to test the parsing code under 'bash',
    'dash', 'ksh' and 'zsh' in POSIX mode.
  - new makefile target 'test-wrappers' to run 'testwrapper'

+ Document changes in revisions to wrapper syntax in README and man pages.



git-svn-id: https://pandoc.googlecode.com/svn/trunk@178 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-12 07:31:24 +00:00
roktas
fdfe8494ca Fix all the errors lintian(1) reported:
+ "SEE ALSO" sections of man files have paragraph fillings errors which   
  groff(1) complains ("cannot adjust line").  This is because .BR line in 
  "SEE ALSO" section is too long to break properly.  Fix all man pages.
  While on it, move all AUTHORS section to the end of the files, this 
  section should come last.
+ lintian(1) complains about the debian/changelog symlink:
    W: pandoc source: changelog-is-symlink
    N:
    N:   The file debian/changelog is a symlink instead of a regular file. This
    N:   is unnecessary and makes package checking and manipulation more
    N:   difficult. If the changelog should be available in the source package
    N:   under multiple names, make debian/changelog the real file and the
    N:   other names symlinks to it.
    N:
    N:   This problem may have prevented lintian from performing other checks,
    N:   leading to undetected changelog errors.
  Reverse the source and targets in symlink to fix this warning.  Now, the 
  Debian packages can be cleanly built.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@74 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-11-03 07:08:47 +00:00
fiddlosopher
836ba8694d Created new changelog, made debian/changelog a symlink to changelog
in top-level.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@65 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-11-01 22:38:57 +00:00
roktas
40a8480efd Remove 'install-lib', it causes too much trouble which needs to be dealed
in ugly ways.
+ Now, we have 'install-program' and 'install-all' targets.  The former 
  installs only program and user documents, while the latter installs 
  everything: program, user documents, library files and library documents.
+ Behaviour of 'install' target hasn't changed, it calls 'install-program'.
+ Update README accordingly.
+ Implement missing uninstall-* targets (including 'uninstall-all' and 
  'uninstall-program' for the new targets).
+ Call 'install-program' in debian/rules explicitly to prevent confusions.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@33 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-29 12:54:08 +00:00
fiddlosopher
bdfe906c02 + Changed debian/copyright to reflect new website location.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@30 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-28 17:46:35 +00:00
roktas
156be8b17a Merge trunk with ghc66-branch.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@28 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-28 15:13:18 +00:00
fiddlosopher
bd926fa829 Modified package descriptions in debian/control.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@13 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-27 03:27:41 +00:00
fiddlosopher
c23b3fc905 Give full download URL in debian/copyright.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@12 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-27 03:27:13 +00:00
fiddlosopher
57c4278a04 Fixed jgm's email address in debian changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@11 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-27 03:20:34 +00:00
fiddlosopher
df7b682251 initial import
git-svn-id: https://pandoc.googlecode.com/svn/trunk@2 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-17 14:22:29 +00:00