RTF Pocket Guide

First Edition Juli 2003
ISBN 978-0-596-00475-0
Seiten 156
EUR9.90, SFR16.90


Weitere Informationen zu diesem Buch

Inhaltsverzeichnis | Index | Probekapitel | Rezensionen |
Download der Beispiele |


Index

	
[ Symbols ], [ A ], [ B ], [ C ], [ D ], [ E ], [ F ], [ G ], [ H ], [ I ], [ J ], [ K ], [ L ], [ M ], [ N ], [ O ], [ P ], [ Q ], [ R ], [ S ], [ T ], [ U ], [ V ], [ W ]

Symbols[ Top ]
<< and >> keys on MSHelp button bar, 96-97
\'xx escape, expressing characters using hex numbers, 8, 29, 33, 66
\ _ escape, indicating nonbreaking hyphen, 11, 30
\ - escape, indicating optional hyphen, 11, 31, 34
\ ~ escape, indicating nonbreaking space, 11, 30, 34
{ and } characters
      parsing RTF, 125
      wrapping parts of tables in groups, 76

A[ Top ]
A4-sized paper, printing on, 60
"About the Author" topic screen and browse sequences, 97
\ abshMinHeight command, 24
\ absh-ExactHeight command, 25, 114
\ abshN command, 114
\ abswN command, 114
adding space before/after paragraphs, 19, 104
\ additive option in character style declarations, 42, 71
alignment in cells
      horizontal, 85
      horizontal and vertical, 86-87
      vertical, 84
ANSI character set, 6, 127
      \ ansi command, 36
      MacAscii and, 8
\ ansi command, 36
ASCII form-feed character, expressing in RTF, 34
ASCII newline character, expressing in RTF, 34
ASCII-RTF characters, 6
      chart of, 127-135
\ author command, 43
automatic hyphenation, turning on/off, 22, 47

B[ Top ]
\ b command, 26
background text, changing color of, 39, 57
bitmap (.bmp) files, 97-100
BorderDirection command, 84
borders
      adding to tables, 81-84
      alignment commands and, 87
      around paragraphs, 24
      line-drawing and, 61
bottom margin, controlling placement of, 59
\ brdrs command, 83
\ brdrw command, 83
browse sequences and topics, 96-97

C[ Top ]
\ cbN command, 39, 57
CD case program, 113-122
cells
      building tables, 76-77
      declarations, 74-75
      horizontal alignment in, 85
      horizontal and vertical alignment in, 86-87
      vertical alignment in, 84
\ cellxN command, 109
      adding borders to tables, 82
      building tables, 76
      cell declarations of rows, 75
      horizontal/vertical alignment in cells, 84-87
      starting tables away from left margin, 79, 80
centering
      paragraphs, 8, 18
      text vertically/horizontally, 64
\ cfN command, 39, 57
change, 27
character formatting, 26-35
      basic commands for, 26
      resetting with \ plain command, 32
character styles, 68
      \ additive option in declarations, 42, 71
      definition of, 41, 69
characters
      ASCII-RTF, 6
            chart of, 127-135
      symbols in documents, 65-66
\ chpgn command, 47
\ chshdng0 \ chcbpatN construct, 58
\ clbrdrt... construct, 83
\ clvertalb \ cellxN command, 84
\ clvertalc \ cellxN command, 84
\ clvertalt \ cellxN command, 84
cm routine, 109
Code Page 1252, 6, 36, 127
Code Page 437, 36
Code Page 850, 37
color tables, 39-41
      changing text color, 57
{ \ colortbl...} construct, 39-41, 57
\ colsN command, 53-55
\ colsxN command, 53
columns
      drawing lines between, 53
      newspaper columns, 53-55
{ \ * \ command ...} construct, 48
commands in RTF, 9
\ comment command, 49
comments
      creating, using { \ * \ command ...} construct, 49
      \ doccomm metadata field-name command and, 44
\ company command, 43
content section of documents, 48
converting to twips, 79, 137-139
{ \ creatim \ yrY \ moM \ dyD \ hrH \ minM} construct, 43

D[ Top ]
%d format (decimal-expressed integer), using, 106
datebook generator program, 103-108
declaring styles in documents, 41
      \ additive option and, 71
