DEPRECATED Please [Visit JavaNote Ebook](https://github.com/joielechong/javanote-book) for new work Indonesian translation. June, 2011 This is the README file for the javanotes source download... Directory javanotes-6.0-source contains the source files that are used to produce the web site, PDF, and ebook versions of "Introduction to Programming using Java", sixth edition. This free textbook (or a later edition) can be found on the web at: http://math.hws.edu/javanotes Everything in this directory is released under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License (see http://creativecommons.org/licenses/by-nc-sa/3.0/). You are given permission by the author and copyright holder, David J. Eck, to make and distribute copies of this work or modified versions of this work, for non-commercial purposes, provided that you include a clear attribution to the author of the original work and make clear any modifications that you have made. The attribution should include a reference to the web site, http://math.hws.edu/javanotes. ADDITIONALLY, permission is given to use Java source code from this work in programming projects [but not in educational material] without restriction and without attribution, for commercial or non-commercial purposes. No claim is made about the suitability or reliability of any of the source code. The source files for "Introduction to Programming using Java" include XML files, which contain most of the text; XSLT transformation files, which are used to translate the XML files into a web site and LaTeX files; image files for both the web and PDF versions; Java source code files for examples in the textbook; scripts for building the web site and PDF versions; and other miscellaneous files. Build scripts are provided for Windows (.bat files) and for Linux/Mac (.sh files). (The scripts have been tested on at least one machine, but are not guaranteed to work for you.) Making any modifications to the source will require a fair amount of expertise in a variety of technologies. The source was not originally designed for publication and comes with minimal instructions and help. It is provided as-is, with no guarantee of usefulness or usability. To use the source files, you will need Java (Version 5 or later) and the Xalan Java XSLT processor (tested with version 2.7.1). To build the PDF versions, you will also need the TeX typesetting system -- in particular the latex and dvipdf commands. For information on getting TeX, see http://www.latex-project.org/ftp.html. The build scripts for the PDF versions assume that the command "latex" is available on your system, and also that "dvipdf" (on Linux/MacOS) or "dvips" and "ps2pdf" (Windows) are available. Alternative command names, or full paths to the commands, can be set by editing the script BUILD-env.sh or BUILD-env.bat and providing new definitions for the appropriate variables. Xalan can be obtained from http://xml.apache.org/xalan-j/downloads.html Two versions are available, xalan-j_2_7_1-bin.zip or xalan-j_2_7_1-bin-2jars.zip ; either one will work. To make things as easy as possible, you can extract Xalan-J in the javanotes-6.0-source directory, and rename the directory from something like "xalan-j_2_7_1" to "xalan". Alternatively, you can edit the script BUILD-env.sh or BUILD-env.bat, and define XALAN_DIR to refer to the correct directory name for Xalan. (Or, you could make a symbolic link from "xalan" to the Xalan directory.) Note that you really only need the .jar files in the Xalan directory. The following scripts are provided: BUILD-env.sh or BULID-env.bat --- defines variables used in other scripts. BUILD-web-site.sh or BUILD-web-site.bat --- creates the web site version of the book. --- This does NOT require LaTeX. BUILD-pdf.sh or BUILD-pdf.bat --- creates the regular PDF version of the book, (suitable mostly for printing) BUILD-linked-pdf.sh or BUILD-linked-pdf.bat --- creates the linked PDF version of the book, (suitable mostly for on-screen reading) BUILD-all.sh or BUILD-all.bat --- runs the scripts to build all versions, except ebooks, with output turned off. (Takes a while!) BUILD-epub.sh --- creates an ebook in EPUB format and converts it to MOBI format using amazon's kindlegen program. This is a new, experimental feature in Version 6.0.3. All these scripts put their output in a directory named build_output (but the destination can be changed by redefining BUILD_OUTPUT_DIR in BUILD-env.sh or BUILD-env.bat.) Note that not all errors are detected by the scripts, so you will have to check the output directory to make sure that the output was actually produced correctly. Here is a little more information for people who would like to try producing modified versions of the textbook... The XML files that define the sections of the various chapters in the book can be found in one directory per chapter. The directories are named overview, basics, control, subroutines, OOP, GUI1, arrays, robustness, recursion, generics, IO, threads, and GUI2. These directories also contain other files, such as images and .jar files, that are used in each chapter in the web site version of the book. The directories also contain XML files for the chapter quiz and exercises. The Java source code files for the examples in the textbook are in the directory named source. The syntax of the XML files is defined by the DTD file, javanotes6.dtd. This is a fairly simple, home-brewed DTD. Note that the elements <web>...</web> and <webdiv>...</webdiv> defines content that is sent only to the web site version of the book, while <tex>...</tex> and <texdiv>...</texdiv> define content that goes only to the LaTeX (that is, PDF) versions. Also note that entity names are defined to refer to the XML files that define the individual sections of the book. The file javanotes6.xml is the main xml file that is processed to create the web site version of the book. It simply reads in javanotes6-xml-includes.txt, which in turn reads in all the individual xml files for the individual sections. For the LaTeX/PDF versions, the main xml file is javanotes6-tex.xml. Xalan is used with the XSLT files convert-web.xsl, convert-tex.xsl, and convert-tex-linked.xsl to process the XML files. Note that the XSLT files use features specific to Xalan-j, so they cannot be expected to work with other XSLT processors. Many of the images used in the book were created using the program OmniGraffle on Mac OS. The OmniGraffle sources can be found in the directory images-sources (but unfortunately will be of no use to someone who does not have that program). The images were exported in PNG format for use on the web and in EPS format for use with LaTeX. The LaTeX images are in the directory images-tex. The PNG images have been copied into the individual chapter directories in which they are used. Unfortunately, I don't have a script for building all the applets that are found in the web site version of the book. The necessary jar or class files were created by hand. You are welcome to write to me for more information, but I can't promise to help you through all the difficulties of using the source code. --Professor David J. Eck Department of Mathematics and Computer Science Hobart and William Smith Colleges 300 Pulteney Street Geneva, NY 14456 USA Email: eck@hws.edu Web: http://math.hws.edu/eck
joielechong/Introduction-to-Programming-Using-Java--Sixth-Edition
Indonesian Translation of Introduction to Programming Using Java, Sixth Edition
PostScript