Announcement

Collapse
No announcement yet.

Copy / Paste Lengthy Text Problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Copy / Paste Lengthy Text Problem

    Trying to copy txt from internet blog to LibreOffice Writer. The txt is very lengthy. I can copy / paste only about 10% of the html. The 10% (approx) becomes 4 pages in Libre with page 4 being blank. Tried it twice with same results. I'm concerned if I try it a third time expecting different results I'll be declared insane (officially). Suggestions? Thanks.
    Kubuntu 14.04 / KDE 4.13.3 / GRUB Version: 0.97-29ubuntu66
    HP15 -
    -f033wm Laptop / CPU: Intel / GPU: Intel Corporation Atom Processor / RAM: 8GB / Hard Drive: 1 each / Seagate / Optical Drive: HP DVDRW GUB0N / Windows 10


    #2
    Since it is only a blog, I would suggest trying to paste it into kate (or kwrite). This will strip out all the html formatting. Clean up line breaks and page breaks in kate and save it. Then you can open it with LibreOffice and do any higher level formatting and/or printing that you may want.

    Comment


      #3
      Installed Kwrite. That worked just fine. Thank you very much.
      Kubuntu 14.04 / KDE 4.13.3 / GRUB Version: 0.97-29ubuntu66
      HP15 -
      -f033wm Laptop / CPU: Intel / GPU: Intel Corporation Atom Processor / RAM: 8GB / Hard Drive: 1 each / Seagate / Optical Drive: HP DVDRW GUB0N / Windows 10

      Comment


        #4
        I noticed by default the file opens with Kwrite. I did a "save as" adding the extension ".odt" and that file opens by default w/ Libre. For future reference is there a way to change the default setting to open the file or did I stumble across the common solution? Thanks.
        Kubuntu 14.04 / KDE 4.13.3 / GRUB Version: 0.97-29ubuntu66
        HP15 -
        -f033wm Laptop / CPU: Intel / GPU: Intel Corporation Atom Processor / RAM: 8GB / Hard Drive: 1 each / Seagate / Optical Drive: HP DVDRW GUB0N / Windows 10

        Comment


          #5
          kwrite is probably set as the default for .txt files ,,,,,,,,,,,rite click a .txt file and click "properties" and then "file type options" move the program you want for default for this type of file to the top of the list ,,,,,,OR rite click the file and use "open with"

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            I found it. Thanks. For others who might not not know. It appears Kate / Kwrite saves a basic .html file as a text (.txt) file. If you want to change the default application to open the file so that you don't need to do an "open with", do the following:

            Right click on the file.
            Go to and select Properties in the resulting drop down menu.
            In the resulting opened window, select File Type Options.
            In the next resulting window go to Application Preference Order and follow the obvious.

            That's pretty cool.
            Last edited by logan01; Jan 08, 2017, 10:40 AM.
            Kubuntu 14.04 / KDE 4.13.3 / GRUB Version: 0.97-29ubuntu66
            HP15 -
            -f033wm Laptop / CPU: Intel / GPU: Intel Corporation Atom Processor / RAM: 8GB / Hard Drive: 1 each / Seagate / Optical Drive: HP DVDRW GUB0N / Windows 10

            Comment


              #7
              Originally posted by vinnywright View Post
              kwrite is probably set as the default for .txt files ,,,,,,,,,,,rite click a .txt file and click "properties" and then "file type options" move the program you want for default for this type of file to the top of the list ,,,,,,OR rite click the file and use "open with"

              VINNY
              Thanks. I'm a bit slow at times.
              Kubuntu 14.04 / KDE 4.13.3 / GRUB Version: 0.97-29ubuntu66
              HP15 -
              -f033wm Laptop / CPU: Intel / GPU: Intel Corporation Atom Processor / RAM: 8GB / Hard Drive: 1 each / Seagate / Optical Drive: HP DVDRW GUB0N / Windows 10

              Comment


                #8
                By using the .odt extension when you saved out of kwrite, you tricked LibreOffice into thinking it was an open office document format. But, IMHO, you might also trick yourself doing it that way. I always save plain text files as .txt. When I see a .odt file in my filesystem, then I know that is a LibreOffice document. If I used .odt for text documents, I would end up pretty confused in a very short time. I have a lot of recipes, for example, and I leave them .txt. But if I need to print one to take up to the kitchen, then I open it with LibreOffice to print it since I get more control over the format and the printer that way.

                Comment


                  #9
                  Thanks again. We need a like button.
                  Kubuntu 14.04 / KDE 4.13.3 / GRUB Version: 0.97-29ubuntu66
                  HP15 -
                  -f033wm Laptop / CPU: Intel / GPU: Intel Corporation Atom Processor / RAM: 8GB / Hard Drive: 1 each / Seagate / Optical Drive: HP DVDRW GUB0N / Windows 10

                  Comment

                  Working...
                  X