####### # # E-scripts on generating and reading html. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at # or at . # See also , # , # , # , # and . # ####### # «.html2.0-rfc» (to "html2.0-rfc") # «.aswedit_debian» (to "aswedit_debian") # «.wdg-html-reference-etch» (to "wdg-html-reference-etch") # «.wdg» (to "wdg") # «.line-numbers» (to "line-numbers") ##### # # RFC 1866: Hypertext Markup Language - 2.0 # 2001jan18 # ##### # «html2.0-rfc» (to ".html2.0-rfc") # (find-rfcfile "rfc1866.txt") # (find-rfcfile "rfc1866.txt") # (find-rfcfile "rfc1866.txt" " [SGML]") # (find-rfcfile "rfc1866.txt" "9.7.2. ISO Latin 1 Character Entity Set") # (find-lynxfile "WWW/Library/Implementation/HTMLDTD.c") # (find-lynxfile "src/LYCharSets.c") # (find-lynxfile "src/chrtrans/entities.h") # (find-lynxfile "src/chrtrans/entities.h" "BOX DRAWINGS") # but the names of the box-drawing chars are for unicode... ##### #"rfc1866.txt" " [SGML]") # (find-rfcfile "rfc1866.txt" "9.7.2. ISO Latin 1 Character Entity Set") # (find-lynxfile "WWW/Library/Implementation/HTMLDTD.c") # (find-lynxfile "src/LYCharSets.c") # (find-lynxfile "src/chrtrans/entities.h") # (find-lynxfile "src/chrtrans/entities.h" "BOX DRAWINGS") # but the names of the box-drawing chars are for unicode... ##### # # html 4.0 # 2004nov07 # ##### # http://www.w3.org/MarkUp/ # http://www.w3.org/TR/html4/ # http://www.w3.org/TR/1999/REC-html401-19991224/ # http://www.w3.org/TR/1999/REC-html401-19991224/html40.txt # http://www.w3.org/TR/html401/struct/tables.html # (find-available "w3-recs") # (code-c-d "html40" "$S/http/www.w3.org/TR/1999/REC-html401-19991224/") # (find-html40file "html40.txt") # (find-html40file "html40.txt" "\nQuick Table of Contents") # (find-html40file "html40.txt" "\nFull Table of Contents") # (find-html40file "html40.txt" "\nFull Table of Contents" "11. Tables") # (find-html40file "html40.txt" "\n11.1 Introduction to tables") # (find-html40file "html40.txt" "13.7.1" "expressed as percentages") psne http://www.w3.org/TR/1999/REC-html401-19991224/html40.txt # (code-c-d "html40" "$S/http/www.w3.org/TR/1999/REC-html401-19991224/") # (find-html40file "html40.txt" "A. Soria" "rowspan") # (eeb-define eeb-html eehtml ee-delimiter-hash) #
1 2 3
4 6
7 8 9
# ##### # # wml-1.6.7 # ##### rm -Rv /usr/src/wml-1.6.7/ cd /usr/src/ tar -xvzf /snarf/ftp/ftp.engelschall.com/sw/wml/wml-1.6.7.tar.gz cd /usr/src/wml-1.6.7/ # (find-fline "/usr/src/wml-1.6.7/INSTALL") rm -Rv /usr/local/wml/ mkdir /usr/local/wml/ ./configure --prefix=/usr/local/wml |& tee oc make |& tee om make test |& tee omt ##### # # asWedit-4.0 # ##### # (find-fline "/snarf/http/www.advasoft.com/asWedit/asWedit-4.0-i386.linux.tar.gz") rm -Rv /usr/src/asWedit-4.0 rm -v /usr/local/bin/asWedit rm -v /usr/local/lib/asWedit.hlp cd /usr/src/ tar -xvzf /snarf/http/www.advasoft.com/asWedit/asWedit-4.0-i386.linux.tar.gz ln -s /usr/src/asWedit-4.0/asWedit /usr/local/bin/asWedit ln -s /usr/src/asWedit-4.0/asWedit.hlp /usr/local/lib/asWedit.hlp # (find-fline "/usr/src/asWedit-4.0/") # (find-fline "/usr/src/asWedit-4.0/INSTALL" "app-defaults") # (find-fline "/usr/src/asWedit-4.0/AsWedit") # (find-fline "/usr/src/asWedit-4.0/AsWedit" "shortcuts for") # (find-fline "/usr/src/asWedit-4.0/asWedit.hlp") # (find-fline "/usr/src/asWedit-4.0/asWedit.hlp" "netscapeCmd") asWedit -html3 /var/www/showquery.html edrxnetscape http://www.advasoft.com/asWedit/ cd /snarf/ftp/sunsite.doc.ic.ac.uk/packages/www/asWedit/ ##### # # asWedit-4.0 (.deb) # ##### cd /snarf/ftp/sunsite.doc.ic.ac.uk/packages/www/asWedit/ dpkg -i /snarf/ftp/sunsite.doc.ic.ac.uk/packages/www/asWedit/asWedit-i386.linux_4.0-0.deb rm -Rv /usr/src/asWedit-4.0 cd /usr/src/ tar -xvzf /snarf/ftp/sunsite.doc.ic.ac.uk/packages/www/asWedit/emacs-mode-asWedit-4.0.tar.gz ln -s /usr/src/asWedit-4.0/asWedit_em.hlp /usr/local/lib/asWedit_em.hlp ln -s /usr/src/asWedit-4.0/AsWedit_em /usr/X11R6/lib/X11/app-defaults/AsWedit_em # (find-fline "/usr/src/asWedit-4.0/") # (find-fline "/usr/src/asWedit-4.0/AsWedit_em" "and Emacs bindings") # (find-fline "/usr/src/asWedit-4.0/asWedit_em.hlp") # (find-vldifile "aswedit.list") # (find-fline "/usr/doc/asWedit/") # (find-fline "/usr/X11R6/lib/X11/app-defaults/AsWedit") # (find-fline "/usr/X11R6/lib/asWedit.hlp") asWedit -html3 -emacs /var/www/showquery.html edrxnetscape http://localhost/showquery.html cd /usr/X11R6/lib/ cat asWedit.hlp \ | perl -e 'undef $/; $_ = <>; while (m/\n(\~.*\n.*\n)/g) { print $1; }' ##### # # asWedit (slink) # 99oct13 # ##### # «aswedit_debian» (to ".aswedit_debian") apti libc5 xlib6 cd /snarf/ftp/sunsite.doc.ic.ac.uk/packages/www/asWedit/ # (find-fline "/snarf/ftp/sunsite.doc.ic.ac.uk/packages/www/asWedit/") dpkg -i asWedit-i386.linux_4.0-0.deb # (find-vldifile "aswedit.list") # (find-fline "/usr/doc/asWedit/") # (find-fline "/usr/X11R6/lib/asWedit.hlp") # (find-fline "/usr/X11R6/lib/asWedit.hlp" "ISINDEX") # (find-fline "/usr/X11R6/lib/asWedit.hlp" " is deprecated") ##### # # php3 # ##### Pgrep m/php3/i |& tee ~/o # (find-fline "~/o") pdsc /debian/dists/slink/main/source/web/php3_3.0.5-3.dsc # (find-php3file "") # (find-php3file "debian/") # (find-php3file "debian/postinst" "manually") apti php3 php3-doc php3-dev # (find-fline "/etc/apache/httpd.conf" "# LoadModule") # LoadModule php3_module /usr/lib/apache/1.3/libphp3.so # (find-vldifile "php3-doc.list") # (find-vldifile "php3.list") edrxnetscape /usr/doc/php3-doc/html/manual.html # What is the center of the docs? # cd /usr/doc/php3-doc/html/ ls > ~/o # rm -Rv /tmp/w mkdir /tmp/w/ cd /tmp/w/ wget -r -nc -np -l 60 http://127.0.0.1/doc/php3-doc/html/manual.html cd /tmp/w/127.0.0.1/doc/php3-doc/html/ ls > ~/o2 # diff ~/o ~/o2 lynx /usr/doc/php3-doc/html/manual.html ##### # # bluefish # ##### rm -Rv /usr/src/bluefish-0.3.2/ cd /usr/src/ tar -xvzf $S/http/bluefish.linuxbox.com/download/bluefish-0.3.2.tar.gz cd /usr/src/bluefish-0.3.2/ ./configure |& tee oc make |& tee om # (find-fline "/usr/src/bluefish-0.3.2/") ##### # # weblint # ##### # (find-slink "weblint") # (find-fline "/usr/doc/weblint/") # (find-fline "$S/http/www.yahoo.com/Computers_and_Internet/Information_and_Documentation/Data_Formats/HTML/") ##### # # css # 2001oct20 # ##### # (find-shttpfile "www.inf.puc-rio.br/nd/ndeduction.css") # (find-shttpfile "www.inf.puc-rio.br/nd/program_i.html") ##### # # wdg-html-reference: installing it (and the validator) on etch # 2005mar09 # ##### # «wdg-html-reference-etch» (to ".wdg-html-reference-etch") # The package is not at etch, download the deb and install it by hand... # http://www.debian.org/News/weekly/2005/47/ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337035 # http://ftp.debian.org/debian/pool/main/w/wdg-html-reference/ # http://ftp.debian.org/debian/pool/main/w/wdg-html-reference/wdg-html-reference_4.0-2_all.deb sudo dpkg -i \ $S/http/ftp.debian.org/debian/pool/main/w/wdg-html-reference/wdg-html-reference_4.0-2_all.deb apti wdg-html-validator wdg-html-reference "debian weekly news" ##### # # html 4.01: validators and reference # 2005mar09 # ##### # «wdg» (to ".wdg") # (find-status "wdg-html-reference") # (find-vldifile "wdg-html-reference.list") # (find-udfile "wdg-html-reference/") # (find-status "wdg-html-validator") # (find-vldifile "wdg-html-validator.list") # (find-udfile "wdg-html-validator/") # (find-man "1 validate") # (code-c-d "wdgref" "/usr/share/doc/wdg-html-reference/reference/") # (code-c-d "wdg40" "/usr/share/doc/wdg-html-reference/reference/html40/") # (code-c-d "wdgcss" "/usr/share/doc/wdg-html-reference/reference/css/") # (find-wdg40w3m "structure.html#doc") # (find-wdg40w3m "alist.html") # (find-wdg40w3m "special/span.html") # (find-wdgreffile "html40/") # (find-wdgrefw3m "html40/structure.html#doc") # (find-wdgrefw3m "html40/alist.html") # (find-wdgrefw3m "html40/special/span.html") # (find-wdgrefw3m "css/index.html") # (find-wdgrefw3m "css/structure.html") # (find-w3m "/usr/share/doc/wdg-html-reference/reference/css/properties.html") # (find-udw3m "wdg-html-reference/reference/css/properties.html") # (find-udw3m "wdg-html-reference/reference/html40/structure.html#doc") file:///usr/share/doc/wdg-html-reference/reference/html40/structure.html#doc # cat > /tmp/foo.html <<'%%%' The document title

