Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSEP551
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krishna Vinnakota
CSEP551
Commits
c7ceb71d
Commit
c7ceb71d
authored
14 years ago
by
Austin Clements
Browse files
Options
Downloads
Patches
Plain Diff
Sheet 1 is a right page now because of the (much) longer cross-ref
parent
51e2a7b3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runoff
+6
-5
6 additions, 5 deletions
runoff
with
6 additions
and
5 deletions
runoff
+
6
−
5
View file @
c7ceb71d
...
...
@@ -89,16 +89,17 @@ perl -e '
print STDERR "Have no toc for $file\n";
next;
}
# this assumes that sheet 1 of code is a left page
# double-check the PDF
# this assumes that sheet 1 of code is a right page
# double-check the PDF. swap the two regexps below
# otherwise.
if(!$leftwarn++) {
print STDERR "assuming that sheet 1 is a
lef
t page. double-check!\n";
print STDERR "assuming that sheet 1 is a
righ
t page. double-check!\n";
}
if($what eq "left" && !($toc{$file} =~ /^\d[
13579
]0/)){
if($what eq "left" && !($toc{$file} =~ /^\d[
02468
]0/)){
print STDERR "$file does not start on a fresh left page [$toc{$file}]\n";
}
# why does this not work if I inline $x in the if?
$x = ($toc{$file} =~ /^\d[
02468
]0/);
$x = ($toc{$file} =~ /^\d[
13579
]0/);
if($what eq "right" && !$x){
print STDERR "$file does not start on a fresh right page [$toc{$file}] [$x]\n";
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment