ttebkmeta.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /******************************************************************************
  2. *
  3. * project name: TI-68k Developer Utilities
  4. * file name: ttebkmeta.h
  5. * initial date: 25/08/2000
  6. * author: thomas.nussbaumer@gmx.net
  7. * description: meta tags and control codes definitions
  8. *
  9. ******************************************************************************/
  10. /*
  11. This file is part of TI-68k Developer Utilities.
  12. This file is free software; you can redistribute it and/or
  13. modify it under the terms of the GNU Lesser General Public
  14. License as published by the Free Software Foundation; either
  15. version 2.1 of the License, or (at your option) any later version.
  16. As a special exception, UNMODIFIED copies of ttebkgen may also be
  17. redistributed or sold without source code, for any purpose. (The Lesser
  18. General Public License restrictions do apply in other respects; for example,
  19. they cover modification of the program.) This exception notice must be
  20. removed on modified copies of this file.
  21. This program is distributed in the hope that it will be useful,
  22. but WITHOUT ANY WARRANTY; without even the implied warranty of
  23. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  24. Lesser General Public License for more details.
  25. You should have received a copy of the GNU Lesser General Public
  26. License along with this library; if not, write to the Free Software
  27. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  28. */
  29. #ifndef __TTEBKMETA_H__
  30. #define __TTEBKMETA_H__
  31. #define CCI 0x07 // control code indicator
  32. #define SBCC_FF 0x01 // formfeed
  33. #define SBCC_HR 0x02 // horizontal ruler
  34. #define SBCC_LEFT 0x03 // alignment left
  35. #define SBCC_RIGHT 0x04 // alignment right
  36. #define SBCC_CENTER 0x05 // alignment center
  37. //--------------------------------------------------
  38. // the runlength indicator is NOT a real single
  39. // byte control key !!!
  40. //--------------------------------------------------
  41. #define SBCC_RLI 0xff // run length indicator
  42. //--------------------------------------------------
  43. // the following codes are just used during
  44. // preprocessing. they will not be in the final
  45. // ebook text
  46. //--------------------------------------------------
  47. #define SBCC_TRANS_ON 0xe0
  48. #define SBCC_TRANS_OFF 0xe1
  49. #define SBCC_REPLACE_ON 0xe2
  50. #define SBCC_REPLACE_OFF 0xe3
  51. #define SBCC_COLLAPSE_ON 0xe4
  52. #define SBCC_COLLAPSE_OFF 0xe5
  53. #define SBCC_DOUBLESPACE_ON 0xe6
  54. #define SBCC_DOUBLESPACE_OFF 0xe7
  55. #endif
  56. //#############################################################################
  57. //###################### NO MORE FAKES BEYOND THIS LINE #######################
  58. //#############################################################################
  59. //
  60. //=============================================================================
  61. // Revision History
  62. //=============================================================================
  63. //
  64. // Revision 1.2 2000/10/01 14:59:22 Thomas Nussbaumer
  65. // generic commit
  66. //
  67. // Revision 1.1 2000/08/27 23:51:17 Thomas Nussbaumer
  68. // initial version
  69. //
  70. //