default fonts for documents (see \ deffN command)
Default Paragraph Font character style, 69
defaults for metadata fields, 45
\ deffN command, 8, 40
      in document prolog, 37
      font commands and, 27
      \ plain command and, 46
\ deflangnumber command, 46
directory listing program, 108-112
\ doccomm command, 44
documents
      content section, 48
      controlling page margins, 59, 60
      default fonts (see \ deffN command)
      end of, using } character, 48
      landscape/portrait mode, specifying, 59
      metadata extractor program, 122-124
      overstrikes in RTF, 64
      page size, specifying, 59
      pages, centering, 64
      preliminaries section, 46
      printing, 59
      prolog to, 8, 36
      sections and columns, 54
      storing metadata using info groups, 42-46
      structure of, 35-48
      symbols in, 65-66
DOS Code Page 437, 36
DOS Code Page 850, 37
double-spacing paragraphs, 23
drawing objects in RTF, 60

E[ Top ]
embedding images, 62-64
      in Help-RTF, 97-100
end of document, using }, 48
ending current paragraph, 17
errors in RTF syntax, 10
esc routine, 109, 114
escape, 7
escapes, RTF, 10, 29-32
      ASCII-RTF character chart and, 127-135
      Unicode characters and, 33-35
escapes, Unicode, 34
exact image positioning, 64
exact paragraph positioning, 24, 114
example programs, 103-126
      datebook generator, 103-108
      directory listing, 108-112
      metadata extractor, 122-124
      origami CD case, 113-122
extracting metadata, 122-124

F[ Top ]
file_row function, 108
\ fiN command, 20
flashcards, generating, 106
\ fmodern command, 38
\ fnil command, 38
font tables, 8, 38-39
      font commands and, 27
      syntax for, 38
{ \ fonttbl...} construct, 8, 38
\ footnote command, 55
      browse sequences and, 96-97
      hyperlinks and popups, 91
      peculiarities with Help-RTF and, 101
      starting topics, 93
      topic definitions in Help-RTF, 89
foreground text, changing color of, 57
formatting codes
      parsing considerations and, 124-126
      preliminaries section of documents, 46
formatting, character (see character formatting)
form-feed character, expressing in RTF, 34
\ froman command, 38
\ fsN command, 5, 9, 27-29
      \ plain command and, 47
\ fswiss command, 38
\ ftnbj command, 47, 56
full justification for paragraphs, 18

G[ Top ]
generating RTF with/without styles, 72-73
generating tables using file_row function, 108
graphics
      inserting in Help-RTF, 97-100
      line-drawing in RTF, 60
groups in RTF, 11, 76

H[ Top ]
half points, \ fs command's parameter measurement, 5, 9, 27
hc.exe file, 89
hcrtf program (Help Workshop), 99
HCWSETUP.EXE file, 89, 100
"Hello, World!" program in RTF, 4-6
      "Salvête, Omnês!", 6-9
Help Compiler, Microsoft, 89-101
      long filename problem and, 98
help files (.HLP), generating, 89-101
Help Workshop, Microsoft, 99-101
Help-RTF
      basics of, 89-91
      embedding images in, 97-100
      hyperlinks/popups, 91-93
      peculiarities of, 100
      topic information, 93-97
hexadecimal numbers, using to express characters in RTF, 8, 29, 33, 66
horizontal alignment in cells, 85
horizontal and vertical alignment in cells, 86-87
Hull, Tom, 113
hyperlinks, 58
      in Help-RTF, 91-93
\ hyphauto command, 22, 47
hyphenation point escape ( \ -), 11, 31, 34
\ hyphpar command, 22
\ hyphpar0 command, 47, 22

I[ Top ]
\ i command, 26
images, embedding, 62-64
      in Help-RTF, 97-100
in routine, 109
indenting paragraphs, 20
\ info group, 42, 122
info groups, 42-46
integers, ensuring that values are, 105

J[ Top ]
journal preprint style, printing documents in, 60
justifying paragraphs, 17

K[ Top ]
\ keep command, 21
      peculiarities with Help-RTF and, 101
\ keepn command, 22
      peculiarities with Help-RTF and, 101

