emacs-orgmode
[Top][All Lists]

Re: [O] Solution for very long hyperlinks when exporting to latex?

 From: Martin Weigele Subject: Re: [O] Solution for very long hyperlinks when exporting to latex? Date: Wed, 01 Oct 2014 01:51:05 +0200 User-agent: KMail/4.13.3 (Linux/3.13.0-37-generic; KDE/4.13.3; i686; ; )

```Hi Rasmus, thank you very much, Wasn't really aware of texdoc <package> this
is great. A lot improvement since the old days... :)

Yes \url{...} is being produced by the exporter in the footnotes. However,
when I try to set the values by means of #+LATEX_HEADER: \usepackage[hyphens]
{url} I get an option clash with pdfpages, and if removed, with graphics.

Also I found the information that hyperref calls the package url, but it is
not clear to me how to influence this behaviour in time in the exporter. The
story is similar if I try to modify hyperref with option breaklinks (which is
perhaps just passed on to url as 'hyphens').

Thx anyway,
Martin

Am Mittwoch, 1. Oktober 2014, 01:02:07 schrieb Rasmus:
> Hi Martin,
>
> > very happy with orgmode but rather desperate these days trying to get very
> > long url hyperlinks in footnotes to typeset as line-broken-up links after
> > latex export. I have tried the hints available on texstack etc., but none
> > of the proposed latex methods work. Not even manual \- produces a
> > reasonable result. I have tried with hyperref switched on and off in the
> > emacs org exporter configuration, and with the "linebreak" option of
> > hyperref which is not even accepted depending on the exporter setting.
> >
> > I am using org-version 8.2.4, emacs 24.3.1, texlive 2014, scrbook (added
> > this style to .emacs which works fine otherwise). I am not sure if it has
> > to do with the exporter or with latex/koma script only, or maybe all
> > three of them.
> >
> > Surely someone must have come across this problem and may be able to
> > provide a hint?
>
> url.sy is usually pretty good a breaking urls.  Is the url wrapped in
> \url{·} in your .tex file?  If no, you probably did something wrong.
> If yes you should consult the url manual ("texdoc url" in your
> terminal if you have TeXLive).  Section 5.2 and maybe section 6 could
>
> Hope it helps,
> Rasmus

--
Dr. Martin Weigele, Kapellenweg 32, 53179 Bonn, Germany
ph. (+49)(0)228 2894468 office - fax (+49)(0)228 2894446
ph. (+49)(0)228 2893997 privat - mobil (+49)(0)177 4196 515