RubyGems Navigation menu

to_latex 0.3.1

Adds #to_latex to objects and strings. Works like html_safe in Rails 3, 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.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.5.0 - August 06, 2013 (7,5 ko)
  2. 0.4.0 - April 01, 2012 (7,5 ko)
  3. 0.3.1 - March 26, 2012 (7 ko)
  4. 0.3.0 - March 15, 2012 (7 ko)
  5. 0.1.0 - March 13, 2012 (6,5 ko)
Voir toutes les versions (6)

Dépendances de Development (5):

bundler ~> 1.0.0
jeweler ~> 1.8.3
rcov >= 0
rdoc ~> 3.12
rspec ~> 2.8.0

Propriétaires:

Auteurs:

  • Bernát Kalló

Total de contrôle SHA 256:

fed3d8a578297350ac33ec0ceab4dbe5ecd8678961016a7a67efa46ac2e9b057

Total de téléchargements 51 279

Pour cette version 2 931

License:

aucune

Version de Ruby requise: None

Liens: