added new Inline type Ref, meant to support References (to equations, figures, etc)
renamed Ref to NumRef to avoid namespace shadowing