For many jobs, conferences, classes, etc., it is necessary make presentations to show what you need. Graphic programs such as PowerPoint, Impress, etc. have always been talked about, but there are also such interesting tools for CLI as tpp, with which you can also make presentations from the command line.
You may think a priori that this is a disadvantage compared to the other options mentioned, and it is in some cases. But for presentations where you show source code snippets, or commands, then there Tpp can become especially interesting. That is why it seemed good to me to make this tool known to those users who did not know it yet.
Once you have tpp you can start creating the presentations you need from the command line, following these steps:
- First: create, with your favorite text editor, a text file called example.tpp and inside you can include the presentation header like this:
--author LxA --title PRIMERA PRESENTACIÓN --date today --heading ¿Cómo usar tpp?
- Second: now a list of items is created using the colors, slide-in, etc. To do this, in the same file you continue adding:
--- --color orange *PRESENTACIÓN DE EJEMPLO --- --beginslideleft --color blue *PRIMEROS EJEMPLOS --- --endslideleft --beginslidetop --color red *SEGUNDOS EJEMPLOS --color white --endslidetop
- Third: You can now continue adding content. For example, imagine you want to display commands or source code in your presentation, then you can do it like this example:
--- --center Source Code --beginoutput #!/bin/bash echo "Hola, esto es una prueba" --endoutput
- Fourth: now it's time to add the lines to animate, for example:
--center Shell Output --- --beginshelloutput $ perl -e 'print "Hola, esto es un ejemplo.\n"' Hola, esto es un ejemplo. --endshelloutput
- Fifth: you can add more slides, since so far only one has been used:
--- --newpage --boldon --revon --center Please check Perl's Manual Page for more info
To know all the possible tpp options to create your presentations, you can use the manual:
man tpp
More information and obtaining the package – Github site