emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to change latex export of links from \href to \url ?


From: Jambunathan K
Subject: Re: [O] How to change latex export of links from \href to \url ?
Date: Sun, 25 Sep 2011 23:24:00 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Pierfranco Minsenti <address@hidden> writes:

> Hello,
>
>
> I would like to change how hyperlinks are exported from org mode to
> LaTeX.
> Infact now links are exported as a couple of \href but I've found out
> that in the case of long URLs it is impossible to have them broken
> properly in different lines using in the latex file commands such asĀ 
> \usepackage{breakurl} becasue this and other similar strategies don't
> work with \href
>
> So that's why I'd like to export links as \url and obviously not as a
> couple but as single instance.
>
> Does anybody knows how to obtain it in org mode?

Under M-x customize-group RET org-latex RET

you will find

,----[ C-h v org-export-latex-href-format RET ]
| org-export-latex-href-format is a variable defined in `org-latex.el'.
| Its value is "\\href{%s}{%s}"
| 
| Documentation:
| A printf format string to be applied to href links.
| The format must contain either two %s instances or just one.  
| If it contains two %s instances, the first will be filled with 
| the link, the second with the link description.  If it contains
| only one, the %s will be filled with the link.
| 
| You can customize this variable.
| 
| [back]
`----

> Thank you in advance for your help.
>
> Pierfranco
>
>
>

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]