1. 123456789

    123456789 Contributor Contributor

    Joined:
    Jan 28, 2012
    Messages:
    8,102
    Likes Received:
    4,605

    Moving text between programs

    Discussion in 'Writing Software and Hardware' started by 123456789, May 4, 2014.

    Guys,

    When I want to move something from one program to another, like Scrivener to Word or vice versa, or pdf to word, is there any easy way to fix the format of the text, so that I don't have to straighten out and indent every line myself?
     
  2. ChickenFreak

    ChickenFreak Contributor Contributor

    Joined:
    Mar 9, 2010
    Messages:
    15,262
    Likes Received:
    13,084
    For Word, there's a "paste without formatting" (the icon with the letter A when you're choosing which way you want to paste.)

    But more generally, when moving text between program-with-formatting to other-program-with-formatting, I usually scrub out the formatting by

    - pasting it into a text editor
    - saving the resulting document
    - closing the document
    - re-opening the document and copying it again.

    I don't always have to do the save-and-reopen, but I have yet to figure out exactly when it's necessary and when it isn't, so I'm just offering the longer procedure. If you don't have a plain text editor, you could use Word's .txt format, even if Word isn't otherwise part of the transaction; that should do the same thing.

    That means that all formatting will be stripped. However, if you have hard line breaks, it won't fix that. In that case, I usually do a search-and-replace sequence, assuming that I have one break between lines in a paragraph and two breaks between paragraphs:

    - Replace instances of two carriage returns with something weird that I'll remember.
    - Replace instances of one carriage return with a space.
    - Replace instances of two spaces with one space.
    - Replace the weird thing from the beginning with either one or two carriage returns, depending on how you wanted it formatted.

    You could similarly mass-replace all tabs, if the paragraphs are manually indented.
     
    123456789 likes this.
  3. mammamaia

    mammamaia nit-picker-in-chief Contributor

    Joined:
    Nov 21, 2006
    Messages:
    19,150
    Likes Received:
    1,034
    Location:
    Coquille, Oregon
    save as 'rtf' first?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice