Notes on Diffy Qs: Differential Equations for Engineers
A free online textbook. See http://www.jirka.org/diffyqs/
masterbranch is the current working version, currently it is what will become edition 6. See TODO and CHANGES files. Backward compatibility will be kept with this edition: Numbering of exercises, sections, chapters will not change. New chapter (appendix) will be added, and a couple new sections, and some new exercises. Pagination will change, and numbering of some examples, figures, etc... may change, but numbering changes will be kept to a minimum.
edition5branch is edition 5 and only smaller fixes or smaller changes that don't really change content or pagination go here. Only very minor fixes or style changes. Version 5.4 was released from this branch, but likely there won't be a 5.5 unless major errata are found. The plan is to make edition 6 by spring/summer 2019.
diffyqs.texis the main file, no real content here, that's in the chapter files
ch-*.texare the files with the content of the various chapters
ap-*.texare the files with the content of the various apendices (only one right now)
diffyqssetup.styis the preamble for the PDF version
Figures are in
cover.*: the blue lulu version of the cover
logo.png: small logo for the web version
.sh) and Perl(
.pl) scripts here are mostly really hacky ways to just do things. Feel free to ignore them.
runpdf.shdoes a thorough job of compiling the source to a pdf
getstats.shgets statistics about the current version like number of exercises, and such.
convert-to-mbx.*is work in progress conversion script to PreTeXt (used to be MathBookXML or MBX) for a better looking online version. The output is not plain PreTeXt, it contains custom elements. The script to run is
convert-to-mbx.sh, which is a shell script. This runs
convert-to-mbx.plwhich actually does the conversion, then it runs
xsltprocon the result. The result is stored in
htmlsubdirectory (old one is moved out of the way). Some svg and png figures are created in the process, they can be optimized by
svgowhich you might have to install) and
optimize-pngs.sh. Currently uses the svgs by default with pngs as fallbacks. Notice that
svgocurrently clobbers some of the more complicated figures without disabeling one of the plugins. So best to check the output for correctness. There is a flag
--fullfor doing the entire conversion and optimization.
diffyqs-html.xsl: The xsl to use to convert the PreTeXt output.
fixup-html-file.pl: a perl script invoked in the web version generation
extra.css: extra CSS for the web version.
pdftopng.shis a script to convert a pdf figure to a png.
resizepdftocrownquatro.shis a script to resize a pdf into a crown quatro size paper, run it with
resizepdftocrownquatro diffyqswhich will take
The tex sources require a very recent LaTeX, if your latex does not have a recent enough ocgx2 package, you can simply comment out that line in
Some of the files in
diffyqssetup-tex4ht.styis the preamble for creating the old web version with tex4ht, but this is unlikely to work for anyone. Also note that the google tracking code for my website is here, so if you want to use this you should change that first.