Placeholders for sets of files |
Placeholders can be used for handling sets of files.
Note |
These placeholders will never generate duplicates of a filename. |
|
$[q][s][f][r]<FILESET>
- $
- Starts the placeholder. Use "$$" to get "$".
- q
- All filenames will be separatly quoted using ".
- s
- All filenames will be issued in 8.3-format.
- f
- The forward slash '/' is used as directory separator.
- r
- The filenames will be given relative to the working directory of the project.
- <FILESET>
- One of the following:
- TPF
- All TeX-files of the project.
- BPF
- All BibTeX-files of the project.
- GPF
- All Graphic-files of the project.
- TXC
- All files generated by TeXnicCenter regarding the project. Currently only the .tcp and .tps files.
- COF
- All currently opened files in the editor.
- APF
- All project files. This is the sum of TPF, BPF, GPF and TXC.
- AFS
- All above filesets together. This is the sum of TPF, BPF, GPF, TXC and COF.
- $qTPF
- Lists all (La)TeX-files reported by the structure parser of TeXnicCenter.
File names in quotes and separated by a space, like:
"D:\Temp\test\curvature3d.tex" "D:\Temp\test\definitions\macros.tex"
"D:\Temp\test\chaptertwo.tex"
- $fBPF
- Lists all BibTeX-files reported by the structure parser of TeXnicCenter.
The forward slash is used as directory separator. File names separated
by a space, like:
D:/Temp/test/xbib.bib D:/Temp/test/morebibs/morexbib.bib
- $COF
- Lists all files, which are currently opened in the editor. File names
separated by a space (no quotes!), like:
D:\Temp\test\curvature3d.tex D:\Program Files\texmf\pdftex\latex\config\pdflatex.ini
- $qsrAPF
- Lists all files of the project as reported by the structure parser of
TeXnicCenter. File names displayed in 8.3-format, path relative
to the working directory, file names separated by a space, like
"curvat~1.tcp" "curvat~1.tps" "curvat~1.tex" "xbib.bib" "morebibs\morexb~1.bib" "defini~1\macros.tex" "chapte~1.tex"
A good idea to use placeholders is a tool like the one defined below. This
tool will build a ZIP archive of all files of the current project.
A compression program (like WinZip or WinRAR) is required. Adjust path and
arguments for that program.
Command: |
zip.exe |
Arguments: |
a "%tm.zip" $qrAPF |
Initial Directory: |
%dm |