Back to index

texmacs  1.0.7.15
Functions
fromxml.cpp File Reference
#include "convert.hpp"

Go to the source code of this file.

Functions

tree tmml_upgrade (tree doc)

Function Documentation

Definition at line 15 of file fromxml.cpp.

                        {
  if ((!is_tuple (doc, "document")) || (N(doc)<2))
    return tree (ERROR, "bad format or data");
  string version= "1.0.1.24";
  if (is_tuple (doc[1], "TeXmacs", 1) && is_atomic (doc[1][1]))
    version= doc[1][1]->label;
  return scheme_tree_to_tree (doc, version);
}

Here is the call graph for this function:

Here is the caller graph for this function: