home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / TeXsource / commontex / h / hyph < prev    next >
Encoding:
Text File  |  1988-04-08  |  1.3 KB  |  81 lines

  1. /*
  2.  *    Copyright 1986, 1987 Pat Joseph Monardo. All rights reserved.
  3.  *    Copying of this file is granted according to the provisions 
  4.  *    specified in the file COPYING which must accompany this file.
  5.  */
  6.  
  7.  
  8. /*
  9.  *        hyph.h
  10.  */
  11.  
  12. global    ptr        ha;
  13. global    ptr        hb;
  14. global    hword    hc[];
  15. global    int        hn;
  16. global    fnt        hf;
  17. global    ascii    hu[];
  18. global    int        hyf_char;
  19.  
  20. int        hyphenate();
  21.  
  22. global    byte    hyf[];
  23. global    int        hyphen_passed;
  24.  
  25. int        reconstitute();
  26.  
  27. #define    trie_link(T)        trie[T].hh2.rh
  28. #define    trie_char(T)        trie[T].hh2.b1
  29. #define    trie_op(T)            trie[T].hh2.b0
  30.  
  31. global    twoh    trie[];
  32. global    qword    trie_op_ptr;
  33. global    int        trie_max;
  34.  
  35. global    int        hyf_distance[];
  36. global    int        hyf_num[];
  37. global    qword    hyf_next[];
  38.  
  39. int        new_hyph_exceptions();
  40.  
  41. global    str        hyph_word[];
  42. global    ptr        hyph_list[];
  43. global    int        hyph_count;
  44.  
  45. #ifdef INIT
  46.  
  47. global    qword    trie_op_hash[];
  48. global    int        trie_min;
  49.  
  50. qword    new_trie_op();
  51.  
  52. #define    trie_root        trie_l[0]
  53.  
  54. global    int        trie_ptr;
  55. global    ascii    trie_c[];
  56. global    qword    trie_o[];
  57. global    int        trie_l[];
  58. global    int        trie_r[];
  59.  
  60. global    int        trie_hash[];
  61.  
  62. int        trie_node();
  63. int        compress_trie();
  64.  
  65. int        init_pattern_memory();
  66.  
  67. #define    trie_ref            trie_hash
  68. #define    trie_back(T)        trie[T].hh1.lh
  69.  
  70. global    bool    trie_taken[];
  71.  
  72. int        init_trie_memory();
  73.  
  74. int        first_fit();
  75. int        trie_pack();
  76. int        trie_fix();
  77.  
  78. int        new_patterns();
  79.  
  80. #endif
  81.