home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / ZAURUS / PILI102 / HYPERTXT.DOC < prev    next >
Text File  |  1996-12-27  |  4KB  |  96 lines

  1. Here are the hypertext commands:
  2. you will have to include this in your text document.
  3.  
  4.  
  5.  
  6. ^n^                      where n is the font size (0-3)
  7. ^B^                      bold
  8. ^U^                      underline
  9. ^I^                      italic (reset other attributes)
  10. ^R^                      reverse
  11. ^N^                      normal (reset all mode)
  12. ^Txxx^                   will put xxx value (tag) into the returned register
  13. ^filename.bin^           will display the filename.bin image (PILI format)
  14. ^xx-yy^                  where xx is the new x coordonates and yy the new
  15.                          y coordonates (ex: ^10-07^ will move cursor into
  16.                          x=10 and y=7)
  17. ^"graphic"^              will display graphic (non selectable)
  18.                          CAUTION result will depend on the font size.
  19. ^END=key_text^           will display key_text as selectable and exit
  20.                          hypertext mode if key_text is selected
  21. ^END="graphic"^          will display graphic as selectable and exit
  22.                          hypertext mode if selected
  23. ^filename.txt=key_text^  will load and display filename if key_text is selected
  24. ^filename.txt="graphic"^ will display graphic datas into gprint format
  25.                          and make it selectable (active Icon) you can add a
  26.                          '-' to go to line ("FFFFFF-FFFFFF" while produce a
  27.                          larger icon (16 lines, 3 raw) ).
  28.                          will load and run filename.txt if icon is pressed.
  29. ^:labelname=key_text^    will jump to the ^Llabelname^ into the same document
  30.                          if key_text is selected
  31. ^:labelname="graphic"^   will display graphic datas into gprint format
  32.                          and make it selectable (active Icon)
  33.                          will jump to the ^Llabelname^ into the same document
  34.                          if graphic is pressed
  35.  
  36.                xt yt xb yb  ->  (x top, y top, x bottom, y bottom)
  37. ^filename.txt=!10,10,20,20^   will activate a area and make it selectable
  38.  (you can use label also)     (active icon). Nothing is displayed.
  39.                               will load and run filename.txt or jump to label
  40.                               if icon is pressed.
  41.  
  42. ^eop^                    End of Page display (separate pages).
  43. ^Llabelname^             Label to be used with ^:xxx=yyyy^ command
  44.  
  45. graphic library support:
  46. you can use the "@label" syntax where ever you use a normal graphic pattern
  47. it will display the graphic which is at @label (don't forget the 'L' flag for
  48. label, also it must be a valid graphic enclose by ")
  49. here is an example:
  50. ^:FAQ="@faq"^
  51. .....
  52. ^eop^
  53. ^L@faq^
  54. "0F1838F424F424F4241B1C0505040403-FE06030101010101033BEE2414E408F0"
  55. ^eop^
  56. See the z-faq.txt text for more example
  57.  
  58. The 'ON' key will produce a break.
  59. By using the ^Txxx^ command you can make Pili program interact with the
  60. HyperHlp function (for knowing from where user returned).
  61.  
  62.  
  63. Here is also a brief description of the graphic command
  64.  
  65. Picture is display as bitmap, 8 bits patterns are represented as hexadecimal
  66. sequences, where the bit 7 is the most top pixel and the bit 0 the bottom pixel
  67. of the pattern.
  68. ex:   81 will display only 2 pixel one on top and one on bottom
  69.       7E will display 6 pixels except the one on top and the one on bottom
  70. by assembling your byte description you can draw pictures
  71. the '-' code will assemble 2 patterns description.
  72.  
  73.  small car graphic (vertical arrangment, 0x01 is the top pixel on screen)
  74.      "FF878484F417171C"
  75.  
  76.  small car graphic with a road (vertical arrangment, 0x01 is the top pixel on screen)
  77.      "FF878484F417171C-4040404040404040"
  78.  
  79.  small bullet
  80.      "0000182442424224180000"
  81.  
  82.  back button icon (placed lower right), INDEX.TXT is the name of the file to
  83.  load on action
  84. ^1^^N^^44-17^^B^BACK^
  85. ^48-17^ ^INDEX.TXT="FF808182848993A589818181FF-FF0181412191C9A591818181FF"^
  86.  
  87.  
  88.  
  89. other graphics (from Bo Lorentzen):
  90.  
  91. ^1^^N^^39-17^^:CUP="0F1838F424F424F4241B1C0505040403-FE06030101010101033BEE2414E408F0"^
  92. ^1^^N^^22-17^^:MORE="FF80818181818181F94929180F-FF0155555555555555555501FF"^
  93. ^1^^N^^48-17^^:SMILE="FF808182848993A589818181FF-FF0181412191C9A591818181FF"^
  94. ^1^^N^^B^^18-17^^32-16^^:Turkey="0003040C1223267D868DB442D3403F90944B3D52291E12110C0300-18A546EAB355AB5DA758A063FC00F028E06099D7AA55B36A974738-0000C040C020A141C1215D37DD7858B957B961C1A121C0A0408000"^
  95.  
  96.