Fabrice Mouhartem 1 year ago
parent
commit
e0fbb29b23
3 changed files with 13 additions and 2 deletions
  1. 10 0
      data/presets.json
  2. 2 1
      hidepdfads
  3. 1 1
      src/script.sh

+ 10 - 0
data/presets.json

@@ -28,5 +28,15 @@
     "unit": "cm",
     "format" : "a4",
     "color" : "white"
+  },
+  {
+    "name" : "sncf",
+    "X" : "10",
+    "Y" : "147",
+    "L" : "192",
+    "H" : "56",
+    "unit": "mm",
+    "format" : "a4",
+    "color" : "white"
   }
 ]

+ 2 - 1
hidepdfads

@@ -1,5 +1,5 @@
 #!/bin/env sh
-:${LATEXCC:=pdflatex}
+LATEXCC=${LATEXCC:=pdflatex}
 
 print_help() {
   >&2 echo "Usage: $0 <command> [<args>]"
@@ -102,3 +102,4 @@ __DATA__
 rhonexpress 15 146.5 180 90 white mm a4
 AF 11 18 9 9 white cm a4
 klm 11 18 9 9 white cm a4
+sncf 10 147 192 56 white mm a4

+ 1 - 1
src/script.sh

@@ -1,5 +1,5 @@
 #!/bin/env sh
-:${LATEXCC:=pdflatex}
+LATEXCC=${LATEXCC:=pdflatex}
 
 print_help() {
   >&2 echo "Usage: $0 <command> [<args>]"