Whitespace

This commit is contained in:
Scott Kostyshak 2020-08-20 21:51:06 -04:00
parent 6b508e959c
commit 4c0073cd03
5 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
#Syntax: paperview AuthorName Year
#Output: absolute path to the file(s)
#
#Dependencies:
#Dependencies:
#1) mlocate/updatedb or similar package installed and running.
#2) stored papers must contain first author name and year of publication in filename.

View File

@ -691,7 +691,7 @@ void BibTeXInfo::getLocators(docstring & doi, docstring & url, docstring & file)
file = "file:///" + filedest;
}
if (!url.empty())
if (!url.empty())
return;
// try biblatex specific fields, see its manual
@ -1342,7 +1342,7 @@ void BiblioInfo::getLocators(docstring const & key, docstring & doi, docstring &
{
BiblioInfo::const_iterator it = find(key);
if (it == end())
return;
return;
BibTeXInfo const & data = it->second;
data.getLocators(doi,url,file);
}

View File

@ -70,7 +70,7 @@ public:
bool const allnames = false, bool const beginning = true) const;
///
docstring const getYear() const;
///
///
void getLocators(docstring & doi, docstring & url, docstring & file) const;
/// \return formatted BibTeX data suitable for framing.
/// \param vector of pointers to crossref/xdata information

View File

@ -303,9 +303,9 @@ void showTarget(string const & target){
string tmp,tar;
tar = split(target, tmp, ' ');
FuncRequest cmd = FuncRequest(LFUN_VC_COMMAND,"U . \"lyxpaperview " + tar + "\"");
lyx::dispatch(cmd);
lyx::dispatch(cmd);
return;
}
}
QDesktopServices::openUrl(QUrl(toqstr(target), QUrl::TolerantMode));
}
} // namespace frontend

View File

@ -101,7 +101,7 @@ void setSectionResizeMode(QHeaderView * view,
QHeaderView::ResizeMode mode);
/// Shows a directory in OSs file browser
void showDirectory(support::FileName const & directory);
/// handle request for showing citation content - shows pdf or
/// handle request for showing citation content - shows pdf or
/// web page in target; external script can be used for pdf view
void showTarget(std::string const & target);