diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/graph-paper.ps.j2 (renamed from src/graph-paper.ps) | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/graph-paper.ps b/src/graph-paper.ps.j2 index 3383341..d888a5b 100644 --- a/src/graph-paper.ps +++ b/src/graph-paper.ps.j2 @@ -52,11 +52,11 @@ % ------ Basic settings -/SquaXLen 4 mm def % hor spacing between lines -/SquaYLen 4 mm def % ver spacing between lines +/SquaXLen {{ x_len }} def % hor spacing between lines +/SquaYLen {{ y_len }} def % ver spacing between lines -/SquaXStr 5 def % hor number of thin lines between strong ones -/SquaYStr 5 def % ver number of thin lines between strong ones +/SquaXStr {{ x_count }} def % hor number of thin lines between strong ones +/SquaYStr {{ y_count }} def % ver number of thin lines between strong ones % line width and color for thin lines /LineSizeThin {{ thin_line_size }} def @@ -76,21 +76,21 @@ /PageHeight {{ page_height }} def % white margins -/BorderTop 10 mm def -/BorderBottom 10 mm def -/BorderLeft 10 mm def -/BorderRight 10 mm def +/BorderTop {{ margin_top }} def +/BorderBottom {{ margin_bottom }} def +/BorderLeft {{ margin_left }} def +/BorderRight {{ margin_right }} def % ------ Advanced settings % translation of the starting point of the pattern -/PattTrasX 00 mm def -/PattTrasY 02 mm def +/PattTrasX {{ x_trasl }} def +/PattTrasY {{ y_trasl }} def % ------ Behaviour % Whether to print a line around the margins (1) or not (0) -/WillPrintBorder 1 def +/WillPrintBorder {{ 1 if border else 0 }} def % From here on you shouldn't worry about changing or configuring anything % ------ Variables ------------------------------------------------------------ |