Commit Graph

68 Commits

Author SHA1 Message Date
Roger Labbe
0e43c1b9ae All line endings to LF from CRLF 2018-07-14 11:45:39 -07:00
Roger Labbe
59b7120c98 Reran to ensure uptodate with current python environment
Python 3.6.5
2018-07-14 10:58:49 -07:00
Roger Labbe
2eb5b67ddf Fixed Pandoc warning
I was using --chapter, which is deprecated by PanDoc.
2018-07-14 08:47:32 -07:00
Roger Labbe
6eefb93968 Fixed chapter numbering
Edit to book.tplx caused all chapters to be 0.x
2018-05-08 18:21:31 -07:00
Roger Labbe
a63e03e301 Added in/out back to cell output
It was too hard to tell what was embedded sample code and what
was true cell input/output.
2018-05-08 17:36:56 -07:00
Roger Labbe
c3022b7654 Added table of contents
Added table of contents to book. Now annoyingly lists a "contents"
section of two blank pages, but baby steps.
2018-05-08 17:14:37 -07:00
Roger Labbe
782119171d Fixed copy when directory not empty
Was copying the kf_book subdirectory into the existing one
if it was already there, causing PDF build failure if you
didn't clean prior to running it.
2018-02-02 10:52:05 -08:00
Roger Labbe
83f38acc79
Updated to explain only Windows is supported atm 2018-01-22 13:24:55 -08:00
Roger Labbe
eb8588ea32 I added the stix font in check in 49f604be52
Apparently this was rendering fonts wrong, minus was displayed as *, and
more. Removed use of stix and everything looks fine again.
2018-01-01 12:57:03 -08:00
Roger Labbe
850c7fc0dd Reformat, and changes to work with IPython 6.0
After a new Anaconda install I was getting a lot of minor errors
in the notebooks. I've fixed all of those. Along the ways I altered
the format of the PDF output to exclude the In[] Out[] tags so the
code is indented less. I also altered the font size of the notebooks
to better match fonts in other pages on chrome.

FilterPy was updated to 1.1.0, and this check in requires that release
at the minimum.
2017-11-18 17:14:31 -08:00
Roger Labbe
7c5aa45019 Weights should be reset to 1/N after resampling. 2017-07-03 13:07:28 -07:00
Roger Labbe
c97186c8b4 Fixed PDF generation re %matplotlib magic
Fixed the scripts that comment out the matplotlib magic.
It was commenting out all of the magics - the first one, and
ones in markdown cells. It should only comment out the ones
in code cells, and leave the first one.
2017-01-18 12:23:06 -08:00
Roger Labbe
8463014958 Disable interactive plots for PDF.
nbconvert cannot output interactive plots to PDF. I wrote code
to remove all of the %matplotlib notebook magic, rerun the notebooks,
and then create the PDF.
2017-01-14 13:15:24 -08:00
Roger Labbe
5bac8fbbbc Fixed formatting to generate book.
Some tables had two header specifications for 3 columns. Rendered
in the browswer, but not in latex. Not sure how that happened,
I don't think I changed that code and the pdf used to build.
2016-11-08 06:55:31 -08:00
Roger Labbe
bfdc23fa77 Checked in a temporary test file by mistake 2016-11-02 08:39:38 -07:00
Roger Labbe
83f6795f72 Wording changes. 2016-11-02 08:38:18 -07:00
Roger Labbe
4b93469205 correction: lets to let's.
grammar is our friend.
2016-09-25 12:36:14 -07:00
Roger Labbe
c2548702d9 Some work on HTML conversion.
Not happy with the output yet. The advantage of HTML output is
interactive plots are displayed in the output, whereas they are
not in the PDF output.
2016-09-25 11:31:48 -07:00
Roger Labbe
2743b78db5 Removed temporary files and test code.
I made some changes while testing the plotting change in the last checkin,
and it inadvertantly got checked in.
2016-09-20 06:56:44 -07:00
Roger Labbe
96749eb378 Fixed interactive plots for PDF.
the plots generated by interactive plots (%matplotlib notebook) do
not show up in the PDF. This has meant that I haven't been able to
update the PDF since febuary. I switched the default plotting
mechanism to noninteractive.
2016-09-20 06:49:15 -07:00
Roger Labbe
dafb047c4c Updated imports to use nondeprecated libraries 2016-04-23 04:29:31 -07:00
Roger Labbe
230539a3fd Fixed underlining of \emph in PDF.
Thought I had this fixed, not sure why it came back. Had to add
\normalem to template file to force \emph to be italics, which is
the default. Not sure why it has been doing underlining recently.
2016-01-28 17:48:42 -08:00
Roger Labbe
49f604be52 Switched to stix fonts for PDF. 2016-01-23 08:37:59 -08:00
Roger Labbe
c268a09f5f Rewrites for orthogonal version of eqns
The changes in the univariate chapter, where I derived the
eqn for K continue to ripple through the chapters.
2016-01-23 07:18:43 -08:00
Roger Labbe
462ac1bb5c Fixed obsolete import, hard code of filename 2016-01-03 10:43:45 -08:00
Roger Labbe
0e86469fac PDF build scripts build 6x9 book separately. 2015-12-20 08:59:11 -08:00
Roger Labbe
3e65b5d2f7 Lots of book formatting changes.
Changed default sizes of plots, changed the book template for
pdf creation, and lots of minor edits, most changing bold to
italic, and removing italic for emphasis.
2015-11-26 13:08:40 -08:00
Roger Labbe
d11798b0d8 Fixed name of the 6x9 book file. 2015-11-25 12:02:48 -08:00
Roger Labbe
3952a7501e Added code to also build the 6x9 PDF. 2015-09-26 08:11:52 -07:00
Roger Labbe
7e6875b0a9 Modified 6x9 script to generate entire book. 2015-07-26 08:40:40 -07:00
Roger Labbe
925498a19e Edit to fit on 6x9 book.
Somewhat arbitrary, but I want the code to be readable on
narrow paper than 8.5x11.
2015-07-25 23:46:59 -07:00
Roger Labbe
82f4e1569b Removed input and output prompts from PDF.
I think it looks much nicer without them.

