diff options
Diffstat (limited to 'source-builder/sb/asciidoc/tests/data/filters-test.txt')
-rw-r--r-- | source-builder/sb/asciidoc/tests/data/filters-test.txt | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/source-builder/sb/asciidoc/tests/data/filters-test.txt b/source-builder/sb/asciidoc/tests/data/filters-test.txt deleted file mode 100644 index a8b051e..0000000 --- a/source-builder/sb/asciidoc/tests/data/filters-test.txt +++ /dev/null @@ -1,90 +0,0 @@ -Filter Tests -============ - - -== Toy filter example from User Guide - -[code,python] ----------------------------------------------- -''' A multi-line - comment.''' -def sub_word(mo): - ''' Single line comment.''' - word = mo.group('word') # Inline comment - if word in keywords[language]: - return quote + word + quote - else: - return word ----------------------------------------------- - - -== Pychart Chart generations from FAQ - -// Generate chart image file. -sys2::[python "{indir}/barchart.py" --format=png --output="{outdir={indir}}/{imagesdir=}{imagesdir?/}barchart.png" --scale=2] - -// Display chart image file. -image::barchart.png[] - - -== Graphviz Graphs - -.Simple graph -["graphviz", "graphviz1.png", alt="Graphviz->AsciiDoc->HTML"] ---------------------------------------------------------------------- -digraph G { rankdir=LR; Graphviz->AsciiDoc->HTML} ---------------------------------------------------------------------- - -.Not so simple graph -["graphviz", "graphviz2.png"] ---------------------------------------------------------------------- -digraph automata_0 { - size ="8.5, 11"; - node [shape = circle]; - 0 [ style = filled, color=lightgrey ]; - 2 [ shape = doublecircle ]; - 0 -> 2 [ label = "a " ]; - 0 -> 1 [ label = "other " ]; - 1 -> 2 [ label = "a " ]; - 1 -> 1 [ label = "other " ]; - 2 -> 2 [ label = "a " ]; - 2 -> 1 [ label = "other " ]; - "Machine: a" [ shape = plaintext ]; -} ---------------------------------------------------------------------- - - -== Music filter - -.A tune generated from ABC notation -[music,music1.png] ---------------------------------------------------------------------- -T:The Butterfly -R:slip jig -C:Tommy Potts -H:Fiddle player Tommy Potts made this tune from two older slip jigs, -H:one of which is called "Skin the Peelers" in Roche's collection. -D:Bothy Band: 1975. -M:9/8 -K:Em -vB2(E G2)(E F3)|B2(E G2)(E F)ED|vB2(E G2)(E F3)|(B2d) d2(uB A)FD:| -|:(vB2c) (e2f) g3|(uB2d) (g2e) (dBA)|(B2c) (e2f) g2(ua|b2a) (g2e) (dBA):| -|:~B3 (B2A) G2A|~B3 BA(uB d)BA|~B3 (B2A) G2(A|B2d) (g2e) (dBA):| ---------------------------------------------------------------------- - -<<X1,Link to following fragment>>. - -[[X1]] -.A fragment generated from LilyPond source -["music", "music2.png", "ly", link="music2.ly"] ---------------------------------------------------------------------- -\version "2.10.0" -\paper { - ragged-right = ##t -} -{ - \time 3/4 - \clef bass - c2 e4 g2. f4 e d c2 r4 -} ---------------------------------------------------------------------- |