Class Schedule
21 Aug | intro
23 Aug | clients
28 Aug | servers
30 Aug | networks
04 Sep | basics lab
06 Sep | structural layer
11 Sep | presentational layer
18 Sep | working with layers
20 Sep | behavior layer
25 Sep | images & design
27 Sep | website lab
02 Oct | object layers |
control objects |
objects practice |
control display |
display practice |
next session
04 Oct | tools that read markup
09 Oct | document markup lab
11 Oct | spreadsheets, formulas & functions
16 Oct | data display
18 Oct | Fall Break
23 Oct | database tools
25 Oct | spreadsheets lab
30 Oct | relational databases
01 Nov | tables
06 Nov | relationships
08 Nov | input & output
13 Nov | SQL
15 Nov | complex queries
20 Nov | databases lab
22 Nov | Thanksgiving
27 Nov | presentation design
29 Nov | presentation delivery
04 Dec | presentation lab
13 Dec | 0800-1100 | final in class presentation
This work
is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
home & schedule | class blog | syllabus | contact | grades
If you need some practice with the object markup tools, do these practice exercises.
THEY DO NOT NEED TO BE TURNED IN.
Practice setting up a document using The Awful German Language, by Mark Twain. If you haven't done it already, copy it all, then paste it into a Word document so we can work with it. The screenshots on this page will be of a different document, but the procedures you follow will be the same
The document is now ready to be formatted with more sophisticated tools. Save it as
Saving it as a .docx or .odt allows you to do some object manipulation not available in a .txt file. If you choose to use another markup tool, be sure to use one that creates files that can be opened in a basic windows PC, one that has either MSOffice or OpenOffice installed.
Set this document up for publishing. The instructions below assume you use MSWord. You don't have to use this tool, but if you use another tool, be sure that the end result meets the specs.
Use the find and replace tool (it's easiest to use CNTL+H) to tidy up the text. You can see that there is a single paragraph mark each time the line needs to break, and there are two consecutive paragraph marks each time a new paragraph starts. We need to replace all the non-essential paragraph marks with blank spaces, so that the text will wrap automatically all the way to the end of each paragraph. This is a multi-step process.
This means you need to find two consecutive paragraph marks because the raw text uses a paragraph mark to break a line and uses two consecutive paragraph marks to denote a paragraph break. Either use the More and Special buttons to find a Paragraph mark, or type in ^p^p.
You want to replace these markup symbols with some special mark not in the text [so you can differentiate between end of sentence breaks and end of paragraph breaks]. You could mark the end of each paragraph by using three @ characters, by typing in @@@. In fact, you want to replace all to make sure it actually goes through the entire text and replaces everything.
You now have used the @@@ symbols to mark the paragraphs.
What was the end of sentence markup? It was a single paragraph mark. So you need to find all the single paragraph marks [^p] and replace them all with a space.
Why a space?
You have now taken out all the unnecessary paragraph marks and allowed the text to wrap in each paragraph.
So find all the symbols that marked the paragraph breaks.
How many replacements do you think it will make? If you replaced the original end of paragraph markup with new symbols, this find and replace action should put an actual paragraph ending mark in the same number of places.
Now the document is set up with all the lines wrapping, with paragraph marks used only to designate a true break between paragraphs. It may not be perfect, so be ready to modify some items if you discover problems. We want to have a good-looking product.
Set the document up for the a printer. But before you do that, be sure that your program is set up to work for you and not against you. From File, find your Options,
and be sure your measurement units are in inches. [do this for this exercise only; you can use any measurement unit you prefer in your own work]
Set up the pages so that they will print out in European letter paper format, on both sides of the paper in portrait orientation. The pages should have a .5 inch gutter with mirrored margins, .75 inch margins inside and outside, 1 inch margins top and bottom.
Format the document so that it looks like a polished product. Apply the Urban theme template from the Theme Style Gallery (so that you will have access to a pre-set stylesheet).
This will provide you a CSS-like set of styles that you will modify in future exercises.
Since the document is now formatted with all text in the Normal style, we need to modify the Normal style
Using the Styles sidebar, select all the instances of the Normal style so that you can modify the style
Modify the paragraph property to 0" indentation and Auto spacing before and after
This has allowed us to modify our Style Sheet so that each time we use the Normal style, we will have the indentation we want and the correct spacing between paragraphs