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

Nota Bene trick



On the off chance that anyone still reading this list uses Nota Bene, I
thought I'd mention a nice way of getting NB to open files with an
automatic insertion of a running header and a switch to the view that
doesn't show the cr-lfs.
Using the $X routine on the Enter key, or my modification thereof, I test
for the command line having NE[space] or CA[space], and then it acts
accordingly. The relevant part of the U2 frame follows. "c:\nb\start.sty"
is my running header file--I'll put then in after the frame's code.

XPLeNCODE v2.0
b-gin [UNTITLED]
{176}SX91,{176}IS00{177}{177}{176}SV94,ne {177}{176}SV95,ca {
177};*;[cr|lf]{176}IF{176}IS94{177}{244}{176}IS91{177}>=0{177
}[BX_]{176}PV91{177}[Q2_][TF_][BX_]me c:\nb\start.sty[Q2_][BX
_](VBX 0,226){176}EX{177}{176}EI{177};*;[cr|lf]{176}IF{176}IS
95{177}{244}{176}IS91{177}>=0{177}[BX_]{176}PV91{177}[Q2_][BX
_](VBX 0,226){176}EX{177}{176}EI{177};*;[cr|lf]
-nd
XPLeNCODE

Will Carl find errors/flaws in it? Stay tuned.


START.STY:

XPLeNCODE v2.0
b-gin [UNTITLED]
{176}LBa{177}{176}OF.75IN,1.5IN{177}{176}SF1,1{177}{176}FM1SZ
=10PT,FT=2PT,LS=.8LI;{176}MDSU{177}{176}FN1{177} {176}MDNM{17
7}{176}SZ10PT{177}{177}{176}BF0{177}{176}FS1{176}LS.3LI{177}[
cr|lf]________________________________________{176}LS.3LI{177
}[cr|lf][cr|lf]{177}{176}FW1[cr|lf]__________________________
____________________________________________[cr|lf]{177}{176}
RHA{176}SZ10PT{177}{176}VA$FP{177}{176}SZ12PT{177}{176}LJ1{17
7}{176}LJ2{177}{176}PN{177}{177}{176}SSBLOCK,IP=5DI,5DI,8DI,L
L=0PT,0PT,SZ=11PT{177}{176}SSUNBLOCK,IP=0,0,0,LL=0,2PT,SZ=12P
T{177}{176}LBb[cr|lf][cr|lf]{177}
-nd
XPLeNCODE
SSBLOCK and SSUNBLOCK refer to the styles I've made for block indent and unindent.

Harry Binswanger
hb@xxxxxxxx