{"id":28395258,"url":"https://github.com/tectonic-typesetting/tectonic-ruby","last_synced_at":"2025-06-15T07:34:01.888Z","repository":{"id":51053278,"uuid":"163495002","full_name":"tectonic-typesetting/tectonic-ruby","owner":"tectonic-typesetting","description":"Tectonic binding for ruby","archived":false,"fork":false,"pushed_at":"2021-05-25T12:43:45.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T06:52:40.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/tectonic-typesetting.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-29T08:57:10.000Z","updated_at":"2019-03-06T16:41:24.000Z","dependencies_parsed_at":"2022-08-24T14:40:01.746Z","dependency_job_id":null,"html_url":"https://github.com/tectonic-typesetting/tectonic-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tectonic-typesetting/tectonic-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tectonic-typesetting%2Ftectonic-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tectonic-typesetting%2Ftectonic-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tectonic-typesetting%2Ftectonic-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tectonic-typesetting%2Ftectonic-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tectonic-typesetting","download_url":"https://codeload.github.com/tectonic-typesetting/tectonic-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tectonic-typesetting%2Ftectonic-ruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259940773,"owners_count":22935288,"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","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":"2025-05-31T19:39:39.520Z","updated_at":"2025-06-15T07:34:01.881Z","avatar_url":"https://github.com/tectonic-typesetting.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tectonic-ruby [![Build Status](https://travis-ci.org/tectonic-typesetting/tectonic-ruby.svg?branch=master)](https://travis-ci.org/tectonic-typesetting/tectonic-ruby)\n\nTectonic binding for ruby, that is a modernized, complete, embeddable, TeX/LaTeX engine. \n\n## Installation\n\n1. Install all the dev-dependencies of tectonic.\n   See [Installing Tectonic](https://tectonic-typesetting.github.io/en-US/install.html).\n\n2. Add this line to your application's Gemfile:\n\n    ```ruby\n    # gem 'tectonic' # Currently, we haven't pushed this gem to rubygems yet.\n    gem 'tectonic', github: \"tectonic-typesetting/tectonic-ruby\"\n    ```\n\n3. And then execute:\n    \n    ```shell\n    $ bundle\n    ```\n\n## Usage\n\n```ruby\nrequire 'tectonic'\n\nlatex = \u003c\u003c-EOS\n\\\\documentclass{article}\n\\\\begin{document}\nHello, Tectonic!\n\\\\end{document}\nEOS\n\npdf = Tectonic.latex_to_pdf(latex)\n\n# geneate a pdf file in the current directory\nFile.binwrite(\"out.pdf\", pdf.pack(\"C*\"))\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/tectonic-typesetting/tectonic-ruby.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftectonic-typesetting%2Ftectonic-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftectonic-typesetting%2Ftectonic-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftectonic-typesetting%2Ftectonic-ruby/lists"}