emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "# <<tag>>" should stick to the following text
@ 2012-05-06 20:35 François Pinard
  2012-05-06 21:18 ` Nicolas Goaziou
  0 siblings, 1 reply; 12+ messages in thread
From: François Pinard @ 2012-05-06 20:35 UTC (permalink / raw)
  To: emacs-orgmode

Hi, Org people.

I'm not sure I'm using "# <<tag>>" correctly, but my feeling is that it
should stick to the following text in various Org operations.  Let's say
I have something like (as I think it):

--8<---------------cut here---------------start------------->8---
* Some container

  # <<tag1>>
  * Title 1

  # <<tag2>>
  * Title 2
--8<---------------cut here---------------end--------------->8---

If I put # <<tag1>> after "Title 1", say, the generated HTML is such
that using URL#tag1 will position the browser window to the first line
after "Title 1".  Putting it before yields what I expect, that is, the
browser jumps to "Title 1".

However, Org interpret the above as:

--8<---------------cut here---------------start------------->8---
* Some container

  # <<tag1>>
  * Title 1

    # <<tag2>>
  * Title 2
--8<---------------cut here---------------end--------------->8---

putting the # <<tag2>> as a line within the "Title 1" header.  If I
later use 

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-05-08 14:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-06 20:35 "# <<tag>>" should stick to the following text François Pinard
2012-05-06 21:18 ` Nicolas Goaziou
2012-05-07  0:41   ` François Pinard
2012-05-07  1:44     ` François Pinard
2012-05-07  7:10     ` Nicolas Goaziou
2012-05-07  8:24       ` Eric S Fraga
2012-05-07 16:52       ` François Pinard
2012-05-08 14:14       ` Nick Dokos
2012-05-07  1:08   ` Nick Dokos
2012-05-07  5:14     ` Eric S Fraga
2012-05-08  8:33       ` Bastien
2012-05-07  5:34     ` Christian Moe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).