Public feed #725520

Someone

public text v1 · immutable
Raw Edit
·published 2007-10-04 14:15 UTC
rendered paste body
def add_door(type, properties)
  $texcontent += "\\begin{#{type}}\n"
  $texcontent += "{" + properties["navn"].to_s + "}"
  $texcontent += "{" + properties["beskrivelse"].to_s + "}"
  $texcontent += "{" + properties["billede"].to_s + "}"
  $texcontent += "\\end{#{type}}\n\n"
end

---------------------------------------------

returns stuff like this:

\begin{fælde}
}Billige point
{}
{ }
\end{fælde}

\begin{fælde}
}Billige point
{}
{ }
\end{fælde}

\begin{fælde}
}Svaret
{}
{ }
\end{fælde}

\begin{fælde}
{}
{}
{}
\end{fælde}