From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Equation references for HTML: suggested approaches? Date: Mon, 15 Aug 2011 20:39:07 +0200 Message-ID: <878vquv7sk.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qt23Q-00038e-P9 for emacs-orgmode@gnu.org; Mon, 15 Aug 2011 14:38:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qt23Q-00081V-1n for emacs-orgmode@gnu.org; Mon, 15 Aug 2011 14:38:28 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:37741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qt23P-00081L-OM for emacs-orgmode@gnu.org; Mon, 15 Aug 2011 14:38:27 -0400 Received: by wyi11 with SMTP id 11so4294890wyi.0 for ; Mon, 15 Aug 2011 11:38:26 -0700 (PDT) In-Reply-To: (Ahmed Fasih's message of "Wed, 10 Aug 2011 08:27:28 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: wuzzyview@gmail.com Cc: emacs-orgmode@gnu.org Hi Ahmed, Ahmed Fasih writes: > Apologies, I discovered one stopgap solution already: > > # <> > \begin{equation} > \label{eq-myeq} > a = 1 > \end{equation} > > We have defined something in (\ref{eq-myeq}), and this link will look > fine in both Latex and HTML output. This just requires me to ensure > that the anchor and the Latex label are the same. (Also, a secondary > drawback: usually I use \eqref so that the output eventual PDF after > Latex output will link "(1)" and not just the 1 in "(1)".) Thanks for sharing this solution! -- Bastien