commit 7abdcb613dae2b409e3bf7b46f6c61a0c7b95075
Author: Kornel Benko <[email protected]>
Date: Tue Oct 15 10:46:41 2024 +0200
Cosmetics
---
development/autotests/readDefaultOutputFormat.pl | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/development/autotests/readDefaultOutputFormat.pl
b/development/autotests/readDefaultOutputFormat.pl
index 233ae31040..c3c280f606 100644
--- a/development/autotests/readDefaultOutputFormat.pl
+++ b/development/autotests/readDefaultOutputFormat.pl
@@ -3,11 +3,12 @@
#
use strict;
+use warnings "all";
my $useNonTexFonts = undef;
-my $outputFormat = undef;
-my $texFormat = undef;
-my $language = undef;
+my $outputFormat = undef;
+my $texFormat = undef;
+my $language = undef;
if (-e "$ARGV[0]") {
if (open(FI, "$ARGV[0]")) {
while (my $l = <FI>) {
@@ -35,7 +36,7 @@ if ($language eq "japanese") {
if ($useNonTexFonts) {
if ($outputFormat =~ /^(default|pdf4)$/) {
$outputFormat = "pdf4";
- $texFormat = "xetex";
+ $texFormat = "xetex";
}
elsif ($outputFormat =~ /^pdf[35]?$/) {
if ($outputFormat =~ /^pdf3?$/) {
@@ -49,10 +50,10 @@ if ($language eq "japanese") {
$outputFormat = undef;
}
}
- else { # using tex font
+ else { # using tex font
if ($outputFormat =~ /^(default|pdf3)$/) {
$outputFormat = "pdf3";
- $texFormat = "platex";
+ $texFormat = "platex";
}
elsif ($outputFormat =~ /^pdf5$/) {
$texFormat = "luatex";
@@ -62,11 +63,11 @@ if ($language eq "japanese") {
}
}
}
-else { # not a japanese language
+else { # not a japanese language
if ($useNonTexFonts) {
if ($outputFormat =~ /^(default|pdf4)$/) {
$outputFormat = "pdf4";
- $texFormat = "xetex";
+ $texFormat = "xetex";
}
elsif ($outputFormat eq "pdf5") {
$texFormat = "luatex";
@@ -75,10 +76,10 @@ else { # not a japanese language
$outputFormat = undef;
}
}
- else { # using tex fonts
+ else { # using tex fonts
if ($outputFormat =~ /^(default|pdf2)$/) {
$outputFormat = "pdf2";
- $texFormat = "pdflatex";
+ $texFormat = "pdflatex";
}
elsif ($outputFormat eq "pdf5") {
$texFormat = "luatex";
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs