Skip to content

Commit

Permalink
pagelayout (18jan24)
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@69486 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
kberry committed Jan 18, 2024
1 parent 355f2c2 commit 2f30f2b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions texk/texlive/linked_scripts/pagelayout/pagelayoutapi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2022-2023 by Friedemann Bartels
# Copyright (c) 2022-2024 by Friedemann Bartels
#
# This file may be distributed and/or modified under the
# conditions of the LaTeX Project Public License, either
Expand All @@ -13,7 +13,7 @@
# LaTeX version 2008/05/04 or later.
#

version=1.0.5
version=1.1.0

_convert() {
turbo=$1
Expand Down Expand Up @@ -181,7 +181,7 @@ makeshadow() {
</filter>
</defs>
<rect
style='filter:url(#blur);opacity:$opacity;fill:$fill'
style='filter:url(#blur);opacity:$opacity;fill:rgb($fill)'
width='$framewidth'
height='$frameheight'
x='$frameborder'
Expand Down Expand Up @@ -272,7 +272,11 @@ batchoptimize() {
[ ! -d cache ] && mkdir cache

length=$(( $# / 15 ))
cores=$( nproc )
if command -v nproc >/dev/null 2>&1; then
cores=$( nproc )
else
cores=1
fi
[ $cores -gt $length ] && cores=$length

while [ $length -gt 0 ]; do
Expand Down
4 changes: 2 additions & 2 deletions texk/texlive/linked_scripts/pagelayout/textestvis
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2022-2023 by Friedemann Bartels
# Copyright (c) 2022-2024 by Friedemann Bartels
#
# This file may be distributed and/or modified under the
# conditions of the LaTeX Project Public License, either
Expand All @@ -13,7 +13,7 @@
# LaTeX version 2008/05/04 or later.
#

version=1.0.5
version=1.1.0

OK="$( tput setaf 2 )$( tput sgr0 )"
FAILED="$( tput setaf 1 )$( tput bold )x$( tput sgr0 )"
Expand Down

0 comments on commit 2f30f2b

Please sign in to comment.