LaTeX styles






Bash scripts


The script xdvi_forward-search_from-kile.desktop allows to perform forward search from Kile to Xdvi (of course provided that srcltx is active). At the same time that opens Xdvi for forward search it sets it for inverse search also.
It converts the parameters provided by Kile to the format demanded by Xdvi.
The first lines of the script contain the instructions on how to configure Kile to communicate with Xdvi trhough this script.
Given several ps and pdf files in the current directory, the script CompilaPrimeraPlana compiles together the first page of all of them. That is, it makes a new pdf file (in the same folder) that contains the first page of each one of the initial files.
Uses: gs, psselect, ps2pdf14, pdftk, pdftops.
Given several pdf files in the current directory and its subfolders, the script EnganxaTotsElsPDF builds the automatic and recursive union of all pdf files. That is, it makes a new pdf file (in the same folder) that encloses each one of the files found.
Uses: pdftk.
The scrip totrash sends one or several files or folders to the KDE Trash (~/.local/share/Trash/) from the command line and without connecting to the X server (thus avoiding the 'kfmclient: cannot connext to X server' error).
Uses: basename, dirname, realpath, egrep and find.


Back to the home page of Lluís Alsedà