diff options
Diffstat (limited to 'office/latex2rtf')
-rw-r--r-- | office/latex2rtf/README | 19 | ||||
-rw-r--r-- | office/latex2rtf/latex2rtf.SlackBuild | 16 | ||||
-rw-r--r-- | office/latex2rtf/latex2rtf.info | 2 |
3 files changed, 24 insertions, 13 deletions
diff --git a/office/latex2rtf/README b/office/latex2rtf/README index a6712d3019..cbb0cc98ac 100644 --- a/office/latex2rtf/README +++ b/office/latex2rtf/README @@ -1,9 +1,10 @@ -latex2rtf is a translator program to convert LaTeX formatted text files into -"rich text format" (RTF) files. RTF is a published standard format by -Microsoft. This standard can be ambiguous in places, but RTF is supported by -many text editors. Specifically, it is supported by Microsoft Word. This means -that the conversion of a LaTeX document to RTF allows anyone with a copy of -Word to convert LaTeX files to Word .doc or .docx files. +latex2rtf is a translator program to convert LaTeX formatted text +files into "rich text format" (RTF) files. RTF is a published standard +format by Microsoft. This standard can be ambiguous in places, but RTF +is supported by many text editors. Specifically, it is supported by +Microsoft Word. This means that the conversion of a LaTeX document to +RTF allows anyone with a copy of Word to convert LaTeX files to Word +.doc or .docx files. Features @@ -15,6 +16,6 @@ Features - Conversion of cross-references - Conversion of bibliographies -latex2rtf translates the text and as much of the formatting information from -LaTeX to RTF. Be forewarned that the typeset output is not nearly as good as -what you would get from using LaTeX directly. +latex2rtf translates the text and as much of the formatting +information from LaTeX to RTF. Be forewarned that the typeset output +is not nearly as good as what you would get from using LaTeX directly. diff --git a/office/latex2rtf/latex2rtf.SlackBuild b/office/latex2rtf/latex2rtf.SlackBuild index d926885a3e..7dfc0602cb 100644 --- a/office/latex2rtf/latex2rtf.SlackBuild +++ b/office/latex2rtf/latex2rtf.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for latex2rtf @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=latex2rtf VERSION=${VERSION:-2.3.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -115,4 +125,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/office/latex2rtf/latex2rtf.info b/office/latex2rtf/latex2rtf.info index 83d9783a2f..8fac2beeba 100644 --- a/office/latex2rtf/latex2rtf.info +++ b/office/latex2rtf/latex2rtf.info @@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/latex2rtf/files/latex2rtf-unix/2.3.17 MD5SUM="025a6b779eb6ca1c86da71a284e7459f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="texlive" +REQUIRES="" MAINTAINER="Nitish Ragoomundun" EMAIL="lrugratz@gmail.com" |