LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2015, 08:07 PM   #1
loshakova
Member
 
Registered: Apr 2012
Posts: 103

Rep: Reputation: Disabled
file conversion problem -- .docx to .odt


Hello,
This is a two-part question.

I am trying to copyedit a .docx file in LibreOffice 3.5.7.2 using Linux Mint 13 on my Dell desktop. The file will open in LibreOffice, but there are formatting errors and what I think are interlacing errors (the file contains images). Here is a link to a screen capture of one of the goofed-up images, a picture of Michelangelo's David.

Part 1:
I thought it would make sense to try updating LibreOffice first, to see if that would fix the problem. For some reason, although there is now a newer version of LibreOffice available, it isn't updating through the Update Manager. When I tried to update it through the Software Manager, it acts as thought LibreOffice is not already installed. Can someone tell me how to update my current version safely via the command line? There are conflicting instructions about how to do this on the web.

Part 2:
The person for whom I am editing this document really wants me to do the editing in MS Word. I am willing to buy a 1-month subscription to MS Office 365 Personal in order to do this, but would really prefer not to muck up my hard drive with Windows again. So, alternatively, does anyone know if I can run Office 365 Personal off a memory stick through Wine or Virtual Box? Needless to say, Office 365's free help desk was not very helpful in answering this question.

Thanks. I still have the copy of Windows 7 that came with my Dell, but I've been completely Microsoft-free for several years, and I really don't want to muck up my hard drive with their products again if I can help it.
Attached Thumbnails
Click image for larger version

Name:	interlacement error.jpg
Views:	24
Size:	47.3 KB
ID:	18731  
 
Old 06-17-2015, 08:23 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,482

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Somtimes an online converter can do the jiob better try:
http://document.online-convert.com/convert-to-odt

I have also had problema in the past and found that converting to somthing like rtf as an intermediate step sometimes fixes conversion errors.
 
Old 06-17-2015, 09:04 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
i would use your package manager to uninstall the very OLD libreoffice 3.5

then grab the current from the website

( you are using Mint so the deb file )
64 bit Deb for LO 4.4.3
http://donate.libreoffice.org/home/d...-64_deb.tar.gz
 
Old 06-17-2015, 09:17 PM   #4
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
rtf is ok for text but images could be another problem.

Libre office/open office, seems to always have render problems when using data from windoze office documents.

Then W.office does n't do a great job of rendering odf docs either.

One solution might be to install W.office under wine?

Otherwise get the recipient to install open office/libra office?

Fred.
 
Old 06-17-2015, 09:29 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
MS office-XP and 2003 and 2007 install under WINE
BUT the current versions ???

you NEED to use a version of MS office NEWER or the same as the person that sent you the MS document

https://appdb.winehq.org/appview.php?appId=31

MS office 2010(32bit) and 2013 are GARBAGE
 
Old 06-18-2015, 09:11 AM   #6
loshakova
Member
 
Registered: Apr 2012
Posts: 103

Original Poster
Rep: Reputation: Disabled
@John_VV: I should have replied last night, but forgot. Sorry. I uninstalled the old version of LibreOffice -- had to do it through the command line since the core program wasn't showing up in the package manager -- then spent 4 hours trying to install the new one before giving up for the night. It is showing up in the application menu, but not opening. Will try again today.

Thanks for the pointer about program versions. I might be able to get away with Office 2007, since that's the oldest version that will open .docx files. If not, then I may be forced to reinstall Windows. Expletive.

@Fred Caro: Thanks for the suggestions. Unfortunately, the person who offered me the editing work has no interest in switching writing programs. Apparently, all the publishers she has worked with require either Word or PDF formats for author submissions. Since they require it, writers and editors have to use it -- and pay for it. I was reading frustrated posts by authors and editors about that problem while I was trying to install the updated version of LibreOffice last night.

Last edited by loshakova; 06-18-2015 at 09:31 AM.
 
Old 06-18-2015, 05:38 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
Quote:
then spent 4 hours trying to install the new one
???
did you read "README_en-US" in the archive

extract the tarball
LibreOffice_4.4.3_Linux_x86-64_deb.tar.gz

