Some don’t make it or simply give up — in Berkeley, Shakespeare & Co., Black Oak Books and William Stout Architectural Books closed within the last year, although the latter remains in business at its main store in San Francisco.

But many independent bookstores are experiencing a renaissance, reinventing themselves as literary community gathering venues, places not only to buy books but also to discuss them, meet their authors, listen to readings, and sometimes just to have fun.