PanDoc Shell Scripts for Converting Documents using Zenity with Templates
The following apt-get command is one line of code:
sudo apt-get install pandoc pandoc-citeproc
PANDOCmenu.sh is a shell script on Linux to support you in converting files with pandoc. The selection of Formats is performed with zenity therefore it is necessary to install zenity on Linux or with homebrew on MacOS with
sudo apt-get install zenity
Furthermore the script PANDOCmenu.sh
uses an editor geany
as an option in the menu to modify the the source file.
sudo apt-get install geany
If you want to run the PANDOCmenu.sh
start open the Terminal on Linux and star the following script with sh
sh PANDOCmenu.sh
In the terminal or make PANDOCmenu.sh executable with
chmod ug+x PANDOCmenu.sh
Install the LaTeX package with apt-get
sudo apt-get install texlive lmodern
lmodern.sty install as Package necessary for PDF-Conversion
The following sections provide details for application on MacOSX with Homebrew. Please install homebrew prior to the following steps
On MacOS use homebrew
as package manager to install necessary packages especially pandoc
and the package for processing of citation.
brew install pandoc pandoc-citeproc
PANDOCmenu.sh is a shell script on Linux to support users in converting files with pandoc. Install zenity with homebrew on MacOS:
brew install zenity
Furthermore the script PANDOCmenu.sh
uses an editor geany
as an option in the menu to modify the the source file.
brew install geany
If you want to run the PANDOCmenu.sh start open the Terminal on Linux and star the following script with sh
sh PANDOCmenu.sh
In the terminal or make PANDOCmenu.sh executable with
chmod ug+x PANDOCmenu.sh
Install the LaTeX package from
if you want to fiddle around with a package manager check the MacOS Pandoc section on
If you run converter on Linux or Mac the converter will create a windows batch file in the project directory.
win_reveal.bat
Batch File | Description |
---|---|
win_reveal.bat |
Batch File for Reveal Presentation |
win_odt.bat |
Batch File for LibreOffice Document |
win_docx.bat |
Batch File for MlCR0S0FT Word Document |
win_html.bat |
Batch File for HTML Document |
For more information on installation of PanDoc converter see
Demo calls of PanDoc can be found on:
Convert Files with PanDoc and standard templates on:
If you want to use PanDoc with a Graphical User Interface please innstall PanConvert for Graphical User Interface for PanDoc:
Create a Windows Batch File PANDOCmenu.bat with zenity: See following URL for command examples for Batch Files on Windows.
Folder Description
tpl
Templates and Default Files for PanDoc
projects
Contains all projects
bib
Contains all BibTeX Databases/Bib-Styles
help
Contains Help Files for Installation et. al.
The directory project/readme
is one sample project that is used at
the same time for the readme of this project.
All subdirectory e.g. project/topologie
contains a subdirectory
project/topologie/config
that contains author name and title for the project.
If the input file includes media files, the create
/images
, /videos
, /audio
store the media files in the subdirectories.
Create a Multiplattform Application with Atom and Electron for Linux Mac and Windows or with Intel XDK Cloud Programming Tool.