L[ Top ]
landscape mode for documents, specifying, 59
\ lang1024 \ noproof \ langnpLang-num idiom, 51
\ langLangnum command, 50-53, 135
\ langnpLangnum command, 51
language codes, RTF, 46, 51, 135-137
language tagging, 50-53, 135
Latin-1 nonbreaking space, expressing in RTF, 34
Latin-1 soft hyphen, expressing in RTF, 34
left justification for paragraphs, 17
left margin
      controlling placement of, 59
      starting tables away from, 79-80
"License" topic screen and browse sequences, 97
\ liN command, 20
\ line command, 9
      centering text vertically/horizontally, 64
      new lines in middle of cells, 75
      using instead of ASCII newline character, 34
line subroutine, 114
\ linebetcol command, 53, 55
linebreaking paragraphs, 21-23
line-drawing feature, 60, 114
links, 58
      in Help-RTF, 91-93
long filename problem and Help Compiler, 99

M[ Top ]
\ mac command, 36
MacAscii character set, 36
      ANSI character set and, 8
\ margbN command, 59
margins, controlling, 59, 60
\ marglN command, 59
\ margrN command, 59
\ margtN command, 59
metadata
      extractor program, 122-124
      field-name commands, 43
      storing, using info groups, 42-46
Microsoft Help Compiler, 89-101
      long filename problem and, 98
Microsoft Help Workshop, 99-101
modules for writing RTF, 103
MS Windows help files, creating, 89-101
MS-DOS Multilingual Code Page, 37
MS-DOS, default character set for, 36

N[ Top ]
newline character, expressing in RTF, 34
newspaper columns feature in RTF, 53-55
nonbreaking hyphen escape ( \ _), 11, 30
nonbreaking space escape ( \ ~), 11, 30, 34
\ noproof command, 51
"Normal" paragraph style, 69
\ nowidctlpar command, 22

O[ Top ]
optional hyphen escape ( \ -), 11, 31, 34
orientation of pages, specifying, 59
origami CD case program, 113-122
overstrikes in RTF, 64
overview of RTF, 6-9

P[ Top ]
\ page command, 89
      hyperlinks/popups, 91-93
      peculiarities with Help-RTF and, 101
      using instead of ASCII form-feed character, 34
page margins, controlling, 59, 60
page numbering, turning on, 47
page size of documents, specifying, 59
\ pagebb command, 21
pagebreaking paragraphs, 21-23
paper CD case program, 113-122
paragraph styles, 68
      definition of, 41, 69
paragraphs, 14-25
      adding space between, 19, 104
      automatic hyphenation, turning on/off, 22, 47
      borders around, 24
      centering, 8, 18
      centering text vertically/horizontally, 64
      double-spacing, 23
      ending, 17
      exact positioning of, 24, 114
      indenting, 20
      justifying, 17
      linebreaking, 21-23
      pagebreaking, 21-23
      resetting formatting attributes to default values, 17
      widow-and-orphan control, turning on/off, 22, 47
\ pard and \ par commands, 17
\ pard \ intbl ...\ cell construct, 75
{ \ pard... \ par} construct, 17
\ pard \ plain command, using with footnotes, 57
parsing RTF, 124-126
pattern matching and parsing considerations, 124-126
\ pc command, 36
\ pca command, 37
{ \ pict...} construct, 62
pictures, inserting into documents, 62-64
\ plain command, 32
      language tagging and, 50
      in preliminaries section, 46
plaintext in RTF, 12
popups in Help-RTF, 91-93
portrait mode for documents, specifying, 59
\ posxN command, 114
\ posyN command, 114
preliminaries section of documents, 46
printing documents, issues with, 59
prolog to RTF document, 8, 36
\ pvmrg \ phmrg \ posxc \ posyc \ qc construct, 64
\ pvpg \ phpg command, 114
\ pvpg \ phpg \ posxX \ posyY \ abswW construct, 24

Q[ Top ]
\ qc command, 8, 18
      centering images, 98
      horizontal alignment in cells, 85
\ qj command, 18
\ ql command, 17
      horizontal alignment in cells, 85
\ qr command, 17
      horizontal alignment in cells, 85
quadding (justifying paragraphs), 8

