Worth considering: Publishing is not a foolproof gateway to riches. On the other hand, it is no longer the high-risk venture that it used to be. You can publish for a modest sum and, consequently, break even on your out-of-pocket expenses by selling only a few books—maybe 100 to 200. What if you need money to support some specialized front-end costs—or a marketing campaign that you couldn't afford otherwise? You could do a Kickstarter campaign to raise the necessary funds.
To see what one looks like, check out Architecture of Survival: Lessons from the Jewish Experience by George L. Fouke, Ph.D. It's interesting but no guarantee. Be sure to look at the author's blog while you're at it.—The Publishing Pro.