From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: something in between @@html:@@ and html blocks Date: Fri, 04 Dec 2015 16:58:29 +0100 Message-ID: <87k2oup5ne.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4skw-0005vB-Uv for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 10:58:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4sks-000629-Uy for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 10:58:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:38617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4sks-00061u-Nj for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 10:58:42 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a4skr-0002X0-BV for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 16:58:41 +0100 Received: from 62.80.108.13 ([62.80.108.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Dec 2015 16:58:41 +0100 Received: from rasmus by 62.80.108.13 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Dec 2015 16:58:41 +0100 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: emacs-orgmode@gnu.org John Kitchin writes: > I have an intermediate use case that isn't covered by html snippets or > blocks, and I wondered if there is a solution to it. > > What I want is to put a large tooltip on a link in html output. The text > for the tooltip is too large to fit on one line in a @@html:@@ snippet, > and if I put it in an html block it adds line breaks in the html export. > > Is there a regular way to avoid this, e.g. to insert a large snippet? How about a custom link type? I thought that’s general solution to life, the universe and everything ;) If a lot of the width is due to html cruft you might be able to shorten redundant parts via a macro, but I’m sure you thought about that... You can also add more snippets, one after the other: @@html:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@@ @@html:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@@ Another hackish solutions would be to use a filter + footnotes with a recognizable pattern, but I’m not sure I would go that way... I doubt this help, but those were my 2 cents. Rasmus -- However beautiful the theory, you should occasionally look at the evidence