Commits

Shlomi Fish committed 253b503

Remove trailing space.

Comments (0)

Files changed (13)

hebrew-html-tutorial/Render-TT2-to-Docbook.pl

 
 my $tt = Template->new({
     INTERPOLATE  => 1,
-}) 
+})
     or die "$Template::ERROR\n";
 
 sub embed_sample_generic
     {
         open my $in, "<", "samples/$sample_id"
             or die "Could not open $sample_id in embed_sample()";
-        
+
         local $/;
         $text = <$in>;
         close($in);
 
 $tt->process(
     "hebrew-html-tutorial.xml.tt",
-    $vars, 
+    $vars,
     "hebrew-html-tutorial.xml",
 )
     or die $tt->error(), "\n";

hebrew-html-tutorial/Summary.txt

     - a Note about Hebrew.
 - The <p> tag.
 - Skeleton of an HTML document.
-    - <html>, <body>, 
+    - <html>, <body>,
     - The DOCTYPE
     - The xml declaration.
 - The <a> tag.
         - JS
         - next/prev/up/etc.
         - RSS/Atom
-        - 
+        -
     - <style>
 
 === End of Part 1 ===
 * Simple CSS Declarations.
 
     h1 { color: green; }
-    
+
 * CSS Attributes:
     - color
     - background-color
 - Child, descendant, etc. selectors
     - #nav .link
     - #nav > .link
-    - 
+    -
 
 === End of Part 4 ===
 

hebrew-html-tutorial/custom.xsl

     <xsl:param name="css.decoration">0</xsl:param>
     <xsl:param name="ulink.target"></xsl:param>
     <xsl:param name="use.viewport">0</xsl:param>
-    <!-- End of Strict Params -->    
-    <xsl:param name="toc.section.depth">10</xsl:param> 
+    <!-- End of Strict Params -->
+    <xsl:param name="toc.section.depth">10</xsl:param>
     <xsl:param name="generate.section.toc.level">10</xsl:param>
     <!-- Enable fop extensions - see:
     http://www.sagehill.net/docbookxsl/InstallingAnFO.html

hebrew-html-tutorial/samples/bold-and-italics-sample.html

 <i>Alice</i> was beginning to get very tired of sitting by her sister
 on the bank, and of having nothing to do: once or twice she had peeped
 into the book her sister was reading, but it had no pictures or
-conversations in it, "and what is the use of a book," thought Alice, 
-"without <b>pictures</b> or <b>conversation?</b>" 
+conversations in it, "and what is the use of a book," thought Alice,
+"without <b>pictures</b> or <b>conversation?</b>"
 </p>
 
 <p>
-From <a href="http://www.gutenberg.org/etext/11">Alice's 
+From <a href="http://www.gutenberg.org/etext/11">Alice's
     Adventures in Wonderland - Chapter 1</a>.
 </p>
 

hebrew-html-tutorial/samples/complete-example-1.html

-<!DOCTYPE html 
+<!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
 </head>
 <body>
     <h1>Excerpt from the Three Musketeers</h1>
-    
+
     <p>
 A young man--we can sketch his portrait at a dash. Imagine
 to yourself a Don Quixote of eighteen; a Don Quixote without

hebrew-html-tutorial/samples/h1-h2-example.html

-<!DOCTYPE html 
+<!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
 </head>
 <body>
     <h1>Mission Statement</h1>
-    
+
     <h2>Introduction</h2>
 
     <p>
     <h3>#2: In Hebrew</h3>
 
     <p>
-    Teach using 
+    Teach using
     <a href="http://en.wikipedia.org/wiki/Hebrew_language">Hebrew</a>.
     </p>
-       
+
 </body>
 </html>

hebrew-html-tutorial/samples/with-placeholders.html

-<!DOCTYPE html 
+<!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
 <h2 id="alice">Alice in Wonderland</h2>
 
 <p>
-Alice in Wonderland is a book by <a 
+Alice in Wonderland is a book by <a
 href="http://en.wikipedia.org/wiki/Lewis_Carroll">Lewis Carroll</a>, which was
 the pen name of Charles Lutwidge Dodgson.
 </p>
 <h2 id="gulliver">Gulliver's Travels</h2>
 
 <p>
-Gulliver's Travels is a novel by Jonathan Swift. While not intended as 
+Gulliver's Travels is a novel by Jonathan Swift. While not intended as
 Children's literature, it became popular as such.
 </p>
 
 Treasure Island is a novel by Robert Louis Stevenenson about pirates.
 </p>
 
-<h2 id="musketeers"><a href="http://en.wikipedia.org/wiki/The_Three_Musketeers">The 
+<h2 id="musketeers"><a href="http://en.wikipedia.org/wiki/The_Three_Musketeers">The
 Three Musketeers</a></h2>
 
 <p>

hebrew-html-tutorial/sgml/docbook-css/docbook-css-0.4/core.css

  */
 
 /* Generated 2002-12-12 */
-abbrev, accel, acronym, action, application, artpagenums, authorinitials, 
-bibliocoverage, biblioid, bibliomisc, bibliorelation, bibliosource, citation, 
-citebiblioid, citerefentry, citetitle, city, classname, co, command, 
-computeroutput, constant, coref, country, database, date, email, emphasis, 
-envar, errorcode, errorname, errortext, errortype, exceptionname, fax, 
-filename, firstname, firstterm, funcdef, funcparams, function, group, 
-guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, hardware, 
-honorific, initializer, inlineequation, inlinegraphic, inlinemediaobject, 
-interface, interfacename, invpartnumber, isbn, issn, keycap, keycode, 
-keycombo, keysym, lineage, lineannotation, link, literal, markup, medialabel, 
-member, menuchoice, methodname, methodparam, modifier, mousebutton, olink, 
-ooclass, ooexception, oointerface, option, optional, orgdiv, orgname, 
-otheraddr, othername, pagenums, paramdef, parameter, phone, phrase, pob, 
-postcode, productname, productnumber, prompt, property, pubdate, pubsnumber, 
-quote, refpurpose, replaceable, returnvalue, revnumber, seriesvolnums, 
-sgmltag, shortcut, state, street, structfield, structname, subscript, 
-superscript, surname, symbol, systemitem, token, trademark, type, ulink, 
+abbrev, accel, acronym, action, application, artpagenums, authorinitials,
+bibliocoverage, biblioid, bibliomisc, bibliorelation, bibliosource, citation,
+citebiblioid, citerefentry, citetitle, city, classname, co, command,
+computeroutput, constant, coref, country, database, date, email, emphasis,
+envar, errorcode, errorname, errortext, errortype, exceptionname, fax,
+filename, firstname, firstterm, funcdef, funcparams, function, group,
+guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, hardware,
+honorific, initializer, inlineequation, inlinegraphic, inlinemediaobject,
+interface, interfacename, invpartnumber, isbn, issn, keycap, keycode,
+keycombo, keysym, lineage, lineannotation, link, literal, markup, medialabel,
+member, menuchoice, methodname, methodparam, modifier, mousebutton, olink,
+ooclass, ooexception, oointerface, option, optional, orgdiv, orgname,
+otheraddr, othername, pagenums, paramdef, parameter, phone, phrase, pob,
+postcode, productname, productnumber, prompt, property, pubdate, pubsnumber,
+quote, refpurpose, replaceable, returnvalue, revnumber, seriesvolnums,
+sgmltag, shortcut, state, street, structfield, structname, subscript,
+superscript, surname, symbol, systemitem, token, trademark, type, ulink,
 userinput, varname, volumenum, wordasword, year {
 	display:inline;
 }
 
-abstract, ackno, address, answer, appendix, article, attribution, authorblurb, 
-bibliodiv, biblioentry, bibliography, bibliomixed, bibliomset, biblioset, 
-blockquote, book, callout, calloutlist, caption, caution, chapter, 
-cmdsynopsis, colophon, constraintdef, dedication, epigraph, equation, example, 
-figure, formalpara, glossary, glossdef, glossdiv, glossentry, glosslist, 
+abstract, ackno, address, answer, appendix, article, attribution, authorblurb,
+bibliodiv, biblioentry, bibliography, bibliomixed, bibliomset, biblioset,
+blockquote, book, callout, calloutlist, caption, caution, chapter,
+cmdsynopsis, colophon, constraintdef, dedication, epigraph, equation, example,
+figure, formalpara, glossary, glossdef, glossdiv, glossentry, glosslist,
 graphic, graphicco, highlights, imagedata, imageobjectco, important, index,
 indexdiv,  indexentry, informalequation, informalexample, informalfigure,
 informaltable, itemizedlist, legalnotice, listitem, lot, lotentry,
 qandaset, question, refentry, refentrytitle, reference, refnamediv, refsect1,
 refsect2, refsect3, refsection, refsynopsisdiv, revhistory, screenco,
 screenshot, secondaryie, sect2, sect3, sect4, sect5, section, seealsoie, seeie,
-set, setindex, sidebar, simpara, simplemsgentry, simplesect, step, substeps, 
-subtitle, synopfragment, synopfragmentref, table, term, tertiaryie, tip, 
-title, toc, tocback, tocchap, tocentry, tocfront, toclevel1, toclevel2, 
-toclevel3, toclevel4, toclevel5, tocpart, variablelist, varlistentry, warning, 
+set, setindex, sidebar, simpara, simplemsgentry, simplesect, step, substeps,
+subtitle, synopfragment, synopfragmentref, table, term, tertiaryie, tip,
+title, toc, tocback, tocchap, tocentry, tocfront, toclevel1, toclevel2,
+toclevel3, toclevel4, toclevel5, tocpart, variablelist, varlistentry, warning,
 sect1 {
 	display:block;
 }
 
-appendixinfo, area, areaset, areaspec, articleinfo, bibliographyinfo, 
+appendixinfo, area, areaset, areaspec, articleinfo, bibliographyinfo,
 blockinfo, bookinfo, chapterinfo, colspec, glossaryinfo, indexinfo, indexterm,
-itermset, modespec, objectinfo, partinfo, prefaceinfo, primary, refentryinfo, 
-referenceinfo, refmeta, refsect1info, refsect2info, refsect3info, 
-refsectioninfo, refsynopsisdivinfo, screeninfo, secondary, sect1info, 
-sect2info, sect3info, sect4info, sect5info, sectioninfo, see, seealso, 
+itermset, modespec, objectinfo, partinfo, prefaceinfo, primary, refentryinfo,
+referenceinfo, refmeta, refsect1info, refsect2info, refsect3info,
+refsectioninfo, refsynopsisdivinfo, screeninfo, secondary, sect1info,
+sect2info, sect3info, sect4info, sect5info, sectioninfo, see, seealso,
 setindexinfo, setinfo, sidebarinfo, spanspec, tertiary {
 	display:none;
 }
 
-classsynopsisinfo, funcsynopsisinfo, literallayout, programlisting, screen, 
+classsynopsisinfo, funcsynopsisinfo, literallayout, programlisting, screen,
 synopsis {
 	white-space:pre;
 	font-family:monospace;

hebrew-html-tutorial/sgml/docbook-css/docbook-css-0.4/mozilla.css

  *   http://www.badgers-in-foil.co.uk/projects/docbook-css/
  *
  * This file contains CSS specific to mozilla.org's Gecko rendering engine.
- * 
+ *
  * Some of the rules here will take effect even if you aren't using a Mozilla-
  * based browser.
  */

hebrew-html-tutorial/sgml/docbook-css/docbook-css-0.4/opera.css

  *
  * This file contains CSS specific to the Opera browser.
  */
- 
+
 /*
  * Discovered -o-link from,
  * http://groups.google.com/groups?q=opera+styles+xml&start=10&hl=en&lr=&ie=UTF-8&newwindow=1&selm=opr6pgr0tgicz8n2%40news.opera.com&rnum=18

hebrew-html-tutorial/sgml/docbook-css/docbook-css-0.4/styles.css

 /* Have admonition titles appear inline with generated content ("Note:" etc.) */
 warning>title, caution>title, tip>title, note>title, important>title {
 	display: inline;
-	
+
 }
 
 warning:before, caution:before, tip:before, note:before, important:before {

hebrew-html-tutorial/sgml/shlomif-docbook/dsssl-stylesheets/shlomif-essays.dsl

 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
-<!ENTITY html-ss 
+<!ENTITY html-ss
   PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
 <!ENTITY print-ss
   PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
 ]>
 <style-sheet>
 <style-specification id="print" use="print-stylesheet">
-<style-specification-body> 
+<style-specification-body>
 (define %bop-footnotes%
    ;; Make "bottom-of-page" footnotes?
    #t)
       )
       (sosofo-append
         (make formatting-instruction  data: "\\href{" )
-        (make formatting-instruction 
+        (make formatting-instruction
             data: (attribute-string (normalize "url")) )
         (make formatting-instruction  data: "}{" )
         (process-children) ;; Wrote the text with its format (HTML anchor)
 </style-specification-body>
 </style-specification>
 <style-specification id="html" use="html-stylesheet">
-<style-specification-body> 
+<style-specification-body>
 
 ;; customize the html stylesheet
 (define %html-ext%

hebrew-html-tutorial/style.css

 a:hover { background-color : palegreen; }
 :lang(he)
-{ 
-    font-family: David; 
+{
+    font-family: David;
     text-align:right;
     direction:rtl;
 }
 :lang(en)
-{ 
+{
     font-family: Times New Roman, Times, Serif;
     text-align:left;
     direction: ltr;