User contributions
Jump to navigation
Jump to search
- 09:00, 16 July 2007 diff hist 2,378 bytes m The rest of the filters
- 09:00, 16 July 2007 diff hist 511 bytes m Translating Table markup
- 09:00, 16 July 2007 diff hist 2,215 bytes m Translating Figure markup
- 09:00, 16 July 2007 diff hist 1,011 bytes m Simple replacements
- 08:59, 16 July 2007 diff hist 545 bytes m Removing unwanted markup
- 08:59, 16 July 2007 diff hist 544 bytes m Removing unwanted markup
- 08:10, 16 July 2007 diff hist 1,965 bytes m Click and navigate to chapters and sections
- 08:09, 16 July 2007 diff hist 1,963 bytes Click and navigate to chapters and sections
- 08:08, 16 July 2007 diff hist 874 bytes m Setting up ConTeXt document
- 08:07, 16 July 2007 diff hist 1,212 bytes m Navigating to HTML page
- 08:07, 16 July 2007 diff hist 320 bytes HTML to ConTeXt
- 08:06, 16 July 2007 diff hist 1,943 bytes Click and navigate to chapters and sections
- 08:05, 16 July 2007 diff hist 873 bytes Setting up ConTeXt document
- 08:04, 16 July 2007 diff hist 856 bytes Setting up ConTeXt document
- 08:03, 16 July 2007 diff hist 1,211 bytes m Navigating to HTML page
- 08:03, 16 July 2007 diff hist 1,209 bytes Navigating to HTML page
- 08:02, 16 July 2007 diff hist 1,174 bytes Navigating to HTML page
- 07:58, 16 July 2007 diff hist 2,229 bytes m HTML and ConTeXt →A Solution
- 07:57, 16 July 2007 diff hist 2,229 bytes HTML and ConTeXt →The Problem
- 07:55, 16 July 2007 diff hist 2,354 bytes The rest of the filters New page: <pre> # Now we transfer the syntactically altered html to a string Object # and manipulate that object further newdoc=@article.inner_html # remove empty space in the beginning newdoc.g...
- 07:54, 16 July 2007 diff hist 488 bytes Translating Table markup New page: <pre> # Tables : placing them # replace <p><img> by equivalent command in context (@article/"table").each do |tab| if tab.at("caption") tab.swap(" \\placetable[split]{#{tab.at("capt...
- 07:53, 16 July 2007 diff hist 2,192 bytes Translating Figure markup New page: <pre> Let's deal with figure references first # when we encounter a reference to a figure inside the...
- 07:52, 16 July 2007 diff hist 987 bytes Simple replacements New page: For many elements we need not do nothing more than translating the HTML elements into correspoding ConTeXt elements and filling it up with the "inner html". Elements such as h1, strong etc...
- 07:52, 16 July 2007 diff hist 522 bytes Removing unwanted markup New page: Not all the markup in HTML is needed. We need to remove them first. The following is based on the markup used in Informl. <pre> # Function: scrape_page.rb def scrape_the_page(pagePath,oF...
- 07:51, 16 July 2007 diff hist 290 bytes HTML to ConTeXt
- 07:50, 16 July 2007 diff hist 140 bytes HTML to ConTeXt New page: Here is where most of the fun happens. I will try to illustrate the HTML to ConTeXt translation for the various markup elements one by one.
- 07:49, 16 July 2007 diff hist 1,915 bytes Click and navigate to chapters and sections New page: In this example, we created new pages for chapters and sections so that each part of the document could be authored by a different person. In Informl new pages are indicated by the CSS cl...
- 07:47, 16 July 2007 diff hist 798 bytes Setting up ConTeXt document New page: <pre> mainfil="annrep.tex" # open a file to output ConTeXt document `r...
- 07:46, 16 July 2007 diff hist 1,150 bytes Navigating to HTML page
- 07:43, 16 July 2007 diff hist 1,107 bytes Navigating to HTML page New page: The next step is to retrieve the HTML pages created in the step above. Here I have used the ruby library 'open-uri' to retrieve the web-page and another libray 'hpricot' to edit these page...
- 07:42, 16 July 2007 diff hist 2,230 bytes HTML and ConTeXt →Translating HTML into ConTeXt using Ruby
- 07:36, 16 July 2007 diff hist 1,938 bytes HTML and ConTeXt
- 07:29, 16 July 2007 diff hist 1,986 bytes HTML and ConTeXt
- 07:19, 16 July 2007 diff hist 36,077 bytes HTML and ConTeXt →Filtering HTML into ConTeXt
- 06:45, 16 July 2007 diff hist 10,867 bytes HTML and ConTeXt
- 06:04, 16 July 2007 diff hist 25 bytes File:Wiki prev2.jpg Identifying chapter names current
- 05:35, 16 July 2007 diff hist 32 bytes File:Wiki prev.jpg Preview feature of the Wiki page current
- 04:59, 16 July 2007 diff hist 1,913 bytes HTML and ConTeXt
- 04:50, 16 July 2007 diff hist 1,748 bytes HTML and ConTeXt
- 14:31, 14 July 2007 diff hist 166 bytes HTML and ConTeXt
- 14:22, 14 July 2007 diff hist 15 bytes HTML and ConTeXt New page: < Main Page