Argument-parsing helpers for C/Unix

I know of the following: The venerable getopt(3) The extended getopt_long glibc's argp parser for Unix-style argument vectors popt from the GNOME project (or its spiritual successor in Glib) I'm...

Can't spawn "cmd.exe"

I use a program called LF-Aligner that uses dictionaries to make parallel texts out of texts in different languages. I believe it's written in Perl. It's based on another program called...

Java printing quality in Linux on dot-matrix printer

I need to print the report from a Java desktop application to a dot-matrix printer (Epson LX-300 II). Report consists of text ang some graphics. Printer is connected via USB and I'm using CUPS to...

How to get the number of pages in a Word Document on linux?

I saw this question https://stackoverflow.com/questions/1156761/php-get-number-of-pages-in-a-word-document . I also need to determine the pages count from given word file (doc/docx). I tried to...

Cannot find jpeg.h while compiling Abiword 2.8.6 source code

I am trying to compile the code for Abiword 2.8.6. I run the configure command as follows: ./configure --enable-static -disable-shared This command ends with the following error checking...

Abiword on heroku

I am trying to install abiword on heroku, by wrapping it in a ruby gem. I statically compiled a 64 bit binary for abiword using the following commands $ ./configure --enable-shared=no...

Document conversion and viewing, what are the cutting edge solutions?

Goal: building a web application where a user can: Upload a document (doc, docx, pdf, additional office formats a +) View that document in a browser, preferably in html Download the document (in...

Perl: How to extract a string between brackets

I have a file in moinmoin text format: * [[ Virtualbox Guest Additions]] (2011/10/17 15:19) * [[ Abiword Wordprocessor]] (2010/10/27 20:17) * [[ Sylpheed E-Mail]] (2010/03/30 21:49) * [[ ...

Parse Microsoft Office files in Node.JS

I'm working on a web application where users can upload Microsoft Office Document files. Right now, our server is running Node.JS with Express.js and we're hosted on Heroku. Because of this, I...

Is it necessary to upgrade Glib in Cygwin?

I'm attempting to compile abiword in my Cygwin environment. I have cygwin 1.7.25. The compile fails regarding glib: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT...

Remove macros etc from office documents via ruby

Is there a way of specifying components to remove from MS or Openoffice documents via ruby? I'm talking about removing macros/meta information and also removing/replacing images. I've looked at a...

Shell PHP command and browser don't return the same output

Here's my script test.php function doc2text($filename){ $name = pathinfo($filename,PATHINFO_FILENAME); $count = exec('abiword --to=txt '.$filename.' && wc -w classes/'.$name.'.txt'); $count =...

Error while importing enchant from pyenchant on windows

I have installed pyenchant on my system, but when I run "import enchant" command, I get an error telling me "The enchant 'C' library was not found". I have tried installing Abiword word processor...

Can buildroot rootfs install angstrom package using opkg?

I’m using beagleboard-xm,and created rootfs with buildroot,adding opkg package. Now, I want add some package in angstrom, so I add opkg update source in /etc/opkg/base-feed.conf… src/gz base...

compiling abiword on heroku

In my flask app I often use abiword in a subprocess call. Now I am trying to migrate that application to heroku however I am running into some trouble when trying to get abiword...

HTML-to-RTF document conversion, preserving classes as styles

I need a HTML2RTF tool, that is, a software that converts HTML format to RTF format... But not "any convertion": I need to preserve the HTML class attributes (ex. of paragraphs) as MS-Word...

Yocto: oe_runmake failed, error in do-install of the package libgdata

I am building a core-image-sato for Cubietruck in Yocto Poky, I've included abiword in the package but I get error in do-install of the package libgdata_0.7.1.bb. This is the error I get ERROR:...

How can I restore this XML abiword document to a readible editable .doc (or otherwise)?

I have recently started using Abiword on my ubuntu desktop. Libreoffice caused one of my word processing documents to crash. I have never had this issue with microsoft word but I mainly use...

How it posible read text for docx file, like antiword?

Who knows, how read file.docx like antiword for file.doc in php ? This I used antiword for file.doc and set text in DB $em = $this->getDoctrine()->getManager(); $request =...

Font Rendering Issue

I have a problem with my font rendering under Linux Mint 17.1 Rebecca with Kernel 3.17.1. The spacing for monospace fonts is really wrong, some letters are bold and misplaced. At some places the...

Package installed by Nix not in Mate desktop menu

I have used Nix package manager to install Abiword in a Slackware/Salix install with Mate desktop. The application runs fine but it has not appeared in the main Menu. Is this usual for...

Can't install pyenchant on windows even after I installed enchant manually

I installed pyenchant using "pip install pyenchant" then I installed from the enchant website "ABIWord" and added it to the computer path. Then when I ran "import enchent" from the python console...

Previewing MSWord (.doc and .docx) files in Horde Webmail

While making changes in Horde's mime_drivers.php file to allow inline HTML in emails, I noticed a setting that allows MS Word documents to be opened in an appropriate program: /* MS Word display. ...

aerospike server can't start with unrecognized service information

I'm trying the community edition aerospike, I followed the tutorial to install the server on my ubuntu, whose version is ubuntu 14.04 LTS. When I wanted to start it with the command 'sudo service...

Shell script to setup Xubuntu 16.04

I wanted to create a file I could run every time I installed Xubuntu so I could have my setup ready easier. So I created a python file with the following text to install software, I then set up...

How to use the link grammar parser as a grammar checker

Abiword uses the link grammar parser as a simple grammar checker. I'd like to duplicate this feature with Python. Poorly documented Python bindings exist, but I don't know how to use them to mimic...

Django server crashes with exit codes 139, 77

Foreword Okay, I have a really complex perfomance issue. I'm building a content managment system and one of the features should be generating tons of .docx files with different templates. I...

PHP response header content type keeps being text/html

I have a php page to retrieve uploaded (attached) files. The inputs of this file is the file name and its extension (for example jpg). Then I convert the extension to content type using function...

How to convert PDF to DOCX on linux

I try to convert pdf file to word, excel and powerpoint. I already tried a lot of command like these: soffice -env:UserInstallation=file:///$HOME/.libreoffice-headless/ --convert-to...

How to print bold and sized text in bash printing

*1st question* printing "BOLD" text...using lp if possible. example: echo -e "\e[1mBOLD\e[0m" | lp will print out this below on a white paper 1mBOLD0m how to get: BOLD ? *2nd question* Printing...