René's URL Explorer Experiment


Title: feat(latex): add LaTeX integration with PDF compilation tool, block, and docs by waleedlatif1 · Pull Request #4972 · simstudioai/sim · GitHub

Open Graph Title: feat(latex): add LaTeX integration with PDF compilation tool, block, and docs by waleedlatif1 · Pull Request #4972 · simstudioai/sim

X Title: feat(latex): add LaTeX integration with PDF compilation tool, block, and docs by waleedlatif1 · Pull Request #4972 · simstudioai/sim

Description: Summary Add latex_compile tool that compiles LaTeX source into a PDF via the LaTeX-on-HTTP service (no OAuth or API key required) Internal /api/tools/latex route compiles upstream, stores the PDF as an execution file (uploadExecutionFile, with StorageService fallback), and surfaces TeX errors (! lines) on failed builds Supports compiler selection (pdflatex, xelatex, lualatex, platex, uplatex, context) and supporting resources (images, included .tex files, .bib bibliographies) via content/base64/url New LaTeX block with contract-bound validation (lib/api/contracts/tools/latex.ts), BlockMeta templates + skills, LaTeX logo icon, and generated docs with manual intro Type of Change New feature Testing Tested the compile service live (success, compile-error, and multi-resource payloads); typecheck, biome, check:api-validation:strict, and block/registry test suites all pass Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Add latex_compile tool that compiles LaTeX source into a PDF via the LaTeX-on-HTTP service (no OAuth or API key required) Internal /api/tools/latex route compiles upstream, stores the PDF ...

X Description: Summary Add latex_compile tool that compiles LaTeX source into a PDF via the LaTeX-on-HTTP service (no OAuth or API key required) Internal /api/tools/latex route compiles upstream, stores the PDF ...

