BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

to_latex

v0.5.0RubyGems· Ruby

Adds #to_latex to integers and strings. Works like html_safe in Rails, it escapes special characters as needed. Once converted, a string becomes a ToLatex::LatexString instance, with #latex? returning true, and never again will be escaped. You can concatenate any escaped or not escaped string to an escaped one, they get properly escaped. This gem powers texerb.

The verdict
Abandoned. Last published 12 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 12 years ago.
Popularity
57 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.5.012 years ago
  • 0.4.014 years ago
  • 0.3.114 years ago
  • 0.3.014 years ago
  • 0.1.014 years ago
  • 0.0.014 years ago
to_latex — Adds #to_latex to integers and strings. Works like html_safe in Rails, it escapes special characters as needed. Once converted, a string becomes a ToLatex::LatexString instance, with #latex? returning true, and never again will be escaped. You can concatenate any escaped or not escaped string to an escaped one, they get properly escaped. This gem powers texerb. (Ruby / RubyGems) · Modules