]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/texinfo/makeinfo/lang.h
This commit was generated by cvs2svn to compensate for changes in r56639,
[FreeBSD/FreeBSD.git] / contrib / texinfo / makeinfo / lang.h
1 /* lang.h -- declarations for language codes etc.
2    $Id: lang.h,v 1.6 1999/03/22 20:07:34 karl Exp $
3
4    Copyright (C) 1999 Free Software Foundation, Inc.
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, or (at your option)
9    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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20    Written by Karl Heinz Marbaise <kama@hippo.fido.de>.  */
21
22 #ifndef LANG_H
23 #define LANG_H
24
25 /* The langauge code which can be changed through @documentlanguage
26  * Actualy Info does not support this (may be in the future) ;-)
27  * Default for language code is en (english!)                kama
28  * These code should ISO 639 two letter codes.
29  */
30 typedef enum
31 {
32   aa,  ab,  af,  am,  ar,  as,  ay,  az,
33   ba,  be,  bg,  bh,  bi,  bn,  bo,  br,
34   ca,  co,  cs,  cy,
35   da,  de,  dz,
36   el,  en,  eo,  es,  et,  eu,
37   fa,  fi,  fj,  fo,  fr,  fy,
38   ga,  gd,  gl,  gn,  gu,
39   ha,  he,  hi,  hr,  hu,  hy,
40   ia,  id,  ie,  ik,  is,  it,  iu,
41   ja,  jw,
42   ka,  kk,  kl,  km,  kn,  ko,  ks,  ku,  ky,
43   la,  ln,  lo,  lt,  lv,
44   mg,  mi,  mk,  ml,  mn,  mo,  mr,  ms,  mt,  my,
45   na,  ne,  nl,  no,
46   oc,  om,  or,
47   pa,  pl,  ps,  pt,
48   qu,
49   rm,  rn,  ro,  ru,  rw,
50   sa,  sd,  sg,  sh,  si,  sk,  sl,  sm,  sn,  so,  sq,  sr,  ss,  st,  su,  sv,  sw,
51   ta,  te,  tg,  th,  ti,  tk,  tl,  tn,  to,  tr,  ts,  tt,  tw,
52   ug,  uk,  ur,  uz,
53   vi,  vo,
54   wo,
55   xh,
56   yi,  yo,
57   za,  zh,  zu,
58   last_language_code
59 } language_code_type;
60
61 /* The current language code.  */
62 extern language_code_type language_code;
63
64 /* Information about all valid languages.  */
65 typedef struct
66 {
67   language_code_type lc; /* language code as enum type */
68   char *abbrev;          /* two letter language code */
69   char *desc;            /* full name for language code */
70 } language_struct;
71 extern language_struct language_table[];
72
73 /* The encoding, or null if not set.  */
74 extern char *document_encoding;
75
76
77 /* The commands.  */
78 extern void cm_documentlanguage (), cm_documentencoding ();
79
80 /* Accents, other non-English characters.  */
81 void cm_accent (), cm_special_char (), cm_dotless ();
82
83 extern void cm_accent_umlaut (), cm_accent_acute (), cm_accent_cedilla (),
84   cm_accent_hat (), cm_accent_grave (), cm_accent_tilde ();
85
86 #endif /* not LANG_H */