mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Whitespace
This commit is contained in:
parent
6b508e959c
commit
4c0073cd03
@ -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.
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user