- parse_text_in_inset(p, os, FLAG_CELL, false, context);
+ if (rotate != 0) {
+ cellinfo[row][col].rotate = rotate;
+ p.get_token();
+ active_environments.push_back(p.getArg('{', '}'));
+ if (turn)
+ p.getArg('{', '}');
+ parse_text_in_inset(p, os, FLAG_END, false, context);
+ active_environments.pop_back();
+ preamble.registerAutomaticallyLoadedPackage("rotating");
+ } else {
+ parse_text_in_inset(p, os, FLAG_CELL, false, context);
+ }