Skip to content

ydap1/2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation


2pdf

Simple bash script that allows you to easily convert a file into a PDF format using pandoc and view it with zathura.

Features

  • Converts files from all formats supported by pandoc to PDF to be viewed in zathura.
  • Uses pandoc for document conversion and zathura for viewing the output PDF.

Installation

Prerequisites

Make sure you have the following installed on your system:

  • pandoc
  • zathura
  • zathura-pdf-mupdf
  • texlive
  • (optional) shc

Installing the Script

  1. Clone the repo:

    git clone https://github.com/ydap1/2pdf.git
    cd 2pdf
  2. Make the script executable:

    chmod +x 2pdf.sh
  3. Copy the script to /usr/local/bin to make it globally accessible:

    sudo cp 2pdf.sh /usr/local/bin/2pdf

Now you can run the script by simply typing 2pdf <file> in your terminal.

About

simple script to open almost all files with zathura using pandoc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages