Dear readers,
I posted the following earlier on stackexchange
<http://tex.stackexchange.com/questions/288532/how-to-include-a-shortened-title-for-the-pdf-renaming-utiltiy-in-jabref>.
Jabref 2.10 includes a utility of "Clean up entries" for your bibtex
references. Under the last option it is possible to automatically
/rename/ your PDFs given a "/file name format pattern/". The pattern is
editable in under Preferences --> Import --> Default PDF file link action.
I would like to program a new *'pattern'* that creates PDF names
*combining the bibtexkey and only the first 3 words* of the title, e.g.:
[bibtexkey]_[first-3-words-of-title]
Currently I use as a bibtexkey generation pattern (editable under
Preferences --> Bibtexkey key generator):
[auth.etal:lower:(zzz)][year].[journal:abbr:lower:(xxx)]
And as a file name pattern:
\bibtexkey\begin{title}_\format[ToLowerCase,Replace(":,"),Replace("
,-"),RemoveBrackets,FormatChars]{\title}\end{title}
This option uses the full title rather than only the first 3 words of
the bibtex entry to rename the PDF.
*For example* I have a bibtex entry:
@Article{cisneros.etal2015.po,
Title = {Naming and Shaming for Conservation: Evidence from the
Brazilian Amazon},
Author = {Cisneros, Elías AND Zhou, Sophie Lian AND Börner, Jan},
Journal = {PLoS ONE},
Year = {2015},
Month = {09},
Number = {9},
Pages = {e0136402},
Volume = {10},
Doi = {10.1371/journal.pone.0136402},
File =
{:bib\cisneros.etal2015.po_naming-and-shaming-for-conservation-evidence-from-the-brazilian-amazon.pdf:PDF},
Publisher = {Public Library of Science},
Url = {http://dx.doi.org/10.1371%2Fjournal.pone.0136402}
}
From which the Clean entry utility creates a PDF name:
cisneros.etal2015.po_naming-and-shaming-for-conservation-evidence-from-the-brazilian-amazon.pdf
instead I would prefer:
cisneros.etal2015.po_naming-and-shaming.pdf
Many thanks,
Elías
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users