(Never too late)
 
m (showme)
 
Line 8: Line 8:
  
 
opens the pdf file. It works if the file is in the [[bibTex]] collections (i.e., in <tt>~/bib</tt> somewhere and has <tt>.pdf</tt> extension.
 
opens the pdf file. It works if the file is in the [[bibTex]] collections (i.e., in <tt>~/bib</tt> somewhere and has <tt>.pdf</tt> extension.
 +
 +
== To implement ==
 +
 +
An option to change the viewer (e.g., replace okular by gimp with "showme delvalle12a gimp")
  
 
== Source ==
 
== Source ==

Latest revision as of 18:24, 31 December 2023

showme

showme is a bash script to open the pdf file of the paper:

showme delvalle12a

opens the pdf file. It works if the file is in the bibTex collections (i.e., in ~/bib somewhere and has .pdf extension.

To implement

An option to change the viewer (e.g., replace okular by gimp with "showme delvalle12a gimp")

Source

It's a very simple hack:

#!/bin/bash
# v0°1 Sun 31 Dec 2023

okular `locate $1 | grep -i ".pdf$" | grep -i bib`