Keybase proof
I hereby claim:
- I am egoes on github.
- I am enriquep (https://keybase.io/enriquep) on keybase.
- I have a public key ASA1wN2OSMXc0nt-_XQNvsT9R7BPnkIy43ei0Kf2Up4nuAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
data-country="Switzerland"
the current country can be set, the matching currency will automatically be selected if data-currency is not set.
data-currency="CHF"
an indicator for the preferred currency.
# Ghostscript function to make jpegs out of a pdf file | |
domakejpg() { | |
gs -dSAFER \ | |
-sDEVICE=jpeg \ | |
-r$1 \ | |
-dJPEGQ=90 \ | |
-dTextAlphaBits=4 \ | |
-dGraphicsAlphaBits=4 \ | |
-dUseTrimBox \ | |
-o page%02d.jpg $2 |
//DESCRIPTION:Show geometricBounds (y1, x1, y2, x2) /* ShowGeoBounds.jsx Adobe InDesign javascript by Enrique Pardo - www.enriquepardo.com Get it at: http://gist.github.com/48689 Shows a dialog box with the geometric bounds of the selected object y1 x1 y2 x2 [0] [1] [2] [3] y x x+w y+h */ var gb = app.activeDocument.selection[0].geometricBounds; var xcoord = gb[1] var ycoord = gb[0] var width = gb[3] - gb[1] var height = gb[2] - gb[0] alert ( 'x=' + xcoord + ' y=' + ycoord + '\rw=' + width + ' h=' + height + '\r(' + gb + ')' , 1) |