/*!
* Adds the command \p command to the list of known commands.
* \param o1 first optional parameter to the latex command \newcommand
- * (with brackets), or the empty string if there were no optional arguments.
- * \param o2 wether \newcommand had a second optional parameter
+ * (with brackets), or the empty string if there were no optional argument.
+ * \param optionalsNum is the number of optional parameters
*/
void add_known_command(std::string const & command, std::string const & o1,
- bool o2);
+ unsigned optionalsNum);
// Access to environment stack
extern std::vector<std::string> active_environments;