{"id":19519866,"url":"https://github.com/dahlitzflorian/ebook-template","last_synced_at":"2026-03-19T10:15:40.218Z","repository":{"id":102340544,"uuid":"405053694","full_name":"DahlitzFlorian/ebook-template","owner":"DahlitzFlorian","description":"A lightweight markdown ebook template","archived":false,"fork":false,"pushed_at":"2021-09-11T10:05:03.000Z","size":2159,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T00:24:32.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DahlitzFlorian.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-10T11:14:26.000Z","updated_at":"2024-11-12T22:20:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4eff3e3-3aca-4326-a7fd-cd0c1e291ce9","html_url":"https://github.com/DahlitzFlorian/ebook-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/DahlitzFlorian/ebook-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Febook-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Febook-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Febook-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Febook-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DahlitzFlorian","download_url":"https://codeload.github.com/DahlitzFlorian/ebook-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Febook-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30081078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T12:28:08.313Z","status":"ssl_error","status_checked_at":"2026-03-04T12:27:28.210Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T00:22:19.126Z","updated_at":"2026-03-04T13:02:27.730Z","avatar_url":"https://github.com/DahlitzFlorian.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pandoc Markdown ebook template\n==============================\n\nThis project defines a skeleton repo for creating ebooks out of `Pandoc Markdown\n\u003chttp://johnmacfarlane.net/pandoc/README.html\u003e`_.  Pandoc is a great tool for\nwriting ebooks with simple to moderately complex formatting, but I've found that\nin practice, creating an EPUB isn't *quite* as simple as just running ``pandoc\n-o book.epub book.md``.\n\nThe author of Pandoc has written a short tutorial for `creating EPUB files with\nPandoc \u003chttp://johnmacfarlane.net/pandoc/epub.html\u003e`_. This repo just expands on\nMacFarlane's tutorial a bit and wraps things up in a Makefile.\n\nInstalling and running\n----------------------\n\n1. If you have not already done so, install:\n   \n   * `git \u003chttp://git-scm.com/\u003e`_\n   * `make \u003chttp://www.gnu.org/software/make/\u003e`_ (OS X users should install XCode\n     and `download the command line tools\n     \u003chttp://stackoverflow.com/questions/9329243/xcode-4-4-command-line-tools\u003e`_.)\n   * `pandoc \u003chttp://johnmacfarlane.net/pandoc\u003e`_\n   * `latex \u003chttp://www.latex-project.org/\u003e`_ (OS X users should probably\n     install `MacTex \u003chttp://tug.org/mactex/\u003e`_.)\n\n2. Clone this repo with **git**.\n\n3. From the top of the project, type ``make book`` or simply, ``make``.\n   This generates three versions of the sample book in a ``build/`` directory.\n\n\nReplacing the sample material\n-----------------------------\n\nEdit these files:\n\nch01.md and ch02.md\n```````````````````\n\nReplace the dummy text with your own. You can add, subtract, or rename these\n``*.md`` chapters as you please, but you must edit the ``CHAPTERS`` variable in\nthe ``Makefile`` accordingly. \n\nimages/cover.jpg\n````````````````\n\nReplace this with your own cover image or delete it entirely. \n\nMakefile\n````````\n\n* Change ``BOOKNAME`` to something appropriate for your book. This determines your\n  book's filename.\n\n* Change ``CHAPTERS`` to a space separated list of Pandoc Markdown chapters, in\n  the order in which you want them to appear.\n\n* Change ``COVER_IMAGE``. You might want to move your cover image\n  elsewhere, or use a different file format such as PNG.\n\n  If you don't want a cover image, delete this variable and the\n  ``--epub-cover-image`` option in the EPUB target.\n\n* (Optional) Change ``LATEX_CLASS``. The default of ``report`` handles \n  multi-chapter books pretty well, and uses the same template for even and odd\n  page numbers. However, you are free to substitute in any other LaTeX document\n  class. For example, ``book`` provides a left-side/right-side template that is\n  suitable for print, and ``article`` is good for shorter manuscripts (short\n  stories, technical briefs).\n\ntitle.txt\n`````````\n\nReplace the contents of this file with the real manuscript title and author name.\n\nmetadata.xml\n````````````\n\nReplace with your actual copyright statement, language, and any other Dublin\nCore metadata you wish to provide.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdahlitzflorian%2Febook-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdahlitzflorian%2Febook-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdahlitzflorian%2Febook-template/lists"}