5/7/2023 0 Comments View full texshop historyThe convention of hexadecimal 0a for newline is not universal, and linebreaks are often a conversion problem when moving text files between computers running different operating systems. Notice that capital letters are distinct from lowercase, and spaces and new lines need their own bytes. (The Wikipedia page on hexadecimal explains how base 16 numbers are written.) In hexadecimal the same numbers are written: I SP a m SP a SP t e s t SP f i l eĤ9 20 61 6d 20 61 20 74 65 73 74 20 66 69 6c 65Ģe 0a 49 20 68 61 76 65 20 32 20 6c 69 6e 65 73 It is more conventional to write numerical representations like this in hexadecimal, which has exactly two digits per byte. Here is ascii.txt (in emp2): I am a test file. The American Standard Code for Information Interchange: Roman letters, numbers, punctuation and control characters correspond to 7-bit numbers (0 to 127) each character fits in a byte (8 bits). (image CC-BY Wendell Oskay) Text encoding ASCII Text images could be bitmaps like this or curves, as in Postscript, PDF, SVG. (Slightly modified from those used during the workshop.) How does a computer represent text? Text encoding H e l l o w o r l dĤ8 65 6c 6c 6f 20 77 6f 72 6c 64 Markup Hello world Image Unzip this and place the resulting emp2 folder some place where you can find it (like your home directory). Komodo Edit is optional any text editor will do, though I’ll occasionally refer to details in Komodo (menu items, etc.) that may be slightly different in other editors. In order to do the workshop on your own, first install Pandoc and LaTeX (links above). The business of plain-text-slinging, a minor craft on its own, nonetheless forms a natural starting point for thinking more deeply about analyzing digitized texts, expressing yourself in “code” of various kinds, and composing in the digital medium. The actual “empowerment” (modest but real) comes in getting a more detailed understanding of the way the systems we already use handle text, and in learning more ways to manipulate that text, beyond the confines of any single program. The creator of markdown, John Gruber, has a page which allows you to experiment with markdown in your browser. (A large download.)įor more on what these things are all about, you may wish to read AG’s pages about markdown and LaTeX. Pandoc for markdown-to-HTML conversion.You may use any other text editor you prefer, of course. Komodo Edit for the introduction to text editing.If you prefer to bring your own laptop computer for some or all of the workshop, here is the software we will be using (all free and cross-platform): At the workshop, all the software we will use will be available on the lab machines. Suggested: bring a document you have written on your computer, in any format. Please email Vishal Kamath to register at vkamath at. Graduate students, faculty, and staff are welcome. This workshop is free but spaces are limited. No prior experience with any form of markup or other computer coding is required. Finally, we will introduce the LaTeX document-processing system, which elegantly typesets plain text into PDF files. Then we will learn to convert markdown into equivalent HTML markup using Pandoc. We will begin with markdown, a minimal but versatile set of plain-text conventions. We will dally with three related computer languages in rapid succession. In order to attain liberation from Word, we will explore the difference between text editors and word processors, discuss the ways computers represent text as content or form, and experiment with some key technologies for digital document preparation. This workshop aims to expand our horizons for thinking about how we handle text on our computers. Taught by Andrew Goldstone, English Department. Alexander Library 413 169 College Ave., New Brunswick, NJ
0 Comments
Leave a Reply. |