emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Indraneel Majumdar <indraneel@indraneel.info>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: problem with label in latex export
Date: Wed, 22 Sep 2010 11:10:29 +0200	[thread overview]
Message-ID: <87hbhirvne.fsf@gnu.org> (raw)
In-Reply-To: <4C997DAD.2010406@indraneel.info> (Indraneel Majumdar's message of "Wed, 22 Sep 2010 09:23:17 +0530")

Hi Indraneel,

Indraneel Majumdar <indraneel@indraneel.info> writes:

> 11.
>     #+ <<target>>
>     Some text
> 12.  More text [[target][go to]]

You're right that there is a problem.

The usual way of turning radio links invisible is to comment them, but
Org comments need to be at the beginning of the line, which breaks list
indentation.  (Btw, no need for the '+' in '#+' -- '#+' is the syntax
prefix for optional elements like blocks, etc.)

The workaround here is to add (INVISIBLE) after your <<target>>

This works:

> 11. <<target>>(INVISIBLE)
>     Some text
> 12. More text [[target][go to]]

It exports okay in HTML and LaTeX.

I've added a FAQ entry for this -- not sure whether it should go in the
manual.

Thanks for bringing this up!

-- 
 Bastien

  reply	other threads:[~2010-09-22  9:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 11:42 problem with label in latex export Indraneel Majumdar
2010-09-21 22:41 ` Bastien
2010-09-22  3:53   ` Indraneel Majumdar
2010-09-22  9:10     ` Bastien [this message]
2010-09-22  9:35       ` Indraneel Majumdar
2010-09-22 10:56       ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hbhirvne.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=indraneel@indraneel.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).