Changes between Version 7 and Version 8 of AndreesStuff


Ignore:
Timestamp:
Aug 5, 2006, 7:52:50 AM (18 years ago)
Author:
andree
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndreesStuff

    v7 v8  
    9292Install Debian package 'libdate-manip-perl'.
    9393
     94=== /bin/sh: man2dvi: command not found ===
     95
     96Unfortunately, Debian does not have a package that would provide this tool. Fortuntely it is just a little shell script:
     97{{{
     98#! /bin/sh
     99#
     100# script to format manpages to dvi
     101# Copyright (c) 1997 Tobias Begalke (tb@lst.de)
     102#
     103# Changelog:
     104# 23May06AL: - extracted from upstream man-1.6c package which can be found at
     105#              http://primates.ximian.com/~flucifredi/man/
     106#            - changed:
     107#                location=`man -c -w $1`
     108#              to:
     109#                location=`man -w $1`
     110#
     111
     112groff="groff -Tdvi -mandoc"
     113
     114if [ ! $# = 1 ]; then
     115  echo "$0: usage:"
     116  echo "  $0 [topic] > topic.dvi"
     117  exit 1
     118fi
     119
     120location=`man -w $1`
     121
     122if [ "$location" = "" ]; then
     123  exit 1
     124fi
     125
     126case `file $location` in
     127  *gzip* )
     128    zcat $location | $groff
     129    ;;
     130
     131  *troff* )
     132    $groff $location
     133    ;;
     134esac
     135}}}
     136Save the abive in e.g. /usr/local/bin/man2dvi and make the resulting file executable.
     137
    94138=== make: docbook2ps: Command not found ===
    95139