Also adjusted margins a bit.
2015-07-25 16:13:42 -07:00
Roger Labbe
39e833615b Indenting input code slightly.
Want it to stand out from the book's text.
2015-07-25 15:47:56 -07:00
Roger Labbe
335db298ff Implemeenting PDF in 6x9 format.
I did the work on chapter 1 just to start somewhere. Trying to make
the book fit nicely on a 6x9 book format.
2015-07-25 15:23:11 -07:00
Roger Labbe
6092e06459 Better code formatting with ``python
There is more than that here. I had a bad commit of a bunch of temporary
files, I had to reset back in time, and now I am doing a massive commit.
Sorry.
2015-07-18 08:43:24 -07:00
Roger Labbe
511a3d1012 Ch rename for multivariate split; no underscores
I split multivariate chapter into two as it was running 60+
pages. This required renumbering. While I was doing this
I changed names from using underscores to dashes; this seems
to help with line breaks when displaying links.
2015-07-13 08:28:49 -07:00
Roger Labbe
878e4a5578 checkpoint; in midst of big re-org.
This is not a 'useful'checkin. I'm heavily reorganizing teh
multivariate chapter (spliltting in two) and I am getting
worried about losing edits.
2015-07-12 18:57:43 -07:00
Roger Labbe
8f192d537c Added appendixes back to the PDF version. 2015-07-09 14:40:00 -07:00
Roger Labbe
0a4c54a56a Updated to include particle filter chapter. 2015-07-04 21:16:04 -07:00
Roger Labbe
85eccf7a21 Moved extraneous chapters to appendix. 2015-05-31 15:20:44 -07:00
Roger Labbe
a544b0f898 Chapter renaming.
Renamed the 1d kalman filter chapter with a better file name.
Changed references to 'histogram' filter to discrete bayes.

Backed out particle filter chapter; it is just babble at the moment.
2015-05-11 16:21:38 -07:00
Roger Labbe
6d9c500e50 Restructuring for print.
I have moved less pertinent material to appendixes. The idea is that
a print edition should contain only the most important material,
and online appendixes allow the reader to access supplemental material.
2015-05-10 19:12:44 -07:00
Roger Labbe
a3cd023d3b Code cleanup
Removed commented out code and unneeded imports.
2015-05-01 10:49:12 -07:00
Roger Labbe
f4d218e1b4 Fixed PDF output; blank Particle filter chapter.
The PDF was not setting the Preface as a unnumbered chapter.
I think there is more work to get it's subsections unnumbered.

Added empty Particl filter chapter. Had to renumber the chapters
to make it fit in.
2015-05-01 10:42:53 -07:00
Roger Labbe
421160a6a5 fixed script error 2015-04-05 22:10:01 -07:00
Roger Labbe
a9f602f9c6 Removed bash cmd 2015-04-05 22:00:07 -07:00
Roger Labbe
6bca6b56ec Converted update_pdf to windows bat file 2015-04-05 12:29:23 -07:00
Roger Labbe
7f2b152c9d Fixed PDF generation in Windows 2015-04-04 10:30:50 -07:00
Roger Labbe
727ca9bed9 Changes to improve PDF generation of the book 2015-04-03 18:50:39 -07:00
Roger Labbe
0d8036a109 Various typo and explanation fixes
Too many to mention. Read through several chapters and made changes
as I went. I've had people (correctly) question me on several points,
and pointing out typos.
2015-03-10 17:23:41 -07:00