Code:
cd /to/the/location/of/the/LibreOffice_4.4.3.2_Linux_x86-64_deb/DEBS/

sudo dpkg -i *.deb
should take under a minute to install
 
Old 06-18-2015, 07:23 PM   #8
loshakova
Member
 
Registered: Apr 2012
Posts: 103

Original Poster
Rep: Reputation: Disabled
@John VV: Thanks for this. I just followed your instructions, and the software appeared to install. However, it isn't showing up in the menu, and when I search for it the search feature doesn't find it. There were no errors in the installation. When I try to open LibreOffice from the terminal, I get the following:

The program 'libreoffice' is currently not installed. You can install it by typing:
sudo apt-get install libreoffice-common

I've left the terminal window open in case you want to see the installation process.
 
Old 06-18-2015, 08:52 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
i use rpm distros
i am guessing there is something like this in Mint


a office desktop integration package
or "alacarte"

you can always just make a launcher .desktop file
/usr/share/applications


now not to interfere with other things
LO installs to
/opt/libreoffice4.4/
and the programs are in

/opt/libreoffice4.4/program/

"soffice"( shell script) is the name of the OVER GUI LAUNCHER that starts everything
and
"swriter" is the script that starts the "writer"( ms word) the document editor
 
Old 06-19-2015, 10:20 AM   #10
loshakova
Member
 
Registered: Apr 2012
Posts: 103

Original Poster
Rep: Reputation: Disabled
LibreOffice is the office suite that is listed in the Software Manager, but for some reason it isn't getting updated there. The version that's listed is the old one that I had.

I'm going to try to set myself up with a dual boot in Windows 7 and Mint 17, with fresh installations of both operating systems. I celebrated when I removed Windows from my computer, and I had promised myself that this day would never come, but I need this freelance work. Microsoft has a monthly subscription service now for Office, so I can subscribe only when I need it. Mint 17 comes packaged with the updated version of LibreOffice, so that will solve that problem.

I would really like to get better at problem solving in Linux via command line. Could you recommend any good reference books for this?
 
Old 06-19-2015, 10:32 AM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,561

Rep: Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127
OpenOffice/LibreOffice compatibility with MS Word is horrible. Don't bother with different versions, it will never be right. I've tried using OO/LO to open MS Word documents for years, covering every version from 1.x through the brand spanking new ones, they're ALL horrible when it comes to doc/docx formatting. As soon as the document stops looking like Notepad (ANY formatting, bullets, images, columns, etc.) compatibility goes out the window. Stop wasting your time with it. If you need MS Office, you need MS Office. Period. There are no truly compatible alternatives (not even any remotely compatible alternatives).

If you want to do it right, install a version of Windows in VirtualBox and install Office on that. No need to dual boot, re-partition your hard drive, reboot every time you want to use office, etc. provided your machine is powerful enough to run Windows and Linux simultaneously (at least 8 GB of RAM and dual core).

Last edited by suicidaleggroll; 06-19-2015 at 10:35 AM.
 
Old 06-20-2015, 04:55 PM   #12
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
If the people that accept the work will take .pdf files then why not simply export the .odf files from libre/open office into PDF's using libre/open office?

Fred.
 
Old 06-20-2015, 06:37 PM   #13
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,187

Rep: Reputation: 243Reputation: 243Reputation: 243
If you were to boot from a recent DVD of a big Linux, this would have a late version of Libre Office.
So you could run it (without installing anything) against your document on a USB stick.

It would run quite slowly, though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OX Text offers open source collaborative DOCX/ODT editing LXer Syndicated Linux News 0 03-20-2013 10:51 PM
i am not able to open docx file in gedit in debian.what should i do? shibinkgp Linux - Newbie 2 02-20-2012 01:25 PM
odt conversion stickbf Linux - Newbie 1 08-07-2009 05:08 AM
How do I link to odt/docx files in a webpage? matthewhardwick Programming 5 12-09-2006 07:41 PM
automatic conversion .doc to .odt? (several files) quarry_06 Linux - Software 2 01-31-2006 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration