emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Henri-Paul Indiogine <hindiogine@gmail.com>
To: emacs-org <emacs-orgmode@gnu.org>
Subject: breaking URLs
Date: Fri, 15 Jul 2011 13:21:04 -0700	[thread overview]
Message-ID: <CAG_r7O7EV4VSWEtcsmHLnuTMd2zaRRzj44DvpESReC_RxQXLsg@mail.gmail.com> (raw)

Greetings!

My goal is to export an orgmode file to LaTeX and then compile to PDF.

My orgmode file contains many URLs. What is the best way to have them
break?   A simple URL in the orgmode file will not break.  if I place
the URL in  \url{my url}  it is exported as

\url{[[my url]] [[my url]]}   however the URL is nicely split to the
next line in the pdf.

if I use \href{my url} then the LaTeX file does not compile and gives
the following error message:


ERROR: pdfTeX error (ext1): \pdfendlink cannot be used in vertical mode.

--- TeX said ---
\close@pdflink ->\Hy@endcolorlink \pdfendlink


Any advise?

Thanks,
Henri-Paul


-- 
Henri-Paul Indiogine

Email: hindiogine@gmail.com
Skype: hindiogine
Website: http://people.cehd.tamu.edu/~sindiogine

             reply	other threads:[~2011-07-15 20:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15 20:21 Henri-Paul Indiogine [this message]
2011-07-18  8:57 ` breaking URLs Bastien
2011-07-18 16:18   ` Henri-Paul Indiogine
2011-07-26 11:24     ` Bastien
2011-07-26 17:13       ` Bastien

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=CAG_r7O7EV4VSWEtcsmHLnuTMd2zaRRzj44DvpESReC_RxQXLsg@mail.gmail.com \
    --to=hindiogine@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).