emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: return of problem with hyperlinks in verbatim code when exporting to latex
Date: Tue, 02 Feb 2010 00:23:22 +0000	[thread overview]
Message-ID: <87tyu0trid.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <87vdeg1pbb.wl%ucecesf@ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

At Mon, 01 Feb 2010 23:58:16 +0000,
Eric S Fraga wrote:
> 
> [1  <text/plain; US-ASCII (7bit)>]
> Carsten,
> 
> possibly the recent changes to org-mode for how external links are
> handled in the latex export (if I remember some of the messages flying
> by in the past week or so correctly) may have re-introduced a bug that
> existed a couple of months ago.  Specifically, in some circumstances,
> the appearance of "[[" in a verbatim code segment is translated into
> \hyperref upon export to latex.


The puzzle deepens.  Please see attached files which show one case not
working and the other working just fine (in the same file) with the
only difference between them (as far as I can see but it *is* late at
night now...) being a single space.  I've hopefully managed to protect
the file from any email system mangling along the way...

I'm off to bed as my brain is turning into mush ;-)

Thanks again,
eric

[-- Attachment #2: examplebug.org --]
[-- Type: application/octet-stream, Size: 1320 bytes --]

#+TITLE:     Bugs in org-mode
#+AUTHOR:    Eric S Fraga \linebreak Chemical Engineering \linebreak UCL
#+EMAIL:     e.fraga@ucl.ac.uk
#+DATE:      2010.02.02 00:15:48
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 

* problem with \LaTeX export

  The following verbatim output was generated using babel and maxima.

: [[n1n = 0.93 mol, n1i = 0.05 mol, n1h = 0.02 mol, n2n = 0.558 mol, 
:                               n2i = 0.422 mol, n2h = 0.02 mol, xi = 0.372 mol]]

The two lines above are converted into a single line in the latex output *and* the line starts with =\hyperref=.

: [[n1n = 0.93 mol, n1i = 0.05 mol, n1h = 0.02 mol, n2n = 0.558 mol, 
:                              n2i = 0.422 mol, n2h = 0.02 mol, xi = 0.372 mol]] 

but these lines work.  I cannot figure out why the very subtle
different (an extra space between the leading : and the first
non-space character on the second line of the first pair of lines)
makes any difference at all...

[-- Attachment #3: examplebug.pdf --]
[-- Type: application/pdf, Size: 45946 bytes --]

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-02-02  0:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-01 23:58 return of problem with hyperlinks in verbatim code when exporting to latex Eric S Fraga
2010-02-02  0:23 ` Eric S Fraga [this message]
2010-02-02  5:32   ` Carsten Dominik
2010-02-02  7:57     ` Eric S Fraga

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=87tyu0trid.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --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).