R[ Top ]
regular expressions and RTF, 124-126
Rich Text Format (RTF) Specification, 1
right justification for paragraphs, 17
right margin, controlling placement of, 59
\ riN command, 20
RoboHelp product, 101
\ row command, 74, 75
rows
      building tables, 76-77
      creating, 74-75
      starting tables away from left margin, 79-80
      stretching, to fit contents, 77
RTF
      benefits of using, 2
      character formatting in, 26-35
      commands, 9
      document structure, 35-48
      exact paragraph positioning feature of, 114
      example programs, 103-126
      extracting metadata from documents, 122-124
      generating, with/without styles, 72-73
      groups, 11
      "Hello, World!" program, 4-6
      language codes, 46, 51, 135-137
      line-drawing feature of, 60, 114
      newspaper columns feature, 53-55
      overview of, 6-9
      paragraphs in, 14-25
      parsing, 124-126
      plaintext in, 12
      styles
            as they are represented, 68
            as users experience them, 67
            stylesheet syntax, 69-71
            updating, 71-73
      syntax of, 9-14
      Windows help files, creating, 89-101
RTF escapes, 10, 29-32
      ASCII-RTF character chart and, 127-135
      Unicode characters and, 33-35
RTF::Generator module, 103
RTF::Writer module, 103
rtf_end subroutine, 108
rtf_start subroutine, 108
{ \ rtf1 construct (at start of RTF file), 8, 36
rtfdir subroutine, 108

S[ Top ]
"Salvête, Omnês!" (Hello, World! in Latin), 6-9
sample programs, 103-126
      datebook generator, 103-108
      directory listing, 108-112
      metadata extractor, 122-124
      origami CD case, 113-122
\ saN command, 19, 98, 104-106
\ sbasedonN command
      style updating, 71-73
      stylesheets and, 41
\ sbasedonnum command
      stylesheets and, 69
\ sbN command, 19, 98
\ scaps command, 27
screens in Help-RTF, 89, 93-97
      browse sequences and, 96-97
\ sectd \ sect, switching modes in documents with, 55
sections and columns, 54
spacing between paragraphs, 19, 104
\ strike command, 27
      peculiarities with Help-RTF and, 101
styles in RTF
      as they are represented, 68
      as users experience them, 67
      stylesheet syntax, 69-71
      updating, 71-73
{ \ stylesheet...} construct, 41, 69-71
stylesheets, 41
      syntax of, 69-71
\ sub command, 27
\ super command, 26
Symbol font, characters available in, 66
symbols in documents, 65-66
syntax of RTF, 9-14

T[ Top ]
tables, 73-87
      adding borders to, 81-84
      building, 76-77
      contents that stretch rows, 77
      creating rows, 74-75
      generating, using file_row function, 108
      starting, away from left margin, 79-80
tagging, language, 50-53, 135
text color, changing, 57
\ title command, 43
      extracting metadata from RTF documents, 122-124
title pages, centering vertically/horizontally, 64
top margin, controlling placement of, 59
topics in Help-RTF, 89, 93-97
      browse sequences and, 96-97
\ trgaphN command
      row declarations and, 74
      starting tables away from left margin, 79
\ trleftN command, 79
\ trowd command, 74
\ trqc command and peculiarities with Help-RTF, 101
twips
      conversion ruler (see inside back cover)
      converting to, 79, 137-139
      line-drawing feature, 61
      paragraph indenting, 20
      spacing between paragraphs, 19
two-up format, printing documents in, 60

U[ Top ]
\ uc1 \ unumber* construct, 33, 35
\ ul command, 26
      peculiarities with Help-RTF and, 101
\ uldb command and peculiarities with Help-RTF, 101
Unicode characters, 33-35
      accessing, 127RTF escapes and, 30
      symbols, accessing, 66
Unicode escapes, support for, 34

V[ Top ]
\ v command and peculiarities with Help-RTF, 101
vertical alignment in cells, 84

W[ Top ]
WHAT6.EXE file, 89
\ widctlpar command, 22, 47
widow-and-orphan control, turning on/off, 22, 47
widths-to-offsets as algorithm, 80
Windows help files, creating, 89-101

	

Zurück zu RTF Pocket Guide


Themen

Buchreihen

Special Interest

International Sites

O'Reilly China O'Reilly France O'Reilly USA O'Reilly Japan O'Reilly Taiwan