# Find all files with *.tex extension
$files = Get-ChildItem | Where-Object {$_.Name -like '*.tex'}| Select-Object Name

# Run vlna32.exe on all files
foreach ($file in $files){
    Write-Output "Processing TeX file: " $file.Name
    .\vlna32.exe -l -m -n $file.Name
    Write-Output "Done"
}