Opengraph URL: https://github.com/simstudioai/sim/pull/4972

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f8ea904c-8c8c-f23a-3ff1-3db3da975fde
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD064:1FFEE4:911BAE:CE04AA:6AFB5145
html-safe-nonce666a8e072d0320602547cb4a4d0c008b33173c0d14c211b8ac4d399855abd94f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDY0OjFGRkVFNDo5MTFCQUU6Q0UwNEFBOjZBRkI1MTQ1IiwidmlzaXRvcl9pZCI6IjU3NDE2NTU2MDYxNDYzMjI3NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac417f9b1b7754b891a2464677c8405435968caca534f060e4a0a1a7bb67a97c1e
hovercard-subject-tagpull_request:3849515555
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/4972/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Add latex_compile tool that compiles LaTeX source into a PDF via the LaTeX-on-HTTP service (no OAuth or API key required) Internal /api/tools/latex route compiles upstream, stores the PDF ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4972/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4972%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4972%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4972/files
Reloadhttps://github.com/simstudioai/sim/pull/4972/files
Reloadhttps://github.com/simstudioai/sim/pull/4972/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/latex-integrationhttps://github.com/simstudioai/sim/tree/feat/latex-integration
Conversation 59 https://github.com/simstudioai/sim/pull/4972
Commits 9 https://github.com/simstudioai/sim/pull/4972/commits
Checks 14 https://github.com/simstudioai/sim/pull/4972/checks
Files changed https://github.com/simstudioai/sim/pull/4972/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4972/files
feat(latex): add LaTeX integration with PDF compilation tool, block, and docs https://github.com/simstudioai/sim/pull/4972/files#top
Show all changes 9 commits https://github.com/simstudioai/sim/pull/4972/files
1371fec feat(latex): add LaTeX integration with PDF compilation tool, block, … waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/1371fec3d650f98814d2c2a6510c44418b22bae7
07f54aa fix(latex): surface extracted TeX errors on all failed compile responses waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/07f54aa585a094894067dafb76dc747c1fc4eb4b
c908687 improvement(latex): add compile timeout, cap upstream error code, rej… waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/c908687c2a6fb7533795427b30e8974228aa82fb
bd67bd7 feat(latex): add package search/lookup and font listing tools waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/bd67bd72e8d5125ed7f798f460b729886b3c20ed
e84a50a improvement(latex): address review findings — path traversal guard, h… waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/e84a50abe6926bbc97c62295783b80163ba01309
81bf092 fix(latex): fail compile/package lookups that return no payload waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/81bf0927d58f97bb7bf3f420a9cd5751966ae565
da18c79 improvement(latex): guard lookup tool responses against upstream errors waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/da18c791843bdc729cf3e2b930a2eec5205ea98f
22516fe improvement(latex): reject whitespace-only package names at the block… waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/22516fe341e189d6e76a0f8a328bbed4af653159
9c98876 improvement(latex): make relatedPackages fallback explicit waleedlatif1 Jun 11, 2026 https://github.com/simstudioai/sim/pull/4972/commits/9c98876dd8a2db4c4b8c44e5f83e7a4fed61ce2a
Clear filters https://github.com/simstudioai/sim/pull/4972/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4972/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4972/files
icons.tsx https://github.com/simstudioai/sim/pull/4972/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
icon-mapping.ts https://github.com/simstudioai/sim/pull/4972/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
latex.mdx https://github.com/simstudioai/sim/pull/4972/files#diff-ba96f14d855fb6beba55aadfa0a028d55ae3f1a4442a0d0cd78d04d66033f5a8
meta.json https://github.com/simstudioai/sim/pull/4972/files#diff-59d7506ddfe264c889aa27abd55383fa1815c385f9e008f02aebc41c2d9819ff
route.ts https://github.com/simstudioai/sim/pull/4972/files#diff-3a295b71695af8124f7e750a9f865b9be643f90389ecaadd7baa7425ae3fbb2c
latex.ts https://github.com/simstudioai/sim/pull/4972/files#diff-bcbf17d3b510d07b708de9d87d27a00b1b7a1009dbab36d0876ad339be79ae42
registry.ts https://github.com/simstudioai/sim/pull/4972/files#diff-4f64d9c87514dbcc513f9874931878cf438a64d3f66d8cd4bf83e28a2e8b5c33
icons.tsx https://github.com/simstudioai/sim/pull/4972/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
index.ts https://github.com/simstudioai/sim/pull/4972/files#diff-54cb441f356410aba916ae0ee85846ab1e3ce3f0ebddf045b91d4aeba21dc7b2
latex.ts https://github.com/simstudioai/sim/pull/4972/files#diff-2a12c5a2699e586353df026e2e1d4ef902a50d4a7024396f516ccefd97d5e287
icon-mapping.ts https://github.com/simstudioai/sim/pull/4972/files#diff-31b9f59a480a2b6cc7d98ac5076f304e142b3a42be1ef966bfebd4643ba8c7af
integrations.json https://github.com/simstudioai/sim/pull/4972/files#diff-0c4cc916562765dac61bd44d1b984d95e44d7901c070e0a3f668474c684d92bd
compile.ts https://github.com/simstudioai/sim/pull/4972/files#diff-b272248e878d7c5b402bcb5aaa335e1a9cebd171746d816fcf478c15efbd8dce
get_package.ts https://github.com/simstudioai/sim/pull/4972/files#diff-b90dce7db7b674070b152a735e209ffcb235695dd03e18e6a9d41994a2aeb3c8
index.ts https://github.com/simstudioai/sim/pull/4972/files#diff-e302f57231110411604dd3643fa6dcab56f64a7bf911f82ccbaf62fe50dcb2c7
list_fonts.ts https://github.com/simstudioai/sim/pull/4972/files#diff-1949f35669f2db9f630ff86ce42548e38dd8d8943581d861bf2b2da4c9f87058
search_packages.ts https://github.com/simstudioai/sim/pull/4972/files#diff-4af1642db3a5deba9cf07447858d1776893deecd7215599b47bc3abf752745e5
types.ts https://github.com/simstudioai/sim/pull/4972/files#diff-c903877b59626d470b4db502c79cecbb771def86c2e4a601a8c66472bc9b88fb
registry.ts https://github.com/simstudioai/sim/pull/4972/files#diff-a05e54887bf05477726b00df4183dd4a3fa0fd1f82b867bbf156e1b6a6d7e3fa
apps/docs/components/icons.tsxhttps://github.com/simstudioai/sim/pull/4972/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
View file https://github.com/simstudioai/sim/blob/9c98876dd8a2db4c4b8c44e5f83e7a4fed61ce2a/apps/docs/components/icons.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4972/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4972/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
https://github.com/simstudioai/sim/pull/4972/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
apps/docs/components/ui/icon-mapping.tshttps://github.com/simstudioai/sim/pull/4972/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
View file https://github.com/simstudioai/sim/blob/9c98876dd8a2db4c4b8c44e5f83e7a4fed61ce2a/apps/docs/components/ui/icon-mapping.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4972/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4972/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/4972/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/4972/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/4972/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
apps/docs/content/docs/en/integrations/latex.mdxhttps://github.com/simstudioai/sim/pull/4972/files#diff-ba96f14d855fb6beba55aadfa0a028d55ae3f1a4442a0d0cd78d04d66033f5a8
View file https://github.com/simstudioai/sim/blob/9c98876dd8a2db4c4b8c44e5f83e7a4fed61ce2a/apps/docs/content/docs/en/integrations/latex.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4972/{{ revealButtonHref }}
apps/docs/content/docs/en/integrations/meta.jsonhttps://github.com/simstudioai/sim/pull/4972/files#diff-59d7506ddfe264c889aa27abd55383fa1815c385f9e008f02aebc41c2d9819ff
View file https://github.com/simstudioai/sim/blob/9c98876dd8a2db4c4b8c44e5f83e7a4fed61ce2a/apps/docs/content/docs/en/integrations/meta.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4972/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4972/files#diff-59d7506ddfe264c889aa27abd55383fa1815c385f9e008f02aebc41c2d9819ff
https://github.com/simstudioai/sim/pull/4972/files#diff-59d7506ddfe264c889aa27abd55383fa1815c385f9e008f02aebc41c2d9819ff
Please reload this pagehttps://github.com/simstudioai/sim/pull/4972/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4972/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.