}
if (!buffer->niceFile
- && IsFileReadable(MakeAbsPath(style, buffer->filepath) + ".bst")) {
- style = MakeAbsPath(style, buffer->filepath);
+ && IsFileReadable(MakeAbsPath(style, buffer->filePath()) + ".bst")) {
+ style = MakeAbsPath(style, buffer->filePath());
}
if (!style.empty()) { // we want no \biblio...{}
// have a comma-separated list of bibliographies
while (!adb.empty()) {
if (!buffer->niceFile &&
- IsFileReadable(MakeAbsPath(adb, buffer->filepath)+".bib"))
- adb = os::external_path(MakeAbsPath(adb, buffer->filepath));
+ IsFileReadable(MakeAbsPath(adb, buffer->filePath())+".bib"))
+ adb = os::external_path(MakeAbsPath(adb, buffer->filePath()));
db_out += adb;
db_out += ',';
db_in= split(db_in, adb,',');
}
-vector<string> const InsetBibtex::getFiles(Buffer const &) const
+vector<string> const InsetBibtex::getFiles(Buffer const & buffer) const
{
// Doesn't appear to be used (Angus, 31 July 2001)
- // Path p(buffer->filepath);
+ Path p(buffer.filePath());
vector<string> vec;
string linebuf0;
while (getline(ifs, linebuf0)) {
string linebuf = frontStrip(strip(linebuf0));
- if (linebuf.empty() ) continue;
+ if (linebuf.empty()) continue;
if (prefixIs(linebuf, "@")) {
linebuf = subst(linebuf, '{', '(');
string tmp;