making sequential numbers

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
pb4072
Posts: 14
Joined: Tue Nov 10, 2009 7:24 pm
Location: Washington, DC area

making sequential numbers

Post by pb4072 »

Is there any way to find numbers in a file and to re-order them, sequentially? I've got a problem MS Word file. When saved as an RTF file, I can pull it up in TextPad. I need to make sure that all the footnotes are sequential. Word is very frustrating when it comes to long documents with footnotes. So, I can see the footnotes in the RTF file as ASCII codes. I just need to make them sequential.

Thanks.
Peter
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

What does the relevant part of the RTF file look like?

What do you want it to look like?
pb4072
Posts: 14
Joined: Tue Nov 10, 2009 7:24 pm
Location: Washington, DC area

footnotes

Post by pb4072 »

Hmmm. Well, it looks like this. The first "\footnote" indicates the place in the file where the footnote reference is. In this case, it's footnote number 1. Everything following that is the actual footnote as it appears at the bottom of the page.

disputed.{\cs16\super 1}{\footnote \pard\plain \s35\ql\fs18 {\cs16\super 1} \pard\plain \s8\fi150\f0\fs20\sb100 {\i See,
e.g}., Zubulake v. UBS Warburg LLC ({\i Zubulake IV}), 220 F.R.D. 212,
219 (S.D.N.Y., 2003) (finding that the defendant had a duty to preserve
backup tapes); Wm. T. Thompson Co. v. Gen. Nutrition Corp., 593 F.
Supp. 1443 (C.D. Cal. 1984) (ordering default judgment and $453,312.56
in sanctions where the defendant destroyed a number of electronic
documents not otherwise available, despite a court order to preserve
all records kept in the ordinary course of business).
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

And how do you want this adjusted?

Please explain exactly what you want entirely in terms of the text in your example, without presupposing any knowledge of the layout of RTF documents. And provide the text as it should appear after it has been adjusted.

(BTW, if you use Word 2007 or 2010, your documents will be stored as (compressed) XML files and will be considerably easier to edit.)
pb4072
Posts: 14
Joined: Tue Nov 10, 2009 7:24 pm
Location: Washington, DC area

Post by pb4072 »

I'd have to give you the entire RTF file to show you how I want it. If you look at the RTF above, you'll see the footnote, both its reference in the text and its bottom-of-the-page footnote data. If there are 300 footnotes in the document, which there are, then, I want to be able to numerically synchronize them so that they're in order, from 1 to 300.
Your bit about Word 2010 essentially being XML is a fascinating one. I guess I can unzip the Word file to see the xml files inside it, right. Then, I could effectively edit the xml with Textpad. But, I'd still have the same problem. I need the footnotes in sequential order. My problem is is that the RTF that I'm getting is a pretty funky RTF output from our Unix publishing system. We need to export the RTF so that we can send Word files to outside authors, the people who original wrote this stuff. And, because these authors are not being paid, but are doing this work for us just because of the "status" of doing work for us, they need the Word file to be stable. And, that means that, if they add or delete footnotes in the Word file, they need those footnotes to automatically be in sequence. Word has functionality to do this, but, for whatever reason, it doesn't work with these RTF files.
Thanks.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

If you're unable to explain your requirements completely and precisely, and purely in terms of the text and not what it represents, I am unable to help you.

I'm not being paid, either.
pb4072
Posts: 14
Joined: Tue Nov 10, 2009 7:24 pm
Location: Washington, DC area

Post by pb4072 »

OK. I'm sorry. I feel that I've done what I can. I'll seek other ways. Thanks, anyway.
Post Reply