Download & Extend

\ref{} outside DruTeX environments?

Project:DruTeX
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:dfg
Status:closed (fixed)

Issue Summary

It seems illogical to me that the \ref{} command is valid only outside of DruTeX environments. I expected, for some reason, the syntax to be $\ref{equation id}$ instead of \ref{equation id}.

Comments

#1

Assigned to:Anonymous» dfg
Status:active» closed (fixed)

The dollar-environment is for rendering inline-math in LaTeX. Using \ref in there makes no sense, as well as in LaTeX.

Also test this in DruTeX:

\textbf{hello} versus <tex>\textbf{hello}</tex>

This works as intended.