[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31949] [PATCH] gnu: Add docx2txt.
From: |
Ludovic Courtès |
Subject: |
[bug#31949] [PATCH] gnu: Add docx2txt. |
Date: |
Mon, 25 Jun 2018 22:58:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Pierre Neidhardt <address@hidden> skribis:
> * gnu/packages/textutils.scm (docx2txt): New variable.
[...]
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://downloads.sourceforge.net/docx2txt/docx2txt-"
> + version ".tgz"))
Could you use mirror://sourceforge?
> + #:make-flags (list (string-append "BINDIR=" (assoc-ref %outputs
> "out") "/bin")
> + (string-append "CONFIGDIR=" (assoc-ref %outputs
> "out") "/etc")
Lines are a bit long. :-)
> + (synopsis "Recover text from .docx files, with good formatting")
@file{.docx} please.
> + (description
> + "@command{docx2txt} is a perl based command line utility to convert
s/perl/Perl/
> +Microsoft Office™ .docx documents to equivalent text documents. Latest
> version
No need for the trademark sign; two spaces after period.
> address@hidden
> address@hidden Character conversions (\" ' < & > -, fractions and some
> mathematical
> +symbols, etc.); currency characters are converted to respective names like
> +Euro.
Maybe you remove what’s in parentheses? Or use @code.
Could you send an updated patch? Make sure ‘guix lint’ is happy. :-)
Thanks,
Ludo’.