Main heading

A paragraph.

Another paragraph.

text

text

text

text

  • A list item.
  • Another list item.
%%% # # (find-wdgrefw3m "html40/alist.html") # (find-wdgreffile "html40/lists/li.html") # (find-wdgrefw3m "html40/lists/li.html") # (find-wdgrefw3m "css/classification/list-style.html") http://www.ilovejackdaniels.com/css_cheat_sheet.pdf http://www.lesliefranke.com/files/reference/csscheatsheet.html http://home.tampabay.rr.com/bmerkey/cheatsheet.htm
[HLIST2 Items:
  [HREF http://foo/bar a link]
  [HREF http://another/link]
  [IT Italic text]
  [BF Boldface]
]
##### # # line numbers (from an idea by Marc Simpson) # 2008sep11 # ##### # «line-numbers» (to ".line-numbers") # (find-blogme3grep "grep -nH -e red *.lua") # (find-THLgrep "grep -nH -e red *.html") # (find-THfile "blogme3.blogme" ".red { color: red; }") # (find-THLfile "blogme3.html" ".red { color: red; }") # (find-THLfile "eev-article.html" "div style=" "background-color: ") # (find-wdgcssw3m "text/text-decoration.html") # (find-wdgcssw3m "structure.html#pseudo" "A:link") # (find-wdgcssw3m "structure.html" "Class Selectors") # (find-wdgcssw3m "structure.html" "

") # (find-wdgcssw3m "structure.html" "Anchor Pseudo-classes") # (find-wdgcssw3m "structure.html" "assigned to the A element") # (find-eevfile "eev-all.el.html" "a:hover") # http://home.tampabay.rr.com/bmerkey/cheatsheet.htm # (find-w3m "$S/http/home.tampabay.rr.com/bmerkey/cheatsheet.htm" "A:link") # Pseudo-classes can be used in contextual selectors and can be combined # with normal classes. # A:link {color: #900} # A:link IMG { border: solid blue } # A:hover { background:#ffff00; } # A:visited {} # A:active {} /* style visible only at moment of click */ # Combining pseudos: Normal class names precede pseudos in the selector. # A.external:link { color: magenta } # external link A:link, A:visited, A:active { text-decoration: none } #ffda99 /* .n { color: #ffda99; text-decoration: none; } */ .n:link, .n:visited { color: red; text-decoration: none; } /* .n:visited { color: green; text-decoration: none; } */ .n:hover { color: blue; text-decoration: underline; } .comment { color: #ff7f24; } /* .ln { background-color: red; } */ /* .ln:hover { background-color: green; } */ # [# (eeblogme-now-bounded) #] [SETHEADSTYLE /* .ln { background-color: yellow; } */ /* a.ln { background-color: blue; } */ a.ln:link { background-color: yellow; } a.ln:visited { background-color: yellow; } ]

24:Contents of line 24
24:Contents of line 24
[PRE Foo ..1: bar 202: plic 202: plic Bletch Kommentfoo ] # I am trying to define a style for line numbers in listings (in
___
blocks). Ideally, I would invoke it as this:
24:Contents of line 24
but I can't find the right syntax for specifying properties for the links in the ___ block... maybe the "a" class interferes with it? any hints? here's what I am trying: style type="text/css"> # http://dev.alt.textdrive.com/browser/HTTP/IPMnemonic.lua # (find-es "html" "wdg") # (find-status "iceweasel-webdeveloper") # (find-vldifile "iceweasel-webdeveloper.list") # (find-udfile "iceweasel-webdeveloper/") apti iceweasel-webdeveloper C-S-s no firefox toggla o CSS # (find-anggfile "TH/blogme.blogme" "-- 2007apr17, guilherme") ##### # # Selectors # 2007may22 # ##### # http://www.w3.org/TR/CSS21/selector.html # XML: # http://www.eudes.info/ # Local Variables: # coding: raw-text-unix # ee-delimiter-hash: "\n#\n" # ee-delimiter-percent: "\n%\n" # ee-anchor-format: "«%s»" # End: