[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: email-style italics: MARKUP.PM




Another version of MARKUP.PM is at XyWWWeb -- much improved and
enchanced:
 http://users.datarealm.com/xywwweb/MARKUP.ZIP
Also attached hereto.

- you can SAve a default markup tag set (all four tags)
after one complete run; if the set has been previously
saved, you are asked if you want to use it, which skips tag
entry (reserved filename: MARKUP.DAT in Editor's dir
)
- checks are performed after the first two (current) tags
are entered, i.e. you don't have to enter all four tags to
find out that there's something wrong with the first two
(current) tags, e.g. one or both of them don't exist

- you can continue to process, at your option, even if tags
(markups) are unbalanced in number - you are warned

- you can skip one tag, process just one tag (default =
process a pair), and toggle (reverse) the meaning of the new
tags if tags get out of balance due to human error (thus
right becomes left, and left becomes right -- this is more
useful than you'd think!)

- other stuff I don't remember

Play with a dummy file.

Reactions? Suggestions?

> What do I input at the prompts to get actual left and
> right quotes, and left and right single quotes?

That depends. If you're going to port your text to ANSI
(i.e. to Windows apps), then you want to change " and " to o
(char 147) and oe (148). Change `' to ae 145 and AE 146. If
you're staying in the XyWrite world, "" becomes 264 and 265,
`' becomes 266 and 267. Now, you canNOT use the number pad
(e.g. 1-4-7) to enter these keys! You need to have the
replacement keys assigned to keys on your KBD, and moreover,
in the case of chars over 255 (three-byte XyWrite charset
chars), you need to assign them in the KBD file using R1
through R9 functions, thus:
 nn=R2R6R4
for char 264. Don't use commas (do NOT say
"nn=R2,R6,R4") -- string the funcs together! It's
super-tricky to capture those three byters, and this is the
only way it works.

Another way to handle these odd characters is to put them in
the MARKUP.DAT file -- do a run with simple characters (a single
pair is enough) to learn how the MARKUP.DAT file is organized.
THEN you CAN
use the number pad to enter the keys you want. SAve MARKUP.DAT
when you're done.

Note that MARKUP will show you your current and replacement tags
in PRompts, but if you use three-byters or chars that pertain to
a different character set like ANSI, then they will not display
(in the PRompts) correctly. However, they will work. So just
go ahead and do it anyway.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------

Attachment: MARKUP.PM
Description: Binary data