[Commit] papers/twin-ols2005 Makefile, 1.1, 1.2 README, NONE, 1.1 ols-fonts.tex, 1.1, 1.2 ols.sty, 1.1, 1.2 twin-ols2005.tex, 1.1, 1.2

Keith Packard commit at keithp.com
Thu May 12 19:58:44 PDT 2005


Committed by: keithp

Update of /local/src/CVS/papers/twin-ols2005
In directory home.keithp.com:/tmp/cvs-serv4608

Modified Files:
	Makefile ols-fonts.tex ols.sty twin-ols2005.tex 
Added Files:
	README 
Log Message:
Spelling and switch to cloister

Index: Makefile
===================================================================
RCS file: /local/src/CVS/papers/twin-ols2005/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile	13 May 2005 01:34:39 -0000	1.1
+++ Makefile	13 May 2005 02:58:41 -0000	1.2
@@ -21,12 +21,6 @@
 
 all: $(TOP).ps $(TOP).pdf $(TOP).www/$(TOP).html
 
-#.PHONY: subdirs
-
-subdirs:
-#	@${MAKE} -C figures ${MAKECMDGOALS}
-#	@${MAKE} -C examples ${MAKECMDGOALS}
-
 SVGFILES:=$(wildcard *.svg)
 PNGFILES:=$(wildcard *.png)
 FIGFILES:=$(wildcard *.fig)
@@ -38,20 +32,20 @@
 $(TOP).ps: $(TOP).dvi
 	dvips -t letter -o $(TOP).ps $(TOP)
 
-$(TOP).dvi: $(TEXFILES) $(EPSFILES) subdirs
+$(TOP).dvi: $(TEXFILES) $(EPSFILES) ols.sty
 	latex $(TOP) || true
 	bibtex $(TOP) || true
 	latex $(TOP) || true
 	latex $(TOP)
 
-#$(TOP).pdf: $(TOP).dvi
-#	dvipdf $(TOP).dvi $@
+$(TOP).pdf: $(TOP).dvi
+	dvipdf $(TOP).dvi $@
 
-$(TOP).pdf: $(TEXFILES) $(PDFFILES)
-	pdflatex $(TOP) || true
-	bibtex $(TOP) || true
-	pdflatex $(TOP) || true
-	pdflatex $(TOP)
+#$(TOP).pdf: $(TEXFILES) $(PDFFILES)
+#	pdflatex $(TOP) || true
+#	bibtex $(TOP) || true
+#	pdflatex $(TOP) || true
+#	pdflatex $(TOP)
 
 $(TOP).www/$(TOP).html: $(TOP).www $(TEXFILES)
 	latex2html -white -dir $(TOP).www -split 0 -no_navigation $(TOP).tex
@@ -59,7 +53,7 @@
 $(TOP).www:
 	mkdir -p $@
 
-clean: subdirs
+clean:
 	rm -f *.aux *.dvi *.log 
 	rm -f $(EPSFILES)
 	rm -f $(TOP).ps $(TOP).pdf $(TOP).bbl $(TOP).blg

--- NEW FILE: README ---
To convert from 12pt cloister to 10pt times:

Adjust the text height in ols.sty from 8.885 in to 8.939 in.  This ensures
that TeX aligns the columns of text correctly in the face of figures which
aren't precisely a multiple of the line spacing.

Switch from dvipdf to pdflatex in the Makefile.  pdflatex can't handle the
cloister fonts in their current Type42 format. I should switch them to pure
Type1 so everyone will be happy.  There aren't any hints in these fonts, so
nothing will be lost in the translation.

Switch from cloister to times in ols-fonts.sty, commenting out the
baselinestretch adjustment as well.

Change the baselineskip in the section header from 15.4pt to 12pt.
Yes, it would be nice if this were automatable, but I can't figure out how.

Change the 10pt to 12pt in the documentclass declaration
Flip the accents around -- cloister's roman acute and grave accents are
backwards (!).  Find all of the \' and convert to \` when used with roman
text.

To convert from 10pt times to 12pt cloister, reverse these changes.

