Hello,

On Tue, Dec 23, 2008 at 7:23 PM, Alexander Schrijver
<alexander.schrij...@gmail.com> wrote:
> Here is the tarball :-)

Ok here are my comments:

* No $OpenBSD$
* Missing WANTLIB
* There is infact a regression test, if you use gmake and se the
regress target, but it fails. You may or may not want to look at that.

Diff for the above issues:

--- latex2rtf.orig/Makefile     Wed Dec 24 07:58:49 2008
+++ latex2rtf/Makefile  Wed Dec 24 08:07:17 2008
@@ -1,3 +1,5 @@
+# $OpenBSD$
+
 COMMENT=       translator from LaTeX to RTF
 DISTNAME=      latex2rtf-1.9.19
 CATEGORIES=    print
@@ -27,7 +29,11 @@
        CFG_INSTALL=${WRKINST}${PREFIX}/share/examples/latex2rtf/cfg/ \
        INFO_INSTALL=${WRKINST}${PREFIX}/info/

-NO_REGRESS=     Yes
+# Regression test fails XXX
+USE_GMAKE =            Yes
+REGRESS_TARGET =       check
+
+WANTLIB =              c m

 pre-patch:
        cp ${WRKSRC}/doc/latex2rtf.texi ${WRKSRC}/doc/latex2rtf.texi.bak


As for testing, I ran it over some uni work and it barfed horribly on
any custom macros which you define. It seems it suffers from the same
issues all the latex to html converters do. I then tried a very simple
document:

---8<---
\documentclass[11pt]{article}

\title{Brief Article}
\author{The Author}

\begin{document}
\maketitle

\section{First section}

Your text goes here. This is \emph{A TEST}, it may {\tt work}.

\subsection{A subsection}

More text.

\end{document}
---8<---

This worked, and i was able to open the rtf in soffice. Looked ok, the
margins were a little wide, but that's not latex2rtf's fault.

Hope this helps.

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett

Reply via email to