gorgyrella 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/gorgyrella.rb +1 -1
- data/lib/gorgyrella/parser.rb +129 -128
- data/lib/gorgyrella/parser.rl +3 -2
- data/lib/webby/gorgyrella_helper.rb.~1~ +30 -0
- data/webby/Sitefile +5 -1
- data/webby/content/css/style.css +280 -0
- data/webby/content/faq/index.txt +10 -0
- data/webby/content/favicon.ico +0 -0
- data/webby/content/img/Thumbs.db +0 -0
- data/webby/content/img/bg_menu.gif +0 -0
- data/webby/content/img/bg_t.gif +0 -0
- data/webby/content/img/bullet.gif +0 -0
- data/webby/content/img/logo.png +0 -0
- data/webby/content/img/logo_.jpg +0 -0
- data/webby/content/img/top_bg.gif +0 -0
- data/webby/content/img/top_bg_.gif +0 -0
- data/webby/content/index.txt +2 -7
- data/webby/content/installation/index.txt +24 -0
- data/webby/layouts/web.txt +54 -32
- data/webby/output/css/style.css +275 -0
- data/webby/output/faq/index.html +56 -0
- data/webby/output/favicon.ico +0 -0
- data/webby/output/img/Thumbs.db +0 -0
- data/webby/output/img/bg_menu.gif +0 -0
- data/webby/output/img/bg_t.gif +0 -0
- data/webby/output/img/bullet.gif +0 -0
- data/webby/output/img/logo.png +0 -0
- data/webby/output/img/logo_.jpg +0 -0
- data/webby/output/img/top_bg.gif +0 -0
- data/webby/output/img/top_bg_.gif +0 -0
- data/webby/output/index.html +51 -36
- data/webby/output/installation/index.html +63 -0
- metadata +29 -197
- data/.bzr/README +0 -3
- data/.bzr/branch-format +0 -1
- data/.bzr/branch/branch.conf +0 -2
- data/.bzr/branch/format +0 -1
- data/.bzr/branch/last-revision +0 -1
- data/.bzr/branch/tags +0 -0
- data/.bzr/checkout/conflicts +0 -1
- data/.bzr/checkout/dirstate +0 -0
- data/.bzr/checkout/format +0 -1
- data/.bzr/checkout/merge-hashes +0 -33
- data/.bzr/repository/format +0 -1
- data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.iix +0 -0
- data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.rix +0 -0
- data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.six +0 -5
- data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.tix +0 -0
- data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.iix +0 -0
- data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.rix +0 -0
- data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.six +0 -5
- data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.tix +0 -0
- data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.iix +0 -0
- data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.rix +0 -0
- data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.six +0 -5
- data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.tix +0 -0
- data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.iix +0 -0
- data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.rix +0 -0
- data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.six +0 -5
- data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.tix +0 -0
- data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.iix +0 -0
- data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.rix +0 -0
- data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.six +0 -5
- data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.tix +0 -0
- data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.iix +0 -0
- data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.rix +0 -0
- data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.six +0 -5
- data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.tix +0 -0
- data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.iix +0 -0
- data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.rix +0 -0
- data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.six +0 -5
- data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.tix +0 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.iix +0 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.pack +0 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.rix +0 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.six +0 -5
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.tix +0 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.iix +0 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.pack +0 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.rix +0 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.six +0 -5
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.tix +0 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.iix +0 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.pack +0 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.rix +0 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.six +0 -5
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.tix +0 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.iix +0 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.pack +0 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.rix +0 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.six +0 -5
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.tix +0 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.iix +0 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.pack +0 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.rix +0 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.six +0 -5
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.tix +0 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.iix +0 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.pack +0 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.rix +0 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.six +0 -5
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.tix +0 -0
- data/.bzr/repository/pack-names +0 -0
- data/.bzr/repository/packs/7433d7509bfad4e7de61716fd159a28e.pack +0 -0
- data/.bzr/repository/packs/747331f41951a7f9509b3190e9082de2.pack +0 -0
- data/.bzr/repository/packs/94ae76525de86acde2f4722e88fec764.pack +0 -0
- data/.bzr/repository/packs/ae5f61661ebb8f30600ce7443b2ea000.pack +0 -0
- data/.bzr/repository/packs/e34ba77fcb41bb254463c3c177123bb1.pack +0 -0
- data/.bzr/repository/packs/e409e77b2da885ef4e5bc5089a04e60e.pack +0 -0
- data/.bzr/repository/packs/fa740d26e5ddc0570df1ec65a7a2af1c.pack +0 -0
- data/.bzrignore +0 -5
- data/gorgyrella-manual-0-0-1.pdf +0 -0
- data/gorgyrella.gemspec +0 -36
- data/spec/builder_spec.rb +0 -7
- data/spec/composer_spec.rb +0 -70
- data/spec/data/coderay.css +0 -126
- data/spec/data/example-python.html +0 -24
- data/spec/data/example-ruby.html +0 -30
- data/spec/data/pygments.css +0 -59
- data/spec/data/test.py +0 -21
- data/spec/data/test.rb +0 -13
- data/spec/data/ultraviolet/css/active4d.css +0 -114
- data/spec/data/ultraviolet/css/all_hallows_eve.css +0 -72
- data/spec/data/ultraviolet/css/amy.css +0 -147
- data/spec/data/ultraviolet/css/blackboard.css +0 -88
- data/spec/data/ultraviolet/css/brilliance_black.css +0 -605
- data/spec/data/ultraviolet/css/brilliance_dull.css +0 -599
- data/spec/data/ultraviolet/css/cobalt.css +0 -149
- data/spec/data/ultraviolet/css/dawn.css +0 -121
- data/spec/data/ultraviolet/css/eiffel.css +0 -121
- data/spec/data/ultraviolet/css/espresso_libre.css +0 -109
- data/spec/data/ultraviolet/css/idle.css +0 -62
- data/spec/data/ultraviolet/css/iplastic.css +0 -80
- data/spec/data/ultraviolet/css/lazy.css +0 -73
- data/spec/data/ultraviolet/css/mac_classic.css +0 -123
- data/spec/data/ultraviolet/css/magicwb_amiga.css +0 -104
- data/spec/data/ultraviolet/css/pastels_on_dark.css +0 -188
- data/spec/data/ultraviolet/css/slush_poppies.css +0 -85
- data/spec/data/ultraviolet/css/spacecadet.css +0 -51
- data/spec/data/ultraviolet/css/sunburst.css +0 -180
- data/spec/data/ultraviolet/css/twilight.css +0 -137
- data/spec/data/ultraviolet/css/zenburnesque.css +0 -91
- data/spec/data/unmarked.rb +0 -32
- data/spec/gorgyrella_spec.rb +0 -7
- data/spec/parser_spec.rb +0 -73
- data/spec/spec_helper.rb +0 -13
- data/spec/tmp/example-python-processed-coderay.html +0 -31
- data/spec/tmp/example-python-processed-pygments.html +0 -31
- data/spec/tmp/example-python-processed-ultraviolet.html +0 -31
- data/spec/tmp/example-ruby-processed-coderay.html +0 -31
- data/spec/tmp/example-ruby-processed-pygments.html +0 -37
- data/spec/tmp/example-ruby-processed-ultraviolet.html +0 -33
- data/webby/.DS_Store +0 -0
- data/webby/content/css/blueprint/ie.css +0 -26
- data/webby/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/webby/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
- data/webby/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/webby/content/css/blueprint/plugins/buttons/readme.txt +0 -32
- data/webby/content/css/blueprint/plugins/buttons/screen.css +0 -97
- data/webby/content/css/blueprint/plugins/fancy-type/readme.txt +0 -14
- data/webby/content/css/blueprint/plugins/fancy-type/screen.css +0 -71
- data/webby/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/readme.txt +0 -18
- data/webby/content/css/blueprint/plugins/link-icons/screen.css +0 -40
- data/webby/content/css/blueprint/plugins/rtl/readme.txt +0 -10
- data/webby/content/css/blueprint/plugins/rtl/screen.css +0 -109
- data/webby/content/css/blueprint/print.css +0 -30
- data/webby/content/css/blueprint/screen.css +0 -251
- data/webby/content/css/blueprint/src/forms.css +0 -49
- data/webby/content/css/blueprint/src/grid.css +0 -212
- data/webby/content/css/blueprint/src/grid.png +0 -0
- data/webby/content/css/blueprint/src/ie.css +0 -59
- data/webby/content/css/blueprint/src/print.css +0 -85
- data/webby/content/css/blueprint/src/reset.css +0 -38
- data/webby/content/css/blueprint/src/typography.css +0 -105
- data/webby/content/css/site.css +0 -78
- data/webby/content/gorgyrella-manual.erb +0 -33
- data/webby/output/css/blueprint/ie.css +0 -26
- data/webby/output/css/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/icons/key.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/readme.txt +0 -32
- data/webby/output/css/blueprint/plugins/buttons/screen.css +0 -97
- data/webby/output/css/blueprint/plugins/fancy-type/readme.txt +0 -14
- data/webby/output/css/blueprint/plugins/fancy-type/screen.css +0 -71
- data/webby/output/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/readme.txt +0 -18
- data/webby/output/css/blueprint/plugins/link-icons/screen.css +0 -40
- data/webby/output/css/blueprint/plugins/rtl/readme.txt +0 -10
- data/webby/output/css/blueprint/plugins/rtl/screen.css +0 -109
- data/webby/output/css/blueprint/print.css +0 -30
- data/webby/output/css/blueprint/screen.css +0 -251
- data/webby/output/css/blueprint/src/forms.css +0 -49
- data/webby/output/css/blueprint/src/grid.css +0 -212
- data/webby/output/css/blueprint/src/grid.png +0 -0
- data/webby/output/css/blueprint/src/ie.css +0 -59
- data/webby/output/css/blueprint/src/print.css +0 -85
- data/webby/output/css/blueprint/src/reset.css +0 -38
- data/webby/output/css/blueprint/src/typography.css +0 -105
- data/webby/output/css/site.css +0 -62
- data/webby/output/gorgyrella-manual.aux +0 -17
- data/webby/output/gorgyrella-manual.erb +0 -51
- data/webby/output/gorgyrella-manual.log +0 -271
- data/webby/output/gorgyrella-manual.out +0 -2
- data/webby/output/gorgyrella-manual.pdf +0 -0
- data/webby/output/gorgyrella-manual.tex +0 -191
- data/webby/tasks/latex.rake +0 -14
Binary file
|
@@ -1,191 +0,0 @@
|
|
1
|
-
\documentclass[a4paper]{article}
|
2
|
-
\usepackage{fullpage}
|
3
|
-
\usepackage{fancyvrb}
|
4
|
-
\usepackage{color}
|
5
|
-
\usepackage[ascii]{inputenc}
|
6
|
-
\usepackage{hyperref}
|
7
|
-
\usepackage[pdftex]{graphicx}
|
8
|
-
\usepackage{wrapfig}
|
9
|
-
\usepackage{multicol}
|
10
|
-
|
11
|
-
\newcommand\PYZat{@}
|
12
|
-
\newcommand\PYZlb{[}
|
13
|
-
\newcommand\PYZrb{]}
|
14
|
-
\newcommand\PYbh[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}}
|
15
|
-
\newcommand\PYbg[1]{\textcolor[rgb]{0.73,0.40,0.53}{\textbf{#1}}}
|
16
|
-
\newcommand\PYbf[1]{\textcolor[rgb]{0.82,0.25,0.23}{\textbf{#1}}}
|
17
|
-
\newcommand\PYbe[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
|
18
|
-
\newcommand\PYbd[1]{\textcolor[rgb]{0.73,0.13,0.13}{#1}}
|
19
|
-
\newcommand\PYbc[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}}
|
20
|
-
\newcommand\PYbb[1]{\textcolor[rgb]{0.00,0.50,0.00}{#1}}
|
21
|
-
\newcommand\PYba[1]{\textcolor[rgb]{0.00,0.00,0.50}{\textbf{#1}}}
|
22
|
-
\newcommand\PYaJ[1]{\textcolor[rgb]{0.69,0.00,0.25}{#1}}
|
23
|
-
\newcommand\PYaK[1]{\textcolor[rgb]{0.73,0.13,0.13}{#1}}
|
24
|
-
\newcommand\PYaH[1]{\textcolor[rgb]{0.50,0.00,0.50}{\textbf{#1}}}
|
25
|
-
\newcommand\PYaI[1]{\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{#1}}
|
26
|
-
\newcommand\PYaN[1]{\textcolor[rgb]{0.74,0.48,0.00}{#1}}
|
27
|
-
\newcommand\PYaO[1]{\textcolor[rgb]{0.00,0.00,1.00}{\textbf{#1}}}
|
28
|
-
\newcommand\PYaL[1]{\textcolor[rgb]{0.00,0.00,1.00}{#1}}
|
29
|
-
\newcommand\PYaM[1]{\textcolor[rgb]{0.73,0.73,0.73}{#1}}
|
30
|
-
\newcommand\PYaB[1]{\textcolor[rgb]{0.73,0.13,0.13}{#1}}
|
31
|
-
\newcommand\PYaC[1]{\textcolor[rgb]{0.67,0.13,1.00}{#1}}
|
32
|
-
\newcommand\PYaA[1]{\textcolor[rgb]{0.00,0.50,0.00}{#1}}
|
33
|
-
\newcommand\PYaF[1]{\textcolor[rgb]{0.63,0.00,0.00}{#1}}
|
34
|
-
\newcommand\PYaG[1]{\textcolor[rgb]{1.00,0.00,0.00}{#1}}
|
35
|
-
\newcommand\PYaD[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}}
|
36
|
-
\newcommand\PYaE[1]{\textcolor[rgb]{0.25,0.50,0.50}{\textit{#1}}}
|
37
|
-
\newcommand\PYaZ[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}}
|
38
|
-
\newcommand\PYaX[1]{\textcolor[rgb]{0.00,0.50,0.00}{#1}}
|
39
|
-
\newcommand\PYaY[1]{\textcolor[rgb]{0.73,0.13,0.13}{#1}}
|
40
|
-
\newcommand\PYaR[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
|
41
|
-
\newcommand\PYaS[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
|
42
|
-
\newcommand\PYaP[1]{\textcolor[rgb]{0.00,0.00,0.50}{\textbf{#1}}}
|
43
|
-
\newcommand\PYaQ[1]{\textcolor[rgb]{0.49,0.56,0.16}{#1}}
|
44
|
-
\newcommand\PYaV[1]{\textcolor[rgb]{0.00,0.00,1.00}{\textbf{#1}}}
|
45
|
-
\newcommand\PYaW[1]{\textcolor[rgb]{0.73,0.13,0.13}{#1}}
|
46
|
-
\newcommand\PYaT[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
|
47
|
-
\newcommand\PYaU[1]{\textcolor[rgb]{0.25,0.50,0.50}{\textit{#1}}}
|
48
|
-
\newcommand\PYaj[1]{\textcolor[rgb]{0.00,0.50,0.00}{#1}}
|
49
|
-
\newcommand\PYak[1]{\textcolor[rgb]{0.73,0.40,0.53}{#1}}
|
50
|
-
\newcommand\PYah[1]{\textcolor[rgb]{0.63,0.63,0.00}{#1}}
|
51
|
-
\newcommand\PYai[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
|
52
|
-
\newcommand\PYan[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
|
53
|
-
\newcommand\PYao[1]{\textcolor[rgb]{0.73,0.40,0.13}{\textbf{#1}}}
|
54
|
-
\newcommand\PYal[1]{\textcolor[rgb]{0.25,0.50,0.50}{\textit{#1}}}
|
55
|
-
\newcommand\PYam[1]{\textbf{#1}}
|
56
|
-
\newcommand\PYab[1]{\textit{#1}}
|
57
|
-
\newcommand\PYac[1]{\textcolor[rgb]{0.73,0.13,0.13}{#1}}
|
58
|
-
\newcommand\PYaa[1]{\textcolor[rgb]{0.50,0.50,0.50}{#1}}
|
59
|
-
\newcommand\PYaf[1]{\textcolor[rgb]{0.25,0.50,0.50}{\textit{#1}}}
|
60
|
-
\newcommand\PYag[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
|
61
|
-
\newcommand\PYad[1]{\textcolor[rgb]{0.00,0.25,0.82}{#1}}
|
62
|
-
\newcommand\PYae[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
|
63
|
-
\newcommand\PYaz[1]{\textcolor[rgb]{0.00,0.63,0.00}{#1}}
|
64
|
-
\newcommand\PYax[1]{\textcolor[rgb]{0.60,0.60,0.60}{\textbf{#1}}}
|
65
|
-
\newcommand\PYay[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}}
|
66
|
-
\newcommand\PYar[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
|
67
|
-
\newcommand\PYas[1]{\textcolor[rgb]{0.73,0.13,0.13}{\textit{#1}}}
|
68
|
-
\newcommand\PYap[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}}
|
69
|
-
\newcommand\PYaq[1]{\textcolor[rgb]{0.53,0.00,0.00}{#1}}
|
70
|
-
\newcommand\PYav[1]{\textcolor[rgb]{0.67,0.13,1.00}{\textbf{#1}}}
|
71
|
-
\newcommand\PYaw[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
|
72
|
-
\newcommand\PYat[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
|
73
|
-
\newcommand\PYau[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
\title{Gorgyrella Manual}
|
78
|
-
\author{Ana Nelson}
|
79
|
-
|
80
|
-
\begin{document}
|
81
|
-
|
82
|
-
\maketitle
|
83
|
-
|
84
|
-
|
85
|
-
\section{Gorgyrella} % (fold)
|
86
|
-
\label{sec:gorgyrella}
|
87
|
-
|
88
|
-
Gorgyrella is a Ruby gem for creating literate documentation. You can use Gorgyrella for writing tutorials, blog posts, software documentation, reports, articles, even your thesis, anything where you need to incorporate examples of code from any file anywhere on your machine. Gorgyrella integrates with syntax highlighters to make your code look beautiful.
|
89
|
-
|
90
|
-
You can output text in any format which your syntax highlighter supports.
|
91
|
-
|
92
|
-
Gorgyrella has strong integration with Webby and together they make a very comprehensive document build system. This document was written using Gorgyrella, Webby and \LaTeX.
|
93
|
-
|
94
|
-
% section gorgyrella (end)
|
95
|
-
|
96
|
-
\section{Examples} % (fold)
|
97
|
-
\label{sec:examples}
|
98
|
-
|
99
|
-
Here is a file from the Gorgyrella source:
|
100
|
-
\begin{Verbatim}[commandchars=@\[\]]
|
101
|
-
@PYbc[import] @PYaV[sys]
|
102
|
-
@PYbc[from] @PYaV[pygments.lexers] @PYbc[import] guess_lexer_for_filename
|
103
|
-
|
104
|
-
@PYay[try]:
|
105
|
-
lexer_name @PYbe[=] guess_lexer_for_filename(sys@PYbe[.]argv@PYZlb[]@PYaw[1]@PYZrb[], @PYaB["]@PYaB["])@PYbe[.]aliases@PYZlb[]@PYaw[0]@PYZrb[]
|
106
|
-
@PYay[except]:
|
107
|
-
lexer_name @PYbe[=] @PYaB["]@PYaB["]
|
108
|
-
|
109
|
-
@PYay[print] lexer_name
|
110
|
-
\end{Verbatim}
|
111
|
-
|
112
|
-
|
113
|
-
Here is part of the Ragel parser:
|
114
|
-
\begin{Verbatim}[commandchars=@\[\]]
|
115
|
-
@PYay[def] @PYaO[self]@PYbe[.]@PYaL[run_machine](data, test_mode @PYbe[=] @PYaj[false])
|
116
|
-
@PYaf[# puts "Running the state machine with input #{data}..."]
|
117
|
-
data @PYbe[+=] @PYaW["]@PYao[\n]@PYao[\n]@PYaW["]
|
118
|
-
data @PYbe[=] data@PYbe[.]unpack(@PYaW["]@PYaW[c*]@PYaW["]) @PYay[if] data@PYbe[.]is_a?(@PYaX[String])
|
119
|
-
|
120
|
-
line_counter @PYbe[=] @PYag[0]
|
121
|
-
line_data @PYbe[=] @PYbe[@PYZlb[]]@PYbe[@PYZrb[]]
|
122
|
-
|
123
|
-
builder @PYbe[=] @PYaq[Builder]@PYbe[.]new
|
124
|
-
|
125
|
-
eof @PYbe[=] @PYbe[-]@PYag[1]
|
126
|
-
|
127
|
-
%%@PYaM[ ]@PYay[write]@PYaM[ ]@PYai[init];
|
128
|
-
%%@PYaM[ ]@PYay[write]@PYaM[ ]@PYai[exec];
|
129
|
-
|
130
|
-
|
131
|
-
@PYay[if] test_mode
|
132
|
-
@PYbe[@PYZlb[]]builder, line_data@PYbe[@PYZrb[]]
|
133
|
-
@PYay[else]
|
134
|
-
builder
|
135
|
-
@PYay[end]
|
136
|
-
@PYay[end]
|
137
|
-
\end{Verbatim}
|
138
|
-
|
139
|
-
|
140
|
-
Here is my vhosts config, taken right from its location on my machine:
|
141
|
-
|
142
|
-
\begin{Verbatim}[commandchars=@\[\]]
|
143
|
-
@PYaE[#]
|
144
|
-
@PYaE[# Virtual Hosts]
|
145
|
-
@PYaE[#]
|
146
|
-
@PYaE[# If you want to maintain multiple domains/hostnames on your]
|
147
|
-
@PYaE[# machine you can setup VirtualHost containers for them. Most configurations]
|
148
|
-
@PYaE[# use only name-based virtual hosts so the server doesn't need to worry about]
|
149
|
-
@PYaE[# IP addresses. This is indicated by the asterisks in the directives below.]
|
150
|
-
@PYaE[#]
|
151
|
-
@PYaE[# Please see the documentation at ]
|
152
|
-
@PYaE[# <URL:http://httpd.apache.org/docs/2.2/vhosts/>]
|
153
|
-
@PYaE[# for further details before you try to setup virtual hosts.]
|
154
|
-
@PYaE[#]
|
155
|
-
@PYaE[# You may use the command line option '-S' to verify your virtual host]
|
156
|
-
@PYaE[# configuration.]
|
157
|
-
|
158
|
-
@PYaE[#]
|
159
|
-
@PYaE[# Use name-based virtual hosting.]
|
160
|
-
@PYaE[#]
|
161
|
-
@PYaX[NameVirtualHost] *:80
|
162
|
-
|
163
|
-
@PYaE[#]
|
164
|
-
@PYaE[# VirtualHost example:]
|
165
|
-
@PYaE[# Almost any Apache directive may go into a VirtualHost container.]
|
166
|
-
@PYaE[# The first VirtualHost section is used for all requests that do not]
|
167
|
-
@PYaE[# match a ServerName or ServerAlias in any <VirtualHost> block.]
|
168
|
-
@PYaE[#]
|
169
|
-
@PYaZ[<VirtualHost] @PYaB[*:80]@PYaZ[>]
|
170
|
-
@PYaX[ServerAdmin] webmaster@PYZat[]dummy-host.example.com
|
171
|
-
@PYaX[DocumentRoot] @PYaW["/www/docs/dummy-host.example.com"]
|
172
|
-
@PYaX[ServerName] dummy-host.example.com
|
173
|
-
@PYaX[ServerAlias] www.dummy-host.example.com
|
174
|
-
@PYaX[ErrorLog] @PYaW["/private/var/log/apache2/dummy-host.example.com-error_log"]
|
175
|
-
@PYaX[CustomLog] @PYaW["/private/var/log/apache2/dummy-host.example.com-access_log common"]
|
176
|
-
@PYaZ[</VirtualHost]@PYaZ[>]
|
177
|
-
|
178
|
-
@PYaZ[<VirtualHost] @PYaB[*:80]@PYaZ[>]
|
179
|
-
@PYaX[ServerAdmin] webmaster@PYZat[]dummy-host2.example.com
|
180
|
-
@PYaX[DocumentRoot] @PYaW["/www/docs/dummy-host2.example.com"]
|
181
|
-
@PYaX[ServerName] dummy-host2.example.com
|
182
|
-
@PYaX[ErrorLog] @PYaW["/private/var/log/apache2/dummy-host2.example.com-error_log"]
|
183
|
-
@PYaX[CustomLog] @PYaW["/private/var/log/apache2/dummy-host2.example.com-access_log common"]
|
184
|
-
@PYaZ[</VirtualHost]@PYaZ[>]
|
185
|
-
\end{Verbatim}
|
186
|
-
|
187
|
-
|
188
|
-
% section examples (end)
|
189
|
-
|
190
|
-
|
191
|
-
\end{document}
|
data/webby/tasks/latex.rake
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
desc "render output latex to a PDF"
|
2
|
-
task :pdf => [:build] do
|
3
|
-
files = IO.popen("find output/").read
|
4
|
-
files.chomp.each do |f|
|
5
|
-
f = f.rstrip
|
6
|
-
next unless f =~ /\.tex$/
|
7
|
-
dir = File.dirname(f)
|
8
|
-
file = File.basename(f)
|
9
|
-
system("cd #{dir}; pdflatex #{file}; cp #{file.gsub(/tex$/, "pdf")} ../../")
|
10
|
-
|
11
|
-
manual_filename = "gorgyrella-manual-#{Gorgyrella::VERSION.gsub(".", "-")}.pdf"
|
12
|
-
`mv ../gorgyrella-manual.pdf ../#{manual_filename}`
|
13
|
-
end
|
14
|
-
end
|