{"id":122,"date":"2018-12-27T15:18:28","date_gmt":"2018-12-27T15:18:28","guid":{"rendered":"https:\/\/www.allendowney.com\/blog\/?p=122"},"modified":"2018-12-27T15:25:33","modified_gmt":"2018-12-27T15:25:33","slug":"how-to-write-a-book","status":"publish","type":"post","link":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/","title":{"rendered":"How to write a book"},"content":{"rendered":"<p>All of my books were written in LaTeX.\u00a0 For a long time I used emacs to compose, pdflatex to convert to PDF, Hevea to convert to HTML, and a hacked-up version of plasTeX to convert to DocBook, which is one of the formats I can submit to my publisher, O&#8217;Reilly Media.<\/p>\n<p>Recently I switched from emacs to Texmaker for composition, and I recommend it strongly.\u00a0 I also use Overleaf for shared LaTeX documents, and I can recommend that, too.<\/p>\n<p>However, the rest of the tools I use are pretty clunky.\u00a0 The HTML I get from Hevea is not great, and my hacked version of plasTeX is just awful (which is not plasTeX&#8217;s fault).<\/p>\n<p>Since I am starting some new book projects, I decided to rethink my tools.\u00a0 So I asked Twitter, &#8220;If you were starting a new book project today, what typesetting language \/ development environment would you use?\u00a0 LaTeX with Texmaker?\u00a0Bookdown with RStudio? Jupyter?Other?&#8221;<\/p>\n<p>I got some great responses.\u00a0 <a href=\"https:\/\/twitter.com\/AllenDowney\/status\/1075112562331664385\">You can read the whole thread yourself<\/a>, but I will try to summarize it here.<\/p>\n<h4>LaTeX<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-129 size-medium\" src=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-300x225.jpg 300w, https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-768x576.jpg 768w, https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-1024x768.jpg 1024w, https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-360x270.jpg 360w, https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691.jpg 1291w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>Nelis Willers\u00a0&#8220;wrote a 510 page book with LaTeX, using <a href=\"http:\/\/www.winedt.com\/\">WinEdt<\/a> and <a href=\"https:\/\/miktex.org\">MiKTeX<\/a>\u00a0and <a href=\"https:\/\/www.coreldraw.com\/en\/\">CorelDraw<\/a> for diagrams. Worked really well.&#8221;<\/p>\n<p>Matt Boelkins likes &#8220;<a href=\"http:\/\/mathbook.pugetsound.edu\">PreTeXt<\/a>, hands down:\u00a0 It has LaTeX and HTML as potential outputs among many. See the gallery of existing texts on the linked page.&#8221;<\/p>\n<p>makusu\u00a0recommends &#8220;Emacs org-mode. Easy to just write your content, seamless integration with latex, easy output to latex, PDF, markdown and HTML.&#8221;<\/p>\n<h4>AsciiDoc<\/h4>\n<p>Luciano Ramalho recommends &#8220;AsciiDoc, for sure. That&#8217;s how I wrote @fluentpython. It&#8217;s syntax more user-friendly than ReStructuredText and way more expressive than Markdown. AsciiDoc was *designed for* book publishing. It&#8217;s as expressive as DocBook, but it ain&#8217;t XML. With @asciidoctor you can render locally.&#8221;<\/p>\n<p>JD Long provides a useful reminder: &#8220;It\u2019s dependent on the publisher as well as the content of the book. I like Bookdown for R, but if I were doing a devops book for O\u2019Reilly I\u2019d write directly in AsciiDoc, for example. So I think context matters highly.&#8221;<\/p>\n<p>Yves Hilpisch says &#8220;AsciiDoctor is my favorite these days. Clear syntax, nice output, fast rendering (HTML\/PDF). Have custom Python scripts that convert @ProjectJupyter notebooks into text files from which I include code snippets automatically.&#8221;\u00a0 <a href=\"https:\/\/github.com\/yhilpisch\/tpqad\">His scripts are in this GitHub repository<\/a>.<\/p>\n<h4>Markdown<\/h4>\n<p>Robert Talbot recommends &#8220;Markdown in a plain text editor, with Pandoc on the back end for the finished product.\u00a0\u00a0This is assuming that the book is mostly text. If it involves code, I might lean more toward Jupyter and some kind of Binder based process.&#8221;\u00a0 <a href=\"https:\/\/rtalbert.org\/how-i-wrote-my-book\/\">Here&#8217;s a blog <\/a>post Robert wrote on the topic.<\/p>\n<p>I got a recommendation for this <a href=\"https:\/\/thorstenball.com\/blog\/2018\/09\/04\/the-tools-i-use-to-write-books\/\">blog post by Thorsten Ball<\/a>, who uses Markdown, pandoc, and KindleGen.<\/p>\n<p>One person recommended &#8220;writing Markdown then using pandoc to pass to LaTeX&#8221;, which is an interesting chain.<\/p>\n<p>Visual Studio Code got a few mentions: &#8220;I haven&#8217;t written a full book using it, but VS Code plus markdown preview and other editing plugins is my current go-to for small articles&#8221;<\/p>\n<p>&#8220;Bookdown in RStudio is wonderful to use.&#8221;<\/p>\n<h4>Jupyter<\/h4>\n<p>Chris Holdgraf is &#8220;working on <a href=\"https:\/\/github.com\/choldgraf\/jupyter-book\">a project to help people make nicely rendered online books from collections of Jupyter notebooks<\/a>. We use it @ Berkeley for teaching at <a href=\"http:\/\/inferentialthinking.com\">http:\/\/inferentialthinking.com.&#8221;<\/a><\/p>\n<h4>RestructuredText<\/h4>\n<p>Jason Moore recommends &#8220;your preferred text editor + RestructuredText + Sphinx = pdf\/epub\/html output; wrote my dissertation with it 6 years ago and was quite happy with the results.&#8221;<\/p>\n<p>Matt Harrison uses his &#8220;own tools around rst (with conversion to LaTeX and epub).&#8221;<\/p>\n<h4>Other<\/h4>\n<p><a href=\"https:\/\/docs.racket-lang.org\/pollen\/\">Pollen: the book is a program<\/a><\/p>\n<p>Raffaele Abate recommends &#8220;<a href=\"https:\/\/www.literatureandlatte.com\/scrivener\/overview\">ScrivenerApp<\/a>: I&#8217;ve used their Linux beta in past for a short, nonscientific, book and I can say it&#8217;s an amazing software for this purpose. I&#8217;ve read that is usable also for scientific publishing with profit.&#8221;<\/p>\n<p>Lak Lakshmanan wrote, &#8220;I used Google docs for my previous book and for my current offer. Not as composable as latex, but amazing for collaboration. Books need to fine-grained reviews and edits by several people spread around the world. Nothing like Google docs for that.&#8221;<\/p>\n<h4>And the winner is&#8230;<\/h4>\n<p>For now I am working in LaTeX with Texmaker, but I have run it through pandoc to generate AsciiDoc, and that seems to work well.\u00a0 I will work on the book and the conversion process at the same time.\u00a0 At some point,\u00a0I might switch over to editing in AsciiDoctor.\u00a0 I also need to do a test run with O&#8217;Reilly to see if they can ingest the AsciiDoc I generate.<\/p>\n<p>I will post updates as I work out the details.<\/p>\n<p>Thank you to everyone who responded!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>All of my books were written in LaTeX.\u00a0 For a long time I used emacs to compose, pdflatex to convert to PDF, Hevea to convert to HTML, and a hacked-up version of plasTeX to convert to DocBook, which is one of the formats I can submit to my publisher, O&#8217;Reilly Media. Recently I switched from emacs to Texmaker for composition, and I recommend it strongly.\u00a0 I also use Overleaf for shared LaTeX documents, and I can recommend that, too. However,&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-122","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to write a book - Probably Overthinking It<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to write a book - Probably Overthinking It\" \/>\n<meta property=\"og:description\" content=\"All of my books were written in LaTeX.\u00a0 For a long time I used emacs to compose, pdflatex to convert to PDF, Hevea to convert to HTML, and a hacked-up version of plasTeX to convert to DocBook, which is one of the formats I can submit to my publisher, O&#8217;Reilly Media. Recently I switched from emacs to Texmaker for composition, and I recommend it strongly.\u00a0 I also use Overleaf for shared LaTeX documents, and I can recommend that, too. However,... Read More Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/\" \/>\n<meta property=\"og:site_name\" content=\"Probably Overthinking It\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-27T15:18:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-27T15:25:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-300x225.jpg\" \/>\n<meta name=\"author\" content=\"Allen B. Downey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AllenDowney\" \/>\n<meta name=\"twitter:site\" content=\"@AllenDowney\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Allen B. Downey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/\"},\"author\":{\"name\":\"Allen B. Downey\",\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/#\\\/schema\\\/person\\\/4e5bfb2e9af6c3446cb0031a7bf83207\"},\"headline\":\"How to write a book\",\"datePublished\":\"2018-12-27T15:18:28+00:00\",\"dateModified\":\"2018-12-27T15:25:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/\"},\"wordCount\":779,\"publisher\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/#\\\/schema\\\/person\\\/4e5bfb2e9af6c3446cb0031a7bf83207\"},\"image\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/IMG_2691-300x225.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/\",\"url\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/\",\"name\":\"How to write a book - Probably Overthinking It\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/IMG_2691-300x225.jpg\",\"datePublished\":\"2018-12-27T15:18:28+00:00\",\"dateModified\":\"2018-12-27T15:25:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/IMG_2691.jpg\",\"contentUrl\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/IMG_2691.jpg\",\"width\":1291,\"height\":968},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/2018\\\/12\\\/27\\\/how-to-write-a-book\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to write a book\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/\",\"name\":\"Probably Overthinking It\",\"description\":\"Data science, Bayesian Statistics, and other ideas\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/#\\\/schema\\\/person\\\/4e5bfb2e9af6c3446cb0031a7bf83207\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/#\\\/schema\\\/person\\\/4e5bfb2e9af6c3446cb0031a7bf83207\",\"name\":\"Allen B. Downey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/probably_logo.png\",\"url\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/probably_logo.png\",\"contentUrl\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/probably_logo.png\",\"width\":714,\"height\":784,\"caption\":\"Allen B. Downey\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/probably_logo.png\"},\"sameAs\":[\"https:\\\/\\\/www.allendowney.com\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/allendowney\\\/\",\"https:\\\/\\\/x.com\\\/AllenDowney\",\"https:\\\/\\\/github.com\\\/AllenDowney\",\"https:\\\/\\\/bsky.app\\\/profile\\\/allendowney.bsky.social\",\"https:\\\/\\\/allendowney.github.io\\\/Portfolio\\\/\",\"https:\\\/\\\/greenteapress.com\\\/wp\\\/\"],\"url\":\"https:\\\/\\\/www.allendowney.com\\\/blog\\\/author\\\/allen-downey\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to write a book - Probably Overthinking It","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/","og_locale":"en_US","og_type":"article","og_title":"How to write a book - Probably Overthinking It","og_description":"All of my books were written in LaTeX.\u00a0 For a long time I used emacs to compose, pdflatex to convert to PDF, Hevea to convert to HTML, and a hacked-up version of plasTeX to convert to DocBook, which is one of the formats I can submit to my publisher, O&#8217;Reilly Media. Recently I switched from emacs to Texmaker for composition, and I recommend it strongly.\u00a0 I also use Overleaf for shared LaTeX documents, and I can recommend that, too. However,... Read More Read More","og_url":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/","og_site_name":"Probably Overthinking It","article_published_time":"2018-12-27T15:18:28+00:00","article_modified_time":"2018-12-27T15:25:33+00:00","og_image":[{"url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-300x225.jpg","type":"","width":"","height":""}],"author":"Allen B. Downey","twitter_card":"summary_large_image","twitter_creator":"@AllenDowney","twitter_site":"@AllenDowney","twitter_misc":{"Written by":"Allen B. Downey","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/#article","isPartOf":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/"},"author":{"name":"Allen B. Downey","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207"},"headline":"How to write a book","datePublished":"2018-12-27T15:18:28+00:00","dateModified":"2018-12-27T15:25:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/"},"wordCount":779,"publisher":{"@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/#primaryimage"},"thumbnailUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-300x225.jpg","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/","url":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/","name":"How to write a book - Probably Overthinking It","isPartOf":{"@id":"https:\/\/www.allendowney.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/#primaryimage"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/#primaryimage"},"thumbnailUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691-300x225.jpg","datePublished":"2018-12-27T15:18:28+00:00","dateModified":"2018-12-27T15:25:33+00:00","breadcrumb":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/#primaryimage","url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691.jpg","contentUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2018\/12\/IMG_2691.jpg","width":1291,"height":968},{"@type":"BreadcrumbList","@id":"https:\/\/www.allendowney.com\/blog\/2018\/12\/27\/how-to-write-a-book\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.allendowney.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to write a book"}]},{"@type":"WebSite","@id":"https:\/\/www.allendowney.com\/blog\/#website","url":"https:\/\/www.allendowney.com\/blog\/","name":"Probably Overthinking It","description":"Data science, Bayesian Statistics, and other ideas","publisher":{"@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.allendowney.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207","name":"Allen B. Downey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png","url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png","contentUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png","width":714,"height":784,"caption":"Allen B. Downey"},"logo":{"@id":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png"},"sameAs":["https:\/\/www.allendowney.com\/","https:\/\/www.linkedin.com\/in\/allendowney\/","https:\/\/x.com\/AllenDowney","https:\/\/github.com\/AllenDowney","https:\/\/bsky.app\/profile\/allendowney.bsky.social","https:\/\/allendowney.github.io\/Portfolio\/","https:\/\/greenteapress.com\/wp\/"],"url":"https:\/\/www.allendowney.com\/blog\/author\/allen-downey\/"}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":8,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/122\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}