[duxuser] Re: ptys commands disappearing/search replace codes

  • From: "Steve Dresser" <s.dresser@xxxxxxxxxxx>
  • To: <duxuser@xxxxxxxxxxxxx>
  • Date: Tue, 01 Jul 2014 22:45:27 -0400

Alan,

You don't necessarily need to enter the [hl] code in its entirety just to 
change the indent.  In fact, if all you want to do is change the indent, you 
can do it with the Alt+Right arrow or Alt+Left Arrow, depending on whether you 
want the indent to increase or decrease.

Steve

  ----- Original Message ----- 
  From: Blackburn, Alan 
  To: duxuser@xxxxxxxxxxxxx 
  Sent: Tuesday, July 01, 2014 20:30
  Subject: [duxuser] Re: ptys commands disappearing/search replace codes


  Thanks Kathy.

  The problem with hi would be the sheer amount of data to input at each change 
when you consider that the run-over cell number is changing at 1. a. b. i. ii. 
iii. Then the whole rigmarole again at 10. a . etc.-  almost every 2nd or so 
line.

  Anyhoo, deleting the code shouldn't delete following codes. I can see why it 
would delete ONE following ptye but not others.

  Thanks for the search/replace info.

  Alan

   

   

  From: duxuser-bounce@xxxxxxxxxxxxx [mailto:duxuser-bounce@xxxxxxxxxxxxx] On 
Behalf Of Riessen, Kathleen (SA School for Vision Impaired)
  Sent: Wednesday, 2 July 2014 10:10 AM
  To: duxuser@xxxxxxxxxxxxx
  Subject: [duxuser] Re: ptys commands disappearing/search replace codes

   

  Alan, can I suggest that you don't use the ptys codes at all to manage 
runovers.

  I find these are better managed using the hi code, where you can be very 
specific about your margins and runovers. It also allows for an hierarchical 
approach to paragraphing.

   

  The code is:

  [hiL:V:R:I:J:K:M:N:O:P]

  L = left margin

  V = runover margin

  R = right margin offset

   

  Then

  I = left margin increment

  J = runover increment

  K = right margin increment

   

  M, N, O, P set upper limits

   

  To actually answer your question.

  To search and replace codes:

  1. Make sure the codes are visible using the F3 toggle

  2. Press F6, and with the cursor in the "text to find" box press ctrl-[ to 
start the code. Now type in the code you want to replace

  3. Move to the "replace with" box and press ctrl-[ to start the replacement 
code, and put in code

  4. Press OK and DBT will do its search/replace.

   

  Kathy

   

  Kathy Riessen

  Coordinator Alternative Print Production

  South Australian School for Vision Impaired

  Tel: 08 8277 5255

  Email: Kathleen.Riessen440@xxxxxxxxxxxxxxxxx


------------------------------------------------------------------------------

  From: duxuser-bounce@xxxxxxxxxxxxx <duxuser-bounce@xxxxxxxxxxxxx> on behalf 
of Blackburn, Alan <Alan.Blackburn@xxxxxxxxxxxxxx>
  Sent: Wednesday, 2 July 2014 09:08
  To: duxuser@xxxxxxxxxxxxx
  Subject: [duxuser] ptys commands disappearing/search replace codes 

   

  I am formatting some questions using ptys codes to manage line run-overs.

  In my experience every version of DBT including 11.2 will (it seems) 
indiscriminately delete some following ptys/ptye codes if one is deleted. This 
is very annoying.

  Is there any way to delete just a single ptys code without others 
disappearing?

  I also need to search/replace codes through the whole document eg search 
ptys11 / replace with ptys12.

  How do I do this as F6 only seems to work with text?

  TIA

  Alan


  **********************************************************************
  This message is intended for the addressee named and may contain 
  privileged information or confidential information or both. If you 
  are not the intended recipient please delete it and notify the sender.
  ********************************************************************** 


  **********************************************************************
  This message is intended for the addressee named and may contain 
  privileged information or confidential information or both. If you 
  are not the intended recipient please delete it and notify the sender.
  ********************************************************************** 

Other related posts: