Re: release candidate for latex2rtf

Scott Prahl <[email protected]> Sun, 11 Nov 2007 14:12:18 -0800
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
J=FCrgen wrote:
>
> One question wrt the new URL handling: I get now real hyperlinks in  =

> the RTF
> when using \url (from url.sty). Can this be switched off (I usually  =

> don't
> want clickable links in manuscripts for journals and proceedings)?

Well I thought about how this should work.  If you do not want  =

hyperlinks then you should use \nolinkurl{} from the hyperref  =

package.  If you want hyperlinks to only
disappear in the rtf conversion then something like the following  =

(latex2rtf does not
know how to handle \let properly...yet).

\documentclass{article}
\usepackage{hyperref}
\newif\iflatextortf
\iflatextortf
\newcommand{\myurl}[1]{\nolinkurl{#1}}
\else
\let\myurl\url
\fi

\begin{document}

The URL example \myurl{http://latex2rtf.sourceforge.net/some =

%20link.html} does not really exist, but it should show up in the RTF  =

document without a hyperlink.  It should still have a link in the PDF  =

file created using \texttt{pdflatex}.

\end{document}



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/