Guido> So the first thing would be to
Guido> write a 'parser' for the sane net-protocol and the
Guido> datastructures. One good thing is that datastructures like
Guido> 'byte' and 'int' always have the same size in Java (unlike
Guido> C), so this mapping should be easy. Well, I have to think a
Guido> little more about that.
Yup. I guess you'd also have to define the Java SANE API, but all
that involves is coming up with a few datastructures (for device-lists
etc). Doing the net codec is the next step then.
Guido> BTW, I have problems to run latex over sane.tex: first:
Guido> (/usr/lib/texmf/texmf/tex/latex/misc/changebar.sty)
Guido> (html.sty)
Guido> ! Undefined control sequence.
Guido> l.5 \driver
Guido> {DVIPS} % tell changebar.sty how to draw bars
Oops. I was using an older version of changebar.sty. The patch below
fixes the problem.
Guido> I get two more error messages concerning changebar, but get a
Guido> .dvi file in the end.
Ah, that was a typo: somewhere sane.tex it said:
\end(changebar)
Just change the parens into curly braces (\end{changebar}) and you should
be all set.
--david
--- sane.tex~ Mon Apr 21 15:17:55 1997
+++ sane.tex Tue Apr 22 07:17:46 1997
@@ -1,8 +1,6 @@
-\documentclass[11pt]{report}
+\documentclass[11pt,DVIps]{report}
\usepackage{times,epsfig,changebar,html}
-
-\driver{DVIPS} % tell changebar.sty how to draw bars
\setlength{\parindent}{0pt}
\setlength{\parskip}{1.5ex plus 0.5ex minus 0.5ex}
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com