emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Henri-Paul Indiogine <hindiogine@gmail.com>
Cc: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: breaking URLs
Date: Mon, 18 Jul 2011 10:57:42 +0200	[thread overview]
Message-ID: <87wrfgdk7m.fsf@altern.org> (raw)
In-Reply-To: <CAG_r7O7EV4VSWEtcsmHLnuTMd2zaRRzj44DvpESReC_RxQXLsg@mail.gmail.com> (Henri-Paul Indiogine's message of "Fri, 15 Jul 2011 13:21:04 -0700")

Hi Henri-Paul,

Henri-Paul Indiogine <hindiogine@gmail.com> writes:

> 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.

I would welcome ideas/code to have more flexibility wrt the way urls 
are handled by the LaTeX exporter.

> 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.

This looks like a LaTeX related problem, and I'm not export enough to
help here.  I hope someone will be able to give you further advice.

Thanks,

-- 
 Bastien

  reply	other threads:[~2011-07-18  9:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15 20:21 breaking URLs Henri-Paul Indiogine
2011-07-18  8:57 ` Bastien [this message]
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=87wrfgdk7m.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=hindiogine@gmail.com \
    /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).