Index: ols-fonts.tex
===================================================================
RCS file: /local/src/CVS/papers/twin-ols2005/ols-fonts.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ols-fonts.tex	13 May 2005 01:34:39 -0000	1.1
+++ ols-fonts.tex	13 May 2005 02:58:41 -0000	1.2
@@ -6,9 +6,9 @@
 \usepackage{isolatin1}
 \usepackage{latexsym}
 \usepackage{textcomp}
-%\usepackage{cloister}
-%\renewcommand\baselinestretch{1.05}
-\usepackage{times}
+\usepackage{cloister}
+\renewcommand\baselinestretch{1.05}
+%\usepackage{times}
 %\usepackage{eco}
 \usepackage{url}
 \usepackage[T1,obeyspaces]{zrl}

Index: ols.sty
===================================================================
RCS file: /local/src/CVS/papers/twin-ols2005/ols.sty,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ols.sty	13 May 2005 01:34:39 -0000	1.1
+++ ols.sty	13 May 2005 02:58:41 -0000	1.2
@@ -22,7 +22,10 @@
 %\setlength{\textheight}{9.0in}
 % carefully computed to fit an even number of lines
 % if even 1/1000 off, columns may not line up if a figure appears
-\setlength{\textheight}{8.939in}
+% 10pt times
+%\setlength{\textheight}{8.939in}
+% 12pt cloister
+\setlength{\textheight}{8.855in}
 \setlength{\columnsep}{0.25in}
 \setlength{\textwidth}{6.45in}
 \setlength{\footskip}{0.0in}
