From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: breaking URLs Date: Mon, 18 Jul 2011 10:57:42 +0200 Message-ID: <87wrfgdk7m.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qijtp-0006Qf-0z for emacs-orgmode@gnu.org; Mon, 18 Jul 2011 05:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qijtk-0001ia-B7 for emacs-orgmode@gnu.org; Mon, 18 Jul 2011 05:14:00 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:39375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qijtj-0001hy-Qy for emacs-orgmode@gnu.org; Mon, 18 Jul 2011 05:13:56 -0400 Received: by mail-ww0-f49.google.com with SMTP id 22so2313554wwf.30 for ; Mon, 18 Jul 2011 02:13:55 -0700 (PDT) In-Reply-To: (Henri-Paul Indiogine's message of "Fri, 15 Jul 2011 13:21:04 -0700") 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: Henri-Paul Indiogine Cc: emacs-org Hi Henri-Paul, Henri-Paul Indiogine 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