PDA

View Full Version : Solved: Superscripted or subscripted word



Pasquale
10-05-2005, 01:16 PM
Hallo, I need help for my Bible study.

I must insert all superscripted word between <sup>superscripted</sup>:
example: pm l<sup>253</sup>it<sup>aur</sup>

bold is for example


I attach an example with superscripted

Thanks for help Pasquale

:dunno :dunno

TonyJollans
10-05-2005, 03:14 PM
Hi Pasquale,

More finding and replacing :)

Find \<sup\>(*)\</sup\>
Replace \1

With the cursor in the Replace box, click on Format, Select Font and then check Superscript
Check Use Wildcards
Hit Replace All

Pasquale
10-05-2005, 11:11 PM
Hi Tony,
the text doesn't have the script <sup> and </sup> but in the text many words are superscripted.
I must find all words superscripted and then replacing superscripted words with <sup>finds words</sup>.

Thanks

Pasquale

TonyJollans
10-06-2005, 12:58 AM
Sorry. That's slightly easier but still just a find and replace

Find (leave blank)
Replace <sup>^&</sup>

With the cursor in the Find box:

Press No Formatting if it's not greyed out
Press Format
Select Font
Check Superscript
Press OK
It should show under the find what box as Superscript

With the cursor in the Replace box:

Press No Formatting if it's not greyed out
Press Format
Select Font
UNCheck Superscript
Press OK
It should show under the find what box as Not Superscript/Subscript

(uncheck all boxes in the dialog)

That's it - hit Replace All

Pasquale
10-06-2005, 02:28 AM
Hi Tony it seems a great solution, works very very well

Thanks a lot

TonyJollans
10-06-2005, 02:40 AM
Pasquale,

Are you trying to convert a Word document to HTML?

Pasquale
10-06-2005, 02:48 AM
Tony,
no html, I save all document in txt file. In a SGML-like markup language for personal use with the software Bibleworks - www.bibleworks.com (http://www.bibleworks.com) - .

example: greek text inserted between <g>.....</g>
hebrew text " " <h>....</h>
a line break <p.....</p>

and so on.


Pasquale

Pasquale
10-06-2005, 02:52 AM
Hy Tony,
First) I must convert all unicode word in Times New Roman with a long long macro how you had explained me in a previous thread;
2) I must insert all greek words in <g>.....</g>;

and so on

I shall ask help after.
Now I am compiling the macro for font unicode to Times new roman.

Pasquale

TonyJollans
10-06-2005, 06:32 AM
OK. Just wondered whether there was possibly an easier way of doing what you're doing, but maybe not .. on to the next challenge.

Not quite sure what you mean by unicode to TNR. TNR is a font, Unicode is an encoding unrelated to the font. Don't know how to identify Greek words either (unless they're in the Greek alphabet I suppose) but I daresay you'll be back if you get stuck :)

Pasquale
10-06-2005, 09:50 AM
Hy Tony,
TNR is times new roman font,
Now I am studying anything to make.
Pasquale