string const & lang,
vector<docstring> & callers) const
{
- docstring label;
-
if (find(callers.begin(), callers.end(), counter) != callers.end()) {
// recursion detected
lyxerr << "Warning: Recursion in label for counter `"
corrected_env(os, begin_tag, "flushright", code, lastpar, column);
break;
} case LYX_ALIGN_RIGHT: {
- string output;
if (owner_->getParLanguage(bparams)->babel() != "hebrew")
corrected_env(os, begin_tag, "flushright", code, lastpar, column);
else
// the bb section
igp.bbox = graphics::BoundingBox();
if (bbChanged) {
- string bb;
string lbXs = widgetToDoubleStr(lbX);
string lbYs = widgetToDoubleStr(lbY);
string rtXs = widgetToDoubleStr(rtX);
string const expanded_globs = convert_brace_glob(globs);
// Split into individual globs.
- vector<string> matches;
Tokenizer const tokens(expanded_globs, separator);
globs_ = vector<string>(tokens.begin(), tokens.end());
}
void InsetNewlineParams::write(ostream & os) const
{
- string command;
switch (kind) {
case InsetNewlineParams::NEWLINE:
os << "newline";
void InsetNewpageParams::write(ostream & os) const
{
- string command;
switch (kind) {
case InsetNewpageParams::NEWPAGE:
os << "newpage";
void InsetSeparatorParams::write(ostream & os) const
{
- string command;
switch (kind) {
case InsetSeparatorParams::PLAIN:
os << "plain";
void InsetSpaceParams::write(ostream & os) const
{
- string command;
switch (kind) {
case InsetSpaceParams::NORMAL:
os << "\\space{}";
pos_type end = ( len == -1 || cur.pos() + len > int(par.size()) ) ?
int(par.size()) : cur.pos() + len;
OutputParams runparams(&cur.buffer()->params().encoding());
- odocstringstream os;
runparams.nice = true;
runparams.flavor = OutputParams::LATEX;
runparams.linelen = 100000; //lyxrc.plaintext_linelen;
Layout const & defaultstyle = buf.params().documentClass().defaultLayout();
Layout const & bstyle = par->layout();
- string item_tag;
// Opening outter tag
sgml::openTag(buf, os, runparams, *pbegin);
if (bstyle.latextype == LATEX_ENVIRONMENT && bstyle.pass_thru)
os << "]]>";
- // Closing outter tag
+ // Closing outer tag
sgml::closeTag(os, *pbegin);
return pend;