mailr23034 - /trunk/docs/latex/relax.tex


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 07, 2014 - 11:42:
Author: bugman
Date: Wed May  7 11:42:59 2014
New Revision: 23034

URL: http://svn.gna.org/viewcvs/relax?rev=23034&view=rev
Log:
Better latex2html support for the relax manual.

The hyperlink command \href{}{} and inline bibliographic reference command 
\bibentry{} are now
supported in the HTML version of the relax manual.  These are translated into
\htmladdnormallink{#2}{#1} and \citet{#1} command respectively, both of which 
are supported by
latex2html.  This will significantly improve the documentation at
http://www.nmr-relax.com/manual/index.html.


Modified:
    trunk/docs/latex/relax.tex

Modified: trunk/docs/latex/relax.tex
URL: 
http://svn.gna.org/viewcvs/relax/trunk/docs/latex/relax.tex?rev=23034&r1=23033&r2=23034&view=diff
==============================================================================
--- trunk/docs/latex/relax.tex  (original)
+++ trunk/docs/latex/relax.tex  Wed May  7 11:42:59 2014
@@ -230,10 +230,13 @@
 \usepackage{html}
 
\htmladdtonavigation{\htmladdnormallink{\htmladdimg{http://www.nmr-relax.com/images/pdf_icon_nav.png}}{http://download.gna.org/relax/manual/relax.pdf}}
 
\htmladdtonavigation{\htmladdnormallink{\htmladdimg{http://www.nmr-relax.com/images/relax_logo_nav.png}}{http://www.nmr-relax.com}}
-
-% Make hyperrefs work in latex2html.
 \begin{htmlonly}
+  % Make hyperrefs work in latex2html.
   \def\url#1{\htmladdnormallink{#1}{#1}}
+  \def\href#1#2{\htmladdnormallink{#2}{#1}}
+
+  % Support for \bibentry{}.
+  \def\bibentry#1{\citet{#1}}
 \end{htmlonly}
 
 % Make the index.




Related Messages


Powered by MHonArc, Updated Wed May 07 16:00:02 2014