git.iko.soy/typeable/pandoc
on master help sign in
Remove some test files that are no longer used.
commit95b15fe6d3eb89a18ff143e32a0fb958f9e8ab8f authorJohn MacFarlane <jgm@berkeley.edu> dateFri 18 Dec 2020, 11:14 (6 years ago) parent5d09870
3 files changed−48
test/command/custom-attributes.html−16 test/command/empty-inline-code.txt−6 test/grofftest.sh−26
test/command/custom-attributes.htmldeleted−16
@@ -1,16 +0,0 @@
1−Custom attributes should automatically have data- added
2−in HTML5:
3−```
4−% pandoc -t html5
5−[hello]{foo="bar"}
6−^D
7−<span data-foo="bar">hello</span>
8−```
9−
10−but not in HTML4:
11−```
12−% pandoc -t html4
13−[hello]{foo="bar"}
14−^D
15−<span foo="bar">hello</span>
16−```
test/command/empty-inline-code.txtdeleted−6
@@ -1,6 +0,0 @@
1−```
2−% pandoc -t native
3−` `
4−^D
5−[Code ("",[],[]) ""]
6−```
test/grofftest.shdeleted−26
@@ -1,26 +0,0 @@
1−#!/bin/bash
2−
3−# iterates recursively over specified directory, tries to convert
4−# man pages and prints to stderr on errors.
5−
6−# if called with two arguments, the first is the path to pandoc,
7−# and the second is the directory. if with one argument, it
8−# is the directory, and pandoc is used from path.
9−
10−if [ $# -eq 2 ]; then
11− PANDOC=$1
12− DIR=$2
13−elif [ $# -eq 1 ]; then
14− PANDOC=pandoc
15− DIR=$1
16−else
17− echo "Not enough arguments"
18− exit 1
19−fi
20−
21−$PANDOC --version > /dev/null || { echo "pandoc executable error" >&2 ; exit 1 ; }
22−
23−for f in `find "$DIR" -name '*.[0-9]'`; do
24− ( iconv -f utf8 -t utf8 $f 2>/dev/null || iconv -f latin1 -t utf8 $f ) | \
25− $PANDOC --resource-path "$DIR":"$(dirname $f)" -f man -o /dev/null || echo "Failed to convert $f"
26−done