Insert End of Paragraph mark before any superscript number

I am formatting a Bible for a client. The text was provided with verse numbers before each verse, but each chapter is one long paragraph. Now the client has decided they want each verse to begin a new paragraph. How can I globally insert an End of Paragraph mark before each superscrpt verse number?

In case it helps, and for what it's worth, here's what I assumed:
As in many bibles, the superscript verse number is simply mixed in the text, preceeding the first sentence of the verse. Could be anywhere, and there is no other special treatment involved. Like this:

Similar Messages

  • Find/change using end of paragraph marker /p

    Folks,
    We are attempting to remove a space at the end of a paragraph in unstructured documents.  If I enter ' \p' in the Find text field in the Find/Change dialog FrameMaker finds the the appropriate paragraphs.  If I then enter '\p' in the Change text field in the Find/Change dialog and click Change the space is removed.  However the target paragraphs style is also applied to the the following paragraph.  This occurs in FrameMaker 8,9 & 10.
    If the Find/Change scenario above is followed with these two paragraphs the first paragraphs style is applied to the second paragraph.
    paragraph 1 with a trailing space and using Heading 1 style
    paragraph 2 using Heading 2 style
    Any thoughts?
    regards
    Jon

    JonEBe wrote:
    Arnis,
    Thanks!
    Yes why bother indeed!  I am at the end of a rather lengthy process to convert the creation and output of Framemaker documents into a database with a web front end.  As part of this the existing documents are imported to save lengthy keying/rekeying.  The output from the system is then compared against the originals.  As a matter of course I stripped of leading or trailing spaces (it is amazing how many there are in a manually created/updated document) so we therefore have noisy comparison documents as a result.
    BTW the trailing spaces are apparently a legacy of the conversion from WordPerfect.
    My choices are to re-import without stripping the trailing space and remove them at a later date or create a script using the FDK, which I am very familiar with, and is the likely outcome!
    Jon
    Just a wild thought - a real GREP processor, not the mild imitation in FrameMaker, can find a construction like a space followed by a paragraph marker and delete the space without affecting the marker. The technique is a form of the "lookbehind" or "lookahead" feature. I'm zero-skilled at actually doing this beyond just mentioning it, but the technique might work in a MIF, or text conversion, of the file. Search Google for terms like "GREP lookbehind lookahead," without quotes.
    Another possibility is that once the FrameMaker file is converted to the database, it would be possible to use a database command to remove the space.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How do I include the End of Paragraph character with the other characters in a GREP definition?

    I have a character style that changes the line spacing.  The GREP definition that applies it is a period.  This selects everything bu t the Endo of Paragrpah character (EOP).  The result is that the entire paragraph reformats but the last line of text has the wrong spacing.
    I am new to GREP and have not yet found a way to include the EOP character in the change.  I have tried  the statement :    .*$   but that has no affect.

    JES5910 wrote:
    Try defining a paragraph style with a smaller font and leading size then the default style and apply it to the pragraph using GREP definition of a period (all characters).
    That's exactly what I did. I started with 12/14 and changed to to a style using 8/9. Everything changed.
    There is no need to select all the text in a paragraph to assign a paragraph style since the style is aparagraph level attribute. You cannot have more than one paragraph style applied to a single paragraph, so it is IMPOSSIBLE that the end of paragraph marker has a different paragraph style applied than the rest of the paragraph. It IS possible, however, to apply a different character style or local formatting to it (and that's one reason it's better to use a triple-click instead of dragging to select an entire paragraph), so if the last line is not picking up the corrct spacing, the EOP character is either character styled or locally formatted.
    The only way you would know if this is the case is by selecting the EOP character, either as part of the entire paragraph, or by itself. If the paragraph style is then listed with a plus sign, there's local formatting applied. If not, check the character styles panel and I think you'll see a character style applied there (it would say mixed if you've selected the entire paragraph, unless of course you've applied the same character style to everything, which would be a major mistake).
    You can use GREP to remove the character style, if that's what it is, by searching for \r and in the change format set the character styel to [None]. This would work for all paragraphs regardless of waht the leading should be. If the incorrect specification is a local format, however, you would have to either select all text and remove local formatting (which might remove somethign you want, as well) or set up GREP searches to look for the \r with the correct paragraph style in the find formatting, then change the leading explicitly for that style inthe change formatting.

  • Search for end-of-paragraph before end of story? CS6

    Hi,
    Does anybody know of a way to search for a paragraph mark directly
    before an end of story marker? I'd like to get rid of them, e.g., in
    footnotes, where the last paragraph mark causes an unnecessary blank line.
    Thanks,
    Ariel

    I found \z on Mike Witherell's great little chart at http://www.jetsetcom.net/useful-resources/indesign-cs6-resources.html
    End of paragraph, at least in GREP is a location, not a character (the metacharacter is $) and can't be selected or replaced. Every paragraph has one. Paragraphs before the end of story also have a paragaph break, and that's what you are trying to remove at the end of your footnote story.
    @David, Why bother withthe lookahead? \z is the location, so I would presume that the search would start at the end of story and look at the last character. That has to be faster than parsing every break in the paragraph to check for the end of story location after, and there's no possibility that you will actually delete the EOS since it can't actually be selected.

  • How to get consecutive numbering at the end of paragraphs?

    In a big text some paragraphs, already styled, need a consecutive numbering.
    At the beginning of the paragraph the numbering will create a mess.
    Tried with fake footnotes: Impossible. The text has footnotes and converting the faked ones to text is not available.
    Tried a nice script written by Jong to add/subtract a number on numbered items, but it is restricted to index situations.
    O R I G I N A L                                   R E Q U I R E D
    a. Many years ago.                    a. Many years ago. [1]
    Lucy Smith                              Lucy Smith
    b. Margaret run away.               b. Margaret run away. [2]

    Hi, Camilo:
    First of all,  I was not thinking clearly when I blamed ID for a cross-reference bug. It was my error. Cross-references within a document need to be updated by the author, using the Update cross-references button at the bottom of the Hyperlinks & Cross-References panel, when they're moved or their source content changes. I was thinking about the known issues with cross-references that go between ID document files, which update automatically - performance slows, and sometimes they cause crashes.
    Here's the replacement reply for my previous post #1:
    camilo umaña wrote:
    In a big text some paragraphs, already styled, need a consecutive numbering.
    At the beginning of the paragraph the numbering will create a mess.
    Tried with fake footnotes: Impossible. The text has footnotes and converting the faked ones to text is not available.
    Tried a nice script written by Jong to add/subtract a number on numbered items, but it is restricted to index situations.
    O R I G I N A L                                   R E Q U I R E D
    a. Many years ago.                    a. Many years ago. [1]
    Lucy Smith                              Lucy Smith
    b. Margaret run away.               b. Margaret run away. [2]
    It's not clear if the right-hand numbers are supposed to replace the left-hand numbers while keeping the same sequence, or if you want to retain the left-hand numbers. You can use cross-references to create right-hand numbers from the paragraphs auto-numbers.
    Insert a cross-reference to the paragraph at the end of the text, with a format that captures its autonumber, and adds any ornamentation, like the square brackets in your example.
    If the rightmost number must be positioned at the right margin of the numbered paragraph, no matter how long or short it is, or if it wraps around to new lines, add a right-aligned tab stop to the paragraph style, positioned at the location where you want the number to appear, and insert a tab character in the paragraph before the cross-reference.
    If the left hand numbers are supposed to go away, you can't change the paragraph style to a non-autonumbered style, because you need the numbers that the cross-references capture. So, you need to create a character style that's very small and uses Paper for the text color, to hide the autonumbers. If the smallest point size (IIRC, it's 2 points) leaves too much space at the left of the autonumber, you might be able to reduce it further by using a small value in the Horizontal Scale property of the Advanced Character Formats in the Character Style dialog box. Your example seems to show that the numbered paragraphs are indented, so the space occupied by the hidden autonumbers may not be a problem.
    If the paragraphs are rearranged in sequence, you'll need to use the Update Cross-References button at the bottom of the Hyperlinks & Cross-References panel to update the affected cross-references.
    I'm still not clear about numbers at the end of the paragraphs in square brackets. Are they supposed to be the same value as the auto-number at the beginning of the paragraph, except that they use a numeric display format instead of an alphabetic format?
    I don't know of any code that can work with a find/replace action that can capture a paragraph's autonumber and display it at a specific location. As you've seen, cross-references need to be inserted manually. You might post a query in the InDesign scripting forum to see if someone has figured this out. If there's no complete solution, you might want to ask about a script that searches for the ends of paragraphs of the autonumbered paragraph style and opens the Insert Cross-Reference dialog box.
    Using Quick Apply to execute the Insert Cross-References command, which opens the New Cross-References dialog box, might save some energy for doing the many manual cross-references insertions. Search Google for terms like "InDesign quick apply" without quotes. You can open Quick Apply with a keystroke shortcut - Cmd+Return on Mac. You can type abbreviated commands. I use "rt cr" without quotes for (Inse)rt cr(oss-reference). Opening Quick Apply repeats the last command that was entered.
    Also, if you haven't tried a Google search for phrases like "InDesign numbered list at right end of paragraph," without quotes, give it a try. There are lots of links, including one to this forum article. Perhaps there's a golden nugget among them.
    If you think it's important for ID to be able to place autonumbers at the ends of paragraphs, please post a formal feature request here: Wishform Eventually, some user originated feature requests are incorporated in future ID releases.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • FM 8 -- Track Text Edits - Paragraph Marks

    FrameMaker 8.0 - After accepting all changes in a table, the change bars disappeared as expected but the paragraph marks remained green. How do I correct this?

    Hi Karen,
    I notice one thing that there is a "red hyphen" between "the end" in the first sentence which means there was a Deletion of a Space done, with TTE enabled.
    What I believe is happening, that deletions are getting accepted over here, in this specific FrameMaker document, hence you are missing a space between them.
    I would like you to do a test on the same document, so that we may verify if this is something specific to the document or not?
    1) Delete a compelete word/phrase from the same sentence, repeat the same procedure that removed the space and notice this time, is the word too getting ommited along with that space?
    2) Disable the TTE insert two spaces between 'the' and 'before', the Enable the TTE and write the same way as you had earlier, but begin adding text like as follows--
    I placed my cursor at the ONLY_NEW_WORD_INSERTED before where I started adding text.
    I wish,   I could illustrate these steps in a less confusing manner, But please try them and let me know if it clears few things for you?
    Good Luck, Karen.
    Thanks,
    Anjaneai

  • How do I replace -| symbol with paragraph mark?

    I edit a newsletter. Some of the contributors send their articles inline (not as attachments). Some of them have a non printing special character that looks like a bent left arrow instead of a paragraph mark. I think it is one of the first ascii characters, but don't know which one.
    How can I use find/replace to change these to paragraph symbols?

    I suspect they compose in Word or similar and then paste into Thunderbird. Something like that bent arrow symbol appears in Word when you use shift+return, though it's not clear why your contributors would be using it; maybe force of habit, or they don't know any better. ;-)
    Shift+return is a handy way to force a line end without creating a paragraph break. Useful in bullet point lists to create multiple paragraphs, or organize pictures. Or they're using something like an Apple which uses non-standard line breaks.
    I don't think Thunderbird's editing tools are capable of doing the search-and-replace that you have asked about.
    If you want to do all your editing inside Thunderbird, you may be able to copy then use "paste without formatting" (ctrl+shift+v) to eliminate these line breaks. Doing this will also remove other formatting, so may create more problems than it solves.
    I think in your position I'd take the text away to a better-than-average editor where a proper search-and-replace could be done, or you could select the lines and join them. Notepad++ would be my choice on Windows, probably Bluefish on Linux.
    And a proper word processor may also be able to tidy it up, but the challenge then would be to avoid importing all the formatting overheads that would come with it when copy-and-pasted from the word processor into Thunderbird. Again, Thunderbird's "paste without formatting" might be useful here too.

  • A function or way to identify a word before any char

    Hi All,
    I am looking for a way to identify the FIRST word BEFORE any specific character. For example :
    I have a string: "This *day*, of OCT *is*, very *Sunny*, "
    I want know if there is a function or a logic to identify just the FIRST word before ',' (here ',' is the specific character).
    So the solution would be: "day is Sunny"
    Kindly let me know.
    Thank you,
    Aj09

    Hi,
    This sounds like a job for regular expressions.
    REPLACE ( REGEXP_REPLACE ( txt
                      , '[^, ]+'     -- anything that's not a comma or space (1 or more)
                        || '( |$)'     -- right before a space (or end)
         )I assume a "word" is any group of one or more characters that does not include a comma or space.
    If other punctuation characters( like '.' and ')') delimit words, then this will have to be adjusted.
    The REGEXP_REPLACE removes all words that do not end in a comma. The comma at the end of each word kept is part of the results.
    Since you don't want the commas in the output, I used REPLACE to get rid of them.

  • "No Bootable Device -- insert a boot disk and press any key" Error Message.

    Last month I just got a HP netbook (HP Mini 110-3100) and when I got it from the box, the error message; "No bootable device -- insert a boot disk and press any key" appeared. But then I managed to boot up the netbook normally. After that, I can use the netbook normally but the error message keeps appeared and becomes more frequent and now I even cannot turn on the netbook. 
    Is it a hard disk failure? 
    p/s: yesterday accidentally I can turn on the netbook without any problems. Did a lot of Hard Disk Maintenance by some softwares downloaded from the internet. But now already cannot turn on. 
    p/s/s: i have no cd/dvd drive, and also no 8GB usb drive.
    p/s/s/s: what should i bring if i want to send the netbook to the HP centre? just bring the netbook?

    I would suggest try and reseat the hard drive and check...If you still have the issue, than take it to the service center...And you will need to take only netbook to Service center...
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • FTP receiver adapter - end of line ,marker

    Hi,
    i'm facing a really strange problem. I'm putting a file on  a FTP server from one of our customers. i'm using text conversion with CR* LF** as end of line marker.
    In D and Q where i'm putting the file on our own FTP server everything is ok.
    But in P where i'm putting the file on the customers FTP server they are complaining that their application can not read the file. They sent me a file back (zipped to avoid any translation) and i recognized that this file has CR CR LF as line separator.
    The setup in D,Q and P is exatly the same apart from the ftp server address, userid and passwort.
    How can it come that i'm getting an additional CR and is there any workaround for that?
    CR = carriage return = '0x0d'
    LF = linefeed = '0x0a'

    Hi,
    thx for the answer. I've tested that but i cant see the a difference if i use '0x0d' versus '0x0D'. Both are working on our own FTP server (linux) the same.
    As the productional FTP server is one of out customres and i dont have control over it i guess its a (weired) setup on their configuration.
    I swithched the transfer mode from text to binary to avoid the additional CR (still i dont understand how the ftp server is configured if he is doing that),
    Nevertheless, i'm no havong a file terminated with CR LF.

  • End of paragraph

    Hi ,
    I m facing problem in finding end of paragraph in text file through java like we do to find the end of file Using EOF like wise i want to find out the end of paragraph.
    Do u have any solutions for this.

    think about what would idenitfy the end of a paragraph
    think about how to read the file
    rinse and repeat
    heres a hint -
    if a new paragraph starts another one most likely just ended.

  • How to display paragraph marks in a JEditorPane?

    Hi guys
    I'm looking for a way to to display contol chars such as paragraph marks or witespaces in a JEditorPane. I'm thinking about the way word processing software does it. You know, these inverted "P"s or dots for whitespaces.
    I didn't stumble across an usable information using Google so far... Any suggestions?
    Cheers
    Mike

    JacobsB wrote:
    and what happened?It worked! But this 'solution' would either require the users to patch their JREs or I have to supply a patched one along with the program..
    JacobsB wrote:
    did you try using a JTextPane instead?No, I didn't. Does it make any difference? I thought there might be an out of the box solution for this.

  • XMLSerialize indent end of line marker

    In 11g you can specify to pretty print XML when serializing using the indent clause of XMLSerialize.  The trouble is this is formatted using the UNIX end of line marker, Line Feed = #10, even if Oracle is running under Window Server (windows uses Carriage Return + Line Feed = #13#10).  This is causing problems when XML docs are delivered to users on Windows machines, who open it in notepad or similar - it means the data isn't visualised properly (not pretty printed) and they see the LF as a "box" character, which confuses them.
    declare
      vFileContents CLOB;
      vXMLData XMLType;
    begin
      select XMLSerialize(document vXMLData as CLOB indent)
      into vFileContents
      from dual;
      -- Code to output vFileContents to file.
    end;
    Is there any setting (session or DB) to specify CRLF as the default end of line marker, rather than having to do a search and replace on every document?

    Is there any setting (session or DB) to specify CRLF as the default end of line marker, rather than having to do a search and replace on every document?
    Maybe it's a bug, maybe it's been made like that on purpose.
    Anyhow, I think the determining factor is the way the content is written to file.
    How is that part achieved in your code?
    For instance, UTL_FILE automatically converts LF to CRLF on Windows platforms, provided the file is written in character mode.
    If binary mode is used then no conversion takes place.
    If you're using DBMS_XSLPROCESSOR.clob2file(),  it calls UTL_FILE in binary mode internally (so that a different output character set may be specified). So, no conversion in this case.
    The same goes for DBMS_XMLDOM.writeToFile() since it is based on DBMS_XSLPROCESSOR.
    Second question is : how are the files transferred to user machines ?

  • Create trigger before any DML or DDL operations on any schema objects

    Dears,
    I need to create a trigger on schema that fire before any DML or DDL operations on any object (table,view,. . . etc) in the schema.
    Can i do this, like "BEFORE insert or update or delete or drop or truncate on SCHEMA" ?
    Thanks & Regards,,

    Dear Peter,_
    Please, i need to say one thing before reading my below simple answers . . .
    You must deal with any issue from others seriously and read it carefully_
    Sorry, you haven't explained anything about your actual problem, we are still left to guessing.Not right, I was clear as i said the below notes:
    1 - I need to create a trigger on schema that fire before any DML or DDL operations on any object.
    2 - We have another simple application is connected also to DB and we must have this application but DB password is must written clear in some files and these files must be shared for business requirements.
    Since I still do not understand your problem, I can only guess of the most relevant:After all of the above clarification, still do not understand . . . How !!!
    1.9 Sweeping privileges. This is always a good exercise
    2.10 Audit and Analyse User access. Who connects as what from where (And later maybe why).
    3.8 Restrict Access from Specific Nodes OnlyYou are right but not valid in my issue.
    3.1 Remove the passwords from scriptsIt seems that you did not read my replies carefully as I said before that DB password is must be written clear in some files and these files must be shared for business requirements.
    Why not spend just a day to get some feeling of the ideas, and find the best match(es) for your situation.I am investigating in my issue a month ago and tried a lot of solutions but found that i will have to apply this trigger solution.
    If you are looking for a short answer in a public forum, I am afraid you won't find it.
    (At least not until we understand what you are trying to do, and why)I know exactly what i need and why. Read again my replies carefully and you will know also.
    Not at allSure, you still do not understand because you did not read my replies carefully !
    Dear All_
    I already created the trigger to prevent any DML or DDL on any schema objects for specific users.
    If all the users now have the super password, i can permit specific users to do (DML & DDL) and the others will not be able at all.
    As a Challenge, i can say the super password now to the public and they will not be able to do any (DML & DDL) . . . I can say now, "I succeeded" :)
    Really, thanks All for greatest support . . . Already i was benefited a lot from your advises.
    Regards,

  • The end date entered occurs before the start date

    Error when setting outlook2010 OK =>
    "The end date entered occurs before the start date "
    BleuOisou

    Hi,
    Just like <Dinae> said above, this behavior occurs because Outlook does not allow you to define a calendar work day that spans midnight.
    As a supplement, please refer to this KB article:
    http://support.microsoft.com/kb/196804/en-us
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • How do I put an "arrow" in a movie?

    Pretty simple question - I should know this. I just want to draw a simple arrow in over a clip to direct the viewers attention to an object. But I forget how! And can't seem to figure it out? Just a simple arrow to point to something - using Comic Sa

  • Gives out an error "ON supports Windows not well"?

    I have bought MacBook 7.1 in Japan. Itself I live in Russia. I want to load bootcamp. Gives out an error "ON supports Windows not well"? <Edited by Host>

  • Chaum blind signature

    Hello, I'm trying to implement the chaum blind signature using java.security.Signature Signature sig = Signature.getInstance("MD5WithRSA"); sig.initSign(Main.prvk); sig.update(mesageCB.getTokenBlinded().toByteArray()); byte[] tokenSig = sig.sign(); b

  • Is my installation of InDesign CS6 version 8.0.2 malfunctioning?

    I cannot get anything to happen from the Align panel (Window>Object&Layout>Align). My two objects will not align, the check boxes will not become checked, the alignment menu will not appear. I am a beginner and this is the first time that I have used

  • Photoshop and none results in main 'window'

    Hi everyone Ive got a question. The problem is really interesting but this is not my problem just my friend's problem. What should my friend do if he cant see any results in main window. This window where we are doing all changing (painting, adjust.,