L
Lee Smith
Hello all...
I wish to store several LaTex constants in YAML file and process them in
ruby. LaTex uses single slashes ('\') as a markup specifier. If I
specify a yaml string containing a single slash (e.g., "^{\circ}" which
is the LaTex markup for 'degrees Celsius') ruby will helpfully escape
the slash for me yielding "^{\\circ}"
I've tried all sorts of quoting and other tricks to tell ruby to "leave
my string alone" but it insists on escaping my slash!
Thanks!
I wish to store several LaTex constants in YAML file and process them in
ruby. LaTex uses single slashes ('\') as a markup specifier. If I
specify a yaml string containing a single slash (e.g., "^{\circ}" which
is the LaTex markup for 'degrees Celsius') ruby will helpfully escape
the slash for me yielding "^{\\circ}"
I've tried all sorts of quoting and other tricks to tell ruby to "leave
my string alone" but it insists on escaping my slash!
Thanks!