* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <iostream>
+using namespace std;
namespace lyx {
-using std::cerr;
-using std::endl;
-
-using std::ostream;
-using std::string;
-
bool is_math_env(string const & name)
{
//
if (t.cat() == catMath) {
if (mode == MATHTEXT_MODE) {
- // we are inside some text mode thingy, so opening new math is allowed
+ // we are inside some text mode thing, so opening new math is allowed
Token const & n = p.get_token();
if (n.cat() == catMath) {
// TeX's $$...$$ syntax for displayed math
t.cat() == catAlign ||
t.cat() == catActive ||
t.cat() == catParameter)
- os << t.character();
+ os << t.cs();
else if (t.cat() == catBegin) {
os << '{';