played a little with settings for headstyle - causes strange numbers - check!!
[cluster_expansion_thesis.git] / little_helpers / tikz / sketch-0.2.161 / langver.h
blob31c33e29a9e54a82b956827615dd05cee0d0c451
1 /* langver.h
2 Copyright (C) 2005,2006,2007,2008 Eugene K. Ressler, Jr.
4 This file is part of Sketch, a small, simple system for making
5 3d drawings with LaTeX and the PSTricks or TikZ package.
7 Sketch is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
12 Sketch is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with Sketch; see the file COPYING.txt. If not, see
19 http://www.gnu.org/copyleft */
21 #ifndef __LANGVER_H
22 #define __LANGVER_H
24 #include "error.h"
26 #define MAX_PST_VERSION_STRING_SIZE 10
28 typedef struct pst_version_t
30 char str[MAX_PST_VERSION_STRING_SIZE];
31 char key[MAX_PST_VERSION_STRING_SIZE * 2];
33 PST_VERSION;
35 int parse_pst_version (PST_VERSION *v, char *str, SRC_LINE line);
36 int pst_version_cmp(PST_VERSION *a, PST_VERSION *b);
38 /* Version 1.20 added linejoin option, where pstverb was
39 needed previously. */
40 #define PST_LINEJOIN_VERSION 1.20
42 /* This should be set to the latest version that
43 makes a difference for Sketch output. */
44 #define ASSUMED_PST_VERSION PST_LINEJOIN_VERSION
46 /* TikZ versions are just like PSTricks versions (except
47 no letter qualifiers yet */
48 typedef PST_VERSION TIKZ_VERSION;
50 int parse_tikz_version (TIKZ_VERSION *v, char *str, SRC_LINE line);
51 int tikz_version_cmp(TIKZ_VERSION *a, TIKZ_VERSION *b);
53 #define TIKZ_DECORATIONS_VERSION 2.00
55 #define ASSUMED_TIKZ_VERSION TIKZ_DECORATIONS_VERSION
57 #endif