From 65ae13a0598e2b1c2b692d72b67e33a67ef5ba0d Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Nov 10 2010 23:56:05 +0000 Subject: Update brands pre-rendering configuration script: - Do not group images by type. LaTeX, Texinfo, and probably other documentation systems determine by themselves the correct image format to use based on output format you are creating document for. If we group images by format the possibilities, for such systems, to choose the correct format _automatically_ are reduced considerably. --- diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Brands/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Brands/render.conf.sh index 1540635..69a543b 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Brands/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Brands/render.conf.sh @@ -32,7 +32,6 @@ function render_loadConfig { # Define rendering actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderBrands: tif xpm pdf ppm' - ACTIONS[2]='POST:groupByType: png tif xpm pdf ppm' # Define matching list. MATCHINGLIST="\ diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageBrands.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageBrands.sh index d501d87..4bc7ba7 100644 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageBrands.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageBrands.sh @@ -51,30 +51,4 @@ function render_doIdentityImageBrands { ${FILE}.png \ ${FILE}-emboss.png - # Move logo copy in 2 colors into its final location. This action - # complements groupByType post-rendering action. - SOURCEFILE=$FILE.xbm - TARGETDIR=$(dirname $FILE)/Xbm - TARGETFILE=$TARGETDIR/$(basename $SOURCEFILE) - # --- centos-art path $SOURCEFILE --move-to=$TARGETDIR - cli_printMessage "$TARGETFILE" 'AsMovedToLine' - cli_checkFiles $TARGETDIR 'd' - if [[ $? -ne 0 ]];then - mkdir -p $TARGETDIR - fi - mv ${SOURCEFILE} --target-directory=$TARGETDIR --force - - # Move logo copy with emboss effect into its final location. This - # action complements groupByType post-rendering action. - SOURCEFILE=${FILE}-emboss.png - TARGETDIR=$(dirname $FILE)/Png - TARGETFILE=$TARGETDIR/$(basename $SOURCEFILE) - # --- centos-art path $SOURCEFILE --move-to=$TARGETDIR - cli_printMessage "$TARGETFILE" 'AsMovedToLine' - cli_checkFiles $TARGETDIR 'd' - if [[ $? -ne 0 ]];then - mkdir -p $TARGETDIR - fi - mv ${SOURCEFILE} --target-directory=$TARGETDIR --force - }