On Friday 30 May 2008 02:34, A. Torgovitsky wrote:
> Hi, I've been trying to find a complete list of Kile's internal
> variables, the ones like %S, %source, %target. I have scoured the
> internet and (surprisingly) have been unable to find any documentation
> on them! Thanks -Alex
well at least there is no documentation I'm aware of.
So I use this oppurtunity to create the first docu for it :)
Consider a file which is called myBestBook.tex which resides
in /home/thomas/latex and you compile it with pdflatex to myBestBook.pdf.
The variables have the following meanings:
%source -> filename with suffix but without path <-> myBestBook.tex
%S -> filename without suffix but without path <-> myBestBook
%dir_base -> path of the source file without filename <-> /home/thomas/latex
%dir_target -> path of the target file without filename, same as %dir_base if
no relative path has been set <-> /home/thomas/latex
%target -> target filename without path <-> without filename
And these are special variables
%res <-> resolution of the quickpreview action set in configure
%AFL <-> List of all files in a project marked for archiving. You can set the
archive flag in the "Files and projects" sidebar using the context menu.
If you have any questions don't hesitate to ask.