1 /* 2 * latexencodings.h 3 * 4 * Copyright 2008-2012 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 * MA 02110-1301, USA. 20 */ 21 22 #ifndef LATEXEXCODINGS_H 23 #define LATEXEXCODINGS_H 24 25 26 typedef enum 27 { 28 LATEX_ENCODING_UTF_8 = 0, 29 LATEX_ENCODING_ASCII, 30 LATEX_ENCODING_ISO_8859_1, 31 LATEX_ENCODING_ISO_8859_2, 32 LATEX_ENCODING_ISO_8859_3, 33 LATEX_ENCODING_ISO_8859_4, 34 LATEX_ENCODING_ISO_8859_5, 35 LATEX_ENCODING_ISO_8859_9, 36 LATEX_ENCODING_ISO_8859_10, 37 LATEX_ENCODING_IBM_850, 38 LATEX_ENCODING_IBM_852, 39 LATEX_ENCODING_NONE, 40 LATEX_ENCODINGS_MAX 41 } LaTeXEncodingIndex; 42 43 44 typedef struct 45 { 46 LaTeXEncodingIndex charset; 47 const gchar *name; 48 const gchar *latex; 49 gint geany_enc; 50 } LaTeXEncodings; 51 52 extern LaTeXEncodings latex_encodings[LATEX_ENCODINGS_MAX]; 53 54 void glatex_init_encodings_latex(void); 55 56 #endif 57