{"id":19649896,"url":"https://github.com/soegaard/racket-poppler","last_synced_at":"2025-07-22T09:09:15.238Z","repository":{"id":13290036,"uuid":"15975960","full_name":"soegaard/racket-poppler","owner":"soegaard","description":"Racket bindings for Poppler (library for reading and generating pdfs)","archived":false,"fork":false,"pushed_at":"2024-05-08T15:11:29.000Z","size":6124,"stargazers_count":24,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-05T14:41:27.218Z","etag":null,"topics":["pdf","poppler","racket"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soegaard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2014-01-16T17:54:15.000Z","updated_at":"2025-02-16T12:01:34.000Z","dependencies_parsed_at":"2024-02-01T23:00:33.258Z","dependency_job_id":"e972672c-31f9-446f-a439-9757cb92a466","html_url":"https://github.com/soegaard/racket-poppler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soegaard/racket-poppler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soegaard%2Fracket-poppler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soegaard%2Fracket-poppler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soegaard%2Fracket-poppler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soegaard%2Fracket-poppler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soegaard","download_url":"https://codeload.github.com/soegaard/racket-poppler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soegaard%2Fracket-poppler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266463050,"owners_count":23932895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["pdf","poppler","racket"],"created_at":"2024-11-11T14:55:55.575Z","updated_at":"2025-07-22T09:09:15.217Z","avatar_url":"https://github.com/soegaard.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"racket-poppler\n==============\n\nThis package allows you to read pdf files, render them to\na drawing context and more.\n\nAs an application this package includes render-tex, which\nallows you to convert snippets of TeX into scalable picts.\nThis can be used to make pretty mathematical formuals\nin slideshow and scribble.\n\nThe underlying work horse of this package is Poppler.\nPoppler is a C libary for rendering pdfs via Cairo.\nThe license of Poppler is GPL.\n\nIn order for the rendering to work the Poppler library needs\nto be compiled to use the same version of Cairo as Racket uses.\nFor that reason racket-poppler is distributed with Poppler \nprecompiled for Windows and OS X. Thanks to Matthew Flatt for \nproviding the binaries. The license of Poppler is GPL,\nso it can't be distributed with Racket.\n\nNote:  Use the development version of Racket - which uses a newer\n       version of Cairo than the current release.\n\nThe racket-poppler package is based on code by Michael Wilber \n(https://github.com/gcr/pdf-render).\n\nExample (assumes latex is installed):\n\n    \u003e (require racket-poppler/render-tex)\n    \u003e (latex-path \"/usr/local/texlive/2013/bin/universal-darwin/pdflatex\")\n    \u003e (define p (latex-\u003epict \"$\\\\sqrt{x^2+y^2}$\"))\n    \u003e (pict-\u003ebitmap p)\n\n![nice picture in DrRacket](http://i.imgur.com/HiHFAQ1.png)\n\nNow let's do something with the picture:\n\n    \u003e (define beside hc-append)\n    \u003e (define above  vc-append)\n\n    \u003e (pict-\u003ebitmap (above (beside (rotate p (- pi (/ pi 3))) (rotate p    (/ pi 3)))\n                           (beside (rotate p (+ pi (/ pi 3))) (rotate p (- (/ pi 3))))))\n\n![nice picture in DrRacket](http://i.imgur.com/LT9j8cl.png)\n\nThis renders the formula of Pythagoras as a pdf, converts it into \na pict, which is then rotated. The rotated pict is converted into\na bitmap, and finally DrRacket shows the bitmap.\n\nNote: DrRacket will currently not display the picts generated \nby latex-\u003epict or pdf-\u003epict directly. Wrap the picts in\npict-\u003ebitmap to see them in DrRacket. (The cause of this\nis fact that pdf-\u003epict draws directly the Cairo drawing context.\nDrRacket \"copies\" picts using a record-dc% and recording \ncontexts doesn't record drawing operations that draw directly\nto the Cairo context.)\n\nSee Michael Wilber's original documentation for some ideas \non how to use this library, but note that the API has changed\nslightly. In racket-poppler all operations are safe.\nhttp://planet.racket-lang.org/package-source/gcr/pdf-render.plt/2/2/planet-docs/main/index.html\n\nFor an extensive example see \"examples/test-pdf-functions.rkt\".\n\nWarning: The documentation in doc/ has not been updated yet.\n\n[1] OS X binaries for libpoppler and friends\n    https://github.com/soegaard/racket-osx-libs/tree/master/lib\n\n/soegaard\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoegaard%2Fracket-poppler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoegaard%2Fracket-poppler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoegaard%2Fracket-poppler/lists"}