@@ -57,7 +60,7 @@
 %make section titles italic and a bit larger, but set on the same leading
 % as normal text
 \def\section{\@startsection {section}{1}{\z@}{\normalbaselineskip}
-{\normalbaselineskip}{\center\large\it\setlength{\baselineskip}{12pt}}}
+{\normalbaselineskip}{\center\large\it\setlength{\baselineskip}{15.4pt}}}
 
 %make subsection titles italic in the text size
 %\def\subsection{\@startsection {subsection}{2}{\z@}{\normalbaselineskip}

Index: twin-ols2005.tex
===================================================================
RCS file: /local/src/CVS/papers/twin-ols2005/twin-ols2005.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- twin-ols2005.tex	13 May 2005 01:34:39 -0000	1.1
+++ twin-ols2005.tex	13 May 2005 02:58:41 -0000	1.2
@@ -1,4 +1,4 @@
-\documentclass[twocolumn,10pt,twoside]{article}
+\documentclass[twocolumn,12pt,twoside]{article}
 \usepackage{ols}
 \ifpdf
 \usepackage[pdftex]{epsfig}
@@ -83,9 +83,9 @@
 
 \noindent Researchers at the HP Cambridge Research Laboratory are building a
 collection of sub-{\scshape pda} sized general purpose networked computers
-as platforms for dissociated, distributed computing reseach. These
-devices include small {\scshape lcd} or {\scshape oled} screens, a few buttons and occasionally
-some kind of pointing device. 
+as platforms for dissociated, distributed computing research. These devices
+include small {\scshape lcd} or {\scshape oled} screens, a few buttons and
+occasionally some kind of pointing device. 
 
 One of the hardware platforms under development consists of a {\scshape
 tms}320 series
@@ -119,7 +119,7 @@
 
 \noindent The hardware described above can be generalized to provide a
 framework within which the \twin\ architecture fits. By focusing on
-specific hardware capabilties and limitations, the window system will more
+specific hardware capabilities and limitations, the window system will more
 completely utilize those limited resources. Of course, over-constraining
 the requirements can limit the potential target environments. Given the
 very general nature of existing window systems, it seems interesting to
@@ -228,13 +228,13 @@
 \section{Pixel Manipulation}
 
 \noindent \Twin\ uses the basic rendering operational model from
-\hbox{8\half}\cite{pike:draw},
-the window
-system developed for the Plan 9 operating system by Cox and Pike. This
-three-operand rendering operator forms the base upon which all drawing is built:
+\hbox{8\half}\cite{pike:draw}, the window system developed for the Plan 9
+operating system by Cox and Pike, the same as used in the X render
+extension\cite{render:2001}. This three-operand rendering operator forms the
+base upon which all drawing is built:
 
 \begin{kcenter}
-dest = (src {\scshape in} mask) {\scshape over}|{\scshape source} dest
+dst = (src {\scshape in} mask) {\scshape over}|{\scshape source} dst
 \end{kcenter}
 
 The {\scshape in}, {\scshape over} and {\scshape source} operators are as
@@ -300,7 +300,7 @@
 compare favorably with fully hinted outline text.
 
 An additional feature of the stroke representation is that producing oblique
-and bold varients of the face are straightforward; slanting the text without
+and bold variants of the face are straightforward; slanting the text without
 changing the pen shape provides a convincing oblique while increasing the
 pen width produces a usable bold.
 
@@ -317,7 +317,7 @@
 punctuation was chosen. Additional glyphs were designed to provide a
 complete {\scshape ascii} set. The curves within the Hershey glyphs,
 designed as sequences of short line segments, were replaced by cubic
-splines. This served both to improve the apperance of the glyphs under a
+splines. This served both to improve the appearance of the glyphs under a
 variety of transforms as well as to reduce the storage required for the
 glyphs as a single cubic spline can replace many line segments.
 Figure~\ref{fig:glyph} shows a glyph as originally designed with 33 line
@@ -326,7 +326,8 @@
 
 \begin{figure}[htbp]
  \begin{centering}
-  \epsfig{file=glyph.eps}
+  \epsfxsize=3in
+  \epsfbox{glyph}
   \itshape
   \caption{\itshape Converting Lines To Splines}
   \label{fig:glyph}
@@ -347,7 +348,7 @@
 and a list of Y coordinates. Each `snap' list contains values along the
 respective axis where some point within the glyph is designed to lie on a
 pixel boundary. These were constructed automatically by identifying all
-vertical and horizontal segments of each glyph, including splines whos ends
+vertical and horizontal segments of each glyph, including splines whose ends
 are tangent to the vertical or horizontal.
 
 The glyph coordinates are then scaled to the desired size. The two snap
@@ -361,7 +362,8 @@
 
 \begin{figure}[htbp]
  \begin{centering}
-  \epsfig{file=hint.eps}
+  \epsfxsize=3in
+  \epsfbox{hint}
   \itshape
   \caption{\itshape Hinting A Glyph}
   \label{fig:hint}
@@ -386,7 +388,7 @@
 author developed for Xt\cite{xt} library. Each widget has a natural size
 and stretch in both directions. The natural size and stretch of a box is
 computed from the objects it contains. This forms the sole geometry
-management mechnism within the toolkit and is reasonably competent at both
+management mechanism within the toolkit and is reasonably competent at both
 constructing a usable initial layout and adapting to externally imposed size
 changes.
 
@@ -461,7 +463,7 @@
 dispatched directly upon being received from a device. This is certainly
 easy to manage and allows motion events to be easily discarded when the
 system is too busy to process them. However, with the switch to multiple
-independent processes running on ucLinux, it may become necesary to queue
+independent processes running on ucLinux, it may become necessary to queue
 events between the input collection agent and the application processing
 them.
 
@@ -474,7 +476,7 @@
 
 While this mechanism is fully implemented, much investigation remains to be
 done to explore what kinds of operations are useful and whether portions of
-what is now application-defined behaviour should be migrated into common
+what is now application-defined behavior should be migrated into common
 code.
 
 \section{Window Management}
@@ -503,7 +505,8 @@
 
 \begin{figure}[htbp]
  \begin{centering}
-  \epsfig{file=twin.eps}
+  \epsfxsize=3in
+  \epsfbox{twin}
   \itshape
   \caption{\itshape Sample Screen Image}
   \label{fig:twin}
@@ -511,7 +514,7 @@
 \end{figure}
 
 While the basic structure of the \twin\ window system is complete, the
-toolkit is far from complete, having only a few rudementary widgets. And,
+toolkit is far from complete, having only a few rudimentary widgets. And,
 as mentioned above, the port to ucLinux is not yet taking advantage of the
 multiple process support in that environment. These changes will likely be
 accompanied by others as \twin\ is finally running on the target hardware.




More information about the Commit mailing list