mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
parent
e709a6626e
commit
d75ff9931d
6448
lib/fonts/bbm.sfd
6448
lib/fonts/bbm.sfd
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -119,7 +119,6 @@ mathnormal font mathmode inherit medium up math
|
||||
frak font mathmode
|
||||
mathbb font mathmode
|
||||
mathds font mathmode
|
||||
mathbbm font mathmode
|
||||
mathbf font mathmode
|
||||
mathcal font mathmode
|
||||
mathfrak font mathmode
|
||||
|
@ -47,8 +47,6 @@ enum FontFamily {
|
||||
///
|
||||
DS_FAMILY,
|
||||
///
|
||||
BBM_FAMILY,
|
||||
///
|
||||
EUFRAK_FAMILY,
|
||||
///
|
||||
RSFS_FAMILY,
|
||||
|
@ -494,7 +494,6 @@ string getFamilyCSS(FontFamily const & f)
|
||||
case MSA_FAMILY:
|
||||
case MSB_FAMILY:
|
||||
case DS_FAMILY:
|
||||
case BBM_FAMILY:
|
||||
case EUFRAK_FAMILY:
|
||||
case RSFS_FAMILY:
|
||||
case STMARY_FAMILY:
|
||||
|
@ -1159,8 +1159,7 @@ char const * simplefeatures[] = {
|
||||
"pict2e",
|
||||
"drs",
|
||||
"environ",
|
||||
"dsfont",
|
||||
"bbm"
|
||||
"dsfont"
|
||||
};
|
||||
|
||||
char const * bibliofeatures[] = {
|
||||
|
@ -36,8 +36,8 @@ using namespace std;
|
||||
using namespace lyx::support;
|
||||
|
||||
QString const math_fonts[] = {"cmex10", "cmmi10", "cmr10", "cmsy10",
|
||||
"dsrom10", "bbm10", "esint10", "eufm10", "msam10", "msbm10",
|
||||
"rsfs10", "stmary10", "wasy10"};
|
||||
"dsrom10", "esint10", "eufm10", "msam10", "msbm10", "rsfs10",
|
||||
"stmary10", "wasy10"};
|
||||
int const num_math_fonts = sizeof(math_fonts) / sizeof(*math_fonts);
|
||||
|
||||
namespace lyx {
|
||||
|
@ -136,8 +136,6 @@ void InsetMathFont::validate(LaTeXFeatures & features) const
|
||||
features.require("mhchem");
|
||||
if (fontname == "mathds")
|
||||
features.require("dsfont");
|
||||
if (fontname == "mathbbm")
|
||||
features.require("bbm");
|
||||
} else if (features.runparams().math_flavor == OutputParams::MathAsHTML) {
|
||||
features.addCSSSnippet(
|
||||
"span.normal{font: normal normal normal inherit serif;}\n"
|
||||
|
@ -785,8 +785,6 @@ fontinfo fontinfos[] = {
|
||||
inh_shape, Color_math},
|
||||
{"mathds", DS_FAMILY, inh_series,
|
||||
inh_shape, Color_math},
|
||||
{"mathbbm", BBM_FAMILY, inh_series,
|
||||
inh_shape, Color_math},
|
||||
{"mathtt", TYPEWRITER_FAMILY, inh_series,
|
||||
inh_shape, Color_math},
|
||||
{"mathit", inh_family, inh_series,
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include <stack>
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
|
||||
using namespace std;
|
||||
using namespace lyx::support;
|
||||
@ -863,25 +862,17 @@ void outputDocBookInfo(
|
||||
generateDocBookParagraphWithoutSectioning(text, buf, xs, runparams, paragraphs, bpitInfo, epitInfo);
|
||||
|
||||
if (hasAbstract) {
|
||||
// Sometimes, there are many paragraphs that should go into the abstract, but none generates actual content.
|
||||
// Thus, first generate to a temporary stream, then only create the <abstract> tag if these paragraphs
|
||||
// generate some content.
|
||||
odocstringstream os2;
|
||||
XMLStream xs2(os2);
|
||||
generateDocBookParagraphWithoutSectioning(text, buf, xs2, runparams, paragraphs, bpitAbstract, epitAbstract);
|
||||
string tag = paragraphs[bpitAbstract].layout().docbookforceabstracttag();
|
||||
if (tag == "NONE")
|
||||
tag = "abstract";
|
||||
|
||||
// Actually output the abstract if there is something to do.
|
||||
if (!os2.str().empty()) {
|
||||
string tag = paragraphs[bpitAbstract].layout().docbookforceabstracttag();
|
||||
if (tag == "NONE")
|
||||
tag = "abstract";
|
||||
|
||||
xs << xml::StartTag(tag);
|
||||
xs << xml::CR();
|
||||
xs << XMLStream::ESCAPE_NONE << os2.str();
|
||||
xs << xml::EndTag(tag);
|
||||
xs << xml::CR();
|
||||
}
|
||||
xs << xml::StartTag(tag);
|
||||
xs << xml::CR();
|
||||
xs.startDivision(false);
|
||||
generateDocBookParagraphWithoutSectioning(text, buf, xs, runparams, paragraphs, bpitAbstract, epitAbstract);
|
||||
xs.endDivision();
|
||||
xs << xml::EndTag(tag);
|
||||
xs << xml::CR();
|
||||
}
|
||||
|
||||
// End the <info> tag if it was started.
|
||||
|
Loading…
Reference in New Issue
Block a user